Class DatasetOutputConfig.Builder (2.49.0)

public static final class DatasetOutputConfig.Builder extends GeneratedMessageV3.Builder<DatasetOutputConfig.Builder> implements DatasetOutputConfigOrBuilder

Output configuration for datasets.

Protobuf type google.cloud.translation.v3.DatasetOutputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatasetOutputConfig build()
Returns
Type Description
DatasetOutputConfig

buildPartial()

public DatasetOutputConfig buildPartial()
Returns
Type Description
DatasetOutputConfig

clear()

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

clearDestination()

public DatasetOutputConfig.Builder clearDestination()
Returns
Type Description
DatasetOutputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcsDestination()

public DatasetOutputConfig.Builder clearGcsDestination()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
DatasetOutputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DatasetOutputConfig getDefaultInstanceForType()
Returns
Type Description
DatasetOutputConfig

getDescriptorForType()

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

getDestinationCase()

public DatasetOutputConfig.DestinationCase getDestinationCase()
Returns
Type Description
DatasetOutputConfig.DestinationCase

getGcsDestination()

public GcsOutputDestination getGcsDestination()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
GcsOutputDestination

The gcsDestination.

getGcsDestinationBuilder()

public GcsOutputDestination.Builder getGcsDestinationBuilder()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
GcsOutputDestination.Builder

getGcsDestinationOrBuilder()

public GcsOutputDestinationOrBuilder getGcsDestinationOrBuilder()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
GcsOutputDestinationOrBuilder

hasGcsDestination()

public boolean hasGcsDestination()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
boolean

Whether the gcsDestination field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatasetOutputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsDestination(GcsOutputDestination value)

public DatasetOutputConfig.Builder mergeGcsDestination(GcsOutputDestination value)

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Parameter
Name Description
value GcsOutputDestination
Returns
Type Description
DatasetOutputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsDestination(GcsOutputDestination value)

public DatasetOutputConfig.Builder setGcsDestination(GcsOutputDestination value)

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Parameter
Name Description
value GcsOutputDestination
Returns
Type Description
DatasetOutputConfig.Builder

setGcsDestination(GcsOutputDestination.Builder builderForValue)

public DatasetOutputConfig.Builder setGcsDestination(GcsOutputDestination.Builder builderForValue)

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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