Send feedback
Class QaAnswer.AnswerSource.Builder (2.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.55.0 keyboard_arrow_down
public static final class QaAnswer . AnswerSource . Builder extends GeneratedMessageV3 . Builder<QaAnswer . AnswerSource . Builder > implements QaAnswer . AnswerSourceOrBuilder
A question may have multiple answers from varying sources, one of which
becomes the "main" answer above. AnswerSource represents each individual
answer.
Protobuf type google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public QaAnswer . AnswerSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public QaAnswer . AnswerSource build ()
public QaAnswer . AnswerSource buildPartial ()
public QaAnswer . AnswerSource . Builder clear ()
Overrides
public QaAnswer . AnswerSource . Builder clearAnswerValue ()
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerSource . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public QaAnswer . AnswerSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public QaAnswer . AnswerSource . Builder clearSourceType ()
What created the answer.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
public QaAnswer . AnswerSource . Builder clone ()
Overrides
public QaAnswer . AnswerValue getAnswerValue ()
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerValue . Builder getAnswerValueBuilder ()
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerValueOrBuilder getAnswerValueOrBuilder ()
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerSource getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public QaAnswer . AnswerSource . SourceType getSourceType ()
What created the answer.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
public int getSourceTypeValue ()
What created the answer.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
Returns
Type
Description
int
The enum numeric value on the wire for sourceType.
public boolean hasAnswerValue ()
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
Returns
Type
Description
boolean
Whether the answerValue field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public QaAnswer . AnswerSource . Builder mergeAnswerValue ( QaAnswer . AnswerValue value )
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerSource . Builder mergeFrom ( QaAnswer . AnswerSource other )
public QaAnswer . AnswerSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public QaAnswer . AnswerSource . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final QaAnswer . AnswerSource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public QaAnswer . AnswerSource . Builder setAnswerValue ( QaAnswer . AnswerValue value )
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerSource . Builder setAnswerValue ( QaAnswer . AnswerValue . Builder builderForValue )
The answer value from this source.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
public QaAnswer . AnswerSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public QaAnswer . AnswerSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public QaAnswer . AnswerSource . Builder setSourceType ( QaAnswer . AnswerSource . SourceType value )
What created the answer.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
public QaAnswer . AnswerSource . Builder setSourceTypeValue ( int value )
What created the answer.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
Parameter
Name
Description
value
int
The enum numeric value on the wire for sourceType to set.
public final QaAnswer . AnswerSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]