Class TranslationDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.migration.v2.TranslationDetails
- All Implemented Interfaces:
TranslationDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TranslationDetails
extends com.google.protobuf.GeneratedMessage
implements TranslationDetailsOrBuilder
The translation details to capture the necessary settings for a translation job.Protobuf type
google.cloud.bigquery.migration.v2.TranslationDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe translation details to capture the necessary settings for a translation job.Nested 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 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 TranslationDetailsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<TranslationDetails>intThe default source environment values for the translation.The default source environment values for the translation.getSourceTargetMapping(int index) The mapping from source to target SQL.intThe mapping from source to target SQL.The mapping from source to target SQL.getSourceTargetMappingOrBuilder(int index) The mapping from source to target SQL.List<? extends SourceTargetMappingOrBuilder>The mapping from source to target SQL.The base URI for all writes to persistent storage.com.google.protobuf.ByteStringThe base URI for all writes to persistent storage.getTargetReturnLiterals(int index) The list of literal targets that will be directly returned to the response.com.google.protobuf.ByteStringgetTargetReturnLiteralsBytes(int index) The list of literal targets that will be directly returned to the response.intThe list of literal targets that will be directly returned to the response.com.google.protobuf.ProtocolStringListThe list of literal targets that will be directly returned to the response.getTargetTypes(int index) The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc.com.google.protobuf.ByteStringgetTargetTypesBytes(int index) The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc.intThe types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc.com.google.protobuf.ProtocolStringListThe types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc.inthashCode()booleanThe default source environment values for the translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TranslationDetails.Builderstatic TranslationDetails.BuildernewBuilder(TranslationDetails prototype) protected TranslationDetails.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TranslationDetailsparseDelimitedFrom(InputStream input) static TranslationDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TranslationDetailsparseFrom(byte[] data) static TranslationDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TranslationDetailsparseFrom(com.google.protobuf.ByteString data) static TranslationDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TranslationDetailsparseFrom(com.google.protobuf.CodedInputStream input) static TranslationDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TranslationDetailsparseFrom(InputStream input) static TranslationDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TranslationDetailsparseFrom(ByteBuffer data) static TranslationDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TranslationDetails>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
-
SOURCE_TARGET_MAPPING_FIELD_NUMBER
public static final int SOURCE_TARGET_MAPPING_FIELD_NUMBER- See Also:
-
TARGET_BASE_URI_FIELD_NUMBER
public static final int TARGET_BASE_URI_FIELD_NUMBER- See Also:
-
SOURCE_ENVIRONMENT_FIELD_NUMBER
public static final int SOURCE_ENVIRONMENT_FIELD_NUMBER- See Also:
-
TARGET_RETURN_LITERALS_FIELD_NUMBER
public static final int TARGET_RETURN_LITERALS_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
-
getSourceTargetMappingList
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;- Specified by:
getSourceTargetMappingListin interfaceTranslationDetailsOrBuilder
-
getSourceTargetMappingOrBuilderList
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;- Specified by:
getSourceTargetMappingOrBuilderListin interfaceTranslationDetailsOrBuilder
-
getSourceTargetMappingCount
public int getSourceTargetMappingCount()The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;- Specified by:
getSourceTargetMappingCountin interfaceTranslationDetailsOrBuilder
-
getSourceTargetMapping
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;- Specified by:
getSourceTargetMappingin interfaceTranslationDetailsOrBuilder
-
getSourceTargetMappingOrBuilder
The mapping from source to target SQL.
repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;- Specified by:
getSourceTargetMappingOrBuilderin interfaceTranslationDetailsOrBuilder
-
getTargetBaseUri
The base URI for all writes to persistent storage.
string target_base_uri = 2;- Specified by:
getTargetBaseUriin interfaceTranslationDetailsOrBuilder- Returns:
- The targetBaseUri.
-
getTargetBaseUriBytes
public com.google.protobuf.ByteString getTargetBaseUriBytes()The base URI for all writes to persistent storage.
string target_base_uri = 2;- Specified by:
getTargetBaseUriBytesin interfaceTranslationDetailsOrBuilder- Returns:
- The bytes for targetBaseUri.
-
hasSourceEnvironment
public boolean hasSourceEnvironment()The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;- Specified by:
hasSourceEnvironmentin interfaceTranslationDetailsOrBuilder- Returns:
- Whether the sourceEnvironment field is set.
-
getSourceEnvironment
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;- Specified by:
getSourceEnvironmentin interfaceTranslationDetailsOrBuilder- Returns:
- The sourceEnvironment.
-
getSourceEnvironmentOrBuilder
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;- Specified by:
getSourceEnvironmentOrBuilderin interfaceTranslationDetailsOrBuilder
-
getTargetReturnLiteralsList
public com.google.protobuf.ProtocolStringList getTargetReturnLiteralsList()The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;- Specified by:
getTargetReturnLiteralsListin interfaceTranslationDetailsOrBuilder- Returns:
- A list containing the targetReturnLiterals.
-
getTargetReturnLiteralsCount
public int getTargetReturnLiteralsCount()The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;- Specified by:
getTargetReturnLiteralsCountin interfaceTranslationDetailsOrBuilder- Returns:
- The count of targetReturnLiterals.
-
getTargetReturnLiterals
The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;- Specified by:
getTargetReturnLiteralsin interfaceTranslationDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetReturnLiterals at the given index.
-
getTargetReturnLiteralsBytes
public com.google.protobuf.ByteString getTargetReturnLiteralsBytes(int index) The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.
repeated string target_return_literals = 4;- Specified by:
getTargetReturnLiteralsBytesin interfaceTranslationDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetReturnLiterals at the given index.
-
getTargetTypesList
public com.google.protobuf.ProtocolStringList getTargetTypesList()The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, 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 = 5;- Specified by:
getTargetTypesListin interfaceTranslationDetailsOrBuilder- Returns:
- A list containing the targetTypes.
-
getTargetTypesCount
public int getTargetTypesCount()The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, 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 = 5;- Specified by:
getTargetTypesCountin interfaceTranslationDetailsOrBuilder- Returns:
- The count of targetTypes.
-
getTargetTypes
The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, 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 = 5;- Specified by:
getTargetTypesin interfaceTranslationDetailsOrBuilder- 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, lineage_from_sql_scripts, 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 = 5;- Specified by:
getTargetTypesBytesin interfaceTranslationDetailsOrBuilder- 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 TranslationDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TranslationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TranslationDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TranslationDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TranslationDetails 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 TranslationDetails.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
-