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

      public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
      Specified by:
      getSourceLocationCase in interface TranslationConfigDetailsOrBuilder
    • getTargetLocationCase

      public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
      Specified by:
      getTargetLocationCase in interface TranslationConfigDetailsOrBuilder
    • getOutputNameMappingCase

      public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
      Specified by:
      getOutputNameMappingCase in interface TranslationConfigDetailsOrBuilder
    • 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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
    • hasSourceDialect

      public boolean hasSourceDialect()
       The dialect of the input files.
       
      .google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
      Specified by:
      hasSourceDialect in interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
    • 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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
    • 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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
    • getRequestSource

      public String getRequestSource()
       The indicator to show translation request initiator.
       
      string request_source = 8;
      Specified by:
      getRequestSource in interface TranslationConfigDetailsOrBuilder
      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 interface TranslationConfigDetailsOrBuilder
      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:
      getTargetTypesList in interface TranslationConfigDetailsOrBuilder
      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:
      getTargetTypesCount in interface TranslationConfigDetailsOrBuilder
      Returns:
      The count of targetTypes.
    • getTargetTypes

      public String getTargetTypes(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:
      getTargetTypes in interface TranslationConfigDetailsOrBuilder
      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:
      getTargetTypesBytes in interface TranslationConfigDetailsOrBuilder
      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 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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TranslationConfigDetails.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TranslationConfigDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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