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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportConversationDataOperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportConversationDataOperationResponse build()
Returns
buildPartial()
public ImportConversationDataOperationResponse buildPartial()
Returns
clear()
public ImportConversationDataOperationResponse.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ImportConversationDataOperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImportCount()
public ImportConversationDataOperationResponse.Builder clearImportCount()
Number of conversations imported successfully.
int32 import_count = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportConversationDataOperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportConversationDataOperationResponse.Builder clone()
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportConversationDataOperationResponse other)
public ImportConversationDataOperationResponse.Builder mergeFrom(ImportConversationDataOperationResponse other)
Parameter
Returns
public ImportConversationDataOperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportConversationDataOperationResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public ImportConversationDataOperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportConversationDataOperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataOperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides