Class Dialect (0.45.0)

public final class Dialect extends GeneratedMessageV3 implements DialectOrBuilder

The possible dialect options for translation.

Protobuf type google.cloud.bigquery.migration.v2.Dialect

Implements

DialectOrBuilder

Static Fields

AZURE_SYNAPSE_DIALECT_FIELD_NUMBER

public static final int AZURE_SYNAPSE_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

BIGQUERY_DIALECT_FIELD_NUMBER

public static final int BIGQUERY_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

HIVEQL_DIALECT_FIELD_NUMBER

public static final int HIVEQL_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

MYSQL_DIALECT_FIELD_NUMBER

public static final int MYSQL_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

NETEZZA_DIALECT_FIELD_NUMBER

public static final int NETEZZA_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_DIALECT_FIELD_NUMBER

public static final int ORACLE_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

POSTGRESQL_DIALECT_FIELD_NUMBER

public static final int POSTGRESQL_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

PRESTO_DIALECT_FIELD_NUMBER

public static final int PRESTO_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

REDSHIFT_DIALECT_FIELD_NUMBER

public static final int REDSHIFT_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

SNOWFLAKE_DIALECT_FIELD_NUMBER

public static final int SNOWFLAKE_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

SPARKSQL_DIALECT_FIELD_NUMBER

public static final int SPARKSQL_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

SQL_SERVER_DIALECT_FIELD_NUMBER

public static final int SQL_SERVER_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

TERADATA_DIALECT_FIELD_NUMBER

public static final int TERADATA_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

VERTICA_DIALECT_FIELD_NUMBER

public static final int VERTICA_DIALECT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Dialect getDefaultInstance()
Returns
Type Description
Dialect

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Dialect.Builder newBuilder()
Returns
Type Description
Dialect.Builder

newBuilder(Dialect prototype)

public static Dialect.Builder newBuilder(Dialect prototype)
Parameter
Name Description
prototype Dialect
Returns
Type Description
Dialect.Builder

parseDelimitedFrom(InputStream input)

public static Dialect parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Dialect parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dialect parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dialect parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Dialect parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Dialect parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dialect
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Dialect> parser()
Returns
Type Description
Parser<Dialect>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAzureSynapseDialect()

public AzureSynapseDialect getAzureSynapseDialect()

The Azure Synapse dialect

.google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9;

Returns
Type Description
AzureSynapseDialect

The azureSynapseDialect.

getAzureSynapseDialectOrBuilder()

public AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder()

The Azure Synapse dialect

.google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9;

Returns
Type Description
AzureSynapseDialectOrBuilder

getBigqueryDialect()

public BigQueryDialect getBigqueryDialect()

The BigQuery dialect

.google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1;

Returns
Type Description
BigQueryDialect

The bigqueryDialect.

getBigqueryDialectOrBuilder()

public BigQueryDialectOrBuilder getBigqueryDialectOrBuilder()

The BigQuery dialect

.google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1;

Returns
Type Description
BigQueryDialectOrBuilder

getDefaultInstanceForType()

public Dialect getDefaultInstanceForType()
Returns
Type Description
Dialect

getDialectValueCase()

public Dialect.DialectValueCase getDialectValueCase()
Returns
Type Description
Dialect.DialectValueCase

getHiveqlDialect()

public HiveQLDialect getHiveqlDialect()

The HiveQL dialect

.google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2;

Returns
Type Description
HiveQLDialect

The hiveqlDialect.

getHiveqlDialectOrBuilder()

public HiveQLDialectOrBuilder getHiveqlDialectOrBuilder()

The HiveQL dialect

.google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2;

Returns
Type Description
HiveQLDialectOrBuilder

getMysqlDialect()

public MySQLDialect getMysqlDialect()

The MySQL dialect

.google.cloud.bigquery.migration.v2.MySQLDialect mysql_dialect = 14;

Returns
Type Description
MySQLDialect

The mysqlDialect.

getMysqlDialectOrBuilder()

public MySQLDialectOrBuilder getMysqlDialectOrBuilder()

The MySQL dialect

.google.cloud.bigquery.migration.v2.MySQLDialect mysql_dialect = 14;

Returns
Type Description
MySQLDialectOrBuilder

getNetezzaDialect()

public NetezzaDialect getNetezzaDialect()

The Netezza dialect

.google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8;

Returns
Type Description
NetezzaDialect

The netezzaDialect.

getNetezzaDialectOrBuilder()

public NetezzaDialectOrBuilder getNetezzaDialectOrBuilder()

The Netezza dialect

.google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8;

Returns
Type Description
NetezzaDialectOrBuilder

getOracleDialect()

public OracleDialect getOracleDialect()

The Oracle dialect

.google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5;

Returns
Type Description
OracleDialect

The oracleDialect.

getOracleDialectOrBuilder()

public OracleDialectOrBuilder getOracleDialectOrBuilder()

The Oracle dialect

.google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5;

Returns
Type Description
OracleDialectOrBuilder

getParserForType()

public Parser<Dialect> getParserForType()
Returns
Type Description
Parser<Dialect>
Overrides

getPostgresqlDialect()

public PostgresqlDialect getPostgresqlDialect()

The Postgresql dialect

.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;

Returns
Type Description
PostgresqlDialect

The postgresqlDialect.

getPostgresqlDialectOrBuilder()

public PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder()

The Postgresql dialect

.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;

Returns
Type Description
PostgresqlDialectOrBuilder

getPrestoDialect()

public PrestoDialect getPrestoDialect()

The Presto dialect

.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;

Returns
Type Description
PrestoDialect

The prestoDialect.

getPrestoDialectOrBuilder()

public PrestoDialectOrBuilder getPrestoDialectOrBuilder()

The Presto dialect

.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;

Returns
Type Description
PrestoDialectOrBuilder

getRedshiftDialect()

public RedshiftDialect getRedshiftDialect()

The Redshift dialect

.google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3;

Returns
Type Description
RedshiftDialect

The redshiftDialect.

getRedshiftDialectOrBuilder()

public RedshiftDialectOrBuilder getRedshiftDialectOrBuilder()

The Redshift dialect

.google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3;

Returns
Type Description
RedshiftDialectOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnowflakeDialect()

public SnowflakeDialect getSnowflakeDialect()

The Snowflake dialect

.google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7;

Returns
Type Description
SnowflakeDialect

The snowflakeDialect.

getSnowflakeDialectOrBuilder()

public SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder()

The Snowflake dialect

.google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7;

Returns
Type Description
SnowflakeDialectOrBuilder

getSparksqlDialect()

public SparkSQLDialect getSparksqlDialect()

The SparkSQL dialect

.google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6;

Returns
Type Description
SparkSQLDialect

The sparksqlDialect.

getSparksqlDialectOrBuilder()

public SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder()

The SparkSQL dialect

.google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6;

Returns
Type Description
SparkSQLDialectOrBuilder

getSqlServerDialect()

public SQLServerDialect getSqlServerDialect()

The SQL Server dialect

.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;

Returns
Type Description
SQLServerDialect

The sqlServerDialect.

getSqlServerDialectOrBuilder()

public SQLServerDialectOrBuilder getSqlServerDialectOrBuilder()

The SQL Server dialect

.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;

Returns
Type Description
SQLServerDialectOrBuilder

getTeradataDialect()

public TeradataDialect getTeradataDialect()

The Teradata dialect

.google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4;

Returns
Type Description
TeradataDialect

The teradataDialect.

getTeradataDialectOrBuilder()

public TeradataDialectOrBuilder getTeradataDialectOrBuilder()

The Teradata dialect

.google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4;

Returns
Type Description
TeradataDialectOrBuilder

getVerticaDialect()

public VerticaDialect getVerticaDialect()

The Vertica dialect

