Class Dialect (0.7.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
TypeDescription
int

BIGQUERY_DIALECT_FIELD_NUMBER

public static final int BIGQUERY_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

HIVEQL_DIALECT_FIELD_NUMBER

public static final int HIVEQL_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

MYSQL_DIALECT_FIELD_NUMBER

public static final int MYSQL_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

NETEZZA_DIALECT_FIELD_NUMBER

public static final int NETEZZA_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

ORACLE_DIALECT_FIELD_NUMBER

public static final int ORACLE_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

POSTGRESQL_DIALECT_FIELD_NUMBER

public static final int POSTGRESQL_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

PRESTO_DIALECT_FIELD_NUMBER

public static final int PRESTO_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

REDSHIFT_DIALECT_FIELD_NUMBER

public static final int REDSHIFT_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

SNOWFLAKE_DIALECT_FIELD_NUMBER

public static final int SNOWFLAKE_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

SPARKSQL_DIALECT_FIELD_NUMBER

public static final int SPARKSQL_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_SERVER_DIALECT_FIELD_NUMBER

public static final int SQL_SERVER_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

TERADATA_DIALECT_FIELD_NUMBER

public static final int TERADATA_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

VERTICA_DIALECT_FIELD_NUMBER

public static final int VERTICA_DIALECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Dialect getDefaultInstance()
Returns
TypeDescription
Dialect

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Dialect.Builder newBuilder()
Returns
TypeDescription
Dialect.Builder

newBuilder(Dialect prototype)

public static Dialect.Builder newBuilder(Dialect prototype)
Parameter
NameDescription
prototypeDialect
Returns
TypeDescription
Dialect.Builder

parseDelimitedFrom(InputStream input)

public static Dialect parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Dialect parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dialect parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dialect parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Dialect parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Dialect parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dialect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialect
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Dialect> parser()
Returns
TypeDescription
Parser<Dialect>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAzureSynapseDialect()

public AzureSynapseDialect getAzureSynapseDialect()

The Azure Synapse dialect

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

Returns
TypeDescription
AzureSynapseDialect

The azureSynapseDialect.

getAzureSynapseDialectOrBuilder()

public AzureSynapseDialectOrBuilder getAzureSynapseDialectOrBuilder()

The Azure Synapse dialect

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

Returns
TypeDescription
AzureSynapseDialectOrBuilder

getBigqueryDialect()

public BigQueryDialect getBigqueryDialect()

The BigQuery dialect

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

Returns
TypeDescription
BigQueryDialect

The bigqueryDialect.

getBigqueryDialectOrBuilder()

public BigQueryDialectOrBuilder getBigqueryDialectOrBuilder()

The BigQuery dialect

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

Returns
TypeDescription
BigQueryDialectOrBuilder

getDefaultInstanceForType()

public Dialect getDefaultInstanceForType()
Returns
TypeDescription
Dialect

getDialectValueCase()

public Dialect.DialectValueCase getDialectValueCase()
Returns
TypeDescription
Dialect.DialectValueCase

getHiveqlDialect()

public HiveQLDialect getHiveqlDialect()

The HiveQL dialect

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

Returns
TypeDescription
HiveQLDialect

The hiveqlDialect.

getHiveqlDialectOrBuilder()

public HiveQLDialectOrBuilder getHiveqlDialectOrBuilder()

The HiveQL dialect

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

Returns
TypeDescription
HiveQLDialectOrBuilder

getMysqlDialect()

public MySQLDialect getMysqlDialect()

The MySQL dialect

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

Returns
TypeDescription
MySQLDialect

The mysqlDialect.

getMysqlDialectOrBuilder()

public MySQLDialectOrBuilder getMysqlDialectOrBuilder()

The MySQL dialect

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

Returns
TypeDescription
MySQLDialectOrBuilder

getNetezzaDialect()

public NetezzaDialect getNetezzaDialect()

The Netezza dialect

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

Returns
TypeDescription
NetezzaDialect

The netezzaDialect.

getNetezzaDialectOrBuilder()

public NetezzaDialectOrBuilder getNetezzaDialectOrBuilder()

The Netezza dialect

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

Returns
TypeDescription
NetezzaDialectOrBuilder

getOracleDialect()

public OracleDialect getOracleDialect()

The Oracle dialect

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

Returns
TypeDescription
OracleDialect

The oracleDialect.

getOracleDialectOrBuilder()

public OracleDialectOrBuilder getOracleDialectOrBuilder()

The Oracle dialect

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

Returns
TypeDescription
OracleDialectOrBuilder

getParserForType()

public Parser<Dialect> getParserForType()
Returns
TypeDescription
Parser<Dialect>
Overrides

getPostgresqlDialect()

public PostgresqlDialect getPostgresqlDialect()

The Postgresql dialect

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

Returns
TypeDescription
PostgresqlDialect

The postgresqlDialect.

getPostgresqlDialectOrBuilder()

public PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder()

The Postgresql dialect

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

Returns
TypeDescription
PostgresqlDialectOrBuilder

getPrestoDialect()

public PrestoDialect getPrestoDialect()

The Presto dialect

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

Returns
TypeDescription
PrestoDialect

The prestoDialect.

getPrestoDialectOrBuilder()

public PrestoDialectOrBuilder getPrestoDialectOrBuilder()

The Presto dialect

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

Returns
TypeDescription
PrestoDialectOrBuilder

getRedshiftDialect()

public RedshiftDialect getRedshiftDialect()

The Redshift dialect

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

Returns
TypeDescription
RedshiftDialect

The redshiftDialect.

getRedshiftDialectOrBuilder()

public RedshiftDialectOrBuilder getRedshiftDialectOrBuilder()

The Redshift dialect

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

Returns
TypeDescription
RedshiftDialectOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnowflakeDialect()

public SnowflakeDialect getSnowflakeDialect()

The Snowflake dialect

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

Returns
TypeDescription
SnowflakeDialect

The snowflakeDialect.

getSnowflakeDialectOrBuilder()

public SnowflakeDialectOrBuilder getSnowflakeDialectOrBuilder()

The Snowflake dialect

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

Returns
TypeDescription
SnowflakeDialectOrBuilder

getSparksqlDialect()

public SparkSQLDialect getSparksqlDialect()

The SparkSQL dialect

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

Returns
TypeDescription
SparkSQLDialect

The sparksqlDialect.

getSparksqlDialectOrBuilder()

public SparkSQLDialectOrBuilder getSparksqlDialectOrBuilder()

The SparkSQL dialect

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

Returns
TypeDescription
SparkSQLDialectOrBuilder

getSqlServerDialect()

public SQLServerDialect getSqlServerDialect()

The SQL Server dialect

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

Returns
TypeDescription
SQLServerDialect

The sqlServerDialect.

getSqlServerDialectOrBuilder()

public SQLServerDialectOrBuilder getSqlServerDialectOrBuilder()

The SQL Server dialect

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

Returns
TypeDescription
SQLServerDialectOrBuilder

getTeradataDialect()

public TeradataDialect getTeradataDialect()

The Teradata dialect

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

Returns
TypeDescription
TeradataDialect

The teradataDialect.

getTeradataDialectOrBuilder()

public TeradataDialectOrBuilder getTeradataDialectOrBuilder()

The Teradata dialect

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

Returns
TypeDescription
TeradataDialectOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVerticaDialect()

public VerticaDialect getVerticaDialect()

The Vertica dialect

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

Returns
TypeDescription
VerticaDialect

The verticaDialect.

getVerticaDialectOrBuilder()

public VerticaDialectOrBuilder getVerticaDialectOrBuilder()

The Vertica dialect

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

Returns
TypeDescription
VerticaDialectOrBuilder

hasAzureSynapseDialect()

public boolean hasAzureSynapseDialect()

The Azure Synapse dialect

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

Returns
TypeDescription
boolean

Whether the azureSynapseDialect field is set.

hasBigqueryDialect()

public boolean hasBigqueryDialect()

The BigQuery dialect

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

Returns
TypeDescription
boolean

Whether the bigqueryDialect field is set.

hasHiveqlDialect()

public boolean hasHiveqlDialect()

The HiveQL dialect

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

Returns
TypeDescription
boolean

Whether the hiveqlDialect field is set.

hasMysqlDialect()

public boolean hasMysqlDialect()

The MySQL dialect

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

Returns
TypeDescription
boolean

Whether the mysqlDialect field is set.

hasNetezzaDialect()

public boolean hasNetezzaDialect()

The Netezza dialect

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

Returns
TypeDescription
boolean

Whether the netezzaDialect field is set.

hasOracleDialect()

public boolean hasOracleDialect()

The Oracle dialect

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

Returns
TypeDescription
boolean

Whether the oracleDialect field is set.

hasPostgresqlDialect()

public boolean hasPostgresqlDialect()

The Postgresql dialect

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

Returns
TypeDescription
boolean

Whether the postgresqlDialect field is set.

hasPrestoDialect()

public boolean hasPrestoDialect()

The Presto dialect

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

Returns
TypeDescription
boolean

Whether the prestoDialect field is set.

hasRedshiftDialect()

public boolean hasRedshiftDialect()

The Redshift dialect

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

Returns
TypeDescription
boolean

Whether the redshiftDialect field is set.

hasSnowflakeDialect()

public boolean hasSnowflakeDialect()

The Snowflake dialect

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

Returns
TypeDescription
boolean

Whether the snowflakeDialect field is set.

hasSparksqlDialect()

public boolean hasSparksqlDialect()

The SparkSQL dialect

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the sqlServerDialect field is set.

hasTeradataDialect()

public boolean hasTeradataDialect()

The Teradata dialect

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

Returns
TypeDescription
boolean

Whether the teradataDialect field is set.

hasVerticaDialect()

public boolean hasVerticaDialect()

The Vertica dialect

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

Returns
TypeDescription
boolean

Whether the verticaDialect field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Dialect.Builder newBuilderForType()
Returns
TypeDescription
Dialect.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Dialect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Dialect.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Dialect.Builder toBuilder()
Returns
TypeDescription
Dialect.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException