Class TranslationFileMapping.Builder (0.47.0)

public static final class TranslationFileMapping.Builder extends GeneratedMessageV3.Builder<TranslationFileMapping.Builder> implements TranslationFileMappingOrBuilder

Mapping between an input and output file to be translated in a subtask.

Protobuf type google.cloud.bigquery.migration.v2alpha.TranslationFileMapping

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationFileMapping build()
Returns
Type Description
TranslationFileMapping

buildPartial()

public TranslationFileMapping buildPartial()
Returns
Type Description
TranslationFileMapping

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputPath()

public TranslationFileMapping.Builder clearInputPath()

The Cloud Storage path for a file to translation in a subtask.

string input_path = 1;

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputPath()

public TranslationFileMapping.Builder clearOutputPath()

The Cloud Storage path to write back the corresponding input file to.

string output_path = 2;

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TranslationFileMapping getDefaultInstanceForType()
Returns
Type Description
TranslationFileMapping

getDescriptorForType()

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

getInputPath()

public String getInputPath()

The Cloud Storage path for a file to translation in a subtask.

string input_path = 1;

Returns
Type Description
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

The Cloud Storage path for a file to translation in a subtask.

string input_path = 1;

Returns
Type Description
ByteString

The bytes for inputPath.

getOutputPath()

public String getOutputPath()

The Cloud Storage path to write back the corresponding input file to.

string output_path = 2;

Returns
Type Description
String

The outputPath.

getOutputPathBytes()

public ByteString getOutputPathBytes()

The Cloud Storage path to write back the corresponding input file to.

string output_path = 2;

Returns
Type Description
ByteString

The bytes for outputPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranslationFileMapping other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputPath(String value)

public TranslationFileMapping.Builder setInputPath(String value)

The Cloud Storage path for a file to translation in a subtask.

string input_path = 1;

Parameter
Name Description
value String

The inputPath to set.

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

setInputPathBytes(ByteString value)

public TranslationFileMapping.Builder setInputPathBytes(ByteString value)

The Cloud Storage path for a file to translation in a subtask.

string input_path = 1;

Parameter
Name Description
value ByteString

The bytes for inputPath to set.

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

setOutputPath(String value)

public TranslationFileMapping.Builder setOutputPath(String value)

The Cloud Storage path to write back the corresponding input file to.

string output_path = 2;

Parameter
Name Description
value String

The outputPath to set.

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

setOutputPathBytes(ByteString value)

public TranslationFileMapping.Builder setOutputPathBytes(ByteString value)

The Cloud Storage path to write back the corresponding input file to.

string output_path = 2;

Parameter
Name Description
value ByteString

The bytes for outputPath to set.

Returns
Type Description
TranslationFileMapping.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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