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
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 AnswerFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerFeedback build()
public AnswerFeedback buildPartial()
public AnswerFeedback.Builder clear()
Overrides
public AnswerFeedback.Builder clearClicked()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
public AnswerFeedback.Builder clearCorrectnessLevel()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
public AnswerFeedback.Builder clearDisplayed()
Indicates whether an answer or item was displayed to the human agent in the
agent desktop UI.
bool displayed = 3;
public AnswerFeedback.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnswerFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnswerFeedback.Builder clone()
Overrides
public boolean getClicked()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Returns |
---|
Type | Description |
boolean | The clicked.
|
public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
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()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public AnswerFeedback.Builder mergeFrom(AnswerFeedback other)
public AnswerFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnswerFeedback.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final AnswerFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
public AnswerFeedback.Builder setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
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.
|
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.
|
public AnswerFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AnswerFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides