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