Class Catalog.Builder (0.3.0)

public static final class Catalog.Builder extends GeneratedMessage.Builder<Catalog.Builder> implements CatalogOrBuilder

A catalog is a collection of templates.

Protobuf type google.cloud.designcenter.v1.Catalog

Implements

CatalogOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Catalog build()
Returns
Type Description
Catalog

buildPartial()

public Catalog buildPartial()
Returns
Type Description
Catalog

clear()

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

clearCreateTime()

public Catalog.Builder clearCreateTime()

Output only. The catalog creation timestamp.

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

Returns
Type Description
Catalog.Builder

clearDescription()

public Catalog.Builder clearDescription()

Optional. The catalog description.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Catalog.Builder

This builder for chaining.

clearDisplayName()

public Catalog.Builder clearDisplayName()

Optional. The catalog display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Catalog.Builder

This builder for chaining.

clearName()

public Catalog.Builder clearName()

Identifier. The catalog name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Catalog.Builder

This builder for chaining.

clearUpdateTime()

public Catalog.Builder clearUpdateTime()

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Catalog.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. The catalog creation timestamp.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The catalog creation timestamp.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The catalog creation timestamp.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Catalog getDefaultInstanceForType()
Returns
Type Description
Catalog

getDescription()

public String getDescription()

Optional. The catalog description.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The catalog description.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. The catalog display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The catalog display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The catalog name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The catalog name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The catalog creation timestamp.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Catalog.Builder mergeCreateTime(Timestamp value)

Output only. The catalog creation timestamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Catalog.Builder

mergeFrom(Catalog other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

public Catalog.Builder mergeUpdateTime(Timestamp value)

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Catalog.Builder

setCreateTime(Timestamp value)

public Catalog.Builder setCreateTime(Timestamp value)

Output only. The catalog creation timestamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Catalog.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Catalog.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The catalog creation timestamp.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Catalog.Builder

setDescription(String value)

public Catalog.Builder setDescription(String value)

Optional. The catalog description.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Catalog.Builder setDescriptionBytes(ByteString value)

Optional. The catalog description.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setDisplayName(String value)

public Catalog.Builder setDisplayName(String value)

Optional. The catalog display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Catalog.Builder setDisplayNameBytes(ByteString value)

Optional. The catalog display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setName(String value)

public Catalog.Builder setName(String value)

Identifier. The catalog name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Catalog.Builder setNameBytes(ByteString value)

Identifier. The catalog name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Catalog.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public Catalog.Builder setUpdateTime(Timestamp value)

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Catalog.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Catalog.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The catalog update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Catalog.Builder