Class InputDataset.Builder (4.7.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputDataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InputDataset.Builder
Overrides

build()

public InputDataset build()
Returns
TypeDescription
InputDataset

buildPartial()

public InputDataset buildPartial()
Returns
TypeDescription
InputDataset

clear()

public InputDataset.Builder clear()
Returns
TypeDescription
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
TypeDescription
InputDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InputDataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InputDataset.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InputDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InputDataset.Builder
Overrides

clone()

public InputDataset.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public InputDataset getDefaultInstanceForType()
Returns
TypeDescription
InputDataset

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InputDataset other)

public InputDataset.Builder mergeFrom(InputDataset other)
Parameter
NameDescription
otherInputDataset
Returns
TypeDescription
InputDataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InputDataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputDataset.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InputDataset.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InputDataset.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
InputDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InputDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InputDataset.Builder
Overrides

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

public InputDataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InputDataset.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InputDataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InputDataset.Builder
Overrides