Class EvaluationConfig.Builder (4.26.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.InputDataset>
Returns
Type Description
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
Name Description
value InputDataset
Returns
Type Description
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
Name Description
builderForValue InputDataset.Builder
Returns
Type Description
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
Name Description
index int
value InputDataset
Returns
Type Description
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
Name Description
index int
builderForValue InputDataset.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InputDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationConfig.Builder
Overrides

build()

public EvaluationConfig build()
Returns
Type Description
EvaluationConfig

buildPartial()

public EvaluationConfig buildPartial()
Returns
Type Description
EvaluationConfig

clear()

public EvaluationConfig.Builder clear()
Returns
Type Description
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
Type Description
EvaluationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EvaluationConfig.Builder
Overrides

clearModelSpecificConfig()

public EvaluationConfig.Builder clearModelSpecificConfig()
Returns
Type Description
EvaluationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
EvaluationConfig.Builder

clearSmartReplyConfig()

public EvaluationConfig.Builder clearSmartReplyConfig()

Configuration for smart reply model evalution.

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

Returns
Type Description
EvaluationConfig.Builder

clone()

public EvaluationConfig.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder>

getDefaultInstanceForType()

public EvaluationConfig getDefaultInstanceForType()
Returns
Type Description
EvaluationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModelSpecificConfigCase()

public EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()
Returns
Type Description
EvaluationConfig.ModelSpecificConfigCase

getSmartComposeConfig()

public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()

Configuration for smart compose model evalution.

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

Returns
Type Description
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
Type Description
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
Type Description
EvaluationConfig.SmartComposeConfigOrBuilder

getSmartReplyConfig()

public EvaluationConfig.SmartReplyConfig getSmartReplyConfig()

Configuration for smart reply model evalution.

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

Returns
Type Description
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
Type Description
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
Type Description
EvaluationConfig.SmartReplyConfigOrBuilder

hasSmartComposeConfig()

public boolean hasSmartComposeConfig()

Configuration for smart compose model evalution.

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

Returns
Type Description
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
Type Description
boolean

Whether the smartReplyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationConfig other)

public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
Name Description
other EvaluationConfig
Returns
Type Description
EvaluationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value EvaluationConfig.SmartComposeConfig
Returns
Type Description
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
Name Description
value EvaluationConfig.SmartReplyConfig
Returns
Type Description
EvaluationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value InputDataset
Returns
Type Description
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
Name Description
index int
builderForValue InputDataset.Builder
Returns
Type Description
EvaluationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationConfig.Builder
Overrides

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

public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value EvaluationConfig.SmartComposeConfig
Returns
Type Description
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
Name Description
builderForValue EvaluationConfig.SmartComposeConfig.Builder
Returns
Type Description
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
Name Description
value EvaluationConfig.SmartReplyConfig
Returns
Type Description
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
Name Description
builderForValue EvaluationConfig.SmartReplyConfig.Builder
Returns
Type Description
EvaluationConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluationConfig.Builder
Overrides