Class UpdatedTemplateRevision.Builder (0.3.0)

public static final class UpdatedTemplateRevision.Builder extends GeneratedMessage.Builder<UpdatedTemplateRevision.Builder> implements UpdatedTemplateRevisionOrBuilder

The updated template revision, which results in an outdated application.

Protobuf type google.cloud.designcenter.v1.UpdatedTemplateRevision

Static Methods

getDescriptor()

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

Methods

build()

public UpdatedTemplateRevision build()
Returns
Type Description
UpdatedTemplateRevision

buildPartial()

public UpdatedTemplateRevision buildPartial()
Returns
Type Description
UpdatedTemplateRevision

clear()

public UpdatedTemplateRevision.Builder clear()
Returns
Type Description
UpdatedTemplateRevision.Builder
Overrides

clearCreateTime()

public UpdatedTemplateRevision.Builder clearCreateTime()

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpdatedTemplateRevision.Builder

clearTemplateDisplayName()

public UpdatedTemplateRevision.Builder clearTemplateDisplayName()

Output only. The display name of the template. If the display name is not available, the template resource name is used.

string template_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.

clearTemplateRevision()

public UpdatedTemplateRevision.Builder clearTemplateRevision()

Output only. The details of the updated template revision.

string template_revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UpdatedTemplateRevision getDefaultInstanceForType()
Returns
Type Description
UpdatedTemplateRevision

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTemplateDisplayName()

public String getTemplateDisplayName()

Output only. The display name of the template. If the display name is not available, the template resource name is used.

string template_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The templateDisplayName.

getTemplateDisplayNameBytes()

public ByteString getTemplateDisplayNameBytes()

Output only. The display name of the template. If the display name is not available, the template resource name is used.

string template_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for templateDisplayName.

getTemplateRevision()

public String getTemplateRevision()

Output only. The details of the updated template revision.

string template_revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The templateRevision.

getTemplateRevisionBytes()

public ByteString getTemplateRevisionBytes()

Output only. The details of the updated template revision.

string template_revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for templateRevision.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public UpdatedTemplateRevision.Builder mergeCreateTime(Timestamp value)

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdatedTemplateRevision.Builder

mergeFrom(UpdatedTemplateRevision other)

public UpdatedTemplateRevision.Builder mergeFrom(UpdatedTemplateRevision other)
Parameter
Name Description
other UpdatedTemplateRevision
Returns
Type Description
UpdatedTemplateRevision.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatedTemplateRevision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatedTemplateRevision.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdatedTemplateRevision.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdatedTemplateRevision.Builder
Overrides

setCreateTime(Timestamp value)

public UpdatedTemplateRevision.Builder setCreateTime(Timestamp value)

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdatedTemplateRevision.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UpdatedTemplateRevision.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the template was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatedTemplateRevision.Builder

setTemplateDisplayName(String value)

public UpdatedTemplateRevision.Builder setTemplateDisplayName(String value)

Output only. The display name of the template. If the display name is not available, the template resource name is used.

string template_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The templateDisplayName to set.

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.

setTemplateDisplayNameBytes(ByteString value)

public UpdatedTemplateRevision.Builder setTemplateDisplayNameBytes(ByteString value)

Output only. The display name of the template. If the display name is not available, the template resource name is used.

string template_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for templateDisplayName to set.

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.

setTemplateRevision(String value)

public UpdatedTemplateRevision.Builder setTemplateRevision(String value)

Output only. The details of the updated template revision.

string template_revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The templateRevision to set.

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.

setTemplateRevisionBytes(ByteString value)

public UpdatedTemplateRevision.Builder setTemplateRevisionBytes(ByteString value)

Output only. The details of the updated template revision.

string template_revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for templateRevision to set.

Returns
Type Description
UpdatedTemplateRevision.Builder

This builder for chaining.