Class Dimension.QaQuestionDimensionMetadata.Builder (2.55.0)

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

Metadata about the QA question dimension.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQaQuestionId()

public Dimension.QaQuestionDimensionMetadata.Builder clearQaQuestionId()

Optional. The QA question ID.

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

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

clearQaScorecardId()

public Dimension.QaQuestionDimensionMetadata.Builder clearQaScorecardId()

Optional. The QA scorecard ID.

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

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

clearQuestionBody()

public Dimension.QaQuestionDimensionMetadata.Builder clearQuestionBody()

Optional. The full body of the question.

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

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getQaQuestionId()

public String getQaQuestionId()

Optional. The QA question ID.

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

Returns
Type Description
String

The qaQuestionId.

getQaQuestionIdBytes()

public ByteString getQaQuestionIdBytes()

Optional. The QA question ID.

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

Returns
Type Description
ByteString

The bytes for qaQuestionId.

getQaScorecardId()

public String getQaScorecardId()

Optional. The QA scorecard ID.

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

Returns
Type Description
String

The qaScorecardId.

getQaScorecardIdBytes()

public ByteString getQaScorecardIdBytes()

Optional. The QA scorecard ID.

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

Returns
Type Description
ByteString

The bytes for qaScorecardId.

getQuestionBody()

public String getQuestionBody()

Optional. The full body of the question.

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

Returns
Type Description
String

The questionBody.

getQuestionBodyBytes()

public ByteString getQuestionBodyBytes()

Optional. The full body of the question.

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

Returns
Type Description
ByteString

The bytes for questionBody.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Dimension.QaQuestionDimensionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQaQuestionId(String value)

public Dimension.QaQuestionDimensionMetadata.Builder setQaQuestionId(String value)

Optional. The QA question ID.

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

Parameter
Name Description
value String

The qaQuestionId to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

setQaQuestionIdBytes(ByteString value)

public Dimension.QaQuestionDimensionMetadata.Builder setQaQuestionIdBytes(ByteString value)

Optional. The QA question ID.

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

Parameter
Name Description
value ByteString

The bytes for qaQuestionId to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

setQaScorecardId(String value)

public Dimension.QaQuestionDimensionMetadata.Builder setQaScorecardId(String value)

Optional. The QA scorecard ID.

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

Parameter
Name Description
value String

The qaScorecardId to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

setQaScorecardIdBytes(ByteString value)

public Dimension.QaQuestionDimensionMetadata.Builder setQaScorecardIdBytes(ByteString value)

Optional. The QA scorecard ID.

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

Parameter
Name Description
value ByteString

The bytes for qaScorecardId to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

setQuestionBody(String value)

public Dimension.QaQuestionDimensionMetadata.Builder setQuestionBody(String value)

Optional. The full body of the question.

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

Parameter
Name Description
value String

The questionBody to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

setQuestionBodyBytes(ByteString value)

public Dimension.QaQuestionDimensionMetadata.Builder setQuestionBodyBytes(ByteString value)

Optional. The full body of the question.

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

Parameter
Name Description
value ByteString

The bytes for questionBody to set.

Returns
Type Description
Dimension.QaQuestionDimensionMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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