Class Dimension.AgentDimensionMetadata.Builder (2.55.0)

public static final class Dimension.AgentDimensionMetadata.Builder extends GeneratedMessageV3.Builder<Dimension.AgentDimensionMetadata.Builder> implements Dimension.AgentDimensionMetadataOrBuilder

Metadata about the agent dimension.

Protobuf type google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dimension.AgentDimensionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

build()

public Dimension.AgentDimensionMetadata build()
Returns
Type Description
Dimension.AgentDimensionMetadata

buildPartial()

public Dimension.AgentDimensionMetadata buildPartial()
Returns
Type Description
Dimension.AgentDimensionMetadata

clear()

public Dimension.AgentDimensionMetadata.Builder clear()
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

clearAgentDisplayName()

public Dimension.AgentDimensionMetadata.Builder clearAgentDisplayName()

Optional. The agent's name

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

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

clearAgentId()

public Dimension.AgentDimensionMetadata.Builder clearAgentId()

Optional. A user-specified string representing the agent.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

clearAgentTeam()

public Dimension.AgentDimensionMetadata.Builder clearAgentTeam()

Optional. A user-specified string representing the agent's team.

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

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Dimension.AgentDimensionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Dimension.AgentDimensionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

clone()

public Dimension.AgentDimensionMetadata.Builder clone()
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

getAgentDisplayName()

public String getAgentDisplayName()

Optional. The agent's name

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

Returns
Type Description
String

The agentDisplayName.

getAgentDisplayNameBytes()

public ByteString getAgentDisplayNameBytes()

Optional. The agent's name

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

Returns
Type Description
ByteString

The bytes for agentDisplayName.

getAgentId()

public String getAgentId()

Optional. A user-specified string representing the agent.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

Optional. A user-specified string representing the agent.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for agentId.

getAgentTeam()

public String getAgentTeam()

Optional. A user-specified string representing the agent's team.

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

Returns
Type Description
String

The agentTeam.

getAgentTeamBytes()

public ByteString getAgentTeamBytes()

Optional. A user-specified string representing the agent's team.

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

Returns
Type Description
ByteString

The bytes for agentTeam.

getDefaultInstanceForType()

public Dimension.AgentDimensionMetadata getDefaultInstanceForType()
Returns
Type Description
Dimension.AgentDimensionMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Dimension.AgentDimensionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dimension.AgentDimensionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

setAgentDisplayName(String value)

public Dimension.AgentDimensionMetadata.Builder setAgentDisplayName(String value)

Optional. The agent's name

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

Parameter
Name Description
value String

The agentDisplayName to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setAgentDisplayNameBytes(ByteString value)

public Dimension.AgentDimensionMetadata.Builder setAgentDisplayNameBytes(ByteString value)

Optional. The agent's name

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

Parameter
Name Description
value ByteString

The bytes for agentDisplayName to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setAgentId(String value)

public Dimension.AgentDimensionMetadata.Builder setAgentId(String value)

Optional. A user-specified string representing the agent.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The agentId to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public Dimension.AgentDimensionMetadata.Builder setAgentIdBytes(ByteString value)

Optional. A user-specified string representing the agent.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for agentId to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setAgentTeam(String value)

public Dimension.AgentDimensionMetadata.Builder setAgentTeam(String value)

Optional. A user-specified string representing the agent's team.

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

Parameter
Name Description
value String

The agentTeam to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setAgentTeamBytes(ByteString value)

public Dimension.AgentDimensionMetadata.Builder setAgentTeamBytes(ByteString value)

Optional. A user-specified string representing the agent's team.

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

Parameter
Name Description
value ByteString

The bytes for agentTeam to set.

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Dimension.AgentDimensionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Dimension.AgentDimensionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Dimension.AgentDimensionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dimension.AgentDimensionMetadata.Builder
Overrides