Class TranslationConfigDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class TranslationConfigDetails
extends com.google.protobuf.GeneratedMessage
implements TranslationConfigDetailsOrBuilder
The translation config to capture necessary settings for a translation task and subtask.Protobuf type
google.cloud.bigquery.migration.v2.TranslationConfigDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe translation config to capture necessary settings for a translation task and subtask.static enumstatic enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TranslationConfigDetailsstatic final com.google.protobuf.Descriptors.DescriptorThe Cloud Storage path for a directory of files to translate in a task.com.google.protobuf.ByteStringThe Cloud Storage path for a directory of files to translate in a task.The Cloud Storage path to write back the corresponding input files to.com.google.protobuf.ByteStringThe Cloud Storage path to write back the corresponding input files to.The mapping of objects to their desired output names in list form.The mapping of objects to their desired output names in list form.com.google.protobuf.Parser<TranslationConfigDetails>The indicator to show translation request initiator.com.google.protobuf.ByteStringThe indicator to show translation request initiator.intThe dialect of the input files.The dialect of the input files.The default source environment values for the translation.The default source environment values for the translation.The target dialect for the engine to translate the input to.The target dialect for the engine to translate the input to.getTargetTypes(int index) The types of output to generate, e.g. sql, metadata etc.com.google.protobuf.ByteStringgetTargetTypesBytes(int index) The types of output to generate, e.g. sql, metadata etc.intThe types of output to generate, e.g. sql, metadata etc.com.google.protobuf.ProtocolStringListThe types of output to generate, e.g. sql, metadata etc.booleanThe Cloud Storage path for a directory of files to translate in a task.booleanThe Cloud Storage path to write back the corresponding input files to.inthashCode()booleanThe mapping of objects to their desired output names in list form.booleanThe dialect of the input files.booleanThe default source environment values for the translation.booleanThe target dialect for the engine to translate the input to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TranslationConfigDetails prototype) protected TranslationConfigDetails.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GCS_SOURCE_PATH_FIELD_NUMBER
public static final int GCS_SOURCE_PATH_FIELD_NUMBER- See Also:
-
GCS_TARGET_PATH_FIELD_NUMBER
public static final int GCS_TARGET_PATH_FIELD_NUMBER- See Also:
-
NAME_MAPPING_LIST_FIELD_NUMBER
public static final int NAME_MAPPING_LIST_FIELD_NUMBER- See Also:
-
SOURCE_DIALECT_FIELD_NUMBER
public static final int SOURCE_DIALECT_FIELD_NUMBER- See Also:
-
TARGET_DIALECT_FIELD_NUMBER
public static final int TARGET_DIALECT_FIELD_NUMBER- See Also:
-
SOURCE_ENV_FIELD_NUMBER
public static final int SOURCE_ENV_FIELD_NUMBER- See Also:
-
REQUEST_SOURCE_FIELD_NUMBER
public static final int REQUEST_SOURCE_FIELD_NUMBER- See Also:
-
TARGET_TYPES_FIELD_NUMBER
public static final int TARGET_TYPES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSourceLocationCase
- Specified by:
getSourceLocationCasein interfaceTranslationConfigDetailsOrBuilder
-
getTargetLocationCase
- Specified by:
getTargetLocationCasein interfaceTranslationConfigDetailsOrBuilder
-
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
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
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
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
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
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;- Specified by:
getSourceDialectin interfaceTranslationConfigDetailsOrBuilder- Returns:
- The sourceDialect.
-
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
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
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
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
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;- Specified by:
getSourceEnvOrBuilderin interfaceTranslationConfigDetailsOrBuilder
-
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.
-
getTargetTypesList
public com.google.protobuf.ProtocolStringList getTargetTypesList()The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;- Specified by:
getTargetTypesListin interfaceTranslationConfigDetailsOrBuilder- Returns:
- A list containing the targetTypes.
-
getTargetTypesCount
public int getTargetTypesCount()The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;- Specified by:
getTargetTypesCountin interfaceTranslationConfigDetailsOrBuilder- Returns:
- The count of targetTypes.
-
getTargetTypes
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;- Specified by:
getTargetTypesin interfaceTranslationConfigDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetTypes at the given index.
-
getTargetTypesBytes
public com.google.protobuf.ByteString getTargetTypesBytes(int index) The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;- Specified by:
getTargetTypesBytesin interfaceTranslationConfigDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetTypes at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static TranslationConfigDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TranslationConfigDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-