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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EvaluationConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EvaluationConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EvaluationConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EvaluationConfig.Builder>
IOException
public EvaluationConfig.ModelSpecificConfigCase getModelSpecificConfigCase()
getModelSpecificConfigCase
in interface EvaluationConfigOrBuilder
public EvaluationConfig.Builder clearModelSpecificConfig()
public List<InputDataset> getDatasetsList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsList
in interface EvaluationConfigOrBuilder
public int getDatasetsCount()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsCount
in interface EvaluationConfigOrBuilder
public InputDataset getDatasets(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasets
in interface EvaluationConfigOrBuilder
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];
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(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(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.Builder builderForValue)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public EvaluationConfig.Builder clearDatasets()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public EvaluationConfig.Builder removeDatasets(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public InputDataset.Builder getDatasetsBuilder(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public InputDatasetOrBuilder getDatasetsOrBuilder(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsOrBuilder
in interface EvaluationConfigOrBuilder
public List<? extends InputDatasetOrBuilder> getDatasetsOrBuilderList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetsOrBuilderList
in interface EvaluationConfigOrBuilder
public InputDataset.Builder addDatasetsBuilder()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public InputDataset.Builder addDatasetsBuilder(int index)
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public List<InputDataset.Builder> getDatasetsBuilderList()
Required. Datasets used for evaluation.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
public boolean hasSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
hasSmartReplyConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartReplyConfig getSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
getSmartReplyConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.Builder setSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
public EvaluationConfig.Builder setSmartReplyConfig(EvaluationConfig.SmartReplyConfig.Builder builderForValue)
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
public EvaluationConfig.Builder mergeSmartReplyConfig(EvaluationConfig.SmartReplyConfig value)
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
public EvaluationConfig.Builder clearSmartReplyConfig()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
public EvaluationConfig.SmartReplyConfig.Builder getSmartReplyConfigBuilder()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
public EvaluationConfig.SmartReplyConfigOrBuilder getSmartReplyConfigOrBuilder()
Configuration for smart reply model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
getSmartReplyConfigOrBuilder
in interface EvaluationConfigOrBuilder
public boolean hasSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
hasSmartComposeConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.SmartComposeConfig getSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
getSmartComposeConfig
in interface EvaluationConfigOrBuilder
public EvaluationConfig.Builder setSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
public EvaluationConfig.Builder setSmartComposeConfig(EvaluationConfig.SmartComposeConfig.Builder builderForValue)
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
public EvaluationConfig.Builder mergeSmartComposeConfig(EvaluationConfig.SmartComposeConfig value)
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
public EvaluationConfig.Builder clearSmartComposeConfig()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
public EvaluationConfig.SmartComposeConfig.Builder getSmartComposeConfigBuilder()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
public EvaluationConfig.SmartComposeConfigOrBuilder getSmartComposeConfigOrBuilder()
Configuration for smart compose model evalution.
.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
getSmartComposeConfigOrBuilder
in interface EvaluationConfigOrBuilder
public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EvaluationConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.