diff --git a/README.md b/README.md
index 7c1856f..65ca869 100644
--- a/README.md
+++ b/README.md
@@ -37,13 +37,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigquerymigration:0.14.0'
+implementation 'com.google.cloud:google-cloud-bigquerymigration:0.15.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.14.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.15.0"
```
## Authentication
diff --git a/owl-bot-staging/v2/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
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClient.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java
similarity index 99%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java
index d0c0377..4d1f4d8 100644
--- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceSettings.java
@@ -29,7 +29,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.bigquery.migration.v2.stub.MigrationServiceStubSettings;
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/gapic_metadata.json
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/package-info.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java
similarity index 99%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java
index fdf2f7a..375474d 100644
--- a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/GrpcMigrationServiceStub.java
@@ -42,7 +42,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
-import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/HttpJsonMigrationServiceStub.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStub.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/MigrationServiceStubSettings.java
diff --git a/owl-bot-staging/v2alpha/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
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClient.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java
similarity index 99%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java
index e79a274..b56c0ba 100644
--- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceSettings.java
@@ -29,7 +29,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.bigquery.migration.v2alpha.stub.MigrationServiceStubSettings;
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClient.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClient.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClient.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClient.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java
similarity index 99%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java
index 71add83..90eefbd 100644
--- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceSettings.java
@@ -25,7 +25,6 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.bigquery.migration.v2alpha.stub.SqlTranslationServiceStubSettings;
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/gapic_metadata.json
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/package-info.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java
similarity index 99%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java
index c7c8386..df1d9db 100644
--- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcMigrationServiceStub.java
@@ -43,7 +43,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
-import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java
similarity index 99%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java
index 229ca03..13888db 100644
--- a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java
+++ b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/GrpcSqlTranslationServiceStub.java
@@ -30,7 +30,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
-import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonMigrationServiceStub.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceCallableFactory.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceCallableFactory.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceCallableFactory.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/HttpJsonSqlTranslationServiceStub.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStub.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/MigrationServiceStubSettings.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStub.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStub.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStub.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStub.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStubSettings.java b/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStubSettings.java
rename to google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/SqlTranslationServiceStubSettings.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MigrationServiceClientTest.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationService.java
diff --git a/owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java
similarity index 100%
rename from owl-bot-staging/v2/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2/MockMigrationServiceImpl.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceClientTest.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationService.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockMigrationServiceImpl.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationService.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationService.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationService.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationService.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationServiceImpl.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationServiceImpl.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationServiceImpl.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/MockSqlTranslationServiceImpl.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientHttpJsonTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientHttpJsonTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientTest.java b/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/v2alpha/google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientTest.java
rename to google-cloud-bigquerymigration/src/test/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceClientTest.java
diff --git a/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java
new file mode 100644
index 0000000..fab01f0
--- /dev/null
+++ b/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java
@@ -0,0 +1,1129 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigquery.migration.v2;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class MigrationServiceGrpc {
+
+ private MigrationServiceGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod;
+ if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getCreateMigrationWorkflowMethod =
+ MigrationServiceGrpc.getCreateMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getCreateMigrationWorkflowMethod =
+ getCreateMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getCreateMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getGetMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getGetMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getGetMigrationWorkflowMethod;
+ if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getGetMigrationWorkflowMethod =
+ getGetMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getGetMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows",
+ requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod;
+ if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod)
+ == null) {
+ MigrationServiceGrpc.getListMigrationWorkflowsMethod =
+ getListMigrationWorkflowsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows"))
+ .build();
+ }
+ }
+ }
+ return getListMigrationWorkflowsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class,
+ responseType = com.google.protobuf.Empty.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod;
+ if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getDeleteMigrationWorkflowMethod =
+ MigrationServiceGrpc.getDeleteMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getDeleteMigrationWorkflowMethod =
+ getDeleteMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.protobuf.Empty.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getDeleteMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class,
+ responseType = com.google.protobuf.Empty.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod;
+ if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getStartMigrationWorkflowMethod =
+ getStartMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.protobuf.Empty.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getStartMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask>
+ getGetMigrationSubtaskMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask",
+ requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask>
+ getGetMigrationSubtaskMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask>
+ getGetMigrationSubtaskMethod;
+ if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod)
+ == null) {
+ MigrationServiceGrpc.getGetMigrationSubtaskMethod =
+ getGetMigrationSubtaskMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask"))
+ .build();
+ }
+ }
+ }
+ return getGetMigrationSubtaskMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks",
+ requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod;
+ if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod)
+ == null) {
+ MigrationServiceGrpc.getListMigrationSubtasksMethod =
+ getListMigrationSubtasksMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks"))
+ .build();
+ }
+ }
+ }
+ return getListMigrationSubtasksMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static MigrationServiceStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceBlockingStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceFutureStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public abstract static class MigrationServiceImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public void createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public void getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public void listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListMigrationWorkflowsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public void deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public void startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getStartMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public void getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetMigrationSubtaskMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public void listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListMigrationSubtasksMethod(), responseObserver);
+ }
+
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getCreateMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(
+ this, METHODID_CREATE_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getGetMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(
+ this, METHODID_GET_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getListMigrationWorkflowsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>(
+ this, METHODID_LIST_MIGRATION_WORKFLOWS)))
+ .addMethod(
+ getDeleteMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getStartMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getGetMigrationSubtaskMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask>(
+ this, METHODID_GET_MIGRATION_SUBTASK)))
+ .addMethod(
+ getListMigrationSubtasksMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>(
+ this, METHODID_LIST_MIGRATION_SUBTASKS)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceStub
+ extends io.grpc.stub.AbstractAsyncStub {
+ private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public void createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public void getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public void listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public void deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public void startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public void getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public void listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
+ private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceBlockingStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse
+ listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public com.google.protobuf.Empty deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public com.google.protobuf.Empty startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse
+ listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
+ private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceFutureStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
+ getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>
+ listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2.MigrationSubtask>
+ getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>
+ listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0;
+ private static final int METHODID_GET_MIGRATION_WORKFLOW = 1;
+ private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2;
+ private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3;
+ private static final int METHODID_START_MIGRATION_WORKFLOW = 4;
+ private static final int METHODID_GET_MIGRATION_SUBTASK = 5;
+ private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6;
+
+ private static final class MethodHandlers
+ implements io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private final MigrationServiceImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) {
+ this.serviceImpl = serviceImpl;
+ this.methodId = methodId;
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_CREATE_MIGRATION_WORKFLOW:
+ serviceImpl.createMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>)
+ responseObserver);
+ break;
+ case METHODID_GET_MIGRATION_WORKFLOW:
+ serviceImpl.getMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.MigrationWorkflow>)
+ responseObserver);
+ break;
+ case METHODID_LIST_MIGRATION_WORKFLOWS:
+ serviceImpl.listMigrationWorkflows(
+ (com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>)
+ responseObserver);
+ break;
+ case METHODID_DELETE_MIGRATION_WORKFLOW:
+ serviceImpl.deleteMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_START_MIGRATION_WORKFLOW:
+ serviceImpl.startMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_MIGRATION_SUBTASK:
+ serviceImpl.getMigrationSubtask(
+ (com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_LIST_MIGRATION_SUBTASKS:
+ serviceImpl.listMigrationSubtasks(
+ (com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>)
+ responseObserver);
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public io.grpc.stub.StreamObserver invoke(
+ io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ default:
+ throw new AssertionError();
+ }
+ }
+ }
+
+ private abstract static class MigrationServiceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ MigrationServiceBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("MigrationService");
+ }
+ }
+
+ private static final class MigrationServiceFileDescriptorSupplier
+ extends MigrationServiceBaseDescriptorSupplier {
+ MigrationServiceFileDescriptorSupplier() {}
+ }
+
+ private static final class MigrationServiceMethodDescriptorSupplier
+ extends MigrationServiceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ MigrationServiceMethodDescriptorSupplier(String methodName) {
+ this.methodName = methodName;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
+ return getServiceDescriptor().findMethodByName(methodName);
+ }
+ }
+
+ private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
+
+ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
+ io.grpc.ServiceDescriptor result = serviceDescriptor;
+ if (result == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier())
+ .addMethod(getCreateMigrationWorkflowMethod())
+ .addMethod(getGetMigrationWorkflowMethod())
+ .addMethod(getListMigrationWorkflowsMethod())
+ .addMethod(getDeleteMigrationWorkflowMethod())
+ .addMethod(getStartMigrationWorkflowMethod())
+ .addMethod(getGetMigrationSubtaskMethod())
+ .addMethod(getListMigrationSubtasksMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java
new file mode 100644
index 0000000..0091e32
--- /dev/null
+++ b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java
@@ -0,0 +1,1136 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigquery.migration.v2alpha;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class MigrationServiceGrpc {
+
+ private MigrationServiceGrpc() {}
+
+ public static final String SERVICE_NAME =
+ "google.cloud.bigquery.migration.v2alpha.MigrationService";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow",
+ requestType =
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getCreateMigrationWorkflowMethod;
+ if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getCreateMigrationWorkflowMethod =
+ MigrationServiceGrpc.getCreateMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getCreateMigrationWorkflowMethod =
+ getCreateMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .CreateMigrationWorkflowRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getCreateMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getGetMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getGetMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getGetMigrationWorkflowMethod;
+ if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getGetMigrationWorkflowMethod =
+ getGetMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .GetMigrationWorkflowRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getGetMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows",
+ requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class,
+ responseType =
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ getListMigrationWorkflowsMethod;
+ if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod)
+ == null) {
+ MigrationServiceGrpc.getListMigrationWorkflowsMethod =
+ getListMigrationWorkflowsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .ListMigrationWorkflowsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .ListMigrationWorkflowsResponse.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows"))
+ .build();
+ }
+ }
+ }
+ return getListMigrationWorkflowsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow",
+ requestType =
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class,
+ responseType = com.google.protobuf.Empty.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getDeleteMigrationWorkflowMethod;
+ if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getDeleteMigrationWorkflowMethod =
+ MigrationServiceGrpc.getDeleteMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getDeleteMigrationWorkflowMethod =
+ getDeleteMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .DeleteMigrationWorkflowRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.protobuf.Empty.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getDeleteMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow",
+ requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class,
+ responseType = com.google.protobuf.Empty.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>
+ getStartMigrationWorkflowMethod;
+ if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod)
+ == null) {
+ MigrationServiceGrpc.getStartMigrationWorkflowMethod =
+ getStartMigrationWorkflowMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .StartMigrationWorkflowRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.protobuf.Empty.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow"))
+ .build();
+ }
+ }
+ }
+ return getStartMigrationWorkflowMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>
+ getGetMigrationSubtaskMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask",
+ requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class,
+ responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>
+ getGetMigrationSubtaskMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>
+ getGetMigrationSubtaskMethod;
+ if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod)
+ == null) {
+ MigrationServiceGrpc.getGetMigrationSubtaskMethod =
+ getGetMigrationSubtaskMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask"))
+ .build();
+ }
+ }
+ }
+ return getGetMigrationSubtaskMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks",
+ requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class,
+ responseType =
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ getListMigrationSubtasksMethod;
+ if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod)
+ == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod)
+ == null) {
+ MigrationServiceGrpc.getListMigrationSubtasksMethod =
+ getListMigrationSubtasksMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .ListMigrationSubtasksRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha
+ .ListMigrationSubtasksResponse.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks"))
+ .build();
+ }
+ }
+ }
+ return getListMigrationSubtasksMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static MigrationServiceStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static MigrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceBlockingStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static MigrationServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public MigrationServiceFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceFutureStub(channel, callOptions);
+ }
+ };
+ return MigrationServiceFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public abstract static class MigrationServiceImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public void createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public void getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public void listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListMigrationWorkflowsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public void deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public void startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getStartMigrationWorkflowMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public void getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetMigrationSubtaskMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public void listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListMigrationSubtasksMethod(), responseObserver);
+ }
+
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getCreateMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(
+ this, METHODID_CREATE_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getGetMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(
+ this, METHODID_GET_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getListMigrationWorkflowsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>(
+ this, METHODID_LIST_MIGRATION_WORKFLOWS)))
+ .addMethod(
+ getDeleteMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest,
+ com.google.protobuf.Empty>(this, METHODID_DELETE_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getStartMigrationWorkflowMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest,
+ com.google.protobuf.Empty>(this, METHODID_START_MIGRATION_WORKFLOW)))
+ .addMethod(
+ getGetMigrationSubtaskMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest,
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>(
+ this, METHODID_GET_MIGRATION_SUBTASK)))
+ .addMethod(
+ getListMigrationSubtasksMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest,
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>(
+ this, METHODID_LIST_MIGRATION_SUBTASKS)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceStub
+ extends io.grpc.stub.AbstractAsyncStub {
+ private MigrationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public void createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public void getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public void listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public void deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public void startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public void getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public void listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
+ private MigrationServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceBlockingStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse
+ listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public com.google.protobuf.Empty deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public com.google.protobuf.Empty startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse
+ listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Service to handle EDW migrations.
+ *
+ */
+ public static final class MigrationServiceFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
+ private MigrationServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected MigrationServiceFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new MigrationServiceFutureStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ createMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>
+ getMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration workflow.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>
+ listMigrationWorkflows(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a migration workflow by name.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Starts a previously created migration workflow. I.e., the state transitions
+ * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
+ * An error will be signaled if the state is anything other than DRAFT or
+ * RUNNING.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ startMigrationWorkflow(
+ com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets a previously created migration subtask.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>
+ getMigrationSubtask(
+ com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists previously created migration subtasks.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>
+ listMigrationSubtasks(
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0;
+ private static final int METHODID_GET_MIGRATION_WORKFLOW = 1;
+ private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2;
+ private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3;
+ private static final int METHODID_START_MIGRATION_WORKFLOW = 4;
+ private static final int METHODID_GET_MIGRATION_SUBTASK = 5;
+ private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6;
+
+ private static final class MethodHandlers
+ implements io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private final MigrationServiceImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) {
+ this.serviceImpl = serviceImpl;
+ this.methodId = methodId;
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_CREATE_MIGRATION_WORKFLOW:
+ serviceImpl.createMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>)
+ responseObserver);
+ break;
+ case METHODID_GET_MIGRATION_WORKFLOW:
+ serviceImpl.getMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>)
+ responseObserver);
+ break;
+ case METHODID_LIST_MIGRATION_WORKFLOWS:
+ serviceImpl.listMigrationWorkflows(
+ (com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>)
+ responseObserver);
+ break;
+ case METHODID_DELETE_MIGRATION_WORKFLOW:
+ serviceImpl.deleteMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_START_MIGRATION_WORKFLOW:
+ serviceImpl.startMigrationWorkflow(
+ (com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_MIGRATION_SUBTASK:
+ serviceImpl.getMigrationSubtask(
+ (com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>)
+ responseObserver);
+ break;
+ case METHODID_LIST_MIGRATION_SUBTASKS:
+ serviceImpl.listMigrationSubtasks(
+ (com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>)
+ responseObserver);
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public io.grpc.stub.StreamObserver invoke(
+ io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ default:
+ throw new AssertionError();
+ }
+ }
+ }
+
+ private abstract static class MigrationServiceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ MigrationServiceBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.cloud.bigquery.migration.v2alpha.MigrationServiceProto.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("MigrationService");
+ }
+ }
+
+ private static final class MigrationServiceFileDescriptorSupplier
+ extends MigrationServiceBaseDescriptorSupplier {
+ MigrationServiceFileDescriptorSupplier() {}
+ }
+
+ private static final class MigrationServiceMethodDescriptorSupplier
+ extends MigrationServiceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ MigrationServiceMethodDescriptorSupplier(String methodName) {
+ this.methodName = methodName;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
+ return getServiceDescriptor().findMethodByName(methodName);
+ }
+ }
+
+ private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
+
+ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
+ io.grpc.ServiceDescriptor result = serviceDescriptor;
+ if (result == null) {
+ synchronized (MigrationServiceGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier())
+ .addMethod(getCreateMigrationWorkflowMethod())
+ .addMethod(getGetMigrationWorkflowMethod())
+ .addMethod(getListMigrationWorkflowsMethod())
+ .addMethod(getDeleteMigrationWorkflowMethod())
+ .addMethod(getStartMigrationWorkflowMethod())
+ .addMethod(getGetMigrationSubtaskMethod())
+ .addMethod(getListMigrationSubtasksMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java
similarity index 50%
rename from owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java
rename to grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java
index f88006e..998f2cc 100644
--- a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java
+++ b/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/SqlTranslationServiceGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * 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.
+ */
package com.google.cloud.bigquery.migration.v2alpha;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
+ *
+ *
*
* Provides other SQL dialects to GoogleSQL translation operations.
*
@@ -15,122 +32,147 @@ public final class SqlTranslationServiceGrpc {
private SqlTranslationServiceGrpc() {}
- public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2alpha.SqlTranslationService";
+ public static final String SERVICE_NAME =
+ "google.cloud.bigquery.migration.v2alpha.SqlTranslationService";
// Static method descriptors that strictly reflect the proto.
- private static volatile io.grpc.MethodDescriptor getTranslateQueryMethod;
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest,
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ getTranslateQueryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "TranslateQuery",
requestType = com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.class,
responseType = com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getTranslateQueryMethod() {
- io.grpc.MethodDescriptor getTranslateQueryMethod;
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest,
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ getTranslateQueryMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest,
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ getTranslateQueryMethod;
if ((getTranslateQueryMethod = SqlTranslationServiceGrpc.getTranslateQueryMethod) == null) {
synchronized (SqlTranslationServiceGrpc.class) {
if ((getTranslateQueryMethod = SqlTranslationServiceGrpc.getTranslateQueryMethod) == null) {
- SqlTranslationServiceGrpc.getTranslateQueryMethod = getTranslateQueryMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TranslateQuery"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse.getDefaultInstance()))
- .setSchemaDescriptor(new SqlTranslationServiceMethodDescriptorSupplier("TranslateQuery"))
- .build();
+ SqlTranslationServiceGrpc.getTranslateQueryMethod =
+ getTranslateQueryMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TranslateQuery"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new SqlTranslationServiceMethodDescriptorSupplier("TranslateQuery"))
+ .build();
}
}
}
return getTranslateQueryMethod;
}
- /**
- * Creates a new async stub that supports all call types for the service
- */
+ /** Creates a new async stub that supports all call types for the service */
public static SqlTranslationServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public SqlTranslationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new SqlTranslationServiceStub(channel, callOptions);
- }
- };
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public SqlTranslationServiceStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new SqlTranslationServiceStub(channel, callOptions);
+ }
+ };
return SqlTranslationServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
- public static SqlTranslationServiceBlockingStub newBlockingStub(
- io.grpc.Channel channel) {
+ public static SqlTranslationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public SqlTranslationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new SqlTranslationServiceBlockingStub(channel, callOptions);
- }
- };
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public SqlTranslationServiceBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new SqlTranslationServiceBlockingStub(channel, callOptions);
+ }
+ };
return SqlTranslationServiceBlockingStub.newStub(factory, channel);
}
- /**
- * Creates a new ListenableFuture-style stub that supports unary calls on the service
- */
- public static SqlTranslationServiceFutureStub newFutureStub(
- io.grpc.Channel channel) {
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static SqlTranslationServiceFutureStub newFutureStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public SqlTranslationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new SqlTranslationServiceFutureStub(channel, callOptions);
- }
- };
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public SqlTranslationServiceFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new SqlTranslationServiceFutureStub(channel, callOptions);
+ }
+ };
return SqlTranslationServiceFutureStub.newStub(factory, channel);
}
/**
+ *
+ *
*
* Provides other SQL dialects to GoogleSQL translation operations.
*
*/
- public static abstract class SqlTranslationServiceImplBase implements io.grpc.BindableService {
+ public abstract static class SqlTranslationServiceImplBase implements io.grpc.BindableService {
/**
+ *
+ *
*
* Translates input queries from source dialects to GoogleSQL.
*
*/
- public void translateQuery(com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTranslateQueryMethod(), responseObserver);
+ public void translateQuery(
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getTranslateQueryMethod(), responseObserver);
}
- @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
- getTranslateQueryMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest,
- com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>(
- this, METHODID_TRANSLATE_QUERY)))
+ getTranslateQueryMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest,
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>(
+ this, METHODID_TRANSLATE_QUERY)))
.build();
}
}
/**
+ *
+ *
*
* Provides other SQL dialects to GoogleSQL translation operations.
*
*/
- public static final class SqlTranslationServiceStub extends io.grpc.stub.AbstractAsyncStub {
- private SqlTranslationServiceStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ public static final class SqlTranslationServiceStub
+ extends io.grpc.stub.AbstractAsyncStub {
+ private SqlTranslationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@@ -141,23 +183,33 @@ protected SqlTranslationServiceStub build(
}
/**
+ *
+ *
*
* Translates input queries from source dialects to GoogleSQL.
*
*/
- public void translateQuery(com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
+ public void translateQuery(
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getTranslateQueryMethod(), getCallOptions()), request, responseObserver);
+ getChannel().newCall(getTranslateQueryMethod(), getCallOptions()),
+ request,
+ responseObserver);
}
}
/**
+ *
+ *
*
* Provides other SQL dialects to GoogleSQL translation operations.
*
*/
- public static final class SqlTranslationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
+ public static final class SqlTranslationServiceBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
private SqlTranslationServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
@@ -170,22 +222,28 @@ protected SqlTranslationServiceBlockingStub build(
}
/**
+ *
+ *
*
* Translates input queries from source dialects to GoogleSQL.
*
*/
- public com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse translateQuery(com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request) {
+ public com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse translateQuery(
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getTranslateQueryMethod(), getCallOptions(), request);
}
}
/**
+ *
+ *
*
* Provides other SQL dialects to GoogleSQL translation operations.
*
*/
- public static final class SqlTranslationServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
+ public static final class SqlTranslationServiceFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
private SqlTranslationServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
@@ -198,12 +256,15 @@ protected SqlTranslationServiceFutureStub build(
}
/**
+ *
+ *
*
* Translates input queries from source dialects to GoogleSQL.
*
*/
- public com.google.common.util.concurrent.ListenableFuture translateQuery(
- com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request) {
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>
+ translateQuery(com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getTranslateQueryMethod(), getCallOptions()), request);
}
@@ -211,11 +272,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
- io.grpc.stub.ServerCalls.UnaryMethod,
- io.grpc.stub.ServerCalls.ServerStreamingMethod,
- io.grpc.stub.ServerCalls.ClientStreamingMethod,
- io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private static final class MethodHandlers
+ implements io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final SqlTranslationServiceImplBase serviceImpl;
private final int methodId;
@@ -229,8 +290,11 @@ private static final class MethodHandlers implements
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_TRANSLATE_QUERY:
- serviceImpl.translateQuery((com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
+ serviceImpl.translateQuery(
+ (com.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse>)
+ responseObserver);
break;
default:
throw new AssertionError();
@@ -248,8 +312,9 @@ public io.grpc.stub.StreamObserver invoke(
}
}
- private static abstract class SqlTranslationServiceBaseDescriptorSupplier
- implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ private abstract static class SqlTranslationServiceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
SqlTranslationServiceBaseDescriptorSupplier() {}
@java.lang.Override
@@ -291,10 +356,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
synchronized (SqlTranslationServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
- serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
- .setSchemaDescriptor(new SqlTranslationServiceFileDescriptorSupplier())
- .addMethod(getTranslateQueryMethod())
- .build();
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new SqlTranslationServiceFileDescriptorSupplier())
+ .addMethod(getTranslateQueryMethod())
+ .build();
}
}
}
diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java
deleted file mode 100644
index ab32596..0000000
--- a/owl-bot-staging/v2/grpc-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceGrpc.java
+++ /dev/null
@@ -1,831 +0,0 @@
-package com.google.cloud.bigquery.migration.v2;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- *
- * Service to handle EDW migrations.
- *
- */
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/cloud/bigquery/migration/v2/migration_service.proto")
-@io.grpc.stub.annotations.GrpcGenerated
-public final class MigrationServiceGrpc {
-
- private MigrationServiceGrpc() {}
-
- public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2.MigrationService";
-
- // Static method descriptors that strictly reflect the proto.
- private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod;
- if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow"))
- .build();
- }
- }
- }
- return getCreateMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2.MigrationWorkflow.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getGetMigrationWorkflowMethod;
- if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.MigrationWorkflow.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow"))
- .build();
- }
- }
- }
- return getGetMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows",
- requestType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() {
- io.grpc.MethodDescriptor getListMigrationWorkflowsMethod;
- if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) {
- MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows"))
- .build();
- }
- }
- }
- return getListMigrationWorkflowsMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.class,
- responseType = com.google.protobuf.Empty.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod;
- if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.protobuf.Empty.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow"))
- .build();
- }
- }
- }
- return getDeleteMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.class,
- responseType = com.google.protobuf.Empty.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getStartMigrationWorkflowMethod;
- if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.protobuf.Empty.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow"))
- .build();
- }
- }
- }
- return getStartMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask",
- requestType = com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2.MigrationSubtask.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() {
- io.grpc.MethodDescriptor getGetMigrationSubtaskMethod;
- if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) {
- MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.MigrationSubtask.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask"))
- .build();
- }
- }
- }
- return getGetMigrationSubtaskMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks",
- requestType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() {
- io.grpc.MethodDescriptor getListMigrationSubtasksMethod;
- if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) {
- MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks"))
- .build();
- }
- }
- }
- return getListMigrationSubtasksMethod;
- }
-
- /**
- * Creates a new async stub that supports all call types for the service
- */
- public static MigrationServiceStub newStub(io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceStub(channel, callOptions);
- }
- };
- return MigrationServiceStub.newStub(factory, channel);
- }
-
- /**
- * Creates a new blocking-style stub that supports unary and streaming output calls on the service
- */
- public static MigrationServiceBlockingStub newBlockingStub(
- io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceBlockingStub(channel, callOptions);
- }
- };
- return MigrationServiceBlockingStub.newStub(factory, channel);
- }
-
- /**
- * Creates a new ListenableFuture-style stub that supports unary calls on the service
- */
- public static MigrationServiceFutureStub newFutureStub(
- io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceFutureStub(channel, callOptions);
- }
- };
- return MigrationServiceFutureStub.newStub(factory, channel);
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static abstract class MigrationServiceImplBase implements io.grpc.BindableService {
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver);
- }
-
- @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
- return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
- .addMethod(
- getCreateMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest,
- com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(
- this, METHODID_CREATE_MIGRATION_WORKFLOW)))
- .addMethod(
- getGetMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest,
- com.google.cloud.bigquery.migration.v2.MigrationWorkflow>(
- this, METHODID_GET_MIGRATION_WORKFLOW)))
- .addMethod(
- getListMigrationWorkflowsMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest,
- com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>(
- this, METHODID_LIST_MIGRATION_WORKFLOWS)))
- .addMethod(
- getDeleteMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest,
- com.google.protobuf.Empty>(
- this, METHODID_DELETE_MIGRATION_WORKFLOW)))
- .addMethod(
- getStartMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest,
- com.google.protobuf.Empty>(
- this, METHODID_START_MIGRATION_WORKFLOW)))
- .addMethod(
- getGetMigrationSubtaskMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest,
- com.google.cloud.bigquery.migration.v2.MigrationSubtask>(
- this, METHODID_GET_MIGRATION_SUBTASK)))
- .addMethod(
- getListMigrationSubtasksMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest,
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>(
- this, METHODID_LIST_MIGRATION_SUBTASKS)))
- .build();
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub {
- private MigrationServiceStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver);
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
- private MigrationServiceBlockingStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceBlockingStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceBlockingStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public com.google.cloud.bigquery.migration.v2.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request);
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
- private MigrationServiceFutureStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceFutureStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceFutureStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows(
- com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask(
- com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks(
- com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request);
- }
- }
-
- private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0;
- private static final int METHODID_GET_MIGRATION_WORKFLOW = 1;
- private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2;
- private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3;
- private static final int METHODID_START_MIGRATION_WORKFLOW = 4;
- private static final int METHODID_GET_MIGRATION_SUBTASK = 5;
- private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6;
-
- private static final class MethodHandlers implements
- io.grpc.stub.ServerCalls.UnaryMethod,
- io.grpc.stub.ServerCalls.ServerStreamingMethod,
- io.grpc.stub.ServerCalls.ClientStreamingMethod,
- io.grpc.stub.ServerCalls.BidiStreamingMethod {
- private final MigrationServiceImplBase serviceImpl;
- private final int methodId;
-
- MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) {
- this.serviceImpl = serviceImpl;
- this.methodId = methodId;
- }
-
- @java.lang.Override
- @java.lang.SuppressWarnings("unchecked")
- public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
- switch (methodId) {
- case METHODID_CREATE_MIGRATION_WORKFLOW:
- serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_GET_MIGRATION_WORKFLOW:
- serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_LIST_MIGRATION_WORKFLOWS:
- serviceImpl.listMigrationWorkflows((com.google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_DELETE_MIGRATION_WORKFLOW:
- serviceImpl.deleteMigrationWorkflow((com.google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_START_MIGRATION_WORKFLOW:
- serviceImpl.startMigrationWorkflow((com.google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_GET_MIGRATION_SUBTASK:
- serviceImpl.getMigrationSubtask((com.google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_LIST_MIGRATION_SUBTASKS:
- serviceImpl.listMigrationSubtasks((com.google.cloud.bigquery.migration.v2.ListMigrationSubtasksRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- default:
- throw new AssertionError();
- }
- }
-
- @java.lang.Override
- @java.lang.SuppressWarnings("unchecked")
- public io.grpc.stub.StreamObserver invoke(
- io.grpc.stub.StreamObserver responseObserver) {
- switch (methodId) {
- default:
- throw new AssertionError();
- }
- }
- }
-
- private static abstract class MigrationServiceBaseDescriptorSupplier
- implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
- MigrationServiceBaseDescriptorSupplier() {}
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
- return com.google.cloud.bigquery.migration.v2.MigrationServiceProto.getDescriptor();
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
- return getFileDescriptor().findServiceByName("MigrationService");
- }
- }
-
- private static final class MigrationServiceFileDescriptorSupplier
- extends MigrationServiceBaseDescriptorSupplier {
- MigrationServiceFileDescriptorSupplier() {}
- }
-
- private static final class MigrationServiceMethodDescriptorSupplier
- extends MigrationServiceBaseDescriptorSupplier
- implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
- private final String methodName;
-
- MigrationServiceMethodDescriptorSupplier(String methodName) {
- this.methodName = methodName;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
- return getServiceDescriptor().findMethodByName(methodName);
- }
- }
-
- private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
-
- public static io.grpc.ServiceDescriptor getServiceDescriptor() {
- io.grpc.ServiceDescriptor result = serviceDescriptor;
- if (result == null) {
- synchronized (MigrationServiceGrpc.class) {
- result = serviceDescriptor;
- if (result == null) {
- serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
- .setSchemaDescriptor(new MigrationServiceFileDescriptorSupplier())
- .addMethod(getCreateMigrationWorkflowMethod())
- .addMethod(getGetMigrationWorkflowMethod())
- .addMethod(getListMigrationWorkflowsMethod())
- .addMethod(getDeleteMigrationWorkflowMethod())
- .addMethod(getStartMigrationWorkflowMethod())
- .addMethod(getGetMigrationSubtaskMethod())
- .addMethod(getListMigrationSubtasksMethod())
- .build();
- }
- }
- }
- return result;
- }
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java
deleted file mode 100644
index 6006ad2..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/AzureSynapseDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface AzureSynapseDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.AzureSynapseDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java
deleted file mode 100644
index 3314e59..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/BigQueryDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface BigQueryDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.BigQueryDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java
deleted file mode 100644
index 0dc642c..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/CreateMigrationWorkflowRequestOrBuilder.java
+++ /dev/null
@@ -1,58 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/bigquery/migration/v2/migration_service.proto
-
-package com.google.cloud.bigquery.migration.v2;
-
-public interface CreateMigrationWorkflowRequestOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- * Required. The name of the project to which this migration workflow belongs.
- * Example: `projects/foo/locations/bar`
- *
- *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The parent.
- */
- java.lang.String getParent();
- /**
- *
- * Required. The name of the project to which this migration workflow belongs.
- * Example: `projects/foo/locations/bar`
- *
- *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The bytes for parent.
- */
- com.google.protobuf.ByteString
- getParentBytes();
-
- /**
- *
- * Required. The migration workflow to create.
- *
- *
- * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return Whether the migrationWorkflow field is set.
- */
- boolean hasMigrationWorkflow();
- /**
- *
- * Required. The migration workflow to create.
- *
- *
- * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return The migrationWorkflow.
- */
- com.google.cloud.bigquery.migration.v2.MigrationWorkflow getMigrationWorkflow();
- /**
- *
- * Required. The migration workflow to create.
- *
- *
- * .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder();
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java
deleted file mode 100644
index 891154d..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/DeleteMigrationWorkflowRequestOrBuilder.java
+++ /dev/null
@@ -1,31 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/bigquery/migration/v2/migration_service.proto
-
-package com.google.cloud.bigquery.migration.v2;
-
-public interface DeleteMigrationWorkflowRequestOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.DeleteMigrationWorkflowRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- * Required. The unique identifier for the migration workflow.
- * Example: `projects/123/locations/us/workflows/1234`
- *
- *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- * Required. The unique identifier for the migration workflow.
- * Example: `projects/123/locations/us/workflows/1234`
- *
- *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java
deleted file mode 100644
index 0a23fbc..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/HiveQLDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface HiveQLDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.HiveQLDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java
deleted file mode 100644
index 41b33cf..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java
+++ /dev/null
@@ -1,161 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/bigquery/migration/v2/migration_entities.proto
-
-package com.google.cloud.bigquery.migration.v2;
-
-public final class MigrationEntitiesProto {
- private MigrationEntitiesProto() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_MigrationWorkflow_TasksEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_MigrationTask_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_MigrationTask_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_MigrationSubtask_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n;google/cloud/bigquery/migration/v2/mig" +
- "ration_entities.proto\022\"google.cloud.bigq" +
- "uery.migration.v2\032\037google/api/field_beha" +
- "vior.proto\032\031google/api/resource.proto\032@g" +
- "oogle/cloud/bigquery/migration/v2/migrat" +
- "ion_error_details.proto\032:google/cloud/bi" +
- "gquery/migration/v2/migration_metrics.pr" +
- "oto\032;google/cloud/bigquery/migration/v2/" +
- "translation_config.proto\032\037google/protobu" +
- "f/timestamp.proto\032\036google/rpc/error_deta" +
- "ils.proto\"\363\004\n\021MigrationWorkflow\022\024\n\004name\030" +
- "\001 \001(\tB\006\340A\003\340A\005\022\024\n\014display_name\030\006 \001(\t\022O\n\005t" +
- "asks\030\002 \003(\0132@.google.cloud.bigquery.migra" +
- "tion.v2.MigrationWorkflow.TasksEntry\022O\n\005" +
- "state\030\003 \001(\0162;.google.cloud.bigquery.migr" +
- "ation.v2.MigrationWorkflow.StateB\003\340A\003\022/\n" +
- "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" +
- "estamp\0224\n\020last_update_time\030\005 \001(\0132\032.googl" +
- "e.protobuf.Timestamp\032_\n\nTasksEntry\022\013\n\003ke" +
- "y\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cloud.bi" +
- "gquery.migration.v2.MigrationTask:\0028\001\"Q\n" +
- "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005DRAFT\020\001" +
- "\022\013\n\007RUNNING\020\002\022\n\n\006PAUSED\020\003\022\r\n\tCOMPLETED\020\004" +
- ":u\352Ar\n2bigquerymigration.googleapis.com/" +
- "MigrationWorkflow\022\n\006points\030\004 \003" +
- "(\0132).google.cloud.bigquery.migration.v2." +
- "PointB\003\340A\002\"\212\001\n\005Point\022B\n\010interval\030\001 \001(\01320" +
- ".google.cloud.bigquery.migration.v2.Time" +
- "Interval\022=\n\005value\030\002 \001(\0132..google.cloud.b" +
- "igquery.migration.v2.TypedValue\"v\n\014TimeI" +
- "nterval\0223\n\nstart_time\030\001 \001(\0132\032.google.pro" +
- "tobuf.TimestampB\003\340A\001\0221\n\010end_time\030\002 \001(\0132\032" +
- ".google.protobuf.TimestampB\003\340A\002\"\252\001\n\nType" +
- "dValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_va" +
- "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" +
- "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" +
- "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" +
- "alueB\321\001\n&com.google.cloud.bigquery.migra" +
- "tion.v2B\025MigrationMetricsProtoP\001ZDcloud." +
- "google.com/go/bigquery/migration/apiv2/m" +
- "igrationpb;migrationpb\252\002\"Google.Cloud.Bi" +
- "gQuery.Migration.V2\312\002\"Google\\Cloud\\BigQu" +
- "ery\\Migration\\V2b\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.DistributionProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.MetricProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_bigquery_migration_v2_TimeSeries_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_TimeSeries_descriptor,
- new java.lang.String[] { "Metric", "ValueType", "MetricKind", "Points", });
- internal_static_google_cloud_bigquery_migration_v2_Point_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_bigquery_migration_v2_Point_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_Point_descriptor,
- new java.lang.String[] { "Interval", "Value", });
- internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_bigquery_migration_v2_TimeInterval_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_TimeInterval_descriptor,
- new java.lang.String[] { "StartTime", "EndTime", });
- internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_bigquery_migration_v2_TypedValue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_TypedValue_descriptor,
- new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- com.google.protobuf.Descriptors.FileDescriptor
- .internalUpdateFileDescriptor(descriptor, registry);
- com.google.api.DistributionProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.MetricProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java
deleted file mode 100644
index 7a53d6e..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java
+++ /dev/null
@@ -1,247 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/bigquery/migration/v2/migration_service.proto
-
-package com.google.cloud.bigquery.migration.v2;
-
-public final class MigrationServiceProto {
- private MigrationServiceProto() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n:google/cloud/bigquery/migration/v2/mig" +
- "ration_service.proto\022\"google.cloud.bigqu" +
- "ery.migration.v2\032\034google/api/annotations" +
- ".proto\032\027google/api/client.proto\032\037google/" +
- "api/field_behavior.proto\032\031google/api/res" +
- "ource.proto\032;google/cloud/bigquery/migra" +
- "tion/v2/migration_entities.proto\032\033google" +
- "/protobuf/empty.proto\032 google/protobuf/f" +
- "ield_mask.proto\"\263\001\n\036CreateMigrationWorkf" +
- "lowRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" +
- "tions.googleapis.com/Location\022V\n\022migrati" +
- "on_workflow\030\002 \001(\01325.google.cloud.bigquer" +
- "y.migration.v2.MigrationWorkflowB\003\340A\002\"\226\001" +
- "\n\033GetMigrationWorkflowRequest\022H\n\004name\030\001 " +
- "\001(\tB:\340A\002\372A4\n2bigquerymigration.googleapi" +
- "s.com/MigrationWorkflow\022-\n\tread_mask\030\002 \001" +
- "(\0132\032.google.protobuf.FieldMask\"\260\001\n\035ListM" +
- "igrationWorkflowsRequest\0229\n\006parent\030\001 \001(\t" +
- "B)\340A\002\372A#\n!locations.googleapis.com/Locat" +
- "ion\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf" +
- ".FieldMask\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" +
- "ken\030\004 \001(\t\"\215\001\n\036ListMigrationWorkflowsResp" +
- "onse\022R\n\023migration_workflows\030\001 \003(\01325.goog" +
- "le.cloud.bigquery.migration.v2.Migration" +
- "Workflow\022\027\n\017next_page_token\030\002 \001(\t\"j\n\036Del" +
- "eteMigrationWorkflowRequest\022H\n\004name\030\001 \001(" +
- "\tB:\340A\002\372A4\n2bigquerymigration.googleapis." +
- "com/MigrationWorkflow\"i\n\035StartMigrationW" +
- "orkflowRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bi" +
- "gquerymigration.googleapis.com/Migration" +
- "Workflow\"\231\001\n\032GetMigrationSubtaskRequest\022" +
- "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1bigquerymigration" +
- ".googleapis.com/MigrationSubtask\0222\n\tread" +
- "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" +
- "\003\340A\001\"\344\001\n\034ListMigrationSubtasksRequest\022J\n" +
- "\006parent\030\001 \001(\tB:\340A\002\372A4\n2bigquerymigration" +
- ".googleapis.com/MigrationWorkflow\0222\n\trea" +
- "d_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" +
- "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to" +
- "ken\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\212\001\n\035" +
- "ListMigrationSubtasksResponse\022P\n\022migrati" +
- "on_subtasks\030\001 \003(\01324.google.cloud.bigquer" +
- "y.migration.v2.MigrationSubtask\022\027\n\017next_" +
- "page_token\030\002 \001(\t2\313\014\n\020MigrationService\022\373\001" +
- "\n\027CreateMigrationWorkflow\022B.google.cloud" +
- ".bigquery.migration.v2.CreateMigrationWo" +
- "rkflowRequest\0325.google.cloud.bigquery.mi" +
- "gration.v2.MigrationWorkflow\"e\202\323\344\223\002C\"-/v" +
- "2/{parent=projects/*/locations/*}/workfl" +
- "ows:\022migration_workflow\332A\031parent,migrati" +
- "on_workflow\022\314\001\n\024GetMigrationWorkflow\022?.g" +
- "oogle.cloud.bigquery.migration.v2.GetMig" +
- "rationWorkflowRequest\0325.google.cloud.big" +
- "query.migration.v2.MigrationWorkflow\"<\202\323" +
- "\344\223\002/\022-/v2/{name=projects/*/locations/*/w" +
- "orkflows/*}\332A\004name\022\337\001\n\026ListMigrationWork" +
- "flows\022A.google.cloud.bigquery.migration." +
- "v2.ListMigrationWorkflowsRequest\032B.googl" +
- "e.cloud.bigquery.migration.v2.ListMigrat" +
- "ionWorkflowsResponse\">\202\323\344\223\002/\022-/v2/{paren" +
- "t=projects/*/locations/*}/workflows\332A\006pa" +
- "rent\022\263\001\n\027DeleteMigrationWorkflow\022B.googl" +
- "e.cloud.bigquery.migration.v2.DeleteMigr" +
- "ationWorkflowRequest\032\026.google.protobuf.E" +
- "mpty\"<\202\323\344\223\002/*-/v2/{name=projects/*/locat" +
- "ions/*/workflows/*}\332A\004name\022\272\001\n\026StartMigr" +
- "ationWorkflow\022A.google.cloud.bigquery.mi" +
- "gration.v2.StartMigrationWorkflowRequest" +
- "\032\026.google.protobuf.Empty\"E\202\323\344\223\0028\"3/v2/{n" +
- "ame=projects/*/locations/*/workflows/*}:" +
- "start:\001*\332A\004name\022\324\001\n\023GetMigrationSubtask\022" +
- ">.google.cloud.bigquery.migration.v2.Get" +
- "MigrationSubtaskRequest\0324.google.cloud.b" +
- "igquery.migration.v2.MigrationSubtask\"G\202" +
- "\323\344\223\002:\0228/v2/{name=projects/*/locations/*/" +
- "workflows/*/subtasks/*}\332A\004name\022\347\001\n\025ListM" +
- "igrationSubtasks\022@.google.cloud.bigquery" +
- ".migration.v2.ListMigrationSubtasksReque" +
- "st\032A.google.cloud.bigquery.migration.v2." +
- "ListMigrationSubtasksResponse\"I\202\323\344\223\002:\0228/" +
- "v2/{parent=projects/*/locations/*/workfl" +
- "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" +
- "ration.googleapis.com\322A.https://www.goog" +
- "leapis.com/auth/cloud-platformB\321\001\n&com.g" +
- "oogle.cloud.bigquery.migration.v2B\025Migra" +
- "tionServiceProtoP\001ZDcloud.google.com/go/" +
- "bigquery/migration/apiv2/migrationpb;mig" +
- "rationpb\252\002\"Google.Cloud.BigQuery.Migrati" +
- "on.V2\312\002\"Google\\Cloud\\BigQuery\\Migration\\" +
- "V2b\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- });
- internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_CreateMigrationWorkflowRequest_descriptor,
- new java.lang.String[] { "Parent", "MigrationWorkflow", });
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationWorkflowRequest_descriptor,
- new java.lang.String[] { "Name", "ReadMask", });
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsRequest_descriptor,
- new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", });
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationWorkflowsResponse_descriptor,
- new java.lang.String[] { "MigrationWorkflows", "NextPageToken", });
- internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_DeleteMigrationWorkflowRequest_descriptor,
- new java.lang.String[] { "Name", });
- internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_StartMigrationWorkflowRequest_descriptor,
- new java.lang.String[] { "Name", });
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_GetMigrationSubtaskRequest_descriptor,
- new java.lang.String[] { "Name", "ReadMask", });
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksRequest_descriptor,
- new java.lang.String[] { "Parent", "ReadMask", "PageSize", "PageToken", "Filter", });
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ListMigrationSubtasksResponse_descriptor,
- new java.lang.String[] { "MigrationSubtasks", "NextPageToken", });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.oauthScopes);
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor
- .internalUpdateFileDescriptor(descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.bigquery.migration.v2.MigrationEntitiesProto.getDescriptor();
- com.google.protobuf.EmptyProto.getDescriptor();
- com.google.protobuf.FieldMaskProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MySQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MySQLDialectOrBuilder.java
deleted file mode 100644
index 1fb291c..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MySQLDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface MySQLDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MySQLDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java
deleted file mode 100644
index 459dd4b..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/NetezzaDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface NetezzaDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.NetezzaDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java
deleted file mode 100644
index 3e40ac3..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/OracleDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface OracleDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.OracleDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java
deleted file mode 100644
index a78ea9b..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PostgresqlDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface PostgresqlDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PostgresqlDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java
deleted file mode 100644
index f13daf0..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/PrestoDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface PrestoDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.PrestoDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java
deleted file mode 100644
index e9153fb..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/RedshiftDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface RedshiftDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.RedshiftDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java
deleted file mode 100644
index b8e2cfd..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SQLServerDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface SQLServerDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SQLServerDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java
deleted file mode 100644
index 31b4c4a..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SnowflakeDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface SnowflakeDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SnowflakeDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java
deleted file mode 100644
index 2e4186c..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/SparkSQLDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface SparkSQLDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.SparkSQLDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java
deleted file mode 100644
index 5ce635a..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/StartMigrationWorkflowRequestOrBuilder.java
+++ /dev/null
@@ -1,31 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/bigquery/migration/v2/migration_service.proto
-
-package com.google.cloud.bigquery.migration.v2;
-
-public interface StartMigrationWorkflowRequestOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- * Required. The unique identifier for the migration workflow.
- * Example: `projects/123/locations/us/workflows/1234`
- *
- *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- * Required. The unique identifier for the migration workflow.
- * Example: `projects/123/locations/us/workflows/1234`
- *
- *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java
deleted file mode 100644
index e5386e3..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java
+++ /dev/null
@@ -1,341 +0,0 @@
-// 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;
-
-public final class TranslationConfigProto {
- private TranslationConfigProto() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_MySQLDialect_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_MySQLDialect_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n;google/cloud/bigquery/migration/v2/tra" +
- "nslation_config.proto\022\"google.cloud.bigq" +
- "uery.migration.v2\"\262\003\n\030TranslationConfigD" +
- "etails\022\031\n\017gcs_source_path\030\001 \001(\tH\000\022\031\n\017gcs" +
- "_target_path\030\002 \001(\tH\001\022C\n\016source_dialect\030\003" +
- " \001(\0132+.google.cloud.bigquery.migration.v" +
- "2.Dialect\022C\n\016target_dialect\030\004 \001(\0132+.goog" +
- "le.cloud.bigquery.migration.v2.Dialect\022V" +
- "\n\021name_mapping_list\030\005 \001(\01329.google.cloud" +
- ".bigquery.migration.v2.ObjectNameMapping" +
- "ListH\002\022A\n\nsource_env\030\006 \001(\0132-.google.clou" +
- "d.bigquery.migration.v2.SourceEnvB\021\n\017sou" +
- "rce_locationB\021\n\017target_locationB\025\n\023outpu" +
- "t_name_mapping\"\204\t\n\007Dialect\022O\n\020bigquery_d" +
- "ialect\030\001 \001(\01323.google.cloud.bigquery.mig" +
- "ration.v2.BigQueryDialectH\000\022K\n\016hiveql_di" +
- "alect\030\002 \001(\01321.google.cloud.bigquery.migr" +
- "ation.v2.HiveQLDialectH\000\022O\n\020redshift_dia" +
- "lect\030\003 \001(\01323.google.cloud.bigquery.migra" +
- "tion.v2.RedshiftDialectH\000\022O\n\020teradata_di" +
- "alect\030\004 \001(\01323.google.cloud.bigquery.migr" +
- "ation.v2.TeradataDialectH\000\022K\n\016oracle_dia" +
- "lect\030\005 \001(\01321.google.cloud.bigquery.migra" +
- "tion.v2.OracleDialectH\000\022O\n\020sparksql_dial" +
- "ect\030\006 \001(\01323.google.cloud.bigquery.migrat" +
- "ion.v2.SparkSQLDialectH\000\022Q\n\021snowflake_di" +
- "alect\030\007 \001(\01324.google.cloud.bigquery.migr" +
- "ation.v2.SnowflakeDialectH\000\022M\n\017netezza_d" +
- "ialect\030\010 \001(\01322.google.cloud.bigquery.mig" +
- "ration.v2.NetezzaDialectH\000\022X\n\025azure_syna" +
- "pse_dialect\030\t \001(\01327.google.cloud.bigquer" +
- "y.migration.v2.AzureSynapseDialectH\000\022M\n\017" +
- "vertica_dialect\030\n \001(\01322.google.cloud.big" +
- "query.migration.v2.VerticaDialectH\000\022R\n\022s" +
- "ql_server_dialect\030\013 \001(\01324.google.cloud.b" +
- "igquery.migration.v2.SQLServerDialectH\000\022" +
- "S\n\022postgresql_dialect\030\014 \001(\01325.google.clo" +
- "ud.bigquery.migration.v2.PostgresqlDiale" +
- "ctH\000\022K\n\016presto_dialect\030\r \001(\01321.google.cl" +
- "oud.bigquery.migration.v2.PrestoDialectH" +
- "\000\022I\n\rmysql_dialect\030\016 \001(\01320.google.cloud." +
- "bigquery.migration.v2.MySQLDialectH\000B\017\n\r" +
- "dialect_value\"\021\n\017BigQueryDialect\"\017\n\rHive" +
- "QLDialect\"\021\n\017RedshiftDialect\"\212\001\n\017Teradat" +
- "aDialect\022F\n\004mode\030\001 \001(\01628.google.cloud.bi" +
- "gquery.migration.v2.TeradataDialect.Mode" +
- "\"/\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003SQL\020\001\022" +
- "\010\n\004BTEQ\020\002\"\017\n\rOracleDialect\"\021\n\017SparkSQLDi" +
- "alect\"\022\n\020SnowflakeDialect\"\020\n\016NetezzaDial" +
- "ect\"\025\n\023AzureSynapseDialect\"\020\n\016VerticaDia" +
- "lect\"\022\n\020SQLServerDialect\"\023\n\021PostgresqlDi" +
- "alect\"\017\n\rPrestoDialect\"\016\n\014MySQLDialect\"`" +
- "\n\025ObjectNameMappingList\022G\n\010name_map\030\001 \003(" +
- "\01325.google.cloud.bigquery.migration.v2.O" +
- "bjectNameMapping\"\235\001\n\021ObjectNameMapping\022B" +
- "\n\006source\030\001 \001(\01322.google.cloud.bigquery.m" +
- "igration.v2.NameMappingKey\022D\n\006target\030\002 \001" +
- "(\01324.google.cloud.bigquery.migration.v2." +
- "NameMappingValue\"\253\002\n\016NameMappingKey\022E\n\004t" +
- "ype\030\001 \001(\01627.google.cloud.bigquery.migrat" +
- "ion.v2.NameMappingKey.Type\022\020\n\010database\030\002" +
- " \001(\t\022\016\n\006schema\030\003 \001(\t\022\020\n\010relation\030\004 \001(\t\022\021" +
- "\n\tattribute\030\005 \001(\t\"\212\001\n\004Type\022\024\n\020TYPE_UNSPE" +
- "CIFIED\020\000\022\014\n\010DATABASE\020\001\022\n\n\006SCHEMA\020\002\022\014\n\010RE" +
- "LATION\020\003\022\r\n\tATTRIBUTE\020\004\022\022\n\016RELATION_ALIA" +
- "S\020\005\022\023\n\017ATTRIBUTE_ALIAS\020\006\022\014\n\010FUNCTION\020\007\"Y" +
- "\n\020NameMappingValue\022\020\n\010database\030\001 \001(\t\022\016\n\006" +
- "schema\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattrib" +
- "ute\030\004 \001(\t\"A\n\tSourceEnv\022\030\n\020default_databa" +
- "se\030\001 \001(\t\022\032\n\022schema_search_path\030\002 \003(\tB\322\001\n" +
- "&com.google.cloud.bigquery.migration.v2B" +
- "\026TranslationConfigProtoP\001ZDcloud.google." +
- "com/go/bigquery/migration/apiv2/migratio" +
- "npb;migrationpb\252\002\"Google.Cloud.BigQuery." +
- "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" +
- "ration\\V2b\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- });
- internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_TranslationConfigDetails_descriptor,
- new java.lang.String[] { "GcsSourcePath", "GcsTargetPath", "SourceDialect", "TargetDialect", "NameMappingList", "SourceEnv", "SourceLocation", "TargetLocation", "OutputNameMapping", });
- internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_bigquery_migration_v2_Dialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_Dialect_descriptor,
- new java.lang.String[] { "BigqueryDialect", "HiveqlDialect", "RedshiftDialect", "TeradataDialect", "OracleDialect", "SparksqlDialect", "SnowflakeDialect", "NetezzaDialect", "AzureSynapseDialect", "VerticaDialect", "SqlServerDialect", "PostgresqlDialect", "PrestoDialect", "MysqlDialect", "DialectValue", });
- internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_BigQueryDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_HiveQLDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_RedshiftDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_TeradataDialect_descriptor,
- new java.lang.String[] { "Mode", });
- internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_bigquery_migration_v2_OracleDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_OracleDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_SparkSQLDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_SnowflakeDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_NetezzaDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor =
- getDescriptor().getMessageTypes().get(10);
- internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_AzureSynapseDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor =
- getDescriptor().getMessageTypes().get(11);
- internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_VerticaDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor =
- getDescriptor().getMessageTypes().get(12);
- internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_SQLServerDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor =
- getDescriptor().getMessageTypes().get(13);
- internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_PostgresqlDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor =
- getDescriptor().getMessageTypes().get(14);
- internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_PrestoDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_MySQLDialect_descriptor =
- getDescriptor().getMessageTypes().get(15);
- internal_static_google_cloud_bigquery_migration_v2_MySQLDialect_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_MySQLDialect_descriptor,
- new java.lang.String[] { });
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor =
- getDescriptor().getMessageTypes().get(16);
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMappingList_descriptor,
- new java.lang.String[] { "NameMap", });
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor =
- getDescriptor().getMessageTypes().get(17);
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_ObjectNameMapping_descriptor,
- new java.lang.String[] { "Source", "Target", });
- internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor =
- getDescriptor().getMessageTypes().get(18);
- internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_NameMappingKey_descriptor,
- new java.lang.String[] { "Type", "Database", "Schema", "Relation", "Attribute", });
- internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor =
- getDescriptor().getMessageTypes().get(19);
- internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_NameMappingValue_descriptor,
- new java.lang.String[] { "Database", "Schema", "Relation", "Attribute", });
- internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor =
- getDescriptor().getMessageTypes().get(20);
- internal_static_google_cloud_bigquery_migration_v2_SourceEnv_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_bigquery_migration_v2_SourceEnv_descriptor,
- new java.lang.String[] { "DefaultDatabase", "SchemaSearchPath", });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java
deleted file mode 100644
index 2260e58..0000000
--- a/owl-bot-staging/v2/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/VerticaDialectOrBuilder.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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;
-
-public interface VerticaDialectOrBuilder extends
- // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.VerticaDialect)
- com.google.protobuf.MessageOrBuilder {
-}
diff --git a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java b/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java
deleted file mode 100644
index bea6c3b..0000000
--- a/owl-bot-staging/v2alpha/grpc-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceGrpc.java
+++ /dev/null
@@ -1,831 +0,0 @@
-package com.google.cloud.bigquery.migration.v2alpha;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- *
- * Service to handle EDW migrations.
- *
- */
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/cloud/bigquery/migration/v2alpha/migration_service.proto")
-@io.grpc.stub.annotations.GrpcGenerated
-public final class MigrationServiceGrpc {
-
- private MigrationServiceGrpc() {}
-
- public static final String SERVICE_NAME = "google.cloud.bigquery.migration.v2alpha.MigrationService";
-
- // Static method descriptors that strictly reflect the proto.
- private static volatile io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "CreateMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getCreateMigrationWorkflowMethod;
- if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getCreateMigrationWorkflowMethod = MigrationServiceGrpc.getCreateMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getCreateMigrationWorkflowMethod = getCreateMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("CreateMigrationWorkflow"))
- .build();
- }
- }
- }
- return getCreateMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getGetMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "GetMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getGetMigrationWorkflowMethod;
- if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getGetMigrationWorkflowMethod = MigrationServiceGrpc.getGetMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getGetMigrationWorkflowMethod = getGetMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationWorkflow"))
- .build();
- }
- }
- }
- return getGetMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getListMigrationWorkflowsMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "ListMigrationWorkflows",
- requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getListMigrationWorkflowsMethod() {
- io.grpc.MethodDescriptor getListMigrationWorkflowsMethod;
- if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getListMigrationWorkflowsMethod = MigrationServiceGrpc.getListMigrationWorkflowsMethod) == null) {
- MigrationServiceGrpc.getListMigrationWorkflowsMethod = getListMigrationWorkflowsMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationWorkflows"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationWorkflows"))
- .build();
- }
- }
- }
- return getListMigrationWorkflowsMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "DeleteMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.class,
- responseType = com.google.protobuf.Empty.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getDeleteMigrationWorkflowMethod;
- if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getDeleteMigrationWorkflowMethod = MigrationServiceGrpc.getDeleteMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getDeleteMigrationWorkflowMethod = getDeleteMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.protobuf.Empty.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("DeleteMigrationWorkflow"))
- .build();
- }
- }
- }
- return getDeleteMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getStartMigrationWorkflowMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "StartMigrationWorkflow",
- requestType = com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.class,
- responseType = com.google.protobuf.Empty.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getStartMigrationWorkflowMethod() {
- io.grpc.MethodDescriptor getStartMigrationWorkflowMethod;
- if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getStartMigrationWorkflowMethod = MigrationServiceGrpc.getStartMigrationWorkflowMethod) == null) {
- MigrationServiceGrpc.getStartMigrationWorkflowMethod = getStartMigrationWorkflowMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigrationWorkflow"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.protobuf.Empty.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("StartMigrationWorkflow"))
- .build();
- }
- }
- }
- return getStartMigrationWorkflowMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getGetMigrationSubtaskMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "GetMigrationSubtask",
- requestType = com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetMigrationSubtaskMethod() {
- io.grpc.MethodDescriptor getGetMigrationSubtaskMethod;
- if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getGetMigrationSubtaskMethod = MigrationServiceGrpc.getGetMigrationSubtaskMethod) == null) {
- MigrationServiceGrpc.getGetMigrationSubtaskMethod = getGetMigrationSubtaskMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigrationSubtask"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("GetMigrationSubtask"))
- .build();
- }
- }
- }
- return getGetMigrationSubtaskMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getListMigrationSubtasksMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "ListMigrationSubtasks",
- requestType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.class,
- responseType = com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getListMigrationSubtasksMethod() {
- io.grpc.MethodDescriptor getListMigrationSubtasksMethod;
- if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) {
- synchronized (MigrationServiceGrpc.class) {
- if ((getListMigrationSubtasksMethod = MigrationServiceGrpc.getListMigrationSubtasksMethod) == null) {
- MigrationServiceGrpc.getListMigrationSubtasksMethod = getListMigrationSubtasksMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigrationSubtasks"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse.getDefaultInstance()))
- .setSchemaDescriptor(new MigrationServiceMethodDescriptorSupplier("ListMigrationSubtasks"))
- .build();
- }
- }
- }
- return getListMigrationSubtasksMethod;
- }
-
- /**
- * Creates a new async stub that supports all call types for the service
- */
- public static MigrationServiceStub newStub(io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceStub(channel, callOptions);
- }
- };
- return MigrationServiceStub.newStub(factory, channel);
- }
-
- /**
- * Creates a new blocking-style stub that supports unary and streaming output calls on the service
- */
- public static MigrationServiceBlockingStub newBlockingStub(
- io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceBlockingStub(channel, callOptions);
- }
- };
- return MigrationServiceBlockingStub.newStub(factory, channel);
- }
-
- /**
- * Creates a new ListenableFuture-style stub that supports unary calls on the service
- */
- public static MigrationServiceFutureStub newFutureStub(
- io.grpc.Channel channel) {
- io.grpc.stub.AbstractStub.StubFactory factory =
- new io.grpc.stub.AbstractStub.StubFactory() {
- @java.lang.Override
- public MigrationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceFutureStub(channel, callOptions);
- }
- };
- return MigrationServiceFutureStub.newStub(factory, channel);
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static abstract class MigrationServiceImplBase implements io.grpc.BindableService {
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationWorkflowsMethod(), responseObserver);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationWorkflowMethod(), responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigrationSubtaskMethod(), responseObserver);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigrationSubtasksMethod(), responseObserver);
- }
-
- @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
- return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
- .addMethod(
- getCreateMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest,
- com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(
- this, METHODID_CREATE_MIGRATION_WORKFLOW)))
- .addMethod(
- getGetMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest,
- com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>(
- this, METHODID_GET_MIGRATION_WORKFLOW)))
- .addMethod(
- getListMigrationWorkflowsMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest,
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>(
- this, METHODID_LIST_MIGRATION_WORKFLOWS)))
- .addMethod(
- getDeleteMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest,
- com.google.protobuf.Empty>(
- this, METHODID_DELETE_MIGRATION_WORKFLOW)))
- .addMethod(
- getStartMigrationWorkflowMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest,
- com.google.protobuf.Empty>(
- this, METHODID_START_MIGRATION_WORKFLOW)))
- .addMethod(
- getGetMigrationSubtaskMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest,
- com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>(
- this, METHODID_GET_MIGRATION_SUBTASK)))
- .addMethod(
- getListMigrationSubtasksMethod(),
- io.grpc.stub.ServerCalls.asyncUnaryCall(
- new MethodHandlers<
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest,
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>(
- this, METHODID_LIST_MIGRATION_SUBTASKS)))
- .build();
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub {
- private MigrationServiceStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public void createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public void getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public void listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public void deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public void startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public void getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public void listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request, responseObserver);
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
- private MigrationServiceBlockingStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceBlockingStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceBlockingStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow createMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getCreateMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow getMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse listMigrationWorkflows(com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getListMigrationWorkflowsMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public com.google.protobuf.Empty deleteMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getDeleteMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public com.google.protobuf.Empty startMigrationWorkflow(com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getStartMigrationWorkflowMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask getMigrationSubtask(com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetMigrationSubtaskMethod(), getCallOptions(), request);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse listMigrationSubtasks(com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getListMigrationSubtasksMethod(), getCallOptions(), request);
- }
- }
-
- /**
- *
- * Service to handle EDW migrations.
- *
- */
- public static final class MigrationServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
- private MigrationServiceFutureStub(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- super(channel, callOptions);
- }
-
- @java.lang.Override
- protected MigrationServiceFutureStub build(
- io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
- return new MigrationServiceFutureStub(channel, callOptions);
- }
-
- /**
- *
- * Creates a migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture createMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getCreateMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Gets a previously created migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture getMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Lists previously created migration workflow.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture listMigrationWorkflows(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getListMigrationWorkflowsMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Deletes a migration workflow by name.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture deleteMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2alpha.DeleteMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getDeleteMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Starts a previously created migration workflow. I.e., the state transitions
- * from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
- * An error will be signaled if the state is anything other than DRAFT or
- * RUNNING.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture startMigrationWorkflow(
- com.google.cloud.bigquery.migration.v2alpha.StartMigrationWorkflowRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getStartMigrationWorkflowMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Gets a previously created migration subtask.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture getMigrationSubtask(
- com.google.cloud.bigquery.migration.v2alpha.GetMigrationSubtaskRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetMigrationSubtaskMethod(), getCallOptions()), request);
- }
-
- /**
- *
- * Lists previously created migration subtasks.
- *
- */
- public com.google.common.util.concurrent.ListenableFuture listMigrationSubtasks(
- com.google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getListMigrationSubtasksMethod(), getCallOptions()), request);
- }
- }
-
- private static final int METHODID_CREATE_MIGRATION_WORKFLOW = 0;
- private static final int METHODID_GET_MIGRATION_WORKFLOW = 1;
- private static final int METHODID_LIST_MIGRATION_WORKFLOWS = 2;
- private static final int METHODID_DELETE_MIGRATION_WORKFLOW = 3;
- private static final int METHODID_START_MIGRATION_WORKFLOW = 4;
- private static final int METHODID_GET_MIGRATION_SUBTASK = 5;
- private static final int METHODID_LIST_MIGRATION_SUBTASKS = 6;
-
- private static final class MethodHandlers implements
- io.grpc.stub.ServerCalls.UnaryMethod,
- io.grpc.stub.ServerCalls.ServerStreamingMethod,
- io.grpc.stub.ServerCalls.ClientStreamingMethod,
- io.grpc.stub.ServerCalls.BidiStreamingMethod {
- private final MigrationServiceImplBase serviceImpl;
- private final int methodId;
-
- MethodHandlers(MigrationServiceImplBase serviceImpl, int methodId) {
- this.serviceImpl = serviceImpl;
- this.methodId = methodId;
- }
-
- @java.lang.Override
- @java.lang.SuppressWarnings("unchecked")
- public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
- switch (methodId) {
- case METHODID_CREATE_MIGRATION_WORKFLOW:
- serviceImpl.createMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
- case METHODID_GET_MIGRATION_WORKFLOW:
- serviceImpl.getMigrationWorkflow((com.google.cloud.bigquery.migration.v2alpha.GetMigrationWorkflowRequest) request,
- (io.grpc.stub.StreamObserver