Class ImportConversationDataOperationResponse.Builder (4.50.0)

public static final class ImportConversationDataOperationResponse.Builder extends GeneratedMessageV3.Builder<ImportConversationDataOperationResponse.Builder> implements ImportConversationDataOperationResponseOrBuilder

Response used for ConversationDatasets.ImportConversationData long running operation.

Protobuf type google.cloud.dialogflow.v2.ImportConversationDataOperationResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportConversationDataOperationResponse build()
Returns
Type Description
ImportConversationDataOperationResponse

buildPartial()

public ImportConversationDataOperationResponse buildPartial()
Returns
Type Description
ImportConversationDataOperationResponse

clear()

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

clearConversationDataset()

public ImportConversationDataOperationResponse.Builder clearConversationDataset()

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

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

Returns
Type Description
ImportConversationDataOperationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearImportCount()

public ImportConversationDataOperationResponse.Builder clearImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
Type Description
ImportConversationDataOperationResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversationDataset()

public String getConversationDataset()

The resource name of the imported conversation dataset. 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 imported conversation dataset. 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 ImportConversationDataOperationResponse getDefaultInstanceForType()
Returns
Type Description
ImportConversationDataOperationResponse

getDescriptorForType()

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

getImportCount()

public int getImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
Type Description
int

The importCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportConversationDataOperationResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationDataset(String value)

public ImportConversationDataOperationResponse.Builder setConversationDataset(String value)

The resource name of the imported conversation dataset. 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
ImportConversationDataOperationResponse.Builder

This builder for chaining.

setConversationDatasetBytes(ByteString value)

public ImportConversationDataOperationResponse.Builder setConversationDatasetBytes(ByteString value)

The resource name of the imported conversation dataset. 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
ImportConversationDataOperationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportCount(int value)

public ImportConversationDataOperationResponse.Builder setImportCount(int value)

Number of conversations imported successfully.

int32 import_count = 3;

Parameter
Name Description
value int

The importCount to set.

Returns
Type Description
ImportConversationDataOperationResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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