Class Dimension.Builder (2.55.0)

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

A dimension determines the grouping key for the query. In SQL terms, these would be part of both the "SELECT" and "GROUP BY" clauses.

Protobuf type google.cloud.contactcenterinsights.v1.Dimension

Implements

DimensionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Dimension build()
Returns
Type Description
Dimension

buildPartial()

public Dimension buildPartial()
Returns
Type Description
Dimension

clear()

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

clearAgentDimensionMetadata()

public Dimension.Builder clearAgentDimensionMetadata()

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.Builder

clearDimensionKey()

public Dimension.Builder clearDimensionKey()

The key of the dimension.

.google.cloud.contactcenterinsights.v1.Dimension.DimensionKey dimension_key = 1;

Returns
Type Description
Dimension.Builder

This builder for chaining.

clearDimensionMetadata()

public Dimension.Builder clearDimensionMetadata()
Returns
Type Description
Dimension.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIssueDimensionMetadata()

public Dimension.Builder clearIssueDimensionMetadata()

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQaQuestionAnswerDimensionMetadata()

public Dimension.Builder clearQaQuestionAnswerDimensionMetadata()

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.Builder

clearQaQuestionDimensionMetadata()

public Dimension.Builder clearQaQuestionDimensionMetadata()

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.Builder

clone()

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

getAgentDimensionMetadata()

public Dimension.AgentDimensionMetadata getAgentDimensionMetadata()

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.AgentDimensionMetadata

The agentDimensionMetadata.

getAgentDimensionMetadataBuilder()

public Dimension.AgentDimensionMetadata.Builder getAgentDimensionMetadataBuilder()

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.AgentDimensionMetadata.Builder

getAgentDimensionMetadataOrBuilder()

public Dimension.AgentDimensionMetadataOrBuilder getAgentDimensionMetadataOrBuilder()

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.AgentDimensionMetadataOrBuilder

getDefaultInstanceForType()

public Dimension getDefaultInstanceForType()
Returns
Type Description
Dimension

getDescriptorForType()

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

getDimensionKey()

public Dimension.DimensionKey getDimensionKey()

The key of the dimension.

.google.cloud.contactcenterinsights.v1.Dimension.DimensionKey dimension_key = 1;

Returns
Type Description
Dimension.DimensionKey

The dimensionKey.

getDimensionKeyValue()

public int getDimensionKeyValue()

The key of the dimension.

.google.cloud.contactcenterinsights.v1.Dimension.DimensionKey dimension_key = 1;

Returns
Type Description
int

The enum numeric value on the wire for dimensionKey.

getDimensionMetadataCase()

public Dimension.DimensionMetadataCase getDimensionMetadataCase()
Returns
Type Description
Dimension.DimensionMetadataCase

getIssueDimensionMetadata()

public Dimension.IssueDimensionMetadata getIssueDimensionMetadata()

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.IssueDimensionMetadata

The issueDimensionMetadata.

getIssueDimensionMetadataBuilder()

public Dimension.IssueDimensionMetadata.Builder getIssueDimensionMetadataBuilder()

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.IssueDimensionMetadata.Builder

getIssueDimensionMetadataOrBuilder()

public Dimension.IssueDimensionMetadataOrBuilder getIssueDimensionMetadataOrBuilder()

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.IssueDimensionMetadataOrBuilder

getQaQuestionAnswerDimensionMetadata()

public Dimension.QaQuestionAnswerDimensionMetadata getQaQuestionAnswerDimensionMetadata()

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata

The qaQuestionAnswerDimensionMetadata.

getQaQuestionAnswerDimensionMetadataBuilder()

public Dimension.QaQuestionAnswerDimensionMetadata.Builder getQaQuestionAnswerDimensionMetadataBuilder()

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder

getQaQuestionAnswerDimensionMetadataOrBuilder()

public Dimension.QaQuestionAnswerDimensionMetadataOrBuilder getQaQuestionAnswerDimensionMetadataOrBuilder()

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadataOrBuilder

getQaQuestionDimensionMetadata()

public Dimension.QaQuestionDimensionMetadata getQaQuestionDimensionMetadata()

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionDimensionMetadata

The qaQuestionDimensionMetadata.

getQaQuestionDimensionMetadataBuilder()

public Dimension.QaQuestionDimensionMetadata.Builder getQaQuestionDimensionMetadataBuilder()

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

getQaQuestionDimensionMetadataOrBuilder()

public Dimension.QaQuestionDimensionMetadataOrBuilder getQaQuestionDimensionMetadataOrBuilder()

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Dimension.QaQuestionDimensionMetadataOrBuilder

hasAgentDimensionMetadata()

