Class ExportDataRequest.Builder (2.53.0)

public static final class ExportDataRequest.Builder extends GeneratedMessageV3.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder

Request message for ExportData.

Protobuf type google.cloud.translation.v3.ExportDataRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportDataRequest build()
Returns
Type Description
ExportDataRequest

buildPartial()

public ExportDataRequest buildPartial()
Returns
Type Description
ExportDataRequest

clear()

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

clearDataset()

public ExportDataRequest.Builder clearDataset()

Required. Name of the dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportDataRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public ExportDataRequest.Builder clearOutputConfig()

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataRequest.Builder

clone()

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

getDataset()

public String getDataset()

Required. Name of the dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Required. Name of the dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
Type Description
ExportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutputConfig()

public DatasetOutputConfig getOutputConfig()

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetOutputConfig

The outputConfig.

getOutputConfigBuilder()

public DatasetOutputConfig.Builder getOutputConfigBuilder()

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetOutputConfig.Builder

getOutputConfigOrBuilder()

public DatasetOutputConfigOrBuilder getOutputConfigOrBuilder()

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetOutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExportDataRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportDataRequest.Builder
Overrides

mergeOutputConfig(DatasetOutputConfig value)

public ExportDataRequest.Builder mergeOutputConfig(DatasetOutputConfig value)

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetOutputConfig
Returns
Type Description
ExportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataset(String value)

public ExportDataRequest.Builder setDataset(String value)

Required. Name of the dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ExportDataRequest.Builder setDatasetBytes(ByteString value)

Required. Name of the dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputConfig(DatasetOutputConfig value)

public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig value)

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetOutputConfig
Returns
Type Description
ExportDataRequest.Builder

setOutputConfig(DatasetOutputConfig.Builder builderForValue)

public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig.Builder builderForValue)

Required. The config for the output content.

.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DatasetOutputConfig.Builder
Returns
Type Description
ExportDataRequest.Builder

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

public ExportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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