Class EvaluationConfig (4.7.4)

public final class EvaluationConfig extends GeneratedMessageV3 implements EvaluationConfigOrBuilder

The configuration for model evaluation.

Protobuf type google.cloud.dialogflow.v2.EvaluationConfig

Static Fields

DATASETS_FIELD_NUMBER

public static final int DATASETS_FIELD_NUMBER
Field Value
TypeDescription
int

SMART_COMPOSE_CONFIG_FIELD_NUMBER

public static final int SMART_COMPOSE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SMART_REPLY_CONFIG_FIELD_NUMBER

public static final int SMART_REPLY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluationConfig getDefaultInstance()
Returns
TypeDescription
EvaluationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EvaluationConfig.Builder newBuilder()
Returns
TypeDescription
EvaluationConfig.Builder

newBuilder(EvaluationConfig prototype)

public static EvaluationConfig.Builder newBuilder(EvaluationConfig prototype)
Parameter
NameDescription
prototypeEvaluationConfig
Returns
TypeDescription
EvaluationConfig.Builder

parseDelimitedFrom(InputStream input)

public static EvaluationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EvaluationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EvaluationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EvaluationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EvaluationConfig> parser()
Returns
TypeDescription
Parser<EvaluationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatasets(int index)

public InputDataset getDatasets(int index)

Required. Datasets used for evaluation.

repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
InputDataset

getDatasetsCount()

public int getDatasetsCount()

Required. Datasets used for evaluation.

repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDatasetsList()

public List<InputDataset> getDatasetsList()

Required. Datasets used for evaluation.

repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<InputDataset>

getDatasetsOrBuilder(int index)

public InputDatasetOrBuilder getDatasetsOrBuilder(int index)

Required. Datasets used for evaluation.

repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
InputDatasetOrBuilder

getDatasetsOrBuilderList()

public List<? extends InputDatasetOrBuilder> getDatasetsOrBuilderList()

Required. Datasets used for evaluation.

repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder>

getDefaultInstanceForType()

public EvaluationConfig getDefaultInstanceForType()
Returns
TypeDescription
EvaluationConfig

getModelSpecificConfigCase()

public EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()
Returns
TypeDescription
EvaluationConfig.ModelSpecificConfigCase

getParserForType()

public Parser<EvaluationConfig> getParserForType()
Returns
TypeDescription
Parser<EvaluationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSmartComposeConfig()

public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()

Configuration for smart compose model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;

Returns
TypeDescription
EvaluationConfig.SmartComposeConfig

The smartComposeConfig.

getSmartComposeConfigOrBuilder()

public EvaluationConfig.SmartComposeConfigOrBuilder getSmartComposeConfigOrBuilder()

Configuration for smart compose model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;

Returns
TypeDescription
EvaluationConfig.SmartComposeConfigOrBuilder

getSmartReplyConfig()

public EvaluationConfig.SmartReplyConfig getSmartReplyConfig()

Configuration for smart reply model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;

Returns
TypeDescription
EvaluationConfig.SmartReplyConfig

The smartReplyConfig.

getSmartReplyConfigOrBuilder()

public EvaluationConfig.SmartReplyConfigOrBuilder getSmartReplyConfigOrBuilder()

Configuration for smart reply model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;

Returns
TypeDescription
EvaluationConfig.SmartReplyConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasSmartComposeConfig()

public boolean hasSmartComposeConfig()

Configuration for smart compose model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;

Returns
TypeDescription
boolean

Whether the smartComposeConfig field is set.

hasSmartReplyConfig()

public boolean hasSmartReplyConfig()

Configuration for smart reply model evalution.

.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;

Returns
TypeDescription
boolean

Whether the smartReplyConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EvaluationConfig.Builder newBuilderForType()
Returns
TypeDescription
EvaluationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EvaluationConfig.Builder toBuilder()
Returns
TypeDescription
EvaluationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException