- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnswerFeedback.BuilderImplements
AnswerFeedbackOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnswerFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
build()
public AnswerFeedback build()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
buildPartial()
public AnswerFeedback buildPartial()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
clear()
public AnswerFeedback.Builder clear()
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearClicked()
public AnswerFeedback.Builder clearClicked()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearCorrectnessLevel()
public AnswerFeedback.Builder clearCorrectnessLevel()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearDisplayed()
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 | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnswerFeedback.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
clone()
public AnswerFeedback.Builder clone()
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
getClicked()
public boolean getClicked()
Indicates whether an answer or item was clicked by the human agent.
bool clicked = 2;
Returns | |
---|---|
Type | Description |
boolean |
The clicked. |
getCorrectnessLevel()
public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Returns | |
---|---|
Type | Description |
AnswerFeedback.CorrectnessLevel |
The correctnessLevel. |
getCorrectnessLevelValue()
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. |
getDefaultInstanceForType()
public AnswerFeedback getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnswerFeedback |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayed()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnswerFeedback other)
public AnswerFeedback.Builder mergeFrom(AnswerFeedback other)
Parameter | |
---|---|
Name | Description |
other |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnswerFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnswerFeedback.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setClicked(boolean value)
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 | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
public AnswerFeedback.Builder setCorrectnessLevel(AnswerFeedback.CorrectnessLevel value)
The correctness level of an answer.
.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback.CorrectnessLevel The correctnessLevel to set. |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setCorrectnessLevelValue(int value)
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 | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setDisplayed(boolean value)
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 | |
---|---|
Type | Description |
AnswerFeedback.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |