Class ImportApplicationTemplateRequest (0.3.0)

public final class ImportApplicationTemplateRequest extends GeneratedMessage implements ImportApplicationTemplateRequestOrBuilder

Request message for ImportApplicationTemplate method.

Protobuf type google.cloud.designcenter.v1.ImportApplicationTemplateRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ImportApplicationTemplateRequest

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_TEMPLATE_REVISION_URI_FIELD_NUMBER

public static final int APPLICATION_TEMPLATE_REVISION_URI_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_TEMPLATE_SYSTEM_REVISION_FIELD_NUMBER

public static final int APPLICATION_TEMPLATE_SYSTEM_REVISION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SERIALIZED_APPLICATION_TEMPLATE_FIELD_NUMBER

public static final int SERIALIZED_APPLICATION_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

SHARED_TEMPLATE_REVISION_URI_FIELD_NUMBER

public static final int SHARED_TEMPLATE_REVISION_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportApplicationTemplateRequest getDefaultInstance()
Returns
Type Description
ImportApplicationTemplateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportApplicationTemplateRequest.Builder newBuilder()
Returns
Type Description
ImportApplicationTemplateRequest.Builder

newBuilder(ImportApplicationTemplateRequest prototype)

public static ImportApplicationTemplateRequest.Builder newBuilder(ImportApplicationTemplateRequest prototype)
Parameter
Name Description
prototype ImportApplicationTemplateRequest
Returns
Type Description
ImportApplicationTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportApplicationTemplateRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportApplicationTemplateRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportApplicationTemplateRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportApplicationTemplateRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportApplicationTemplateRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportApplicationTemplateRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportApplicationTemplateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportApplicationTemplateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportApplicationTemplateRequest> parser()
Returns
Type Description
Parser<ImportApplicationTemplateRequest>

Methods

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", }

map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", }

map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", }

map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", }

map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", }

map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getApplicationTemplateRevisionUri()

public String getApplicationTemplateRevisionUri()

Optional. The source URI for application template revision.

string application_template_revision_uri = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The applicationTemplateRevisionUri.

getApplicationTemplateRevisionUriBytes()

public ByteString getApplicationTemplateRevisionUriBytes()

Optional. The source URI for application template revision.

string application_template_revision_uri = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for applicationTemplateRevisionUri.

getApplicationTemplateSystemRevision()

public String getApplicationTemplateSystemRevision()

Optional. The system revision to be imported. Used when user tries to Restore (rev X) or perform Undo/Redo operations.

string application_template_system_revision = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The applicationTemplateSystemRevision.

getApplicationTemplateSystemRevisionBytes()

public ByteString getApplicationTemplateSystemRevisionBytes()

Optional. The system revision to be imported. Used when user tries to Restore (rev X) or perform Undo/Redo operations.

string application_template_system_revision = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for applicationTemplateSystemRevision.

getDefaultInstanceForType()

public ImportApplicationTemplateRequest getDefaultInstanceForType()
Returns
Type Description
ImportApplicationTemplateRequest

getName()

public String getName()

Required. The name of the application template.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the application template.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ImportApplicationTemplateRequest> getParserForType()
Returns
Type Description
Parser<ImportApplicationTemplateRequest>
Overrides

getSerializedApplicationTemplate()

public SerializedApplicationTemplate getSerializedApplicationTemplate()

Optional. The serialized application template to be imported.

.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerializedApplicationTemplate

The serializedApplicationTemplate.

getSerializedApplicationTemplateOrBuilder()

public SerializedApplicationTemplateOrBuilder getSerializedApplicationTemplateOrBuilder()

Optional. The serialized application template to be imported.

.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerializedApplicationTemplateOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSharedTemplateRevisionUri()

public String getSharedTemplateRevisionUri()

Optional. The source URI for catalog template.

string shared_template_revision_uri = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The sharedTemplateRevisionUri.

getSharedTemplateRevisionUriBytes()

public ByteString getSharedTemplateRevisionUriBytes()

Optional. The source URI for catalog template.

string shared_template_revision_uri = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for sharedTemplateRevisionUri.

getSourceCase()

public ImportApplicationTemplateRequest.SourceCase getSourceCase()
Returns
Type Description
ImportApplicationTemplateRequest.SourceCase

hasApplicationTemplateRevisionUri()

public boolean hasApplicationTemplateRevisionUri()

Optional. The source URI for application template revision.

string application_template_revision_uri = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the applicationTemplateRevisionUri field is set.

hasApplicationTemplateSystemRevision()

public boolean hasApplicationTemplateSystemRevision()

Optional. The system revision to be imported. Used when user tries to Restore (rev X) or perform Undo/Redo operations.

string application_template_system_revision = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the applicationTemplateSystemRevision field is set.

hasSerializedApplicationTemplate()

public boolean hasSerializedApplicationTemplate()

Optional. The serialized application template to be imported.

.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serializedApplicationTemplate field is set.

hasSharedTemplateRevisionUri()

public boolean hasSharedTemplateRevisionUri()

Optional. The source URI for catalog template.

string shared_template_revision_uri = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the sharedTemplateRevisionUri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportApplicationTemplateRequest.Builder newBuilderForType()
Returns
Type Description
ImportApplicationTemplateRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ImportApplicationTemplateRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportApplicationTemplateRequest.Builder
Overrides

toBuilder()

public ImportApplicationTemplateRequest.Builder toBuilder()
Returns
Type Description
ImportApplicationTemplateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException