Class Dimension.QaQuestionAnswerDimensionMetadata (2.55.0)

public static final class Dimension.QaQuestionAnswerDimensionMetadata extends GeneratedMessageV3 implements Dimension.QaQuestionAnswerDimensionMetadataOrBuilder

Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Dimension.QaQuestionAnswerDimensionMetadata

Static Fields

ANSWER_VALUE_FIELD_NUMBER

public static final int ANSWER_VALUE_FIELD_NUMBER
Field Value
Type Description
int

QA_QUESTION_ID_FIELD_NUMBER

public static final int QA_QUESTION_ID_FIELD_NUMBER
Field Value
Type Description
int

QA_SCORECARD_ID_FIELD_NUMBER

public static final int QA_SCORECARD_ID_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_BODY_FIELD_NUMBER

public static final int QUESTION_BODY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Dimension.QaQuestionAnswerDimensionMetadata getDefaultInstance()
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata

getDescriptor()

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

newBuilder()

public static Dimension.QaQuestionAnswerDimensionMetadata.Builder newBuilder()
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder

newBuilder(Dimension.QaQuestionAnswerDimensionMetadata prototype)

public static Dimension.QaQuestionAnswerDimensionMetadata.Builder newBuilder(Dimension.QaQuestionAnswerDimensionMetadata prototype)
Parameter
Name Description
prototype Dimension.QaQuestionAnswerDimensionMetadata
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder

parseDelimitedFrom(InputStream input)

public static Dimension.QaQuestionAnswerDimensionMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dimension.QaQuestionAnswerDimensionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Dimension.QaQuestionAnswerDimensionMetadata> parser()
Returns
Type Description
Parser<QaQuestionAnswerDimensionMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnswerValue()

public String getAnswerValue()

Optional. The full body of the question.

string answer_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The answerValue.

getAnswerValueBytes()

public ByteString getAnswerValueBytes()

Optional. The full body of the question.

string answer_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for answerValue.

getDefaultInstanceForType()

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

getParserForType()

public Parser<Dimension.QaQuestionAnswerDimensionMetadata> getParserForType()
Returns
Type Description
Parser<QaQuestionAnswerDimensionMetadata>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Dimension.QaQuestionAnswerDimensionMetadata.Builder newBuilderForType()
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Dimension.QaQuestionAnswerDimensionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Dimension.QaQuestionAnswerDimensionMetadata.Builder toBuilder()
Returns
Type Description
Dimension.QaQuestionAnswerDimensionMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException