diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java index 29b3c92..a932c7b 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java @@ -518,7 +518,7 @@ public final ListMigrationWorkflowsPagedResponse listMigrationWorkflows( * while (true) { * ListMigrationWorkflowsResponse response = * migrationServiceClient.listMigrationWorkflowsCallable().call(request); - * for (MigrationWorkflow element : response.getResponsesList()) { + * for (MigrationWorkflow element : response.getMigrationWorkflowsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1012,7 +1012,7 @@ public final ListMigrationSubtasksPagedResponse listMigrationSubtasks( * while (true) { * ListMigrationSubtasksResponse response = * migrationServiceClient.listMigrationSubtasksCallable().call(request); - * for (MigrationSubtask element : response.getResponsesList()) { + * for (MigrationSubtask element : response.getMigrationSubtasksList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java index f1496f5..4ece8d2 100644 --- a/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java +++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java @@ -520,7 +520,7 @@ public final ListMigrationWorkflowsPagedResponse listMigrationWorkflows( * while (true) { * ListMigrationWorkflowsResponse response = * migrationServiceClient.listMigrationWorkflowsCallable().call(request); - * for (MigrationWorkflow element : response.getResponsesList()) { + * for (MigrationWorkflow element : response.getMigrationWorkflowsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1014,7 +1014,7 @@ public final ListMigrationSubtasksPagedResponse listMigrationSubtasks( * while (true) { * ListMigrationSubtasksResponse response = * migrationServiceClient.listMigrationSubtasksCallable().call(request); - * for (MigrationSubtask element : response.getResponsesList()) { + * for (MigrationSubtask element : response.getMigrationSubtasksList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java index 86d2ca6..899116f 100644 --- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java +++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/Dialect.java @@ -268,6 +268,26 @@ private Dialect( dialectValueCase_ = 10; break; } + case 90: + { + com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder subBuilder = null; + if (dialectValueCase_ == 11) { + subBuilder = + ((com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_) + .toBuilder(); + } + dialectValue_ = + input.readMessage( + com.google.cloud.bigquery.migration.v2.SQLServerDialect.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_); + dialectValue_ = subBuilder.buildPartial(); + } + dialectValueCase_ = 11; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -321,6 +341,7 @@ public enum DialectValueCase NETEZZA_DIALECT(8), AZURE_SYNAPSE_DIALECT(9), VERTICA_DIALECT(10), + SQL_SERVER_DIALECT(11), DIALECTVALUE_NOT_SET(0); private final int value; @@ -359,6 +380,8 @@ public static DialectValueCase forNumber(int value) { return AZURE_SYNAPSE_DIALECT; case 10: return VERTICA_DIALECT; + case 11: + return SQL_SERVER_DIALECT; case 0: return DIALECTVALUE_NOT_SET; default: @@ -893,6 +916,58 @@ public com.google.cloud.bigquery.migration.v2.VerticaDialect getVerticaDialect() return com.google.cloud.bigquery.migration.v2.VerticaDialect.getDefaultInstance(); } + public static final int SQL_SERVER_DIALECT_FIELD_NUMBER = 11; + /** + * + * + *
+ * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return Whether the sqlServerDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasSqlServerDialect() {
+ return dialectValueCase_ == 11;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return The sqlServerDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect() {
+ if (dialectValueCase_ == 11) {
+ return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder
+ getSqlServerDialectOrBuilder() {
+ if (dialectValueCase_ == 11) {
+ return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -944,6 +1019,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_);
}
+ if (dialectValueCase_ == 11) {
+ output.writeMessage(
+ 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_);
+ }
unknownFields.writeTo(output);
}
@@ -1003,6 +1082,11 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
10, (com.google.cloud.bigquery.migration.v2.VerticaDialect) dialectValue_);
}
+ if (dialectValueCase_ == 11) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1051,6 +1135,9 @@ public boolean equals(final java.lang.Object obj) {
case 10:
if (!getVerticaDialect().equals(other.getVerticaDialect())) return false;
break;
+ case 11:
+ if (!getSqlServerDialect().equals(other.getSqlServerDialect())) return false;
+ break;
case 0:
default:
}
@@ -1106,6 +1193,10 @@ public int hashCode() {
hash = (37 * hash) + VERTICA_DIALECT_FIELD_NUMBER;
hash = (53 * hash) + getVerticaDialect().hashCode();
break;
+ case 11:
+ hash = (37 * hash) + SQL_SERVER_DIALECT_FIELD_NUMBER;
+ hash = (53 * hash) + getSqlServerDialect().hashCode();
+ break;
case 0:
default:
}
@@ -1353,6 +1444,13 @@ public com.google.cloud.bigquery.migration.v2.Dialect buildPartial() {
result.dialectValue_ = verticaDialectBuilder_.build();
}
}
+ if (dialectValueCase_ == 11) {
+ if (sqlServerDialectBuilder_ == null) {
+ result.dialectValue_ = dialectValue_;
+ } else {
+ result.dialectValue_ = sqlServerDialectBuilder_.build();
+ }
+ }
result.dialectValueCase_ = dialectValueCase_;
onBuilt();
return result;
@@ -1454,6 +1552,11 @@ public Builder mergeFrom(com.google.cloud.bigquery.migration.v2.Dialect other) {
mergeVerticaDialect(other.getVerticaDialect());
break;
}
+ case SQL_SERVER_DIALECT:
+ {
+ mergeSqlServerDialect(other.getSqlServerDialect());
+ break;
+ }
case DIALECTVALUE_NOT_SET:
{
break;
@@ -3662,6 +3765,222 @@ public Builder clearVerticaDialect() {
return verticaDialectBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>
+ sqlServerDialectBuilder_;
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return Whether the sqlServerDialect field is set.
+ */
+ @java.lang.Override
+ public boolean hasSqlServerDialect() {
+ return dialectValueCase_ == 11;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return The sqlServerDialect.
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect() {
+ if (sqlServerDialectBuilder_ == null) {
+ if (dialectValueCase_ == 11) {
+ return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ } else {
+ if (dialectValueCase_ == 11) {
+ return sqlServerDialectBuilder_.getMessage();
+ }
+ return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ public Builder setSqlServerDialect(
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect value) {
+ if (sqlServerDialectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dialectValue_ = value;
+ onChanged();
+ } else {
+ sqlServerDialectBuilder_.setMessage(value);
+ }
+ dialectValueCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ public Builder setSqlServerDialect(
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder builderForValue) {
+ if (sqlServerDialectBuilder_ == null) {
+ dialectValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ sqlServerDialectBuilder_.setMessage(builderForValue.build());
+ }
+ dialectValueCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ public Builder mergeSqlServerDialect(
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect value) {
+ if (sqlServerDialectBuilder_ == null) {
+ if (dialectValueCase_ == 11
+ && dialectValue_
+ != com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance()) {
+ dialectValue_ =
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.newBuilder(
+ (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ dialectValue_ = value;
+ }
+ onChanged();
+ } else {
+ if (dialectValueCase_ == 11) {
+ sqlServerDialectBuilder_.mergeFrom(value);
+ } else {
+ sqlServerDialectBuilder_.setMessage(value);
+ }
+ }
+ dialectValueCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ public Builder clearSqlServerDialect() {
+ if (sqlServerDialectBuilder_ == null) {
+ if (dialectValueCase_ == 11) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ onChanged();
+ }
+ } else {
+ if (dialectValueCase_ == 11) {
+ dialectValueCase_ = 0;
+ dialectValue_ = null;
+ }
+ sqlServerDialectBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ public com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder
+ getSqlServerDialectBuilder() {
+ return getSqlServerDialectFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ @java.lang.Override
+ public com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder
+ getSqlServerDialectOrBuilder() {
+ if ((dialectValueCase_ == 11) && (sqlServerDialectBuilder_ != null)) {
+ return sqlServerDialectBuilder_.getMessageOrBuilder();
+ } else {
+ if (dialectValueCase_ == 11) {
+ return (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_;
+ }
+ return com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>
+ getSqlServerDialectFieldBuilder() {
+ if (sqlServerDialectBuilder_ == null) {
+ if (!(dialectValueCase_ == 11)) {
+ dialectValue_ =
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.getDefaultInstance();
+ }
+ sqlServerDialectBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect.Builder,
+ com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder>(
+ (com.google.cloud.bigquery.migration.v2.SQLServerDialect) dialectValue_,
+ getParentForChildren(),
+ isClean());
+ dialectValue_ = null;
+ }
+ dialectValueCase_ = 11;
+ onChanged();
+ ;
+ return sqlServerDialectBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
index 0d87296..d075171 100644
--- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
+++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DialectOrBuilder.java
@@ -374,5 +374,40 @@ public interface DialectOrBuilder
*/
com.google.cloud.bigquery.migration.v2.VerticaDialectOrBuilder getVerticaDialectOrBuilder();
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return Whether the sqlServerDialect field is set.
+ */
+ boolean hasSqlServerDialect();
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ *
+ * @return The sqlServerDialect.
+ */
+ com.google.cloud.bigquery.migration.v2.SQLServerDialect getSqlServerDialect();
+ /**
+ *
+ *
+ * + * The SQL Server dialect + *+ * + *
.google.cloud.bigquery.migration.v2.SQLServerDialect sql_server_dialect = 11;
+ */
+ com.google.cloud.bigquery.migration.v2.SQLServerDialectOrBuilder getSqlServerDialectOrBuilder();
+
public com.google.cloud.bigquery.migration.v2.Dialect.DialectValueCase getDialectValueCase();
}
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
index 2488d30..2824681 100644
--- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
+++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTask.java
@@ -612,7 +612,9 @@ public com.google.protobuf.ByteString getIdBytes() {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -638,7 +640,9 @@ public java.lang.String getType() {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -1713,7 +1717,9 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -1738,7 +1744,9 @@ public java.lang.String getType() {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -1763,7 +1771,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -1787,7 +1797,9 @@ public Builder setType(java.lang.String value) {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -1807,7 +1819,9 @@ public Builder clearType() {
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
index b966019..13e2c9d 100644
--- a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
+++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationTaskOrBuilder.java
@@ -103,7 +103,9 @@ public interface MigrationTaskOrBuilder
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
@@ -118,7 +120,9 @@ public interface MigrationTaskOrBuilder
* The type of the task. This must be one of the supported task types:
* Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
* Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
- * Translation_Snowflake2BQ, Translation_Netezza2BQ.
+ * Translation_Snowflake2BQ, Translation_Netezza2BQ,
+ * Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
+ * Translation_SQLServer2BQ.
*
*
* string type = 2;
diff --git a/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.java
new file mode 100644
index 0000000..9df41f4
--- /dev/null
+++ b/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialect.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 SQL Server. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} + */ +public final class SQLServerDialect extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.migration.v2.SQLServerDialect) + SQLServerDialectOrBuilder { + private static final long serialVersionUID = 0L; + // Use SQLServerDialect.newBuilder() to construct. + private SQLServerDialect(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private SQLServerDialect() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SQLServerDialect(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SQLServerDialect( + 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_SQLServerDialect_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_SQLServerDialect_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.migration.v2.SQLServerDialect.class, + com.google.cloud.bigquery.migration.v2.SQLServerDialect.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.SQLServerDialect)) { + return super.equals(obj); + } + com.google.cloud.bigquery.migration.v2.SQLServerDialect other = + (com.google.cloud.bigquery.migration.v2.SQLServerDialect) 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.SQLServerDialect parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect 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.SQLServerDialect parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect 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.SQLServerDialect parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.migration.v2.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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.SQLServerDialect 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 SQL Server. + *+ * + * Protobuf type {@code google.cloud.bigquery.migration.v2.SQLServerDialect} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder