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 |
---|
Type | Description |
int | |
GCS_TARGET_PATH_FIELD_NUMBER
public static final int GCS_TARGET_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_MAPPING_LIST_FIELD_NUMBER
public static final int NAME_MAPPING_LIST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_DIALECT_FIELD_NUMBER
public static final int SOURCE_DIALECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_ENV_FIELD_NUMBER
public static final int SOURCE_ENV_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_DIALECT_FIELD_NUMBER
public static final int TARGET_DIALECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TranslationConfigDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TranslationConfigDetails.Builder newBuilder()
newBuilder(TranslationConfigDetails prototype)
public static TranslationConfigDetails.Builder newBuilder(TranslationConfigDetails prototype)
public static TranslationConfigDetails parseDelimitedFrom(InputStream input)
public static TranslationConfigDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TranslationConfigDetails parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TranslationConfigDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(CodedInputStream input)
public static TranslationConfigDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(InputStream input)
public static TranslationConfigDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TranslationConfigDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TranslationConfigDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TranslationConfigDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TranslationConfigDetails getDefaultInstanceForType()
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;
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;
getOutputNameMappingCase()
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
getParserForType()
public Parser<TranslationConfigDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
getSourceEnv()
public SourceEnv getSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
Returns |
---|
Type | Description |
SourceEnv | The sourceEnv.
|
getSourceEnvOrBuilder()
public SourceEnvOrBuilder getSourceEnvOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
getSourceLocationCase()
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
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;
getTargetLocationCase()
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TranslationConfigDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TranslationConfigDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TranslationConfigDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides