Class ImportConversationDataRequest.Builder (4.8.6)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportConversationDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

build()

public ImportConversationDataRequest build()
Returns
Type Description
ImportConversationDataRequest

buildPartial()

public ImportConversationDataRequest buildPartial()
Returns
Type Description
ImportConversationDataRequest

clear()

public ImportConversationDataRequest.Builder clear()
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportConversationDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
ImportConversationDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportConversationDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

clone()

public ImportConversationDataRequest.Builder clone()
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportConversationDataRequest getDefaultInstanceForType()
Returns
Type Description
ImportConversationDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
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.

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
Type Description
boolean

Whether the inputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportConversationDataRequest other)

public ImportConversationDataRequest.Builder mergeFrom(ImportConversationDataRequest other)
Parameter
Name Description
other ImportConversationDataRequest
Returns
Type Description
ImportConversationDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportConversationDataRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value InputConfig
Returns
Type Description
ImportConversationDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportConversationDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value InputConfig
Returns
Type Description
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
Name Description
builderForValue InputConfig.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportConversationDataRequest.Builder
Overrides