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
GCS_TARGET_PATH_FIELD_NUMBER
public static final int GCS_TARGET_PATH_FIELD_NUMBER
Field Value
NAME_MAPPING_LIST_FIELD_NUMBER
public static final int NAME_MAPPING_LIST_FIELD_NUMBER
Field Value
SOURCE_DIALECT_FIELD_NUMBER
public static final int SOURCE_DIALECT_FIELD_NUMBER
Field Value
SOURCE_ENV_FIELD_NUMBER
public static final int SOURCE_ENV_FIELD_NUMBER
Field Value
TARGET_DIALECT_FIELD_NUMBER
public static final int TARGET_DIALECT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TranslationConfigDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TranslationConfigDetails.Builder newBuilder()
Returns
newBuilder(TranslationConfigDetails prototype)
public static TranslationConfigDetails.Builder newBuilder(TranslationConfigDetails prototype)
Parameter
Returns
public static TranslationConfigDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TranslationConfigDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TranslationConfigDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TranslationConfigDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TranslationConfigDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TranslationConfigDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TranslationConfigDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TranslationConfigDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TranslationConfigDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TranslationConfigDetails> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TranslationConfigDetails getDefaultInstanceForType()
Returns
getGcsSourcePath()
public String getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
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
getOutputNameMappingCase()
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
Returns
getParserForType()
public Parser<TranslationConfigDetails> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourceDialect()
public Dialect getSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns
Type | Description |
Dialect | The sourceDialect.
|
getSourceDialectOrBuilder()
public DialectOrBuilder getSourceDialectOrBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns
getSourceEnv()
public SourceEnv getSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
Returns
getSourceEnvOrBuilder()
public SourceEnvOrBuilder getSourceEnvOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
Returns
getSourceLocationCase()
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
Returns
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
Type | Description |
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
getTargetLocationCase()
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasGcsSourcePath()
public boolean hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the targetDialect field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TranslationConfigDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TranslationConfigDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TranslationConfigDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions