public final class EvaluationConfig extends GeneratedMessageV3 implements EvaluationConfigOrBuilder
The configuration for model evaluation.Protobuf type
google.cloud.dialogflow.v2.EvaluationConfig
Modifier and Type | Class and Description |
---|---|
static class |
EvaluationConfig.Builder
The configuration for model evaluation.
|
static class |
EvaluationConfig.ModelSpecificConfigCase |
static class |
EvaluationConfig.SmartComposeConfig
Smart compose specific configuration for evaluation job.
|
static interface |
EvaluationConfig.SmartComposeConfigOrBuilder |
static class |
EvaluationConfig.SmartReplyConfig
Smart reply specific configuration for evaluation job.
|
static interface |
EvaluationConfig.SmartReplyConfigOrBuilder |
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 |
DATASETS_FIELD_NUMBER |
static int |
SMART_COMPOSE_CONFIG_FIELD_NUMBER |
static int |
SMART_REPLY_CONFIG_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 DATASETS_FIELD_NUMBER
public static final int SMART_REPLY_CONFIG_FIELD_NUMBER
public static final int SMART_COMPOSE_CONFIG_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 EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()
getModelSpecificConfigCase
in interface EvaluationConfigOrBuilder
public List<InputDataset> getDatasetsList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsList
in interface EvaluationConfigOrBuilder
public List<? extends InputDatasetOrBuilder> getDatasetsOrBuilderList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsOrBuilderList
in interface EvaluationConfigOrBuilder
public int getDatasetsCount()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsCount
in interface EvaluationConfigOrBuilder
public InputDataset getDatasets(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasets
in interface EvaluationConfigOrBuilder
public InputDatasetOrBuilder getDatasetsOrBuilder(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsOrBuilder
in interface EvaluationConfigOrBuilder
public boolean hasSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
hasSmartReplyConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartReplyConfig getSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
getSmartReplyConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartReplyConfigOrBuilder getSmartReplyConfigOrBuilder()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
getSmartReplyConfigOrBuilder
in interface EvaluationConfigOrBuilder
public boolean hasSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
hasSmartComposeConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
getSmartComposeConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartComposeConfigOrBuilder getSmartComposeConfigOrBuilder()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
getSmartComposeConfigOrBuilder
in interface EvaluationConfigOrBuilder
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 EvaluationConfig parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EvaluationConfig parseFrom(InputStream input) throws IOException
IOException
public static EvaluationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EvaluationConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EvaluationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EvaluationConfig parseFrom(CodedInputStream input) throws IOException
IOException
public static EvaluationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EvaluationConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static EvaluationConfig.Builder newBuilder()
public static EvaluationConfig.Builder newBuilder(EvaluationConfig prototype)
public EvaluationConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected EvaluationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static EvaluationConfig getDefaultInstance()
public static Parser<EvaluationConfig> parser()
public Parser<EvaluationConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public EvaluationConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.