Send feedback
Class AnswerFeedback.Builder (2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.1 keyboard_arrow_down
public static final class AnswerFeedback . Builder extends GeneratedMessageV3 . Builder<AnswerFeedback . Builder > implements AnswerFeedbackOrBuilder
The feedback that the customer has about a certain answer in the
conversation.
Protobuf type google.cloud.contactcenterinsights.v1.AnswerFeedback
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public AnswerFeedback . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public AnswerFeedback build ()
Returns
public AnswerFeedback buildPartial ()
Returns
public AnswerFeedback . Builder clear ()
Returns
Overrides
public AnswerFeedback . Builder clearClicked ()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Returns
public AnswerFeedback . Builder clearCorrectnessLevel ()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns
public AnswerFeedback . Builder clearDisplayed ()
Indicates whether an answer or item was displayed to the human agent in the
agent desktop UI.
bool displayed = 3;
Returns
public AnswerFeedback . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public AnswerFeedback . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public AnswerFeedback . Builder clone ()
Returns
Overrides
public boolean getClicked ()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Returns
public AnswerFeedback . CorrectnessLevel getCorrectnessLevel ()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns
public int getCorrectnessLevelValue ()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns
Type Description int The enum numeric value on the wire for correctnessLevel.
public AnswerFeedback getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public boolean getDisplayed ()
Indicates whether an answer or item was displayed to the human agent in the
agent desktop UI.
bool displayed = 3;
Returns
Type Description boolean The displayed.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public AnswerFeedback . Builder mergeFrom ( AnswerFeedback other )
Parameter
Returns
public AnswerFeedback . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public AnswerFeedback . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final AnswerFeedback . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public AnswerFeedback . Builder setClicked ( boolean value )
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Parameter
Name Description value boolean
The clicked to set.
Returns
public AnswerFeedback . Builder setCorrectnessLevel ( AnswerFeedback . CorrectnessLevel value )
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Parameter
Returns
public AnswerFeedback . Builder setCorrectnessLevelValue ( int value )
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Parameter
Name Description value int
The enum numeric value on the wire for correctnessLevel to set.
Returns
public AnswerFeedback . Builder setDisplayed ( boolean value )
Indicates whether an answer or item was displayed to the human agent in the
agent desktop UI.
bool displayed = 3;
Parameter
Name Description value boolean
The displayed to set.
Returns
public AnswerFeedback . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public AnswerFeedback . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final AnswerFeedback . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-27 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-27 UTC."],[],[]]