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 classTranslationConfigDetails.BuilderThe translation config to capture necessary settings for a translation task and subtask.static classTranslationConfigDetails.OutputNameMappingCasestatic classTranslationConfigDetails.SourceLocationCasestatic classTranslationConfigDetails.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 intGCS_SOURCE_PATH_FIELD_NUMBERstatic intGCS_TARGET_PATH_FIELD_NUMBERstatic intNAME_MAPPING_LIST_FIELD_NUMBERstatic intREQUEST_SOURCE_FIELD_NUMBERstatic intSOURCE_DIALECT_FIELD_NUMBERstatic intSOURCE_ENV_FIELD_NUMBERstatic intTARGET_DIALECT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TranslationConfigDetailsgetDefaultInstance()TranslationConfigDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGcsSourcePath()The Cloud Storage path for a directory of files to translate in a task.com.google.protobuf.ByteStringgetGcsSourcePathBytes()The Cloud Storage path for a directory of files to translate in a task.StringgetGcsTargetPath()The Cloud Storage path to write back the corresponding input files to.com.google.protobuf.ByteStringgetGcsTargetPathBytes()The Cloud Storage path to write back the corresponding input files to.ObjectNameMappingListgetNameMappingList()The mapping of objects to their desired output names in list form.ObjectNameMappingListOrBuildergetNameMappingListOrBuilder()The mapping of objects to their desired output names in list form.TranslationConfigDetails.OutputNameMappingCasegetOutputNameMappingCase()com.google.protobuf.Parser<TranslationConfigDetails>getParserForType()StringgetRequestSource()The indicator to show translation request initiator.com.google.protobuf.ByteStringgetRequestSourceBytes()The indicator to show translation request initiator.intgetSerializedSize()DialectgetSourceDialect()The dialect of the input files.DialectOrBuildergetSourceDialectOrBuilder()The dialect of the input files.SourceEnvgetSourceEnv()The default source environment values for the translation.SourceEnvOrBuildergetSourceEnvOrBuilder()The default source environment values for the translation.TranslationConfigDetails.SourceLocationCasegetSourceLocationCase()DialectgetTargetDialect()The target dialect for the engine to translate the input to.DialectOrBuildergetTargetDialectOrBuilder()The target dialect for the engine to translate the input to.TranslationConfigDetails.TargetLocationCasegetTargetLocationCase()booleanhasGcsSourcePath()The Cloud Storage path for a directory of files to translate in a task.booleanhasGcsTargetPath()The Cloud Storage path to write back the corresponding input files to.inthashCode()booleanhasNameMappingList()The mapping of objects to their desired output names in list form.booleanhasSourceDialect()The dialect of the input files.booleanhasSourceEnv()The default source environment values for the translation.booleanhasTargetDialect()The target dialect for the engine to translate the input to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TranslationConfigDetails.BuildernewBuilder()static TranslationConfigDetails.BuildernewBuilder(TranslationConfigDetails prototype)TranslationConfigDetails.BuildernewBuilderForType()protected TranslationConfigDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TranslationConfigDetailsparseDelimitedFrom(InputStream input)static TranslationConfigDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationConfigDetailsparseFrom(byte[] data)static TranslationConfigDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationConfigDetailsparseFrom(com.google.protobuf.ByteString data)static TranslationConfigDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationConfigDetailsparseFrom(com.google.protobuf.CodedInputStream input)static TranslationConfigDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationConfigDetailsparseFrom(InputStream input)static TranslationConfigDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationConfigDetailsparseFrom(ByteBuffer data)static TranslationConfigDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TranslationConfigDetails>parser()TranslationConfigDetails.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSourceLocationCase
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
- Specified by:
getSourceLocationCasein interfaceTranslationConfigDetailsOrBuilder
-
getTargetLocationCase
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
- Specified by:
getTargetLocationCasein interfaceTranslationConfigDetailsOrBuilder
-
getOutputNameMappingCase
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
- Specified by:
getOutputNameMappingCasein 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:
hasGcsSourcePathin 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:
getGcsSourcePathin 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:
getGcsSourcePathBytesin 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:
hasGcsTargetPathin 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:
getGcsTargetPathin 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:
getGcsTargetPathBytesin 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:
hasNameMappingListin 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:
getNameMappingListin 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:
getNameMappingListOrBuilderin interfaceTranslationConfigDetailsOrBuilder
-
hasSourceDialect
public boolean hasSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;- Specified by:
hasSourceDialectin 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:
getSourceDialectin 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:
getSourceDialectOrBuilderin 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:
hasTargetDialectin 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:
getTargetDialectin 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:
getTargetDialectOrBuilderin interfaceTranslationConfigDetailsOrBuilder
-
hasSourceEnv
public boolean hasSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;- Specified by:
hasSourceEnvin 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:
getSourceEnvin 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:
getSourceEnvOrBuilderin interfaceTranslationConfigDetailsOrBuilder
-
getRequestSource
public String getRequestSource()
The indicator to show translation request initiator.
string request_source = 8;- Specified by:
getRequestSourcein interfaceTranslationConfigDetailsOrBuilder- Returns:
- The requestSource.
-
getRequestSourceBytes
public com.google.protobuf.ByteString getRequestSourceBytes()
The indicator to show translation request initiator.
string request_source = 8;- Specified by:
getRequestSourceBytesin interfaceTranslationConfigDetailsOrBuilder- Returns:
- The bytes for requestSource.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TranslationConfigDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TranslationConfigDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-