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.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportConversationDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportConversationDataRequest build()
buildPartial()
public ImportConversationDataRequest buildPartial()
clear()
public ImportConversationDataRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportConversationDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportConversationDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportConversationDataRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportConversationDataRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Configuration describing where to import data from.
.google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportConversationDataRequest other)
public ImportConversationDataRequest.Builder mergeFrom(ImportConversationDataRequest other)
public ImportConversationDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportConversationDataRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportConversationDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportConversationDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportConversationDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides