Class TranslationConfigDetails (0.42.0)

public final class TranslationConfigDetails extends GeneratedMessageV3 implements TranslationConfigDetailsOrBuilder

The translation config to capture necessary settings for a translation task and subtask.

Protobuf type google.cloud.bigquery.migration.v2.TranslationConfigDetails

Static Fields

GCS_SOURCE_PATH_FIELD_NUMBER

public static final int GCS_SOURCE_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_TARGET_PATH_FIELD_NUMBER

public static final int GCS_TARGET_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_MAPPING_LIST_FIELD_NUMBER

public static final int NAME_MAPPING_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_SOURCE_FIELD_NUMBER

public static final int REQUEST_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_DIALECT_FIELD_NUMBER

public static final int SOURCE_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_ENV_FIELD_NUMBER

public static final int SOURCE_ENV_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_DIALECT_FIELD_NUMBER

public static final int TARGET_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TranslationConfigDetails getDefaultInstance()
Returns
TypeDescription
TranslationConfigDetails

getDescriptor()

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

newBuilder()

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

newBuilder(TranslationConfigDetails prototype)

public static TranslationConfigDetails.Builder newBuilder(TranslationConfigDetails prototype)
Parameter
NameDescription
prototypeTranslationConfigDetails
Returns
TypeDescription
TranslationConfigDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TranslationConfigDetails getDefaultInstanceForType()
Returns
TypeDescription
TranslationConfigDetails

getGcsSourcePath()

public String getGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
String

The gcsSourcePath.

getGcsSourcePathBytes()

public ByteString getGcsSourcePathBytes()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
ByteString

The bytes for gcsSourcePath.

getGcsTargetPath()

public String getGcsTargetPath()

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

string gcs_target_path = 2;

Returns
TypeDescription
String

The gcsTargetPath.

getGcsTargetPathBytes()

public ByteString getGcsTargetPathBytes()

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

string gcs_target_path = 2;

Returns
TypeDescription
ByteString

The bytes for gcsTargetPath.

getNameMappingList()

public ObjectNameMappingList getNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
ObjectNameMappingList

The nameMappingList.

getNameMappingListOrBuilder()

public ObjectNameMappingListOrBuilder getNameMappingListOrBuilder()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
ObjectNameMappingListOrBuilder

getOutputNameMappingCase()

public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
Returns
TypeDescription
TranslationConfigDetails.OutputNameMappingCase

getParserForType()

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

getRequestSource()

public String getRequestSource()

The indicator to show translation request initiator.

string request_source = 8;

Returns
TypeDescription
String

The requestSource.

getRequestSourceBytes()

public ByteString getRequestSourceBytes()

The indicator to show translation request initiator.

string request_source = 8;

Returns
TypeDescription
ByteString

The bytes for requestSource.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceDialect()

public Dialect getSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
Dialect

The sourceDialect.

getSourceDialectOrBuilder()

public DialectOrBuilder getSourceDialectOrBuilder()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
DialectOrBuilder

getSourceEnv()

public SourceEnv getSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
SourceEnv

The sourceEnv.

getSourceEnvOrBuilder()

public SourceEnvOrBuilder getSourceEnvOrBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
SourceEnvOrBuilder

getSourceLocationCase()

public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
Returns
TypeDescription
TranslationConfigDetails.SourceLocationCase

getTargetDialect()

public Dialect getTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
Dialect

The targetDialect.

getTargetDialectOrBuilder()

public DialectOrBuilder getTargetDialectOrBuilder()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
DialectOrBuilder

getTargetLocationCase()

public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
Returns
TypeDescription
TranslationConfigDetails.TargetLocationCase

hasGcsSourcePath()

public boolean hasGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
boolean

Whether the gcsSourcePath field is set.

hasGcsTargetPath()

public boolean hasGcsTargetPath()

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

string gcs_target_path = 2;

Returns
TypeDescription
boolean

Whether the gcsTargetPath field is set.

hasNameMappingList()

public boolean hasNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
boolean

Whether the nameMappingList field is set.

hasSourceDialect()

public boolean hasSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
boolean

Whether the sourceDialect field is set.

hasSourceEnv()

public boolean hasSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
boolean

Whether the sourceEnv field is set.

hasTargetDialect()

public boolean hasTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
boolean

Whether the targetDialect field is set.

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 TranslationConfigDetails.Builder newBuilderForType()
Returns
TypeDescription
TranslationConfigDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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