.google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10;

Returns
Type Description
VerticaDialect

The verticaDialect.

getVerticaDialectOrBuilder()

public VerticaDialectOrBuilder getVerticaDialectOrBuilder()

The Vertica dialect

.google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10;

Returns
Type Description
VerticaDialectOrBuilder

hasAzureSynapseDialect()

public boolean hasAzureSynapseDialect()

The Azure Synapse dialect

.google.cloud.bigquery.migration.v2.AzureSynapseDialect azure_synapse_dialect = 9;

Returns
Type Description
boolean

Whether the azureSynapseDialect field is set.

hasBigqueryDialect()

public boolean hasBigqueryDialect()

The BigQuery dialect

.google.cloud.bigquery.migration.v2.BigQueryDialect bigquery_dialect = 1;

Returns
Type Description
boolean

Whether the bigqueryDialect field is set.

hasHiveqlDialect()

public boolean hasHiveqlDialect()

The HiveQL dialect

.google.cloud.bigquery.migration.v2.HiveQLDialect hiveql_dialect = 2;

Returns
Type Description
boolean

Whether the hiveqlDialect field is set.

hasMysqlDialect()

public boolean hasMysqlDialect()

The MySQL dialect

.google.cloud.bigquery.migration.v2.MySQLDialect mysql_dialect = 14;

Returns
Type Description
boolean

Whether the mysqlDialect field is set.

hasNetezzaDialect()

public boolean hasNetezzaDialect()

The Netezza dialect

.google.cloud.bigquery.migration.v2.NetezzaDialect netezza_dialect = 8;

Returns
Type Description
boolean

Whether the netezzaDialect field is set.

hasOracleDialect()

public boolean hasOracleDialect()

The Oracle dialect

.google.cloud.bigquery.migration.v2.OracleDialect oracle_dialect = 5;

Returns
Type Description
boolean

Whether the oracleDialect field is set.

hasPostgresqlDialect()

public boolean hasPostgresqlDialect()

The Postgresql dialect

.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;

Returns
Type Description
boolean

Whether the postgresqlDialect field is set.

hasPrestoDialect()

public boolean hasPrestoDialect()

The Presto dialect

.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;

Returns
Type Description
boolean

Whether the prestoDialect field is set.

hasRedshiftDialect()

public boolean hasRedshiftDialect()

The Redshift dialect

.google.cloud.bigquery.migration.v2.RedshiftDialect redshift_dialect = 3;

Returns
Type Description
boolean

Whether the redshiftDialect field is set.

hasSnowflakeDialect()

public boolean hasSnowflakeDialect()

The Snowflake dialect

.google.cloud.bigquery.migration.v2.SnowflakeDialect snowflake_dialect = 7;

Returns
Type Description
boolean

Whether the snowflakeDialect field is set.

hasSparksqlDialect()

public boolean hasSparksqlDialect()

The SparkSQL dialect

.google.cloud.bigquery.migration.v2.SparkSQLDialect sparksql_dialect = 6;

Returns
Type Description
boolean

Whether the sparksqlDialect field is set.

hasSqlServerDialect()

public boolean hasSqlServerDialect()

The SQL Server dialect

.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;

Returns
Type Description
boolean

Whether the sqlServerDialect field is set.

hasTeradataDialect()

public boolean hasTeradataDialect()

The Teradata dialect

.google.cloud.bigquery.migration.v2.TeradataDialect teradata_dialect = 4;

Returns
Type Description
boolean

Whether the teradataDialect field is set.

hasVerticaDialect()

public boolean hasVerticaDialect()

The Vertica dialect

.google.cloud.bigquery.migration.v2.VerticaDialect vertica_dialect = 10;

Returns
Type Description
boolean

Whether the verticaDialect field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Dialect.Builder newBuilderForType()
Returns
Type Description
Dialect.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Dialect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Dialect.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Dialect.Builder toBuilder()
Returns
Type Description
Dialect.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException