public static final class ImportApplicationTemplateRequest.Builder extends GeneratedMessage.Builder<ImportApplicationTemplateRequest.Builder> implements ImportApplicationTemplateRequestOrBuilderRequest message for ImportApplicationTemplate method.
Protobuf type google.cloud.designcenter.v1.ImportApplicationTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportApplicationTemplateRequest.BuilderImplements
ImportApplicationTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportApplicationTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest |
|
buildPartial()
public ImportApplicationTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest |
|
clear()
public ImportApplicationTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
clearAnnotations()
public ImportApplicationTemplateRequest.Builder clearAnnotations()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
clearApplicationTemplateRevisionUri()
public ImportApplicationTemplateRequest.Builder clearApplicationTemplateRevisionUri()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 |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
clearApplicationTemplateSystemRevision()
public ImportApplicationTemplateRequest.Builder clearApplicationTemplateSystemRevision()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 |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
clearName()
public ImportApplicationTemplateRequest.Builder clearName()Required. The name of the application template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
clearSerializedApplicationTemplate()
public ImportApplicationTemplateRequest.Builder clearSerializedApplicationTemplate()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 |
ImportApplicationTemplateRequest.Builder |
|
clearSharedTemplateRevisionUri()
public ImportApplicationTemplateRequest.Builder clearSharedTemplateRevisionUri()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 |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
clearSource()
public ImportApplicationTemplateRequest.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
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 |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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. |
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. |
getSerializedApplicationTemplateBuilder()
public SerializedApplicationTemplate.Builder getSerializedApplicationTemplateBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportApplicationTemplateRequest other)
public ImportApplicationTemplateRequest.Builder mergeFrom(ImportApplicationTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportApplicationTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportApplicationTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportApplicationTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
mergeSerializedApplicationTemplate(SerializedApplicationTemplate value)
public ImportApplicationTemplateRequest.Builder mergeSerializedApplicationTemplate(SerializedApplicationTemplate value)Optional. The serialized application template to be imported.
.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SerializedApplicationTemplate |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
putAllAnnotations(Map<String,String> values)
public ImportApplicationTemplateRequest.Builder putAllAnnotations(Map<String,String> values)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 |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
putAnnotations(String key, String value)
public ImportApplicationTemplateRequest.Builder putAnnotations(String key, String value)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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
removeAnnotations(String key)
public ImportApplicationTemplateRequest.Builder removeAnnotations(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 |
ImportApplicationTemplateRequest.Builder |
|
setApplicationTemplateRevisionUri(String value)
public ImportApplicationTemplateRequest.Builder setApplicationTemplateRevisionUri(String value)Optional. The source URI for application template revision.
string application_template_revision_uri = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe applicationTemplateRevisionUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setApplicationTemplateRevisionUriBytes(ByteString value)
public ImportApplicationTemplateRequest.Builder setApplicationTemplateRevisionUriBytes(ByteString value)Optional. The source URI for application template revision.
string application_template_revision_uri = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for applicationTemplateRevisionUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setApplicationTemplateSystemRevision(String value)
public ImportApplicationTemplateRequest.Builder setApplicationTemplateSystemRevision(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe applicationTemplateSystemRevision to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setApplicationTemplateSystemRevisionBytes(ByteString value)
public ImportApplicationTemplateRequest.Builder setApplicationTemplateSystemRevisionBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for applicationTemplateSystemRevision to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setName(String value)
public ImportApplicationTemplateRequest.Builder setName(String value)Required. The name of the application template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ImportApplicationTemplateRequest.Builder setNameBytes(ByteString value)Required. The name of the application template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setSerializedApplicationTemplate(SerializedApplicationTemplate value)
public ImportApplicationTemplateRequest.Builder setSerializedApplicationTemplate(SerializedApplicationTemplate value)Optional. The serialized application template to be imported.
.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SerializedApplicationTemplate |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
setSerializedApplicationTemplate(SerializedApplicationTemplate.Builder builderForValue)
public ImportApplicationTemplateRequest.Builder setSerializedApplicationTemplate(SerializedApplicationTemplate.Builder builderForValue)Optional. The serialized application template to be imported.
.google.cloud.designcenter.v1.SerializedApplicationTemplate serialized_application_template = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SerializedApplicationTemplate.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
|
setSharedTemplateRevisionUri(String value)
public ImportApplicationTemplateRequest.Builder setSharedTemplateRevisionUri(String value)Optional. The source URI for catalog template.
string shared_template_revision_uri = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sharedTemplateRevisionUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |
setSharedTemplateRevisionUriBytes(ByteString value)
public ImportApplicationTemplateRequest.Builder setSharedTemplateRevisionUriBytes(ByteString value)Optional. The source URI for catalog template.
string shared_template_revision_uri = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sharedTemplateRevisionUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateRequest.Builder |
This builder for chaining. |