public static final class EvaluationResult.UserGoalSatisfactionResult.Builder extends GeneratedMessage.Builder<EvaluationResult.UserGoalSatisfactionResult.Builder> implements EvaluationResult.UserGoalSatisfactionResultOrBuilderThe result of a user goal satisfaction check for a conversation.
Protobuf type google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationResult.UserGoalSatisfactionResult.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EvaluationResult.UserGoalSatisfactionResult build()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult |
|
buildPartial()
public EvaluationResult.UserGoalSatisfactionResult buildPartial()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult |
|
clear()
public EvaluationResult.UserGoalSatisfactionResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
|
clearExplanation()
public EvaluationResult.UserGoalSatisfactionResult.Builder clearExplanation()Output only. The explanation for the user task satisfaction score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
clearLabel()
public EvaluationResult.UserGoalSatisfactionResult.Builder clearLabel()Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
clearScore()
public EvaluationResult.UserGoalSatisfactionResult.Builder clearScore()Output only. The user task satisfaction score. Can be -1, 0, 1.
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EvaluationResult.UserGoalSatisfactionResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExplanation()
public String getExplanation()Output only. The explanation for the user task satisfaction score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The explanation. |
getExplanationBytes()
public ByteString getExplanationBytes()Output only. The explanation for the user task satisfaction score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for explanation. |
getLabel()
public String getLabel()Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getScore()
public int getScore()Output only. The user task satisfaction score. Can be -1, 0, 1.
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The score. |
hasScore()
public boolean hasScore()Output only. The user task satisfaction score. Can be -1, 0, 1.
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the score field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EvaluationResult.UserGoalSatisfactionResult other)
public EvaluationResult.UserGoalSatisfactionResult.Builder mergeFrom(EvaluationResult.UserGoalSatisfactionResult other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationResult.UserGoalSatisfactionResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EvaluationResult.UserGoalSatisfactionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationResult.UserGoalSatisfactionResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
|
setExplanation(String value)
public EvaluationResult.UserGoalSatisfactionResult.Builder setExplanation(String value)Output only. The explanation for the user task satisfaction score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe explanation to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
setExplanationBytes(ByteString value)
public EvaluationResult.UserGoalSatisfactionResult.Builder setExplanationBytes(ByteString value)Output only. The explanation for the user task satisfaction score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for explanation to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
setLabel(String value)
public EvaluationResult.UserGoalSatisfactionResult.Builder setLabel(String value)Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public EvaluationResult.UserGoalSatisfactionResult.Builder setLabelBytes(ByteString value)Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |
setScore(int value)
public EvaluationResult.UserGoalSatisfactionResult.Builder setScore(int value)Output only. The user task satisfaction score. Can be -1, 0, 1.
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe score to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.UserGoalSatisfactionResult.Builder |
This builder for chaining. |