public static final class EvaluationConfig.Builder extends GeneratedMessage.Builder<EvaluationConfig.Builder> implements EvaluationConfigOrBuilderThe configuration for model evaluation.
Protobuf type google.cloud.dialogflow.v2.EvaluationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationConfig.BuilderImplements
EvaluationConfigOrBuilderStatic 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 |
|
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 |
|
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 |
|
clearModelSpecificConfig()
public EvaluationConfig.Builder clearModelSpecificConfig()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
clearSmartComposeConfig()
public EvaluationConfig.Builder clearSmartComposeConfig()Configuration for smart compose model evaluation.
.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 evaluation.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
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 |
|
getModelSpecificConfigCase()
public EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.ModelSpecificConfigCase |
|
getSmartComposeConfig()
public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()Configuration for smart compose model evaluation.
.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 evaluation.
.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 evaluation.
.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 evaluation.
.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 evaluation.
.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 evaluation.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.SmartReplyConfigOrBuilder |
|
hasSmartComposeConfig()
public boolean hasSmartComposeConfig()Configuration for smart compose model evaluation.
.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 evaluation.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the smartReplyConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
mergeSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)
public EvaluationConfig.Builder mergeSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)Configuration for smart compose model evaluation.
.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 evaluation.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationConfig.SmartReplyConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
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 |
|
setSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)
public EvaluationConfig.Builder setSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)Configuration for smart compose model evaluation.
.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 evaluation.
.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 evaluation.
.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 evaluation.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationConfig.SmartReplyConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|