public boolean hasAgentDimensionMetadata()

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the agentDimensionMetadata field is set.

hasIssueDimensionMetadata()

public boolean hasIssueDimensionMetadata()

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the issueDimensionMetadata field is set.

hasQaQuestionAnswerDimensionMetadata()

public boolean hasQaQuestionAnswerDimensionMetadata()

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the qaQuestionAnswerDimensionMetadata field is set.

hasQaQuestionDimensionMetadata()

public boolean hasQaQuestionDimensionMetadata()

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the qaQuestionDimensionMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgentDimensionMetadata(Dimension.AgentDimensionMetadata value)

public Dimension.Builder mergeAgentDimensionMetadata(Dimension.AgentDimensionMetadata value)

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.AgentDimensionMetadata
Returns
Type Description
Dimension.Builder

mergeFrom(Dimension other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIssueDimensionMetadata(Dimension.IssueDimensionMetadata value)

public Dimension.Builder mergeIssueDimensionMetadata(Dimension.IssueDimensionMetadata value)

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.IssueDimensionMetadata
Returns
Type Description
Dimension.Builder

mergeQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata value)

public Dimension.Builder mergeQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata value)

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.QaQuestionAnswerDimensionMetadata
Returns
Type Description
Dimension.Builder

mergeQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata value)

public Dimension.Builder mergeQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata value)

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.QaQuestionDimensionMetadata
Returns
Type Description
Dimension.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAgentDimensionMetadata(Dimension.AgentDimensionMetadata value)

public Dimension.Builder setAgentDimensionMetadata(Dimension.AgentDimensionMetadata value)

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.AgentDimensionMetadata
Returns
Type Description
Dimension.Builder

setAgentDimensionMetadata(Dimension.AgentDimensionMetadata.Builder builderForValue)

public Dimension.Builder setAgentDimensionMetadata(Dimension.AgentDimensionMetadata.Builder builderForValue)

Output only. Metadata about the agent dimension.

.google.cloud.contactcenterinsights.v1.Dimension.AgentDimensionMetadata agent_dimension_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Dimension.AgentDimensionMetadata.Builder
Returns
Type Description
Dimension.Builder

setDimensionKey(Dimension.DimensionKey value)

public Dimension.Builder setDimensionKey(Dimension.DimensionKey value)

The key of the dimension.

.google.cloud.contactcenterinsights.v1.Dimension.DimensionKey dimension_key = 1;

Parameter
Name Description
value Dimension.DimensionKey

The dimensionKey to set.

Returns
Type Description
Dimension.Builder

This builder for chaining.

setDimensionKeyValue(int value)

public Dimension.Builder setDimensionKeyValue(int value)

The key of the dimension.

.google.cloud.contactcenterinsights.v1.Dimension.DimensionKey dimension_key = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for dimensionKey to set.

Returns
Type Description
Dimension.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueDimensionMetadata(Dimension.IssueDimensionMetadata value)

public Dimension.Builder setIssueDimensionMetadata(Dimension.IssueDimensionMetadata value)

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.IssueDimensionMetadata
Returns
Type Description
Dimension.Builder

setIssueDimensionMetadata(Dimension.IssueDimensionMetadata.Builder builderForValue)

public Dimension.Builder setIssueDimensionMetadata(Dimension.IssueDimensionMetadata.Builder builderForValue)

Output only. Metadata about the issue dimension.

.google.cloud.contactcenterinsights.v1.Dimension.IssueDimensionMetadata issue_dimension_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Dimension.IssueDimensionMetadata.Builder
Returns
Type Description
Dimension.Builder

setQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata value)

public Dimension.Builder setQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata value)

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.QaQuestionAnswerDimensionMetadata
Returns
Type Description
Dimension.Builder

setQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata.Builder builderForValue)

public Dimension.Builder setQaQuestionAnswerDimensionMetadata(Dimension.QaQuestionAnswerDimensionMetadata.Builder builderForValue)

Output only. Metadata about the QA question-answer dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionAnswerDimensionMetadata qa_question_answer_dimension_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Dimension.QaQuestionAnswerDimensionMetadata.Builder
Returns
Type Description
Dimension.Builder

setQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata value)

public Dimension.Builder setQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata value)

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Dimension.QaQuestionDimensionMetadata
Returns
Type Description
Dimension.Builder

setQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata.Builder builderForValue)

public Dimension.Builder setQaQuestionDimensionMetadata(Dimension.QaQuestionDimensionMetadata.Builder builderForValue)

Output only. Metadata about the QA question dimension.

.google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata qa_question_dimension_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Dimension.QaQuestionDimensionMetadata.Builder
Returns
Type Description
Dimension.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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