diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java index 899116ff3211..569163d582aa 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java @@ -288,6 +288,46 @@ private Dialect( dialectValueCase_ = 11; break; } + case 98: + { + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder subBuilder = null; + if (dialectValueCase_ == 12) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 12; + break; + } + case 106: + { + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder subBuilder = null; + if (dialectValueCase_ == 13) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.PrestoDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 13; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -342,6 +382,8 @@ public enum DialectValueCase AZURE_SYNAPSE_DIALECT(9), VERTICA_DIALECT(10), SQL_SERVER_DIALECT(11), + POSTGRESQL_DIALECT(12), + PRESTO_DIALECT(13), DIALECTVALUE_NOT_SET(0); private final int value; @@ -382,6 +424,10 @@ public static DialectValueCase forNumber(int value) { return VERTICA_DIALECT; case 11: return SQL_SERVER_DIALECT; + case 12: + return POSTGRESQL_DIALECT; + case 13: + return PRESTO_DIALECT; case 0: return DIALECTVALUE_NOT_SET; default: @@ -968,6 +1014,109 @@ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDiale return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance(); } + public static final int POSTGRESQL_DIALECT_FIELD_NUMBER = 12; + /** + * + * + *
+ * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return Whether the postgresqlDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasPostgresqlDialect() {
+ return dialectValueCase_ == 12;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return The postgresqlDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect() {
+ if (dialectValueCase_ == 12) {
+ return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder
+ getPostgresqlDialectOrBuilder() {
+ if (dialectValueCase_ == 12) {
+ return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ }
+
+ public static final int PRESTO_DIALECT_FIELD_NUMBER = 13;
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return Whether the prestoDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasPrestoDialect() {
+ return dialectValueCase_ == 13;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return The prestoDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() {
+ if (dialectValueCase_ == 13) {
+ return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder() {
+ if (dialectValueCase_ == 13) {
+ return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1023,6 +1172,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_);
}
+ if (dialectValueCase_ == 12) {
+ output.writeMessage(
+ 12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_);
+ }
+ if (dialectValueCase_ == 13) {
+ output.writeMessage(13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_);
+ }
unknownFields.writeTo(output);
}
@@ -1087,6 +1243,16 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_);
}
+ if (dialectValueCase_ == 12) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 12, (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_);
+ }
+ if (dialectValueCase_ == 13) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 13, (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1138,6 +1304,12 @@ public boolean equals(final java.lang.Object obj) {
case 11:
if (!getSqlServerDialect().equals(other.getSqlServerDialect())) return false;
break;
+ case 12:
+ if (!getPostgresqlDialect().equals(other.getPostgresqlDialect())) return false;
+ break;
+ case 13:
+ if (!getPrestoDialect().equals(other.getPrestoDialect())) return false;
+ break;
case 0:
default:
}
@@ -1197,6 +1369,14 @@ public int hashCode() {
hash = (37 * hash) + SQL_SERVER_DIALECT_FIELD_NUMBER;
hash = (53 * hash) + getSqlServerDialect().hashCode();
break;
+ case 12:
+ hash = (37 * hash) + POSTGRESQL_DIALECT_FIELD_NUMBER;
+ hash = (53 * hash) + getPostgresqlDialect().hashCode();
+ break;
+ case 13:
+ hash = (37 * hash) + PRESTO_DIALECT_FIELD_NUMBER;
+ hash = (53 * hash) + getPrestoDialect().hashCode();
+ break;
case 0:
default:
}
@@ -1451,6 +1631,20 @@ public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() {
result.dialectValue_ = sqlServerDialectBuilder_.build();
}
}
+ if (dialectValueCase_ == 12) {
+ if (postgresqlDialectBuilder_ == null) {
+ result.dialectValue_ = dialectValue_;
+ } else {
+ result.dialectValue_ = postgresqlDialectBuilder_.build();
+ }
+ }
+ if (dialectValueCase_ == 13) {
+ if (prestoDialectBuilder_ == null) {
+ result.dialectValue_ = dialectValue_;
+ } else {
+ result.dialectValue_ = prestoDialectBuilder_.build();
+ }
+ }
result.dialectValueCase_ = dialectValueCase_;
onBuilt();
return result;
@@ -1557,6 +1751,16 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.Dialect other) {
mergeSqlServerDialect(other.getSqlServerDialect());
break;
}
+ case POSTGRESQL_DIALECT:
+ {
+ mergePostgresqlDialect(other.getPostgresqlDialect());
+ break;
+ }
+ case PRESTO_DIALECT:
+ {
+ mergePrestoDialect(other.getPrestoDialect());
+ break;
+ }
case DIALECTVALUE_NOT_SET:
{
break;
@@ -3981,6 +4185,434 @@ public Builder clearSqlServerDialect() {
return sqlServerDialectBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>
+ postgresqlDialectBuilder_;
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return Whether the postgresqlDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasPostgresqlDialect() {
+ return dialectValueCase_ == 12;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return The postgresqlDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect() {
+ if (postgresqlDialectBuilder_ == null) {
+ if (dialectValueCase_ == 12) {
+ return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ } else {
+ if (dialectValueCase_ == 12) {
+ return postgresqlDialectBuilder_.getMessage();
+ }
+ return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ public Builder setPostgresqlDialect(
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) {
+ if (postgresqlDialectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dialectValue_ = value;
+ onChanged();
+ } else {
+ postgresqlDialectBuilder_.setMessage(value);
+ }
+ dialectValueCase_ = 12;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ public Builder setPostgresqlDialect(
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder builderForValue) {
+ if (postgresqlDialectBuilder_ == null) {
+ dialectValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ postgresqlDialectBuilder_.setMessage(builderForValue.build());
+ }
+ dialectValueCase_ = 12;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ public Builder mergePostgresqlDialect(
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect value) {
+ if (postgresqlDialectBuilder_ == null) {
+ if (dialectValueCase_ == 12
+ && dialectValue_
+ != com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance()) {
+ dialectValue_ =
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.newBuilder(
+ (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ dialectValue_ = value;
+ }
+ onChanged();
+ } else {
+ if (dialectValueCase_ == 12) {
+ postgresqlDialectBuilder_.mergeFrom(value);
+ } else {
+ postgresqlDialectBuilder_.setMessage(value);
+ }
+ }
+ dialectValueCase_ = 12;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ public Builder clearPostgresqlDialect() {
+ if (postgresqlDialectBuilder_ == null) {
+ if (dialectValueCase_ == 12) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ onChanged();
+ }
+ } else {
+ if (dialectValueCase_ == 12) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ }
+ postgresqlDialectBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ public com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder
+ getPostgresqlDialectBuilder() {
+ return getPostgresqlDialectFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder
+ getPostgresqlDialectOrBuilder() {
+ if ((dialectValueCase_ == 12) && (postgresqlDialectBuilder_ != null)) {
+ return postgresqlDialectBuilder_.getMessageOrBuilder();
+ } else {
+ if (dialectValueCase_ == 12) {
+ return (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>
+ getPostgresqlDialectFieldBuilder() {
+ if (postgresqlDialectBuilder_ == null) {
+ if (!(dialectValueCase_ == 12)) {
+ dialectValue_ =
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.getDefaultInstance();
+ }
+ postgresqlDialectBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder>(
+ (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) dialectValue_,
+ getParentForChildren(),
+ isClean());
+ dialectValue_ = null;
+ }
+ dialectValueCase_ = 12;
+ onChanged();
+ ;
+ return postgresqlDialectBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PrestoDialect,
+ com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>
+ prestoDialectBuilder_;
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return Whether the prestoDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasPrestoDialect() {
+ return dialectValueCase_ == 13;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return The prestoDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect() {
+ if (prestoDialectBuilder_ == null) {
+ if (dialectValueCase_ == 13) {
+ return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ } else {
+ if (dialectValueCase_ == 13) {
+ return prestoDialectBuilder_.getMessage();
+ }
+ return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ public Builder setPrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDialect value) {
+ if (prestoDialectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dialectValue_ = value;
+ onChanged();
+ } else {
+ prestoDialectBuilder_.setMessage(value);
+ }
+ dialectValueCase_ = 13;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ public Builder setPrestoDialect(
+ com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder builderForValue) {
+ if (prestoDialectBuilder_ == null) {
+ dialectValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ prestoDialectBuilder_.setMessage(builderForValue.build());
+ }
+ dialectValueCase_ = 13;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ public Builder mergePrestoDialect(com.google.cloud.bigquery.migration.v2.PrestoDialect value) {
+ if (prestoDialectBuilder_ == null) {
+ if (dialectValueCase_ == 13
+ && dialectValue_
+ != com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance()) {
+ dialectValue_ =
+ com.google.cloud.bigquery.migration.v2.PrestoDialect.newBuilder(
+ (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ dialectValue_ = value;
+ }
+ onChanged();
+ } else {
+ if (dialectValueCase_ == 13) {
+ prestoDialectBuilder_.mergeFrom(value);
+ } else {
+ prestoDialectBuilder_.setMessage(value);
+ }
+ }
+ dialectValueCase_ = 13;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ public Builder clearPrestoDialect() {
+ if (prestoDialectBuilder_ == null) {
+ if (dialectValueCase_ == 13) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ onChanged();
+ }
+ } else {
+ if (dialectValueCase_ == 13) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ }
+ prestoDialectBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ public com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder getPrestoDialectBuilder() {
+ return getPrestoDialectFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder
+ getPrestoDialectOrBuilder() {
+ if ((dialectValueCase_ == 13) && (prestoDialectBuilder_ != null)) {
+ return prestoDialectBuilder_.getMessageOrBuilder();
+ } else {
+ if (dialectValueCase_ == 13) {
+ return (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PrestoDialect,
+ com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>
+ getPrestoDialectFieldBuilder() {
+ if (prestoDialectBuilder_ == null) {
+ if (!(dialectValueCase_ == 13)) {
+ dialectValue_ = com.google.cloud.bigquery.migration.v2.PrestoDialect.getDefaultInstance();
+ }
+ prestoDialectBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.PrestoDialect,
+ com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder>(
+ (com.google.cloud.bigquery.migration.v2.PrestoDialect) dialectValue_,
+ getParentForChildren(),
+ isClean());
+ dialectValue_ = null;
+ }
+ dialectValueCase_ = 13;
+ onChanged();
+ ;
+ return prestoDialectBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
index d075171511ef..0b3f08021225 100644
--- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
+++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
@@ -409,5 +409,75 @@ public interface DialectOrBuilder
*/
com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder();
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return Whether the postgresqlDialect field is set.
+ */
+ boolean hasPostgresqlDialect();
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ *
+ * @return The postgresqlDialect.
+ */
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialect getPostgresqlDialect();
+ /**
+ *
+ *
+ * + * The Postgresql dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PostgresqlDialect postgresql_dialect = 12;
+ */
+ com.google.cloud.bigquery.migration.v2.PostgresqlDialectOrBuilder getPostgresqlDialectOrBuilder();
+
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return Whether the prestoDialect field is set.
+ */
+ boolean hasPrestoDialect();
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ *
+ * @return The prestoDialect.
+ */
+ com.google.cloud.bigquery.migration.v2.PrestoDialect getPrestoDialect();
+ /**
+ *
+ *
+ * + * The Presto dialect + *+ * + *
.google.cloud.bigquery.migration.v2.PrestoDialect presto_dialect = 13;
+ */
+ com.google.cloud.bigquery.migration.v2.PrestoDialectOrBuilder getPrestoDialectOrBuilder();
+
public com.google.cloud.bigquery.migration.v2.Dialect.DialectValueCase getDialectValueCase();
}
diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
index 282468145819..f6af28ba7a5c 100644
--- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
+++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
@@ -614,7 +614,7 @@ public com.google.protobuf.ByteString getIdBytes() {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -642,7 +642,7 @@ public java.lang.String getType() {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -1719,7 +1719,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -1746,7 +1746,7 @@ public java.lang.String getType() {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -1773,7 +1773,7 @@ public com.google.protobuf.ByteString getTypeBytes() {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -1799,7 +1799,7 @@ public Builder setType(java.lang.String value) {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -1821,7 +1821,7 @@ public Builder clearType() {
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
index 13e2c9d400c4..2aa5e75f222d 100644
--- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
+++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
@@ -105,7 +105,7 @@ public interface MigrationTaskOrBuilder
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
@@ -122,7 +122,7 @@ public interface MigrationTaskOrBuilder
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
* Translation_Snowflake2BQ, Translation_Netezza2BQ,
* Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
- * Translation_SQLServer2BQ.
+ * Translation_SQLServer2BQ, Translation_Presto2BQ.
*
*
* string type = 2;
diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java
new file mode 100644
index 000000000000..087b2b9eba4f
--- /dev/null
+++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialect.java
@@ -0,0 +1,459 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/bigquery/migration/v2/translation_config.proto
+
+package com.google.cloud.bigquery.migration.v2;
+
+/**
+ *
+ *
+ * + * The dialect definition for Postgresql. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} + */ +public final class PostgresqlDialect extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PostgresqlDialect) + PostgresqlDialectOrBuilder { + private static final long serialVersionUID = 0L; + // Use PostgresqlDialect.newBuilder() to construct. + private PostgresqlDialect(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PostgresqlDialect() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PostgresqlDialect(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PostgresqlDialect( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.class, + com.google.cloud.bigquery.migration.v2.PostgresqlDialect.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PostgresqlDialect)) { + return super.equals(obj); + } + com.google.cloud.bigquery.migration.v2.PostgresqlDialect other = + (com.google.cloud.bigquery.migration.v2.PostgresqlDialect) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PostgresqlDialect parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.bigquery.migration.v2.PostgresqlDialect prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+ * The dialect definition for Postgresql. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PostgresqlDialect} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The dialect definition for Presto. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} + */ +public final class PrestoDialect extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.PrestoDialect) + PrestoDialectOrBuilder { + private static final long serialVersionUID = 0L; + // Use PrestoDialect.newBuilder() to construct. + private PrestoDialect(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PrestoDialect() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PrestoDialect(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PrestoDialect( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.migration.v2.TranslationConfigProto + .internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.PrestoDialect.class, + com.google.cloud.bigquery.migration.v2.PrestoDialect.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.bigquery.migration.v2.PrestoDialect)) { + return super.equals(obj); + } + com.google.cloud.bigquery.migration.v2.PrestoDialect other = + (com.google.cloud.bigquery.migration.v2.PrestoDialect) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.migration.v2.PrestoDialect parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.bigquery.migration.v2.PrestoDialect prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+ * The dialect definition for Presto. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.PrestoDialect} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder