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
Methods
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
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
Returns
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
Returns
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
Returns
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
Returns
addDatasetsBuilder()
public InputDataset.Builder addDatasetsBuilder()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EvaluationConfig build()
Returns
buildPartial()
public EvaluationConfig buildPartial()
Returns
clear()
public EvaluationConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearModelSpecificConfig()
public EvaluationConfig.Builder clearModelSpecificConfig()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSmartComposeConfig()
public EvaluationConfig.Builder clearSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
Returns
clearSmartReplyConfig()
public EvaluationConfig.Builder clearSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
Returns
clone()
public EvaluationConfig.Builder clone()
Returns
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
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
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
getDatasetsCount()
public int getDatasetsCount()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetsList()
public List<InputDataset> getDatasetsList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getModelSpecificConfigCase()
public EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()
Returns
getSmartComposeConfig()
public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
Returns
getSmartComposeConfigBuilder()
public EvaluationConfig.SmartComposeConfig.Builder getSmartComposeConfigBuilder()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
Returns
getSmartComposeConfigOrBuilder()
public EvaluationConfig.SmartComposeConfigOrBuilder getSmartComposeConfigOrBuilder()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
Returns
getSmartReplyConfig()
public EvaluationConfig.SmartReplyConfig getSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
Returns
getSmartReplyConfigBuilder()
public EvaluationConfig.SmartReplyConfig.Builder getSmartReplyConfigBuilder()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
Returns
getSmartReplyConfigOrBuilder()
public EvaluationConfig.SmartReplyConfigOrBuilder getSmartReplyConfigOrBuilder()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EvaluationConfig other)
public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
Returns
public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides