Class TranslationFileMapping (0.35.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
TypeDescription
int

OUTPUT_PATH_FIELD_NUMBER

public static final int OUTPUT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TranslationFileMapping getDefaultInstance()
Returns
TypeDescription
TranslationFileMapping

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TranslationFileMapping.Builder newBuilder()
Returns
TypeDescription
TranslationFileMapping.Builder

newBuilder(TranslationFileMapping prototype)

public static TranslationFileMapping.Builder newBuilder(TranslationFileMapping prototype)
Parameter
NameDescription
prototypeTranslationFileMapping
Returns
TypeDescription
TranslationFileMapping.Builder

parseDelimitedFrom(InputStream input)

public static TranslationFileMapping parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TranslationFileMapping parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranslationFileMapping parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TranslationFileMapping parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TranslationFileMapping parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TranslationFileMapping parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TranslationFileMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslationFileMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TranslationFileMapping> parser()
Returns
TypeDescription
Parser<TranslationFileMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TranslationFileMapping getDefaultInstanceForType()
Returns
TypeDescription
TranslationFileMapping

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.

getParserForType()

public Parser<TranslationFileMapping> getParserForType()
Returns
TypeDescription
Parser<TranslationFileMapping>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TranslationFileMapping.Builder newBuilderForType()
Returns
TypeDescription
TranslationFileMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TranslationFileMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TranslationFileMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TranslationFileMapping.Builder toBuilder()
Returns
TypeDescription
TranslationFileMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException