Class ImportConversationDataOperationResponse.Builder (4.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportConversationDataOperationResponse build()
Returns
TypeDescription
ImportConversationDataOperationResponse

buildPartial()

public ImportConversationDataOperationResponse buildPartial()
Returns
TypeDescription
ImportConversationDataOperationResponse

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearImportCount()

public ImportConversationDataOperationResponse.Builder clearImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
TypeDescription
ImportConversationDataOperationResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for conversationDataset.

getDefaultInstanceForType()

public ImportConversationDataOperationResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportConversationDataOperationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImportCount()

public int getImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
TypeDescription
int

The importCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportConversationDataOperationResponse other)

public ImportConversationDataOperationResponse.Builder mergeFrom(ImportConversationDataOperationResponse other)
Parameter
NameDescription
otherImportConversationDataOperationResponse
Returns
TypeDescription
ImportConversationDataOperationResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The conversationDataset to set.

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

The bytes for conversationDataset to set.

Returns
TypeDescription
ImportConversationDataOperationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportCount(int value)

public ImportConversationDataOperationResponse.Builder setImportCount(int value)

Number of conversations imported successfully.

int32 import_count = 3;

Parameter
NameDescription
valueint

The importCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportConversationDataOperationResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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