Class CreateConversationDatasetRequest.Builder (4.55.0)

public static final class CreateConversationDatasetRequest.Builder extends GeneratedMessageV3.Builder<CreateConversationDatasetRequest.Builder> implements CreateConversationDatasetRequestOrBuilder

The request message for ConversationDatasets.CreateConversationDataset.

Protobuf type google.cloud.dialogflow.v2.CreateConversationDatasetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationDatasetRequest build()
Returns
Type Description
CreateConversationDatasetRequest

buildPartial()

public CreateConversationDatasetRequest buildPartial()
Returns
Type Description
CreateConversationDatasetRequest

clear()

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

clearConversationDataset()

public CreateConversationDatasetRequest.Builder clearConversationDataset()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateConversationDatasetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateConversationDatasetRequest.Builder clearParent()

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

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

Returns
Type Description
CreateConversationDatasetRequest.Builder

This builder for chaining.

clone()

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

getConversationDataset()

public ConversationDataset getConversationDataset()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationDataset

The conversationDataset.

getConversationDatasetBuilder()

public ConversationDataset.Builder getConversationDatasetBuilder()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationDataset.Builder

getConversationDatasetOrBuilder()

public ConversationDatasetOrBuilder getConversationDatasetOrBuilder()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationDatasetOrBuilder

getDefaultInstanceForType()

public CreateConversationDatasetRequest getDefaultInstanceForType()
Returns
Type Description
CreateConversationDatasetRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

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

Returns
Type Description
ByteString

The bytes for parent.

hasConversationDataset()

public boolean hasConversationDataset()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversationDataset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationDataset(ConversationDataset value)

public CreateConversationDatasetRequest.Builder mergeConversationDataset(ConversationDataset value)

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationDataset
Returns
Type Description
CreateConversationDatasetRequest.Builder

mergeFrom(CreateConversationDatasetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationDataset(ConversationDataset value)

public CreateConversationDatasetRequest.Builder setConversationDataset(ConversationDataset value)

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationDataset
Returns
Type Description
CreateConversationDatasetRequest.Builder

setConversationDataset(ConversationDataset.Builder builderForValue)

public CreateConversationDatasetRequest.Builder setConversationDataset(ConversationDataset.Builder builderForValue)

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversationDataset.Builder
Returns
Type Description
CreateConversationDatasetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateConversationDatasetRequest.Builder setParent(String value)

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateConversationDatasetRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateConversationDatasetRequest.Builder setParentBytes(ByteString value)

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateConversationDatasetRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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