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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ConversationModelEvaluation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ConversationModelEvaluation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ConversationModelEvaluation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder mergeFrom(ConversationModelEvaluation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public ConversationModelEvaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ConversationModelEvaluation.Builder>
IOException
public ConversationModelEvaluation.MetricsCase getMetricsCase()
getMetricsCase
in interface ConversationModelEvaluationOrBuilder
public ConversationModelEvaluation.Builder clearMetrics()
public String getName()
The resource name of the evaluation. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>`
string name = 1;
getName
in interface ConversationModelEvaluationOrBuilder
public ByteString getNameBytes()
The resource name of the evaluation. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>`
string name = 1;
getNameBytes
in interface ConversationModelEvaluationOrBuilder
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;
value
- The name to set.public ConversationModelEvaluation.Builder clearName()
The resource name of the evaluation. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>`
string name = 1;
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;
value
- The bytes for name to set.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];
getDisplayName
in interface ConversationModelEvaluationOrBuilder
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];
getDisplayNameBytes
in interface ConversationModelEvaluationOrBuilder
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];
value
- The displayName to set.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];
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];
value
- The bytes for displayName to set.public boolean hasEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
hasEvaluationConfig
in interface ConversationModelEvaluationOrBuilder
public EvaluationConfig getEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getEvaluationConfig
in interface ConversationModelEvaluationOrBuilder
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];
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];
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];
public ConversationModelEvaluation.Builder clearEvaluationConfig()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
public EvaluationConfig.Builder getEvaluationConfigBuilder()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
public EvaluationConfigOrBuilder getEvaluationConfigOrBuilder()
Optional. The configuration of the evaluation task.
.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getEvaluationConfigOrBuilder
in interface ConversationModelEvaluationOrBuilder
public boolean hasCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface ConversationModelEvaluationOrBuilder
public Timestamp getCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface ConversationModelEvaluationOrBuilder
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];
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];
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];
public ConversationModelEvaluation.Builder clearCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface ConversationModelEvaluationOrBuilder
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];
hasSmartReplyMetrics
in interface ConversationModelEvaluationOrBuilder
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];
getSmartReplyMetrics
in interface ConversationModelEvaluationOrBuilder
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];
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];
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];
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];
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];
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];
getSmartReplyMetricsOrBuilder
in interface ConversationModelEvaluationOrBuilder
public final ConversationModelEvaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
public final ConversationModelEvaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder>
Copyright © 2022 Google LLC. All rights reserved.