Class Omnichannel.Builder (0.1.0)

public static final class Omnichannel.Builder extends GeneratedMessage.Builder<Omnichannel.Builder> implements OmnichannelOrBuilder

Represents an Omnichannel resource.

Protobuf type google.cloud.ces.v1.Omnichannel

Static Methods

getDescriptor()

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

Methods

build()

public Omnichannel build()
Returns
Type Description
Omnichannel

buildPartial()

public Omnichannel buildPartial()
Returns
Type Description
Omnichannel

clear()

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

clearCreateTime()

public Omnichannel.Builder clearCreateTime()

Output only. Timestamp when the omnichannel resource was created.

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

Returns
Type Description
Omnichannel.Builder

clearDescription()

public Omnichannel.Builder clearDescription()

Optional. Human-readable description of the omnichannel resource.

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

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

clearDisplayName()

public Omnichannel.Builder clearDisplayName()

Required. Display name of the omnichannel resource.

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

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

clearEtag()

public Omnichannel.Builder clearEtag()

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

clearIntegrationConfig()

public Omnichannel.Builder clearIntegrationConfig()

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Omnichannel.Builder

clearName()

public Omnichannel.Builder clearName()

Identifier. The unique identifier of the omnichannel resource. Format: projects/{project}/locations/{location}/omnichannels/{omnichannel}

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

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

clearUpdateTime()

public Omnichannel.Builder clearUpdateTime()

Output only. Timestamp when the omnichannel resource was last updated.

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

Returns
Type Description
Omnichannel.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when the omnichannel resource was created.

.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. Timestamp when the omnichannel resource was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the omnichannel resource was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Omnichannel getDefaultInstanceForType()
Returns
Type Description
Omnichannel

getDescription()

public String getDescription()

Optional. Human-readable description of the omnichannel resource.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Human-readable description of the omnichannel resource.

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()

Required. Display name of the omnichannel resource.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. Display name of the omnichannel resource.

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

Returns
Type Description
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for etag.

getIntegrationConfig()

public OmnichannelIntegrationConfig getIntegrationConfig()

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OmnichannelIntegrationConfig

The integrationConfig.

getIntegrationConfigBuilder()

public OmnichannelIntegrationConfig.Builder getIntegrationConfigBuilder()

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OmnichannelIntegrationConfig.Builder

getIntegrationConfigOrBuilder()

public OmnichannelIntegrationConfigOrBuilder getIntegrationConfigOrBuilder()

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OmnichannelIntegrationConfigOrBuilder

getName()

public String getName()

Identifier. The unique identifier of the omnichannel resource. Format: projects/{project}/locations/{location}/omnichannels/{omnichannel}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The unique identifier of the omnichannel resource. Format: projects/{project}/locations/{location}/omnichannels/{omnichannel}

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

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when the omnichannel resource was last updated.

.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. Timestamp when the omnichannel resource was last updated.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when the omnichannel resource was last updated.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when the omnichannel resource was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasIntegrationConfig()

public boolean hasIntegrationConfig()

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the integrationConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when the omnichannel resource was last updated.

.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 Omnichannel.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when the omnichannel resource was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Omnichannel.Builder

mergeFrom(Omnichannel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIntegrationConfig(OmnichannelIntegrationConfig value)

public Omnichannel.Builder mergeIntegrationConfig(OmnichannelIntegrationConfig value)

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OmnichannelIntegrationConfig
Returns
Type Description
Omnichannel.Builder

mergeUpdateTime(Timestamp value)

public Omnichannel.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when the omnichannel resource was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Omnichannel.Builder

setCreateTime(Timestamp value)

public Omnichannel.Builder setCreateTime(Timestamp value)

Output only. Timestamp when the omnichannel resource was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Omnichannel.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Omnichannel.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the omnichannel resource was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Omnichannel.Builder

setDescription(String value)

public Omnichannel.Builder setDescription(String value)

Optional. Human-readable description of the omnichannel resource.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Omnichannel.Builder setDescriptionBytes(ByteString value)

Optional. Human-readable description of the omnichannel resource.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setDisplayName(String value)

public Omnichannel.Builder setDisplayName(String value)

Required. Display name of the omnichannel resource.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Omnichannel.Builder setDisplayNameBytes(ByteString value)

Required. Display name of the omnichannel resource.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setEtag(String value)

public Omnichannel.Builder setEtag(String value)

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Omnichannel.Builder setEtagBytes(ByteString value)

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setIntegrationConfig(OmnichannelIntegrationConfig value)

public Omnichannel.Builder setIntegrationConfig(OmnichannelIntegrationConfig value)

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OmnichannelIntegrationConfig
Returns
Type Description
Omnichannel.Builder

setIntegrationConfig(OmnichannelIntegrationConfig.Builder builderForValue)

public Omnichannel.Builder setIntegrationConfig(OmnichannelIntegrationConfig.Builder builderForValue)

Optional. The integration config for the omnichannel resource.

.google.cloud.ces.v1.OmnichannelIntegrationConfig integration_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OmnichannelIntegrationConfig.Builder
Returns
Type Description
Omnichannel.Builder

setName(String value)

public Omnichannel.Builder setName(String value)

Identifier. The unique identifier of the omnichannel resource. Format: projects/{project}/locations/{location}/omnichannels/{omnichannel}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Omnichannel.Builder setNameBytes(ByteString value)

Identifier. The unique identifier of the omnichannel resource. Format: projects/{project}/locations/{location}/omnichannels/{omnichannel}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Omnichannel.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public Omnichannel.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when the omnichannel resource was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Omnichannel.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Omnichannel.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the omnichannel resource was last updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Omnichannel.Builder