Class TranslationFileMapping (0.58.0)

public final class TranslationFileMapping extends GeneratedMessageV3 implements TranslationFileMappingOrBuilder

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

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

Static Fields

INPUT_PATH_FIELD_NUMBER

public static final int INPUT_PATH_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_PATH_FIELD_NUMBER

public static final int OUTPUT_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TranslationFileMapping getDefaultInstance()
Returns
Type Description
TranslationFileMapping

getDescriptor()

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

newBuilder()

public static TranslationFileMapping.Builder newBuilder()
Returns
Type Description
TranslationFileMapping.Builder

newBuilder(TranslationFileMapping prototype)

public static TranslationFileMapping.Builder newBuilder(TranslationFileMapping prototype)
Parameter
Name Description
prototype TranslationFileMapping
Returns
Type Description
TranslationFileMapping.Builder

parseDelimitedFrom(InputStream input)

public static TranslationFileMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TranslationFileMapping parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranslationFileMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TranslationFileMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TranslationFileMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TranslationFileMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TranslationFileMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TranslationFileMapping> parser()
Returns
Type Description
Parser<TranslationFileMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TranslationFileMapping getDefaultInstanceForType()
Returns
Type Description
TranslationFileMapping

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.

getParserForType()

public Parser<TranslationFileMapping> getParserForType()
Returns
Type Description
Parser<TranslationFileMapping>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TranslationFileMapping.Builder newBuilderForType()
Returns
Type Description
TranslationFileMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TranslationFileMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TranslationFileMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TranslationFileMapping.Builder toBuilder()
Returns
Type Description
TranslationFileMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException