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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSourceTargetMappingList

      public List<SourceTargetMapping> getSourceTargetMappingList()
       The mapping from source to target SQL.
       
      repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
      Specified by:
      getSourceTargetMappingList in interface TranslationDetailsOrBuilder
    • getSourceTargetMappingOrBuilderList

      public List<? extends SourceTargetMappingOrBuilder> getSourceTargetMappingOrBuilderList()
       The mapping from source to target SQL.
       
      repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
      Specified by:
      getSourceTargetMappingOrBuilderList in interface TranslationDetailsOrBuilder
    • getSourceTargetMappingCount

      public int getSourceTargetMappingCount()
       The mapping from source to target SQL.
       
      repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
      Specified by:
      getSourceTargetMappingCount in interface TranslationDetailsOrBuilder
    • getSourceTargetMapping

      public SourceTargetMapping getSourceTargetMapping(int index)
       The mapping from source to target SQL.
       
      repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
      Specified by:
      getSourceTargetMapping in interface TranslationDetailsOrBuilder
    • getSourceTargetMappingOrBuilder

      public SourceTargetMappingOrBuilder getSourceTargetMappingOrBuilder(int index)
       The mapping from source to target SQL.
       
      repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;
      Specified by:
      getSourceTargetMappingOrBuilder in interface TranslationDetailsOrBuilder
    • getTargetBaseUri

      public String getTargetBaseUri()
       The base URI for all writes to persistent storage.
       
      string target_base_uri = 2;
      Specified by:
      getTargetBaseUri in interface TranslationDetailsOrBuilder
      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:
      getTargetBaseUriBytes in interface TranslationDetailsOrBuilder
      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:
      hasSourceEnvironment in interface TranslationDetailsOrBuilder
      Returns:
      Whether the sourceEnvironment field is set.
    • getSourceEnvironment

      public SourceEnvironment getSourceEnvironment()
       The default source environment values for the translation.
       
      .google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;
      Specified by:
      getSourceEnvironment in interface TranslationDetailsOrBuilder
      Returns:
      The sourceEnvironment.
    • getSourceEnvironmentOrBuilder

      public SourceEnvironmentOrBuilder getSourceEnvironmentOrBuilder()
       The default source environment values for the translation.
       
      .google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;
      Specified by:
      getSourceEnvironmentOrBuilder in interface TranslationDetailsOrBuilder
    • 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:
      getTargetReturnLiteralsList in interface TranslationDetailsOrBuilder
      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:
      getTargetReturnLiteralsCount in interface TranslationDetailsOrBuilder
      Returns:
      The count of targetReturnLiterals.
    • getTargetReturnLiterals

      public String getTargetReturnLiterals(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:
      getTargetReturnLiterals in interface TranslationDetailsOrBuilder
      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:
      getTargetReturnLiteralsBytes in interface TranslationDetailsOrBuilder
      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:
      getTargetTypesList in interface TranslationDetailsOrBuilder
      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:
      getTargetTypesCount in interface TranslationDetailsOrBuilder
      Returns:
      The count of targetTypes.
    • getTargetTypes

      public String getTargetTypes(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:
      getTargetTypes in interface TranslationDetailsOrBuilder
      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:
      getTargetTypesBytes in interface TranslationDetailsOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static TranslationDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TranslationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TranslationDetails parseDelimitedFrom(InputStream input) throws IOException
      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

      public TranslationDetails.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TranslationDetails.Builder newBuilder()
    • newBuilder

      public static TranslationDetails.Builder newBuilder(TranslationDetails prototype)
    • toBuilder

      public TranslationDetails.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TranslationDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TranslationDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TranslationDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<TranslationDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TranslationDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder