Class GeneratorEvaluationConfig.DatasetInputDataConfig.Builder (4.89.0)

public static final class GeneratorEvaluationConfig.DatasetInputDataConfig.Builder extends GeneratedMessage.Builder<GeneratorEvaluationConfig.DatasetInputDataConfig.Builder> implements GeneratorEvaluationConfig.DatasetInputDataConfigOrBuilder

The distinctive configs for dataset as the conversation source.

Protobuf type google.cloud.dialogflow.v2.GeneratorEvaluationConfig.DatasetInputDataConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GeneratorEvaluationConfig.DatasetInputDataConfig build()
Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig

buildPartial()

public GeneratorEvaluationConfig.DatasetInputDataConfig buildPartial()
Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig

clear()

public GeneratorEvaluationConfig.DatasetInputDataConfig.Builder clear()
Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig.Builder
Overrides

clearDataset()

public GeneratorEvaluationConfig.DatasetInputDataConfig.Builder clearDataset()

Required. The identifier of the dataset to be evaluated. Format: projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig.Builder

This builder for chaining.

getDataset()

public String getDataset()

Required. The identifier of the dataset to be evaluated. Format: projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Required. The identifier of the dataset to be evaluated. Format: projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public GeneratorEvaluationConfig.DatasetInputDataConfig getDefaultInstanceForType()
Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeneratorEvaluationConfig.DatasetInputDataConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GeneratorEvaluationConfig.DatasetInputDataConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig.Builder
Overrides

setDataset(String value)

public GeneratorEvaluationConfig.DatasetInputDataConfig.Builder setDataset(String value)

Required. The identifier of the dataset to be evaluated. Format: projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public GeneratorEvaluationConfig.DatasetInputDataConfig.Builder setDatasetBytes(ByteString value)

Required. The identifier of the dataset to be evaluated. Format: projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
GeneratorEvaluationConfig.DatasetInputDataConfig.Builder

This builder for chaining.