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