Class ImportConversationDataRequest.Builder (4.5.11)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportConversationDataRequest build()
Returns
TypeDescription
ImportConversationDataRequest

buildPartial()

public ImportConversationDataRequest buildPartial()
Returns
TypeDescription
ImportConversationDataRequest

clear()

public ImportConversationDataRequest.Builder clear()
Returns
TypeDescription
ImportConversationDataRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInputConfig()

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
TypeDescription
ImportConversationDataRequest.Builder

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
TypeDescription
ImportConversationDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ImportConversationDataRequest.Builder clone()
Returns
TypeDescription
ImportConversationDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportConversationDataRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportConversationDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputConfig()

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
TypeDescription
InputConfig

The inputConfig.

getInputConfigBuilder()

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
TypeDescription
InputConfig.Builder

getInputConfigOrBuilder()

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
TypeDescription
InputConfigOrBuilder

getName()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

hasInputConfig()

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
TypeDescription
boolean

Whether the inputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportConversationDataRequest other)

public ImportConversationDataRequest.Builder mergeFrom(ImportConversationDataRequest other)
Parameter
NameDescription
otherImportConversationDataRequest
Returns
TypeDescription
ImportConversationDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputConfig(InputConfig value)

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
NameDescription
valueInputConfig
Returns
TypeDescription
ImportConversationDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportConversationDataRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputConfig(InputConfig value)

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
NameDescription
valueInputConfig
Returns
TypeDescription
ImportConversationDataRequest.Builder

setInputConfig(InputConfig.Builder builderForValue)

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
NameDescription
builderForValueInputConfig.Builder
Returns
TypeDescription
ImportConversationDataRequest.Builder

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
NameDescription
valueString

The name to set.

Returns
TypeDescription
ImportConversationDataRequest.Builder

This builder for chaining.

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

The bytes for name to set.

Returns
TypeDescription
ImportConversationDataRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportConversationDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportConversationDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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