Class TranslationConfigDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.migration.v2.TranslationConfigDetails
-
- All Implemented Interfaces:
TranslationConfigDetailsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class TranslationConfigDetails extends com.google.protobuf.GeneratedMessageV3 implements TranslationConfigDetailsOrBuilder
The translation config to capture necessary settings for a translation task and subtask.
Protobuf typegoogle.cloud.bigquery.migration.v2.TranslationConfigDetails
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranslationConfigDetails.Builder
The translation config to capture necessary settings for a translation task and subtask.static class
TranslationConfigDetails.OutputNameMappingCase
static class
TranslationConfigDetails.SourceLocationCase
static class
TranslationConfigDetails.TargetLocationCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
GCS_SOURCE_PATH_FIELD_NUMBER
static int
GCS_TARGET_PATH_FIELD_NUMBER
static int
NAME_MAPPING_LIST_FIELD_NUMBER
static int
REQUEST_SOURCE_FIELD_NUMBER
static int
SOURCE_DIALECT_FIELD_NUMBER
static int
SOURCE_ENV_FIELD_NUMBER
static int
TARGET_DIALECT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static TranslationConfigDetails
getDefaultInstance()
TranslationConfigDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.com.google.protobuf.ByteString
getGcsSourcePathBytes()
The Cloud Storage path for a directory of files to translate in a task.String
getGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.com.google.protobuf.ByteString
getGcsTargetPathBytes()
The Cloud Storage path to write back the corresponding input files to.ObjectNameMappingList
getNameMappingList()
The mapping of objects to their desired output names in list form.ObjectNameMappingListOrBuilder
getNameMappingListOrBuilder()
The mapping of objects to their desired output names in list form.TranslationConfigDetails.OutputNameMappingCase
getOutputNameMappingCase()
com.google.protobuf.Parser<TranslationConfigDetails>
getParserForType()
String
getRequestSource()
The indicator to show translation request initiator.com.google.protobuf.ByteString
getRequestSourceBytes()
The indicator to show translation request initiator.int
getSerializedSize()
Dialect
getSourceDialect()
The dialect of the input files.DialectOrBuilder
getSourceDialectOrBuilder()
The dialect of the input files.SourceEnv
getSourceEnv()
The default source environment values for the translation.SourceEnvOrBuilder
getSourceEnvOrBuilder()
The default source environment values for the translation.TranslationConfigDetails.SourceLocationCase
getSourceLocationCase()
Dialect
getTargetDialect()
The target dialect for the engine to translate the input to.DialectOrBuilder
getTargetDialectOrBuilder()
The target dialect for the engine to translate the input to.TranslationConfigDetails.TargetLocationCase
getTargetLocationCase()
boolean
hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.boolean
hasGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.int
hashCode()
boolean
hasNameMappingList()
The mapping of objects to their desired output names in list form.boolean
hasSourceDialect()
The dialect of the input files.boolean
hasSourceEnv()
The default source environment values for the translation.boolean
hasTargetDialect()
The target dialect for the engine to translate the input to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TranslationConfigDetails.Builder
newBuilder()
static TranslationConfigDetails.Builder
newBuilder(TranslationConfigDetails prototype)
TranslationConfigDetails.Builder
newBuilderForType()
protected TranslationConfigDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TranslationConfigDetails
parseDelimitedFrom(InputStream input)
static TranslationConfigDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationConfigDetails
parseFrom(byte[] data)
static TranslationConfigDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationConfigDetails
parseFrom(com.google.protobuf.ByteString data)
static TranslationConfigDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationConfigDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static TranslationConfigDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationConfigDetails
parseFrom(InputStream input)
static TranslationConfigDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationConfigDetails
parseFrom(ByteBuffer data)
static TranslationConfigDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TranslationConfigDetails>
parser()
TranslationConfigDetails.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GCS_SOURCE_PATH_FIELD_NUMBER
public static final int GCS_SOURCE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCS_TARGET_PATH_FIELD_NUMBER
public static final int GCS_TARGET_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_MAPPING_LIST_FIELD_NUMBER
public static final int NAME_MAPPING_LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_DIALECT_FIELD_NUMBER
public static final int SOURCE_DIALECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_DIALECT_FIELD_NUMBER
public static final int TARGET_DIALECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_ENV_FIELD_NUMBER
public static final int SOURCE_ENV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_SOURCE_FIELD_NUMBER
public static final int REQUEST_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSourceLocationCase
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
- Specified by:
getSourceLocationCase
in interfaceTranslationConfigDetailsOrBuilder
-
getTargetLocationCase
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
- Specified by:
getTargetLocationCase
in interfaceTranslationConfigDetailsOrBuilder
-
getOutputNameMappingCase
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
- Specified by:
getOutputNameMappingCase
in interfaceTranslationConfigDetailsOrBuilder
-
hasGcsSourcePath
public boolean hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
hasGcsSourcePath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the gcsSourcePath field is set.
-
getGcsSourcePath
public String getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
getGcsSourcePath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The gcsSourcePath.
-
getGcsSourcePathBytes
public com.google.protobuf.ByteString getGcsSourcePathBytes()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
getGcsSourcePathBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for gcsSourcePath.
-
hasGcsTargetPath
public boolean hasGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
hasGcsTargetPath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the gcsTargetPath field is set.
-
getGcsTargetPath
public String getGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
getGcsTargetPath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The gcsTargetPath.
-
getGcsTargetPathBytes
public com.google.protobuf.ByteString getGcsTargetPathBytes()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
getGcsTargetPathBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for gcsTargetPath.
-
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;
- Specified by:
hasNameMappingList
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the nameMappingList field is set.
-
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;
- Specified by:
getNameMappingList
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- 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;
- Specified by:
getNameMappingListOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasSourceDialect
public boolean hasSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
hasSourceDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the sourceDialect field is set.
-
getSourceDialect
public Dialect getSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
getSourceDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The sourceDialect.
-
getSourceDialectOrBuilder
public DialectOrBuilder getSourceDialectOrBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
getSourceDialectOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasTargetDialect
public boolean hasTargetDialect()
The target dialect for the engine to translate the input to.
.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;
- Specified by:
hasTargetDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the targetDialect field is set.
-
getTargetDialect
public Dialect getTargetDialect()
The target dialect for the engine to translate the input to.
.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;
- Specified by:
getTargetDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- 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;
- Specified by:
getTargetDialectOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasSourceEnv
public boolean hasSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
hasSourceEnv
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the sourceEnv field is set.
-
getSourceEnv
public SourceEnv getSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
getSourceEnv
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The sourceEnv.
-
getSourceEnvOrBuilder
public SourceEnvOrBuilder getSourceEnvOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
getSourceEnvOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
getRequestSource
public String getRequestSource()
The indicator to show translation request initiator.
string request_source = 8;
- Specified by:
getRequestSource
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The requestSource.
-
getRequestSourceBytes
public com.google.protobuf.ByteString getRequestSourceBytes()
The indicator to show translation request initiator.
string request_source = 8;
- Specified by:
getRequestSourceBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for requestSource.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TranslationConfigDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationConfigDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationConfigDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TranslationConfigDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TranslationConfigDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationConfigDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationConfigDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TranslationConfigDetails.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TranslationConfigDetails.Builder newBuilder()
-
newBuilder
public static TranslationConfigDetails.Builder newBuilder(TranslationConfigDetails prototype)
-
toBuilder
public TranslationConfigDetails.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TranslationConfigDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TranslationConfigDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TranslationConfigDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<TranslationConfigDetails> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TranslationConfigDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-