Class InputDataset.Builder (4.46.0)

public static final class InputDataset.Builder extends GeneratedMessageV3.Builder<InputDataset.Builder> implements InputDatasetOrBuilder

InputDataset used to create model or do evaluation. NextID:5

Protobuf type google.cloud.dialogflow.v2.InputDataset

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputDataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputDataset.Builder
Overrides

build()

public InputDataset build()
Returns
Type Description
InputDataset

buildPartial()

public InputDataset buildPartial()
Returns
Type Description
InputDataset

clear()

public InputDataset.Builder clear()
Returns
Type Description
InputDataset.Builder
Overrides

clearDataset()

public InputDataset.Builder clearDataset()

Required. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
InputDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InputDataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputDataset.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InputDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InputDataset.Builder
Overrides

clone()

public InputDataset.Builder clone()
Returns
Type Description
InputDataset.Builder
Overrides

getDataset()

public String getDataset()

Required. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Required. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public InputDataset getDefaultInstanceForType()
Returns
Type Description
InputDataset

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputDataset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputDataset.Builder
Overrides

setDataset(String value)

public InputDataset.Builder setDataset(String value)

Required. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
InputDataset.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public InputDataset.Builder setDatasetBytes(ByteString value)

Required. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
InputDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InputDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputDataset.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InputDataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InputDataset.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InputDataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputDataset.Builder
Overrides