Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 688b685

Browse files
feat: Add Presto dialect to bigquerymigration v2 client library (#143)
* feat: Add Presto dialect to bigquerymigration v2 client library PiperOrigin-RevId: 460797158 Source-Link: googleapis/googleapis@46f2598 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8f720ff867a7591bf0d6a413d6134ed8cc74281e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGY3MjBmZjg2N2E3NTkxYmYwZDZhNDEzZDYxMzRlZDhjYzc0MjgxZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c4dc96e commit 688b685

File tree

11 files changed

+1732
-26
lines changed

11 files changed

+1732
-26
lines changed

proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java

+632
Large diffs are not rendered by default.

proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java

+70
Original file line numberDiff line numberDiff line change
@@ -409,5 +409,75 @@ public interface DialectOrBuilder
409409
*/
410410
com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder();
411411

412+
/**
413+
*
414+
*
415+
* <pre>
416+
* The Postgresql dialect
417+
* </pre>
418+
*
419+
* <code>.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;</code>
420+
*
421+
* @return Whether the postgresqlDialect field is set.
422+
*/
423+
boolean hasPostgresqlDialect();
424+
/**
425+
*
426+
*
427+
* <pre>
428+
* The Postgresql dialect
429+
* </pre>
430+
*
431+
* <code>.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;</code>
432+
*
433+
* @return The postgresqlDialect.
434+
*/
435+
com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect();
436+
/**
437+
*
438+
*
439+
* <pre>
440+
* The Postgresql dialect
441+
* </pre>
442+
*
443+
* <code>.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;</code>
444+
*/
445+
com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder();
446+
447+
/**
448+
*
449+
*
450+
* <pre>
451+
* The Presto dialect
452+
* </pre>
453+
*
454+
* <code>.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;</code>
455+
*
456+
* @return Whether the prestoDialect field is set.
457+
*/
458+
boolean hasPrestoDialect();
459+
/**
460+
*
461+
*
462+
* <pre>
463+
* The Presto dialect
464+
* </pre>
465+
*
466+
* <code>.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;</code>
467+
*
468+
* @return The prestoDialect.
469+
*/
470+
com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect();
471+
/**
472+
*
473+
*
474+
* <pre>
475+
* The Presto dialect
476+
* </pre>
477+
*
478+
* <code>.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;</code>
479+
*/
480+
com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder();
481+
412482
public com.google.cloud.bigquery.migration.v2.Dialect.DialectValueCase getDialectValueCase();
413483
}

proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ public com.google.protobuf.ByteString getIdBytes() {
614614
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
615615
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
616616
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
617-
* Translation_SQLServer2BQ.
617+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
618618
* </pre>
619619
*
620620
* <code>string type = 2;</code>
@@ -642,7 +642,7 @@ public java.lang.String getType() {
642642
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
643643
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
644644
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
645-
* Translation_SQLServer2BQ.
645+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
646646
* </pre>
647647
*
648648
* <code>string type = 2;</code>
@@ -1719,7 +1719,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
17191719
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
17201720
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
17211721
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
1722-
* Translation_SQLServer2BQ.
1722+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
17231723
* </pre>
17241724
*
17251725
* <code>string type = 2;</code>
@@ -1746,7 +1746,7 @@ public java.lang.String getType() {
17461746
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
17471747
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
17481748
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
1749-
* Translation_SQLServer2BQ.
1749+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
17501750
* </pre>
17511751
*
17521752
* <code>string type = 2;</code>
@@ -1773,7 +1773,7 @@ public com.google.protobuf.ByteString getTypeBytes() {
17731773
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
17741774
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
17751775
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
1776-
* Translation_SQLServer2BQ.
1776+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
17771777
* </pre>
17781778
*
17791779
* <code>string type = 2;</code>
@@ -1799,7 +1799,7 @@ public Builder setType(java.lang.String value) {
17991799
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
18001800
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
18011801
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
1802-
* Translation_SQLServer2BQ.
1802+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
18031803
* </pre>
18041804
*
18051805
* <code>string type = 2;</code>
@@ -1821,7 +1821,7 @@ public Builder clearType() {
18211821
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
18221822
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
18231823
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
1824-
* Translation_SQLServer2BQ.
1824+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
18251825
* </pre>
18261826
*
18271827
* <code>string type = 2;</code>

proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public interface MigrationTaskOrBuilder
105105
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
106106
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
107107
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
108-
* Translation_SQLServer2BQ.
108+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
109109
* </pre>
110110
*
111111
* <code>string type = 2;</code>
@@ -122,7 +122,7 @@ public interface MigrationTaskOrBuilder
122122
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
123123
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
124124
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
125-
* Translation_SQLServer2BQ.
125+
* Translation_SQLServer2BQ, Translation_Presto2BQ.
126126
* </pre>
127127
*
128128
* <code>string type = 2;</code>

0 commit comments

Comments
 (0)