Class Dialect

  • All Implemented Interfaces:
    DialectOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Dialect
    extends com.google.protobuf.GeneratedMessageV3
    implements DialectOrBuilder
     The possible dialect options for translation.
     
    Protobuf type google.cloud.bigquery.migration.v2.Dialect
    See Also:
    Serialized Form
    • Field Detail

      • BIGQUERY_DIALECT_FIELD_NUMBER

        public static final int BIGQUERY_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HIVEQL_DIALECT_FIELD_NUMBER

        public static final int HIVEQL_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REDSHIFT_DIALECT_FIELD_NUMBER

        public static final int REDSHIFT_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TERADATA_DIALECT_FIELD_NUMBER

        public static final int TERADATA_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORACLE_DIALECT_FIELD_NUMBER

        public static final int ORACLE_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPARKSQL_DIALECT_FIELD_NUMBER

        public static final int SPARKSQL_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SNOWFLAKE_DIALECT_FIELD_NUMBER

        public static final int SNOWFLAKE_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NETEZZA_DIALECT_FIELD_NUMBER

        public static final int NETEZZA_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AZURE_SYNAPSE_DIALECT_FIELD_NUMBER

        public static final int AZURE_SYNAPSE_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERTICA_DIALECT_FIELD_NUMBER

        public static final int VERTICA_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SQL_SERVER_DIALECT_FIELD_NUMBER

        public static final int SQL_SERVER_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTGRESQL_DIALECT_FIELD_NUMBER

        public static final int POSTGRESQL_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRESTO_DIALECT_FIELD_NUMBER

        public static final int PRESTO_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MYSQL_DIALECT_FIELD_NUMBER

        public static final int MYSQL_DIALECT_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasBigqueryDialect

        public boolean hasBigqueryDialect()
         The BigQuery dialect
         
        .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1;
        Specified by:
        hasBigqueryDialect in interface DialectOrBuilder
        Returns:
        Whether the bigqueryDialect field is set.
      • getBigqueryDialect

        public BigQueryDialect getBigqueryDialect()
         The BigQuery dialect
         
        .google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1;
        Specified by:
        getBigqueryDialect in interface DialectOrBuilder
        Returns:
        The bigqueryDialect.
      • hasHiveqlDialect

        public boolean hasHiveqlDialect()
         The HiveQL dialect
         
        .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2;
        Specified by:
        hasHiveqlDialect in interface DialectOrBuilder
        Returns:
        Whether the hiveqlDialect field is set.
      • getHiveqlDialect

        public HiveQLDialect getHiveqlDialect()
         The HiveQL dialect
         
        .google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2;
        Specified by:
        getHiveqlDialect in interface DialectOrBuilder
        Returns:
        The hiveqlDialect.
      • hasRedshiftDialect

        public boolean hasRedshiftDialect()
         The Redshift dialect
         
        .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3;
        Specified by:
        hasRedshiftDialect in interface DialectOrBuilder
        Returns:
        Whether the redshiftDialect field is set.
      • getRedshiftDialect

        public RedshiftDialect getRedshiftDialect()
         The Redshift dialect
         
        .google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3;
        Specified by:
        getRedshiftDialect in interface DialectOrBuilder
        Returns:
        The redshiftDialect.
      • hasTeradataDialect

        public boolean hasTeradataDialect()
         The Teradata dialect
         
        .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4;
        Specified by:
        hasTeradataDialect in interface DialectOrBuilder
        Returns:
        Whether the teradataDialect field is set.
      • getTeradataDialect

        public TeradataDialect getTeradataDialect()
         The Teradata dialect
         
        .google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4;
        Specified by:
        getTeradataDialect in interface DialectOrBuilder
        Returns:
        The teradataDialect.
      • hasOracleDialect

        public boolean hasOracleDialect()
         The Oracle dialect
         
        .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5;
        Specified by:
        hasOracleDialect in interface DialectOrBuilder
        Returns:
        Whether the oracleDialect field is set.
      • getOracleDialect

        public OracleDialect getOracleDialect()
         The Oracle dialect
         
        .google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5;
        Specified by:
        getOracleDialect in interface DialectOrBuilder
        Returns:
        The oracleDialect.
      • hasSparksqlDialect

        public boolean hasSparksqlDialect()
         The SparkSQL dialect
         
        .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6;
        Specified by:
        hasSparksqlDialect in interface DialectOrBuilder
        Returns:
        Whether the sparksqlDialect field is set.
      • getSparksqlDialect

        public SparkSQLDialect getSparksqlDialect()
         The SparkSQL dialect
         
        .google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6;
        Specified by:
        getSparksqlDialect in interface DialectOrBuilder
        Returns:
        The sparksqlDialect.
      • hasSnowflakeDialect

        public boolean hasSnowflakeDialect()
         The Snowflake dialect
         
        .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7;
        Specified by:
        hasSnowflakeDialect in interface DialectOrBuilder
        Returns:
        Whether the snowflakeDialect field is set.
      • getSnowflakeDialect

        public SnowflakeDialect getSnowflakeDialect()
         The Snowflake dialect
         
        .google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7;
        Specified by:
        getSnowflakeDialect in interface DialectOrBuilder
        Returns:
        The snowflakeDialect.
      • hasNetezzaDialect

        public boolean hasNetezzaDialect()
         The Netezza dialect
         
        .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8;
        Specified by:
        hasNetezzaDialect in interface DialectOrBuilder
        Returns:
        Whether the netezzaDialect field is set.
      • getNetezzaDialect

        public NetezzaDialect getNetezzaDialect()
         The Netezza dialect
         
        .google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8;
        Specified by:
        getNetezzaDialect in interface DialectOrBuilder
        Returns:
        The netezzaDialect.
      • hasAzureSynapseDialect

        public boolean hasAzureSynapseDialect()
         The Azure Synapse dialect
         
        .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9;
        Specified by:
        hasAzureSynapseDialect in interface DialectOrBuilder
        Returns:
        Whether the azureSynapseDialect field is set.
      • getAzureSynapseDialect

        public AzureSynapseDialect getAzureSynapseDialect()
         The Azure Synapse dialect
         
        .google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9;
        Specified by:
        getAzureSynapseDialect in interface DialectOrBuilder
        Returns:
        The azureSynapseDialect.
      • hasVerticaDialect

        public boolean hasVerticaDialect()
         The Vertica dialect
         
        .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10;
        Specified by:
        hasVerticaDialect in interface DialectOrBuilder
        Returns:
        Whether the verticaDialect field is set.
      • getVerticaDialect

        public VerticaDialect getVerticaDialect()
         The Vertica dialect
         
        .google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10;
        Specified by:
        getVerticaDialect in interface DialectOrBuilder
        Returns:
        The verticaDialect.
      • hasSqlServerDialect

        public boolean hasSqlServerDialect()
         The SQL Server dialect
         
        .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
        Specified by:
        hasSqlServerDialect in interface DialectOrBuilder
        Returns:
        Whether the sqlServerDialect field is set.
      • getSqlServerDialect

        public SQLServerDialect getSqlServerDialect()
         The SQL Server dialect
         
        .google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
        Specified by:
        getSqlServerDialect in interface DialectOrBuilder
        Returns:
        The sqlServerDialect.
      • hasPostgresqlDialect

        public boolean hasPostgresqlDialect()
         The Postgresql dialect
         
        .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
        Specified by:
        hasPostgresqlDialect in interface DialectOrBuilder
        Returns:
        Whether the postgresqlDialect field is set.
      • getPostgresqlDialect

        public PostgresqlDialect getPostgresqlDialect()
         The Postgresql dialect
         
        .google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
        Specified by:
        getPostgresqlDialect in interface DialectOrBuilder
        Returns:
        The postgresqlDialect.
      • hasPrestoDialect

        public boolean hasPrestoDialect()
         The Presto dialect
         
        .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
        Specified by:
        hasPrestoDialect in interface DialectOrBuilder
        Returns:
        Whether the prestoDialect field is set.
      • getPrestoDialect

        public PrestoDialect getPrestoDialect()
         The Presto dialect
         
        .google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
        Specified by:
        getPrestoDialect in interface DialectOrBuilder
        Returns:
        The prestoDialect.
      • hasMysqlDialect

        public boolean hasMysqlDialect()
         The MySQL dialect
         
        .google.cloud.bigquery.migration.v2.MySQLDialect mysql_dialect = 14;
        Specified by:
        hasMysqlDialect in interface DialectOrBuilder
        Returns:
        Whether the mysqlDialect field is set.
      • getMysqlDialect

        public MySQLDialect getMysqlDialect()
         The MySQL dialect
         
        .google.cloud.bigquery.migration.v2.MySQLDialect mysql_dialect = 14;
        Specified by:
        getMysqlDialect in interface DialectOrBuilder
        Returns:
        The mysqlDialect.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 Dialect parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(ByteBuffer data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(com.google.protobuf.ByteString data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(com.google.protobuf.ByteString data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(byte[] data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(byte[] data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Dialect parseFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected Dialect.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Dialect getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Dialect> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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