Class CreateConversationDatasetOperationMetadata.Builder (4.19.0)

public static final class CreateConversationDatasetOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateConversationDatasetOperationMetadata.Builder> implements CreateConversationDatasetOperationMetadataOrBuilder

Metadata for ConversationDatasets.

Protobuf type google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationDatasetOperationMetadata build()
Returns
Type Description
CreateConversationDatasetOperationMetadata

buildPartial()

public CreateConversationDatasetOperationMetadata buildPartial()
Returns
Type Description
CreateConversationDatasetOperationMetadata

clear()

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

clearConversationDataset()

public CreateConversationDatasetOperationMetadata.Builder clearConversationDataset()

The resource name of the conversation dataset that will be created. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
CreateConversationDatasetOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversationDataset()

public String getConversationDataset()

The resource name of the conversation dataset that will be created. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversationDataset.

getConversationDatasetBytes()

public ByteString getConversationDatasetBytes()

The resource name of the conversation dataset that will be created. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversationDataset.

getDefaultInstanceForType()

public CreateConversationDatasetOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateConversationDatasetOperationMetadata

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(CreateConversationDatasetOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationDataset(String value)

public CreateConversationDatasetOperationMetadata.Builder setConversationDataset(String value)

The resource name of the conversation dataset that will be created. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The conversationDataset to set.

Returns
Type Description
CreateConversationDatasetOperationMetadata.Builder

This builder for chaining.

setConversationDatasetBytes(ByteString value)

public CreateConversationDatasetOperationMetadata.Builder setConversationDatasetBytes(ByteString value)

The resource name of the conversation dataset that will be created. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for conversationDataset to set.

Returns
Type Description
CreateConversationDatasetOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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