Class TranslationFileMapping.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationFileMapping build()
Returns
TypeDescription
TranslationFileMapping

buildPartial()

public TranslationFileMapping buildPartial()
Returns
TypeDescription
TranslationFileMapping

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TranslationFileMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TranslationFileMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TranslationFileMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TranslationFileMapping.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TranslationFileMapping getDefaultInstanceForType()
Returns
TypeDescription
TranslationFileMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputPath()

public String getInputPath()

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

string input_path = 1;

Returns
TypeDescription
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

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

string input_path = 1;

Returns
TypeDescription
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
TypeDescription
String

The outputPath.

getOutputPathBytes()

public ByteString getOutputPathBytes()

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

string output_path = 2;

Returns
TypeDescription
ByteString

The bytes for outputPath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TranslationFileMapping other)

public TranslationFileMapping.Builder mergeFrom(TranslationFileMapping other)
Parameter
NameDescription
otherTranslationFileMapping
Returns
TypeDescription
TranslationFileMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public TranslationFileMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputPath to set.

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

The bytes for inputPath to set.

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

The outputPath to set.

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

The bytes for outputPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TranslationFileMapping.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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