Class ImportConversationDataOperationResponse.Builder (4.58.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public ImportConversationDataOperationResponse build()
Returns
Type Description
ImportConversationDataOperationResponse

buildPartial()

public ImportConversationDataOperationResponse buildPartial()
Returns
Type Description
ImportConversationDataOperationResponse

clear()

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

clone()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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