public static final class ImportConversationDataRequest.Builder extends GeneratedMessageV3.Builder<ImportConversationDataRequest.Builder> implements ImportConversationDataRequestOrBuilder
The request message for ConversationDatasets.ImportConversationData.
Protobuf type google.cloud.dialogflow.v2.ImportConversationDataRequest
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 ImportConversationDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportConversationDataRequest build()
Returns
buildPartial()
public ImportConversationDataRequest buildPartial()
Returns
clear()
public ImportConversationDataRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportConversationDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportConversationDataRequest.Builder clearInputConfig()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearName()
public ImportConversationDataRequest.Builder clearName()
Required. Dataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportConversationDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportConversationDataRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportConversationDataRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public InputConfig getInputConfig()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfig.Builder getInputConfigBuilder()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getName()
Required. Dataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Dataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasInputConfig()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the inputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportConversationDataRequest other)
public ImportConversationDataRequest.Builder mergeFrom(ImportConversationDataRequest other)
Parameter
Returns
public ImportConversationDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportConversationDataRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ImportConversationDataRequest.Builder mergeInputConfig(InputConfig value)
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportConversationDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportConversationDataRequest.Builder setInputConfig(InputConfig value)
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportConversationDataRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setName(String value)
public ImportConversationDataRequest.Builder setName(String value)
Required. Dataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The name to set.
|
Returns
setNameBytes(ByteString value)
public ImportConversationDataRequest.Builder setNameBytes(ByteString value)
Required. Dataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportConversationDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides