public static final class CatalogTemplate.Builder extends GeneratedMessage.Builder<CatalogTemplate.Builder> implements CatalogTemplateOrBuilderA template inside a catalog.
Protobuf type google.cloud.designcenter.v1.CatalogTemplate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CatalogTemplate.BuilderImplements
CatalogTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CatalogTemplate build()| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
|
buildPartial()
public CatalogTemplate buildPartial()| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
|
clear()
public CatalogTemplate.Builder clear()| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
clearCreateTime()
public CatalogTemplate.Builder clearCreateTime()Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
clearDescription()
public CatalogTemplate.Builder clearDescription()Optional. The catalog template description.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearDisplayName()
public CatalogTemplate.Builder clearDisplayName()Optional. The display name of a catalog template.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearLatestRevisionId()
public CatalogTemplate.Builder clearLatestRevisionId()Output only. Latest revision of the template.
string latest_revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearName()
public CatalogTemplate.Builder clearName() Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearTemplateCategory()
public CatalogTemplate.Builder clearTemplateCategory()Required. The category of the Application Design Center application template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearType()
public CatalogTemplate.Builder clearType()Optional. The Application Design Center application template type.
.google.cloud.designcenter.v1.TemplateType type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
clearUpdateTime()
public CatalogTemplate.Builder clearUpdateTime()Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
clearUuid()
public CatalogTemplate.Builder clearUuid()Output only. The template revisions UUID.
string uuid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
getCreateTime()
public Timestamp getCreateTime()Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public CatalogTemplate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
|
getDescription()
public String getDescription()Optional. The catalog template description.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. The catalog template description.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. The display name of a catalog template.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. The display name of a catalog template.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getLatestRevisionId()
public String getLatestRevisionId()Output only. Latest revision of the template.
string latest_revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The latestRevisionId. |
getLatestRevisionIdBytes()
public ByteString getLatestRevisionIdBytes()Output only. Latest revision of the template.
string latest_revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for latestRevisionId. |
getName()
public String getName() Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTemplateCategory()
public TemplateCategory getTemplateCategory()Required. The category of the Application Design Center application template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TemplateCategory |
The templateCategory. |
getTemplateCategoryValue()
public int getTemplateCategoryValue()Required. The category of the Application Design Center application template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for templateCategory. |
getType()
public TemplateType getType()Optional. The Application Design Center application template type.
.google.cloud.designcenter.v1.TemplateType type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TemplateType |
The type. |
getTypeValue()
public int getTypeValue()Optional. The Application Design Center application template type.
.google.cloud.designcenter.v1.TemplateType type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUuid()
public String getUuid()Output only. The template revisions UUID.
string uuid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The uuid. |
getUuidBytes()
public ByteString getUuidBytes()Output only. The template revisions UUID.
string uuid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uuid. |
hasCreateTime()
public boolean hasCreateTime()Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public CatalogTemplate.Builder mergeCreateTime(Timestamp value)Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
mergeFrom(CatalogTemplate other)
public CatalogTemplate.Builder mergeFrom(CatalogTemplate other)| Parameter | |
|---|---|
| Name | Description |
other |
CatalogTemplate |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CatalogTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CatalogTemplate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
mergeUpdateTime(Timestamp value)
public CatalogTemplate.Builder mergeUpdateTime(Timestamp value)Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
setCreateTime(Timestamp value)
public CatalogTemplate.Builder setCreateTime(Timestamp value)Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public CatalogTemplate.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The catalog template creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
setDescription(String value)
public CatalogTemplate.Builder setDescription(String value)Optional. The catalog template description.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public CatalogTemplate.Builder setDescriptionBytes(ByteString value)Optional. The catalog template description.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setDisplayName(String value)
public CatalogTemplate.Builder setDisplayName(String value)Optional. The display name of a catalog template.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CatalogTemplate.Builder setDisplayNameBytes(ByteString value)Optional. The display name of a catalog template.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setLatestRevisionId(String value)
public CatalogTemplate.Builder setLatestRevisionId(String value)Output only. Latest revision of the template.
string latest_revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe latestRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setLatestRevisionIdBytes(ByteString value)
public CatalogTemplate.Builder setLatestRevisionIdBytes(ByteString value)Output only. Latest revision of the template.
string latest_revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for latestRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setName(String value)
public CatalogTemplate.Builder setName(String value) Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CatalogTemplate.Builder setNameBytes(ByteString value) Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setTemplateCategory(TemplateCategory value)
public CatalogTemplate.Builder setTemplateCategory(TemplateCategory value)Required. The category of the Application Design Center application template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TemplateCategoryThe templateCategory to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setTemplateCategoryValue(int value)
public CatalogTemplate.Builder setTemplateCategoryValue(int value)Required. The category of the Application Design Center application template.
.google.cloud.designcenter.v1.TemplateCategory template_category = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for templateCategory to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setType(TemplateType value)
public CatalogTemplate.Builder setType(TemplateType value)Optional. The Application Design Center application template type.
.google.cloud.designcenter.v1.TemplateType type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TemplateTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setTypeValue(int value)
public CatalogTemplate.Builder setTypeValue(int value)Optional. The Application Design Center application template type.
.google.cloud.designcenter.v1.TemplateType type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public CatalogTemplate.Builder setUpdateTime(Timestamp value)Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public CatalogTemplate.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The catalog template update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
setUuid(String value)
public CatalogTemplate.Builder setUuid(String value)Output only. The template revisions UUID.
string uuid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uuid to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |
setUuidBytes(ByteString value)
public CatalogTemplate.Builder setUuidBytes(ByteString value)Output only. The template revisions UUID.
string uuid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uuid to set. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
This builder for chaining. |