- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class ConversationModelEvaluation.Builder extends GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder> implements ConversationModelEvaluationOrBuilder
Represents evaluation result of a conversation model.
Protobuf type google.cloud.dialogflow.v2.ConversationModelEvaluation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationModelEvaluation.BuilderImplements
ConversationModelEvaluationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationModelEvaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ConversationModelEvaluation.Builder |
build()
public ConversationModelEvaluation build()
Type | Description |
ConversationModelEvaluation |
buildPartial()
public ConversationModelEvaluation buildPartial()
Type | Description |
ConversationModelEvaluation |
clear()
public ConversationModelEvaluation.Builder clear()
Type | Description |
ConversationModelEvaluation.Builder |
clearCreateTime()
public ConversationModelEvaluation.Builder clearCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConversationModelEvaluation.Builder |
clearDisplayName()
public ConversationModelEvaluation.Builder clearDisplayName()
Optional. The display name of the model evaluation. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
clearEvaluationConfig()
public ConversationModelEvaluation.Builder clearEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ConversationModelEvaluation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConversationModelEvaluation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ConversationModelEvaluation.Builder |
clearMetrics()
public ConversationModelEvaluation.Builder clearMetrics()
Type | Description |
ConversationModelEvaluation.Builder |
clearName()
public ConversationModelEvaluation.Builder clearName()
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model
ID>/evaluations/<Evaluation ID>
string name = 1;
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationModelEvaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ConversationModelEvaluation.Builder |
clearRawHumanEvalTemplateCsv()
public ConversationModelEvaluation.Builder clearRawHumanEvalTemplateCsv()
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
clearSmartReplyMetrics()
public ConversationModelEvaluation.Builder clearSmartReplyMetrics()
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConversationModelEvaluation.Builder |
clone()
public ConversationModelEvaluation.Builder clone()
Type | Description |
ConversationModelEvaluation.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ConversationModelEvaluation getDefaultInstanceForType()
Type | Description |
ConversationModelEvaluation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. The display name of the model evaluation. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. The display name of the model evaluation. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString |
The bytes for displayName. |
getEvaluationConfig()
public EvaluationConfig getEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EvaluationConfig |
The evaluationConfig. |
getEvaluationConfigBuilder()
public EvaluationConfig.Builder getEvaluationConfigBuilder()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EvaluationConfig.Builder |
getEvaluationConfigOrBuilder()
public EvaluationConfigOrBuilder getEvaluationConfigOrBuilder()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EvaluationConfigOrBuilder |
getMetricsCase()
public ConversationModelEvaluation.MetricsCase getMetricsCase()
Type | Description |
ConversationModelEvaluation.MetricsCase |
getName()
public String getName()
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model
ID>/evaluations/<Evaluation ID>
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model
ID>/evaluations/<Evaluation ID>
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
getRawHumanEvalTemplateCsv()
public String getRawHumanEvalTemplateCsv()
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String |
The rawHumanEvalTemplateCsv. |
getRawHumanEvalTemplateCsvBytes()
public ByteString getRawHumanEvalTemplateCsvBytes()
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString |
The bytes for rawHumanEvalTemplateCsv. |
getSmartReplyMetrics()
public SmartReplyMetrics getSmartReplyMetrics()
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SmartReplyMetrics |
The smartReplyMetrics. |
getSmartReplyMetricsBuilder()
public SmartReplyMetrics.Builder getSmartReplyMetricsBuilder()
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SmartReplyMetrics.Builder |
getSmartReplyMetricsOrBuilder()
public SmartReplyMetricsOrBuilder getSmartReplyMetricsOrBuilder()
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
SmartReplyMetricsOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the createTime field is set. |
hasEvaluationConfig()
public boolean hasEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean |
Whether the evaluationConfig field is set. |
hasSmartReplyMetrics()
public boolean hasSmartReplyMetrics()
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the smartReplyMetrics field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public ConversationModelEvaluation.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
ConversationModelEvaluation.Builder |
mergeEvaluationConfig(EvaluationConfig value)
public ConversationModelEvaluation.Builder mergeEvaluationConfig(EvaluationConfig value)
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EvaluationConfig |
Type | Description |
ConversationModelEvaluation.Builder |
mergeFrom(ConversationModelEvaluation other)
public ConversationModelEvaluation.Builder mergeFrom(ConversationModelEvaluation other)
Name | Description |
other |
ConversationModelEvaluation |
Type | Description |
ConversationModelEvaluation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationModelEvaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ConversationModelEvaluation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationModelEvaluation.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ConversationModelEvaluation.Builder |
mergeSmartReplyMetrics(SmartReplyMetrics value)
public ConversationModelEvaluation.Builder mergeSmartReplyMetrics(SmartReplyMetrics value)
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
SmartReplyMetrics |
Type | Description |
ConversationModelEvaluation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationModelEvaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ConversationModelEvaluation.Builder |
setCreateTime(Timestamp value)
public ConversationModelEvaluation.Builder setCreateTime(Timestamp value)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
ConversationModelEvaluation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ConversationModelEvaluation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Builder |
Type | Description |
ConversationModelEvaluation.Builder |
setDisplayName(String value)
public ConversationModelEvaluation.Builder setDisplayName(String value)
Optional. The display name of the model evaluation. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
String The displayName to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ConversationModelEvaluation.Builder setDisplayNameBytes(ByteString value)
Optional. The display name of the model evaluation. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setEvaluationConfig(EvaluationConfig value)
public ConversationModelEvaluation.Builder setEvaluationConfig(EvaluationConfig value)
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EvaluationConfig |
Type | Description |
ConversationModelEvaluation.Builder |
setEvaluationConfig(EvaluationConfig.Builder builderForValue)
public ConversationModelEvaluation.Builder setEvaluationConfig(EvaluationConfig.Builder builderForValue)
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue |
EvaluationConfig.Builder |
Type | Description |
ConversationModelEvaluation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationModelEvaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ConversationModelEvaluation.Builder |
setName(String value)
public ConversationModelEvaluation.Builder setName(String value)
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model
ID>/evaluations/<Evaluation ID>
string name = 1;
Name | Description |
value |
String The name to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ConversationModelEvaluation.Builder setNameBytes(ByteString value)
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model
ID>/evaluations/<Evaluation ID>
string name = 1;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setRawHumanEvalTemplateCsv(String value)
public ConversationModelEvaluation.Builder setRawHumanEvalTemplateCsv(String value)
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The rawHumanEvalTemplateCsv to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setRawHumanEvalTemplateCsvBytes(ByteString value)
public ConversationModelEvaluation.Builder setRawHumanEvalTemplateCsvBytes(ByteString value)
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes for rawHumanEvalTemplateCsv to set. |
Type | Description |
ConversationModelEvaluation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationModelEvaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ConversationModelEvaluation.Builder |
setSmartReplyMetrics(SmartReplyMetrics value)
public ConversationModelEvaluation.Builder setSmartReplyMetrics(SmartReplyMetrics value)
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
SmartReplyMetrics |
Type | Description |
ConversationModelEvaluation.Builder |
setSmartReplyMetrics(SmartReplyMetrics.Builder builderForValue)
public ConversationModelEvaluation.Builder setSmartReplyMetrics(SmartReplyMetrics.Builder builderForValue)
Output only. Only available when model is for smart reply.
.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
SmartReplyMetrics.Builder |
Type | Description |
ConversationModelEvaluation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationModelEvaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ConversationModelEvaluation.Builder |