public final class ConversationModelEvaluation extends GeneratedMessageV3 implements ConversationModelEvaluationOrBuilder
Represents evaluation result of a conversation model.Protobuf type
google.cloud.dialogflow.v2.ConversationModelEvaluation
Modifier and Type | Class and Description |
---|---|
static class |
ConversationModelEvaluation.Builder
Represents evaluation result of a conversation model.
|
static class |
ConversationModelEvaluation.MetricsCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
EVALUATION_CONFIG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SMART_REPLY_METRICS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int EVALUATION_CONFIG_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int SMART_REPLY_METRICS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ConversationModelEvaluation.MetricsCase getMetricsCase()
getMetricsCase
in interface ConversationModelEvaluationOrBuilder
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 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 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 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 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 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 boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ConversationModelEvaluation parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationModelEvaluation parseFrom(InputStream input) throws IOException
IOException
public static ConversationModelEvaluation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationModelEvaluation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ConversationModelEvaluation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationModelEvaluation parseFrom(CodedInputStream input) throws IOException
IOException
public static ConversationModelEvaluation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ConversationModelEvaluation.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ConversationModelEvaluation.Builder newBuilder()
public static ConversationModelEvaluation.Builder newBuilder(ConversationModelEvaluation prototype)
public ConversationModelEvaluation.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ConversationModelEvaluation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ConversationModelEvaluation getDefaultInstance()
public static Parser<ConversationModelEvaluation> parser()
public Parser<ConversationModelEvaluation> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ConversationModelEvaluation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.