Class EvaluationConfig.Builder (4.7.4)

public static final class EvaluationConfig.Builder extends GeneratedMessageV3.Builder<EvaluationConfig.Builder> implements EvaluationConfigOrBuilder

The configuration for model evaluation.

Protobuf type google.cloud.dialogflow.v2.EvaluationConfig

Static Methods

getDescriptor()

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

Methods

addAllDatasets(Iterable<? extends InputDataset> values)

public EvaluationConfig.Builder addAllDatasets(Iterable<? extends InputDataset> values)

Required. Datasets used for evaluation.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.InputDataset>
Returns
TypeDescription
EvaluationConfig.Builder

addDatasets(InputDataset value)

public EvaluationConfig.Builder addDatasets(InputDataset value)

Required. Datasets used for evaluation.

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

Parameter
NameDescription
valueInputDataset
Returns
TypeDescription
EvaluationConfig.Builder

addDatasets(InputDataset.Builder builderForValue)

public EvaluationConfig.Builder addDatasets(InputDataset.Builder builderForValue)

Required. Datasets used for evaluation.

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

Parameter
NameDescription
builderForValueInputDataset.Builder
Returns
TypeDescription
EvaluationConfig.Builder

addDatasets(int index, InputDataset value)

public EvaluationConfig.Builder addDatasets(int index, InputDataset value)

Required. Datasets used for evaluation.

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

Parameters
NameDescription
indexint
valueInputDataset
Returns
TypeDescription
EvaluationConfig.Builder

addDatasets(int index, InputDataset.Builder builderForValue)

public EvaluationConfig.Builder addDatasets(int index, InputDataset.Builder builderForValue)

Required. Datasets used for evaluation.

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

Parameters
NameDescription
indexint
builderForValueInputDataset.Builder
Returns
TypeDescription
EvaluationConfig.Builder

addDatasetsBuilder()

public InputDataset.Builder addDatasetsBuilder()

Required. Datasets used for evaluation.

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

Returns
TypeDescription
InputDataset.Builder

addDatasetsBuilder(int index)

public InputDataset.Builder addDatasetsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

build()

public EvaluationConfig build()
Returns
TypeDescription
EvaluationConfig

buildPartial()

public EvaluationConfig buildPartial()
Returns
TypeDescription
EvaluationConfig

clear()

public EvaluationConfig.Builder clear()
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

clearDatasets()

public EvaluationConfig.Builder clearDatasets()

Required. Datasets used for evaluation.

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

Returns
TypeDescription
EvaluationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

clearModelSpecificConfig()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

clearSmartComposeConfig()

public EvaluationConfig.Builder clearSmartComposeConfig()

Configuration for smart compose model evalution.

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

Returns
TypeDescription
EvaluationConfig.Builder

clearSmartReplyConfig()

public EvaluationConfig.Builder clearSmartReplyConfig()

Configuration for smart reply model evalution.

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

Returns
TypeDescription
EvaluationConfig.Builder

clone()

public EvaluationConfig.Builder clone()
Returns
TypeDescription
EvaluationConfig.Builder
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

getDatasetsBuilder(int index)

public InputDataset.Builder getDatasetsBuilder(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.Builder

getDatasetsBuilderList()

public List<InputDataset.Builder> getDatasetsBuilderList()

Required. Datasets used for evaluation.

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelSpecificConfigCase()

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

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.

getSmartComposeConfigBuilder()

public EvaluationConfig.SmartComposeConfig.Builder getSmartComposeConfigBuilder()

Configuration for smart compose model evalution.

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

Returns
TypeDescription
EvaluationConfig.SmartComposeConfig.Builder

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.

getSmartReplyConfigBuilder()

public EvaluationConfig.SmartReplyConfig.Builder getSmartReplyConfigBuilder()

Configuration for smart reply model evalution.

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

Returns
TypeDescription
EvaluationConfig.SmartReplyConfig.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EvaluationConfig other)

public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
NameDescription
otherEvaluationConfig
Returns
TypeDescription
EvaluationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

mergeSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)

public EvaluationConfig.Builder mergeSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)

Configuration for smart compose model evalution.

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

Parameter
NameDescription
valueEvaluationConfig.SmartComposeConfig
Returns
TypeDescription
EvaluationConfig.Builder

mergeSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)

public EvaluationConfig.Builder mergeSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)

Configuration for smart reply model evalution.

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

Parameter
NameDescription
valueEvaluationConfig.SmartReplyConfig
Returns
TypeDescription
EvaluationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

removeDatasets(int index)

public EvaluationConfig.Builder removeDatasets(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
EvaluationConfig.Builder

setDatasets(int index, InputDataset value)

public EvaluationConfig.Builder setDatasets(int index, InputDataset value)

Required. Datasets used for evaluation.

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

Parameters
NameDescription
indexint
valueInputDataset
Returns
TypeDescription
EvaluationConfig.Builder

setDatasets(int index, InputDataset.Builder builderForValue)

public EvaluationConfig.Builder setDatasets(int index, InputDataset.Builder builderForValue)

Required. Datasets used for evaluation.

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

Parameters
NameDescription
indexint
builderForValueInputDataset.Builder
Returns
TypeDescription
EvaluationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

setSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)

public EvaluationConfig.Builder setSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)

Configuration for smart compose model evalution.

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

Parameter
NameDescription
valueEvaluationConfig.SmartComposeConfig
Returns
TypeDescription
EvaluationConfig.Builder

setSmartComposeConfig(EvaluationConfig.SmartComposeConfig.Builder builderForValue)

public EvaluationConfig.Builder setSmartComposeConfig(EvaluationConfig.SmartComposeConfig.Builder builderForValue)

Configuration for smart compose model evalution.

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

Parameter
NameDescription
builderForValueEvaluationConfig.SmartComposeConfig.Builder
Returns
TypeDescription
EvaluationConfig.Builder

setSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)

public EvaluationConfig.Builder setSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)

Configuration for smart reply model evalution.

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

Parameter
NameDescription
valueEvaluationConfig.SmartReplyConfig
Returns
TypeDescription
EvaluationConfig.Builder

setSmartReplyConfig(EvaluationConfig.SmartReplyConfig.Builder builderForValue)

public EvaluationConfig.Builder setSmartReplyConfig(EvaluationConfig.SmartReplyConfig.Builder builderForValue)

Configuration for smart reply model evalution.

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

Parameter
NameDescription
builderForValueEvaluationConfig.SmartReplyConfig.Builder
Returns
TypeDescription
EvaluationConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluationConfig.Builder
Overrides