pages, int collectionSize) {
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
similarity index 97%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
index f7262b1a..c300817a 100644
--- a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java
@@ -35,7 +35,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
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.datastream.v1.stub.DatastreamStubSettings;
@@ -56,9 +55,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (datastream.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (datastream.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -87,7 +86,8 @@ public class DatastreamSettings extends ClientSettings {
/** Returns the object with the settings used for calls to listConnectionProfiles. */
public PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return ((DatastreamStubSettings) getStubSettings()).listConnectionProfilesSettings();
@@ -241,7 +241,8 @@ public UnaryCallSettings lookupStreamOb
/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return ((DatastreamStubSettings) getStubSettings()).listPrivateConnectionsSettings();
@@ -419,7 +420,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listConnectionProfiles. */
public PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return getStubSettingsBuilder().listConnectionProfilesSettings();
@@ -580,7 +582,8 @@ public UnaryCallSettings.Builder deleteStreamSet
/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return getStubSettingsBuilder().listPrivateConnectionsSettings();
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
similarity index 98%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
index 7d2bde58..6114d9a9 100644
--- a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java
@@ -115,9 +115,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (datastream.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (datastream.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -148,7 +148,8 @@ public class DatastreamStubSettings extends StubSettings
ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build();
private final PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings;
private final UnaryCallSettings
@@ -203,7 +204,8 @@ public class DatastreamStubSettings extends StubSettings
private final UnaryCallSettings
getPrivateConnectionSettings;
private final PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings;
private final UnaryCallSettings
@@ -496,11 +498,13 @@ public Iterable extractResources(ListLocationsResponse payload) {
};
private static final PagedListResponseFactory<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
LIST_CONNECTION_PROFILES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -510,7 +514,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ConnectionProfile>
pageContext =
PageContext.create(
@@ -540,7 +545,8 @@ public ApiFuture getFuturePagedResponse(
ListStreamObjectsRequest, ListStreamObjectsResponse, ListStreamObjectsPagedResponse>
LIST_STREAM_OBJECTS_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListStreamObjectsRequest, ListStreamObjectsResponse,
+ ListStreamObjectsRequest,
+ ListStreamObjectsResponse,
ListStreamObjectsPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -574,11 +580,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
LIST_PRIVATE_CONNECTIONS_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -588,7 +596,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
PrivateConnection>
pageContext =
PageContext.create(
@@ -633,7 +642,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listConnectionProfiles. */
public PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return listConnectionProfilesSettings;
@@ -787,7 +797,8 @@ public UnaryCallSettings lookupStreamOb
/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return listPrivateConnectionsSettings;
@@ -1003,7 +1014,8 @@ protected DatastreamStubSettings(Builder settingsBuilder) throws IOException {
public static class Builder extends StubSettings.Builder {
private final ImmutableList> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings;
private final UnaryCallSettings.Builder
@@ -1061,7 +1073,8 @@ public static class Builder extends StubSettings.Builder
getPrivateConnectionSettings;
private final PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings;
private final UnaryCallSettings.Builder
@@ -1700,7 +1713,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listConnectionProfiles. */
public PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return listConnectionProfilesSettings;
@@ -1875,7 +1889,8 @@ public UnaryCallSettings.Builder deleteStreamSet
/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return listPrivateConnectionsSettings;
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java
similarity index 99%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java
index 0bb962fa..35aae842 100644
--- a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java
@@ -82,7 +82,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/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
similarity index 99%
rename from owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
index 5500115e..93b28d2e 100644
--- a/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java
@@ -36,7 +36,6 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
similarity index 98%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
index 4dde6d3f..2a9f640b 100644
--- a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java
@@ -63,13 +63,13 @@
* methods:
*
*
- * - A "flattened" method. With this type of method, the fields of the request type have been
+ *
- A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
- *
- A "request object" method. This type of method only takes one parameter, a request object,
+ *
- A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
- *
- A "callable" method. This type of method takes no parameters and returns an immutable API
+ *
- A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
*
*
@@ -2973,8 +2973,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
public static class ListConnectionProfilesPagedResponse
extends AbstractPagedListResponse<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
- ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> {
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
+ ConnectionProfile,
+ ListConnectionProfilesPage,
+ ListConnectionProfilesFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext<
@@ -2996,7 +2999,9 @@ private ListConnectionProfilesPagedResponse(ListConnectionProfilesPage page) {
public static class ListConnectionProfilesPage
extends AbstractPage<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
+ ConnectionProfile,
ListConnectionProfilesPage> {
private ListConnectionProfilesPage(
@@ -3032,8 +3037,11 @@ public ApiFuture createPageAsync(
public static class ListConnectionProfilesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
- ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> {
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
+ ConnectionProfile,
+ ListConnectionProfilesPage,
+ ListConnectionProfilesFixedSizeCollection> {
private ListConnectionProfilesFixedSizeCollection(
List pages, int collectionSize) {
@@ -3053,7 +3061,10 @@ protected ListConnectionProfilesFixedSizeCollection createCollection(
public static class ListStreamsPagedResponse
extends AbstractPagedListResponse<
- ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage,
+ ListStreamsRequest,
+ ListStreamsResponse,
+ Stream,
+ ListStreamsPage,
ListStreamsFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -3100,7 +3111,10 @@ public ApiFuture createPageAsync(
public static class ListStreamsFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage,
+ ListStreamsRequest,
+ ListStreamsResponse,
+ Stream,
+ ListStreamsPage,
ListStreamsFixedSizeCollection> {
private ListStreamsFixedSizeCollection(List pages, int collectionSize) {
@@ -3120,7 +3134,10 @@ protected ListStreamsFixedSizeCollection createCollection(
public static class FetchStaticIpsPagedResponse
extends AbstractPagedListResponse<
- FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage,
+ FetchStaticIpsRequest,
+ FetchStaticIpsResponse,
+ String,
+ FetchStaticIpsPage,
FetchStaticIpsFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -3170,7 +3187,10 @@ public ApiFuture createPageAsync(
public static class FetchStaticIpsFixedSizeCollection
extends AbstractFixedSizeCollection<
- FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage,
+ FetchStaticIpsRequest,
+ FetchStaticIpsResponse,
+ String,
+ FetchStaticIpsPage,
FetchStaticIpsFixedSizeCollection> {
private FetchStaticIpsFixedSizeCollection(List pages, int collectionSize) {
@@ -3190,8 +3210,11 @@ protected FetchStaticIpsFixedSizeCollection createCollection(
public static class ListPrivateConnectionsPagedResponse
extends AbstractPagedListResponse<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
- ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> {
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
+ PrivateConnection,
+ ListPrivateConnectionsPage,
+ ListPrivateConnectionsFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext<
@@ -3213,7 +3236,9 @@ private ListPrivateConnectionsPagedResponse(ListPrivateConnectionsPage page) {
public static class ListPrivateConnectionsPage
extends AbstractPage<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
+ PrivateConnection,
ListPrivateConnectionsPage> {
private ListPrivateConnectionsPage(
@@ -3249,8 +3274,11 @@ public ApiFuture createPageAsync(
public static class ListPrivateConnectionsFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
- ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> {
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
+ PrivateConnection,
+ ListPrivateConnectionsPage,
+ ListPrivateConnectionsFixedSizeCollection> {
private ListPrivateConnectionsFixedSizeCollection(
List pages, int collectionSize) {
@@ -3270,7 +3298,10 @@ protected ListPrivateConnectionsFixedSizeCollection createCollection(
public static class ListRoutesPagedResponse
extends AbstractPagedListResponse<
- ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage,
+ ListRoutesRequest,
+ ListRoutesResponse,
+ Route,
+ ListRoutesPage,
ListRoutesFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -3317,7 +3348,10 @@ public ApiFuture createPageAsync(
public static class ListRoutesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage,
+ ListRoutesRequest,
+ ListRoutesResponse,
+ Route,
+ ListRoutesPage,
ListRoutesFixedSizeCollection> {
private ListRoutesFixedSizeCollection(List pages, int collectionSize) {
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
similarity index 97%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
index 122b203e..bd0a8f98 100644
--- a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java
@@ -33,7 +33,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
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.datastream.v1alpha1.stub.DatastreamStubSettings;
@@ -50,9 +49,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (datastream.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (datastream.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -82,7 +81,8 @@ public class DatastreamSettings extends ClientSettings {
/** Returns the object with the settings used for calls to listConnectionProfiles. */
public PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return ((DatastreamStubSettings) getStubSettings()).listConnectionProfilesSettings();
@@ -218,7 +218,8 @@ public UnaryCallSettings fetchErrorsSettings() {
/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return ((DatastreamStubSettings) getStubSettings()).listPrivateConnectionsSettings();
@@ -385,7 +386,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listConnectionProfiles. */
public PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return getStubSettingsBuilder().listConnectionProfilesSettings();
@@ -526,7 +528,8 @@ public UnaryCallSettings.Builder fetchErrorsSetti
/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return getStubSettingsBuilder().listPrivateConnectionsSettings();
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
similarity index 98%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
index 115901d8..09435df8 100644
--- a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
@@ -102,9 +102,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (datastream.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (datastream.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -136,7 +136,8 @@ public class DatastreamStubSettings extends StubSettings
ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build();
private final PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings;
private final UnaryCallSettings
@@ -184,7 +185,8 @@ public class DatastreamStubSettings extends StubSettings
private final UnaryCallSettings
getPrivateConnectionSettings;
private final PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings;
private final UnaryCallSettings
@@ -397,11 +399,13 @@ public Iterable extractResources(ListRoutesResponse payload) {
};
private static final PagedListResponseFactory<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
LIST_CONNECTION_PROFILES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -411,7 +415,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ConnectionProfile>
pageContext =
PageContext.create(
@@ -455,11 +460,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
LIST_PRIVATE_CONNECTIONS_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -469,7 +476,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
PrivateConnection>
pageContext =
PageContext.create(
@@ -497,7 +505,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listConnectionProfiles. */
public PagedCallSettings<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return listConnectionProfilesSettings;
@@ -633,7 +642,8 @@ public UnaryCallSettings fetchErrorsSettings() {
/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return listPrivateConnectionsSettings;
@@ -833,7 +843,8 @@ protected DatastreamStubSettings(Builder settingsBuilder) throws IOException {
public static class Builder extends StubSettings.Builder {
private final ImmutableList> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings;
private final UnaryCallSettings.Builder
@@ -884,7 +895,8 @@ public static class Builder extends StubSettings.Builder
getPrivateConnectionSettings;
private final PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings;
private final UnaryCallSettings.Builder
@@ -1490,7 +1502,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listConnectionProfiles. */
public PagedCallSettings.Builder<
- ListConnectionProfilesRequest, ListConnectionProfilesResponse,
+ ListConnectionProfilesRequest,
+ ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return listConnectionProfilesSettings;
@@ -1647,7 +1660,8 @@ public UnaryCallSettings.Builder fetchErrorsSetti
/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
- ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
+ ListPrivateConnectionsRequest,
+ ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return listPrivateConnectionsSettings;
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java
similarity index 99%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java
index f3d278fa..5379c0ad 100644
--- a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java
@@ -70,7 +70,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/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
similarity index 99%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
rename to google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
index ac1e165a..3a1a643d 100644
--- a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java
@@ -34,7 +34,6 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java
diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java
diff --git a/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java
similarity index 100%
rename from owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java
rename to google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java
diff --git a/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java b/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java
new file mode 100644
index 00000000..c537dd31
--- /dev/null
+++ b/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java
@@ -0,0 +1,3220 @@
+/*
+ * 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.datastream.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/datastream/v1/datastream.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class DatastreamGrpc {
+
+ private DatastreamGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.datastream.v1.Datastream";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles",
+ requestType = com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class,
+ responseType = com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod;
+ if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod)
+ == null) {
+ DatastreamGrpc.getListConnectionProfilesMethod =
+ getListConnectionProfilesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("ListConnectionProfiles"))
+ .build();
+ }
+ }
+ }
+ return getListConnectionProfilesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1.ConnectionProfile>
+ getGetConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile",
+ requestType = com.google.cloud.datastream.v1.GetConnectionProfileRequest.class,
+ responseType = com.google.cloud.datastream.v1.ConnectionProfile.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1.ConnectionProfile>
+ getGetConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1.ConnectionProfile>
+ getGetConnectionProfileMethod;
+ if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getGetConnectionProfileMethod =
+ getGetConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ConnectionProfile
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("GetConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getGetConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile",
+ requestType = com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod;
+ if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getCreateConnectionProfileMethod =
+ getCreateConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("CreateConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getCreateConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile",
+ requestType = com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod;
+ if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getUpdateConnectionProfileMethod =
+ getUpdateConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getUpdateConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile",
+ requestType = com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod;
+ if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getDeleteConnectionProfileMethod =
+ getDeleteConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getDeleteConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile",
+ requestType = com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class,
+ responseType = com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod;
+ if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getDiscoverConnectionProfileMethod =
+ getDiscoverConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getDiscoverConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamsRequest,
+ com.google.cloud.datastream.v1.ListStreamsResponse>
+ getListStreamsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListStreams",
+ requestType = com.google.cloud.datastream.v1.ListStreamsRequest.class,
+ responseType = com.google.cloud.datastream.v1.ListStreamsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamsRequest,
+ com.google.cloud.datastream.v1.ListStreamsResponse>
+ getListStreamsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamsRequest,
+ com.google.cloud.datastream.v1.ListStreamsResponse>
+ getListStreamsMethod;
+ if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) {
+ DatastreamGrpc.getListStreamsMethod =
+ getListStreamsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListStreamsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListStreamsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams"))
+ .build();
+ }
+ }
+ }
+ return getListStreamsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream>
+ getGetStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetStream",
+ requestType = com.google.cloud.datastream.v1.GetStreamRequest.class,
+ responseType = com.google.cloud.datastream.v1.Stream.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream>
+ getGetStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream>
+ getGetStreamMethod;
+ if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) {
+ DatastreamGrpc.getGetStreamMethod =
+ getGetStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.GetStreamRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.Stream.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream"))
+ .build();
+ }
+ }
+ }
+ return getGetStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation>
+ getCreateStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateStream",
+ requestType = com.google.cloud.datastream.v1.CreateStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation>
+ getCreateStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation>
+ getCreateStreamMethod;
+ if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) {
+ DatastreamGrpc.getCreateStreamMethod =
+ getCreateStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.CreateStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream"))
+ .build();
+ }
+ }
+ }
+ return getCreateStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation>
+ getUpdateStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateStream",
+ requestType = com.google.cloud.datastream.v1.UpdateStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation>
+ getUpdateStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation>
+ getUpdateStreamMethod;
+ if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) {
+ DatastreamGrpc.getUpdateStreamMethod =
+ getUpdateStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.UpdateStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream"))
+ .build();
+ }
+ }
+ }
+ return getUpdateStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation>
+ getDeleteStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteStream",
+ requestType = com.google.cloud.datastream.v1.DeleteStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation>
+ getDeleteStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation>
+ getDeleteStreamMethod;
+ if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) {
+ DatastreamGrpc.getDeleteStreamMethod =
+ getDeleteStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DeleteStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream"))
+ .build();
+ }
+ }
+ }
+ return getDeleteStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getGetStreamObjectMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetStreamObject",
+ requestType = com.google.cloud.datastream.v1.GetStreamObjectRequest.class,
+ responseType = com.google.cloud.datastream.v1.StreamObject.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getGetStreamObjectMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getGetStreamObjectMethod;
+ if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) {
+ DatastreamGrpc.getGetStreamObjectMethod =
+ getGetStreamObjectMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStreamObject"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.GetStreamObjectRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("GetStreamObject"))
+ .build();
+ }
+ }
+ }
+ return getGetStreamObjectMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getLookupStreamObjectMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "LookupStreamObject",
+ requestType = com.google.cloud.datastream.v1.LookupStreamObjectRequest.class,
+ responseType = com.google.cloud.datastream.v1.StreamObject.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getLookupStreamObjectMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>
+ getLookupStreamObjectMethod;
+ if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) {
+ DatastreamGrpc.getLookupStreamObjectMethod =
+ getLookupStreamObjectMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupStreamObject"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("LookupStreamObject"))
+ .build();
+ }
+ }
+ }
+ return getLookupStreamObjectMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest,
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>
+ getListStreamObjectsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListStreamObjects",
+ requestType = com.google.cloud.datastream.v1.ListStreamObjectsRequest.class,
+ responseType = com.google.cloud.datastream.v1.ListStreamObjectsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest,
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>
+ getListStreamObjectsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest,
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>
+ getListStreamObjectsMethod;
+ if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) {
+ DatastreamGrpc.getListStreamObjectsMethod =
+ getListStreamObjectsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreamObjects"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("ListStreamObjects"))
+ .build();
+ }
+ }
+ }
+ return getListStreamObjectsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StartBackfillJobRequest,
+ com.google.cloud.datastream.v1.StartBackfillJobResponse>
+ getStartBackfillJobMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "StartBackfillJob",
+ requestType = com.google.cloud.datastream.v1.StartBackfillJobRequest.class,
+ responseType = com.google.cloud.datastream.v1.StartBackfillJobResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StartBackfillJobRequest,
+ com.google.cloud.datastream.v1.StartBackfillJobResponse>
+ getStartBackfillJobMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StartBackfillJobRequest,
+ com.google.cloud.datastream.v1.StartBackfillJobResponse>
+ getStartBackfillJobMethod;
+ if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) {
+ DatastreamGrpc.getStartBackfillJobMethod =
+ getStartBackfillJobMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartBackfillJob"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StartBackfillJobRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StartBackfillJobResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("StartBackfillJob"))
+ .build();
+ }
+ }
+ }
+ return getStartBackfillJobMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StopBackfillJobRequest,
+ com.google.cloud.datastream.v1.StopBackfillJobResponse>
+ getStopBackfillJobMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "StopBackfillJob",
+ requestType = com.google.cloud.datastream.v1.StopBackfillJobRequest.class,
+ responseType = com.google.cloud.datastream.v1.StopBackfillJobResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StopBackfillJobRequest,
+ com.google.cloud.datastream.v1.StopBackfillJobResponse>
+ getStopBackfillJobMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.StopBackfillJobRequest,
+ com.google.cloud.datastream.v1.StopBackfillJobResponse>
+ getStopBackfillJobMethod;
+ if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) {
+ DatastreamGrpc.getStopBackfillJobMethod =
+ getStopBackfillJobMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopBackfillJob"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StopBackfillJobRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.StopBackfillJobResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("StopBackfillJob"))
+ .build();
+ }
+ }
+ }
+ return getStopBackfillJobMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps",
+ requestType = com.google.cloud.datastream.v1.FetchStaticIpsRequest.class,
+ responseType = com.google.cloud.datastream.v1.FetchStaticIpsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod;
+ if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) {
+ DatastreamGrpc.getFetchStaticIpsMethod =
+ getFetchStaticIpsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps"))
+ .build();
+ }
+ }
+ }
+ return getFetchStaticIpsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection",
+ requestType = com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod;
+ if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getCreatePrivateConnectionMethod =
+ getCreatePrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("CreatePrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getCreatePrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1.PrivateConnection>
+ getGetPrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection",
+ requestType = com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class,
+ responseType = com.google.cloud.datastream.v1.PrivateConnection.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1.PrivateConnection>
+ getGetPrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1.PrivateConnection>
+ getGetPrivateConnectionMethod;
+ if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getGetPrivateConnectionMethod =
+ getGetPrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetPrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.PrivateConnection
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("GetPrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getGetPrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections",
+ requestType = com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class,
+ responseType = com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod;
+ if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod)
+ == null) {
+ DatastreamGrpc.getListPrivateConnectionsMethod =
+ getListPrivateConnectionsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListPrivateConnections"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("ListPrivateConnections"))
+ .build();
+ }
+ }
+ }
+ return getListPrivateConnectionsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection",
+ requestType = com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod;
+ if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getDeletePrivateConnectionMethod =
+ getDeletePrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DeletePrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getDeletePrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation>
+ getCreateRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateRoute",
+ requestType = com.google.cloud.datastream.v1.CreateRouteRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation>
+ getCreateRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation>
+ getCreateRouteMethod;
+ if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) {
+ DatastreamGrpc.getCreateRouteMethod =
+ getCreateRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.CreateRouteRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute"))
+ .build();
+ }
+ }
+ }
+ return getCreateRouteMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route>
+ getGetRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetRoute",
+ requestType = com.google.cloud.datastream.v1.GetRouteRequest.class,
+ responseType = com.google.cloud.datastream.v1.Route.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route>
+ getGetRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route>
+ getGetRouteMethod;
+ if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) {
+ DatastreamGrpc.getGetRouteMethod =
+ getGetRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.GetRouteRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.Route.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute"))
+ .build();
+ }
+ }
+ }
+ return getGetRouteMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListRoutesRequest,
+ com.google.cloud.datastream.v1.ListRoutesResponse>
+ getListRoutesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListRoutes",
+ requestType = com.google.cloud.datastream.v1.ListRoutesRequest.class,
+ responseType = com.google.cloud.datastream.v1.ListRoutesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListRoutesRequest,
+ com.google.cloud.datastream.v1.ListRoutesResponse>
+ getListRoutesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.ListRoutesRequest,
+ com.google.cloud.datastream.v1.ListRoutesResponse>
+ getListRoutesMethod;
+ if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) {
+ DatastreamGrpc.getListRoutesMethod =
+ getListRoutesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListRoutesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.ListRoutesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes"))
+ .build();
+ }
+ }
+ }
+ return getListRoutesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation>
+ getDeleteRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteRoute",
+ requestType = com.google.cloud.datastream.v1.DeleteRouteRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation>
+ getDeleteRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation>
+ getDeleteRouteMethod;
+ if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) {
+ DatastreamGrpc.getDeleteRouteMethod =
+ getDeleteRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1.DeleteRouteRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute"))
+ .build();
+ }
+ }
+ }
+ return getDeleteRouteMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static DatastreamStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamStub(channel, callOptions);
+ }
+ };
+ return DatastreamStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static DatastreamBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamBlockingStub(channel, callOptions);
+ }
+ };
+ return DatastreamBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static DatastreamFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamFutureStub(channel, callOptions);
+ }
+ };
+ return DatastreamFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+ public abstract static class DatastreamImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Use this method to list connection profiles created in a project and
+ * location.
+ *
+ */
+ public void listConnectionProfiles(
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListConnectionProfilesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a connection profile.
+ *
+ */
+ public void getConnectionProfile(
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a connection profile in a project and location.
+ *
+ */
+ public void createConnectionProfile(
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the parameters of a connection profile.
+ *
+ */
+ public void updateConnectionProfile(
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a connection profile.
+ *
+ */
+ public void deleteConnectionProfile(
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to discover a connection profile.
+ * The discover API call exposes the data objects and metadata belonging to
+ * the profile. Typically, a request returns children data objects of a
+ * parent data object that's optionally supplied in the request.
+ *
+ */
+ public void discoverConnectionProfile(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDiscoverConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list streams in a project and location.
+ *
+ */
+ public void listStreams(
+ com.google.cloud.datastream.v1.ListStreamsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListStreamsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream.
+ *
+ */
+ public void getStream(
+ com.google.cloud.datastream.v1.GetStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a stream.
+ *
+ */
+ public void createStream(
+ com.google.cloud.datastream.v1.CreateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the configuration of a stream.
+ *
+ */
+ public void updateStream(
+ com.google.cloud.datastream.v1.UpdateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a stream.
+ *
+ */
+ public void deleteStream(
+ com.google.cloud.datastream.v1.DeleteStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream object.
+ *
+ */
+ public void getStreamObject(
+ com.google.cloud.datastream.v1.GetStreamObjectRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetStreamObjectMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to look up a stream object by its source object identifier.
+ *
+ */
+ public void lookupStreamObject(
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getLookupStreamObjectMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list the objects of a specific stream.
+ *
+ */
+ public void listStreamObjects(
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListStreamObjectsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to start a backfill job for the specified stream object.
+ *
+ */
+ public void startBackfillJob(
+ com.google.cloud.datastream.v1.StartBackfillJobRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getStartBackfillJobMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to stop a backfill job for the specified stream object.
+ *
+ */
+ public void stopBackfillJob(
+ com.google.cloud.datastream.v1.StopBackfillJobRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getStopBackfillJobMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * The FetchStaticIps API call exposes the static IP addresses used by
+ * Datastream.
+ *
+ */
+ public void fetchStaticIps(
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getFetchStaticIpsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a private connectivity configuration.
+ *
+ */
+ public void createPrivateConnection(
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreatePrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a private connectivity configuration.
+ *
+ */
+ public void getPrivateConnection(
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetPrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list private connectivity configurations in a project
+ * and location.
+ *
+ */
+ public void listPrivateConnections(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListPrivateConnectionsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a private connectivity configuration.
+ *
+ */
+ public void deletePrivateConnection(
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeletePrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a route for a private connectivity configuration
+ * in a project and location.
+ *
+ */
+ public void createRoute(
+ com.google.cloud.datastream.v1.CreateRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateRouteMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a route.
+ *
+ */
+ public void getRoute(
+ com.google.cloud.datastream.v1.GetRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list routes created for a private connectivity
+ * configuration in a project and location.
+ *
+ */
+ public void listRoutes(
+ com.google.cloud.datastream.v1.ListRoutesRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a route.
+ *
+ */
+ public void deleteRoute(
+ com.google.cloud.datastream.v1.DeleteRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteRouteMethod(), responseObserver);
+ }
+
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getListConnectionProfilesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>(
+ this, METHODID_LIST_CONNECTION_PROFILES)))
+ .addMethod(
+ getGetConnectionProfileMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1.ConnectionProfile>(
+ this, METHODID_GET_CONNECTION_PROFILE)))
+ .addMethod(
+ getCreateConnectionProfileMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_CONNECTION_PROFILE)))
+ .addMethod(
+ getUpdateConnectionProfileMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_CONNECTION_PROFILE)))
+ .addMethod(
+ getDeleteConnectionProfileMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_CONNECTION_PROFILE)))
+ .addMethod(
+ getDiscoverConnectionProfileMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>(
+ this, METHODID_DISCOVER_CONNECTION_PROFILE)))
+ .addMethod(
+ getListStreamsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.ListStreamsRequest,
+ com.google.cloud.datastream.v1.ListStreamsResponse>(
+ this, METHODID_LIST_STREAMS)))
+ .addMethod(
+ getGetStreamMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.GetStreamRequest,
+ com.google.cloud.datastream.v1.Stream>(this, METHODID_GET_STREAM)))
+ .addMethod(
+ getCreateStreamMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.CreateStreamRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_STREAM)))
+ .addMethod(
+ getUpdateStreamMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.UpdateStreamRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_STREAM)))
+ .addMethod(
+ getDeleteStreamMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.DeleteStreamRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_STREAM)))
+ .addMethod(
+ getGetStreamObjectMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.GetStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>(
+ this, METHODID_GET_STREAM_OBJECT)))
+ .addMethod(
+ getLookupStreamObjectMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest,
+ com.google.cloud.datastream.v1.StreamObject>(
+ this, METHODID_LOOKUP_STREAM_OBJECT)))
+ .addMethod(
+ getListStreamObjectsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest,
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>(
+ this, METHODID_LIST_STREAM_OBJECTS)))
+ .addMethod(
+ getStartBackfillJobMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.StartBackfillJobRequest,
+ com.google.cloud.datastream.v1.StartBackfillJobResponse>(
+ this, METHODID_START_BACKFILL_JOB)))
+ .addMethod(
+ getStopBackfillJobMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.StopBackfillJobRequest,
+ com.google.cloud.datastream.v1.StopBackfillJobResponse>(
+ this, METHODID_STOP_BACKFILL_JOB)))
+ .addMethod(
+ getFetchStaticIpsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse>(
+ this, METHODID_FETCH_STATIC_IPS)))
+ .addMethod(
+ getCreatePrivateConnectionMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_PRIVATE_CONNECTION)))
+ .addMethod(
+ getGetPrivateConnectionMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1.PrivateConnection>(
+ this, METHODID_GET_PRIVATE_CONNECTION)))
+ .addMethod(
+ getListPrivateConnectionsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>(
+ this, METHODID_LIST_PRIVATE_CONNECTIONS)))
+ .addMethod(
+ getDeletePrivateConnectionMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_PRIVATE_CONNECTION)))
+ .addMethod(
+ getCreateRouteMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.CreateRouteRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_ROUTE)))
+ .addMethod(
+ getGetRouteMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.GetRouteRequest,
+ com.google.cloud.datastream.v1.Route>(this, METHODID_GET_ROUTE)))
+ .addMethod(
+ getListRoutesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.ListRoutesRequest,
+ com.google.cloud.datastream.v1.ListRoutesResponse>(
+ this, METHODID_LIST_ROUTES)))
+ .addMethod(
+ getDeleteRouteMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datastream.v1.DeleteRouteRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_ROUTE)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+ public static final class DatastreamStub extends io.grpc.stub.AbstractAsyncStub {
+ private DatastreamStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected DatastreamStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list connection profiles created in a project and
+ * location.
+ *
+ */
+ public void listConnectionProfiles(
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a connection profile.
+ *
+ */
+ public void getConnectionProfile(
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a connection profile in a project and location.
+ *
+ */
+ public void createConnectionProfile(
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the parameters of a connection profile.
+ *
+ */
+ public void updateConnectionProfile(
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a connection profile.
+ *
+ */
+ public void deleteConnectionProfile(
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to discover a connection profile.
+ * The discover API call exposes the data objects and metadata belonging to
+ * the profile. Typically, a request returns children data objects of a
+ * parent data object that's optionally supplied in the request.
+ *
+ */
+ public void discoverConnectionProfile(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list streams in a project and location.
+ *
+ */
+ public void listStreams(
+ com.google.cloud.datastream.v1.ListStreamsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListStreamsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream.
+ *
+ */
+ public void getStream(
+ com.google.cloud.datastream.v1.GetStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetStreamMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a stream.
+ *
+ */
+ public void createStream(
+ com.google.cloud.datastream.v1.CreateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateStreamMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the configuration of a stream.
+ *
+ */
+ public void updateStream(
+ com.google.cloud.datastream.v1.UpdateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateStreamMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a stream.
+ *
+ */
+ public void deleteStream(
+ com.google.cloud.datastream.v1.DeleteStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteStreamMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream object.
+ *
+ */
+ public void getStreamObject(
+ com.google.cloud.datastream.v1.GetStreamObjectRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to look up a stream object by its source object identifier.
+ *
+ */
+ public void lookupStreamObject(
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list the objects of a specific stream.
+ *
+ */
+ public void listStreamObjects(
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to start a backfill job for the specified stream object.
+ *
+ */
+ public void startBackfillJob(
+ com.google.cloud.datastream.v1.StartBackfillJobRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to stop a backfill job for the specified stream object.
+ *
+ */
+ public void stopBackfillJob(
+ com.google.cloud.datastream.v1.StopBackfillJobRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * The FetchStaticIps API call exposes the static IP addresses used by
+ * Datastream.
+ *
+ */
+ public void fetchStaticIps(
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a private connectivity configuration.
+ *
+ */
+ public void createPrivateConnection(
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a private connectivity configuration.
+ *
+ */
+ public void getPrivateConnection(
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list private connectivity configurations in a project
+ * and location.
+ *
+ */
+ public void listPrivateConnections(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a private connectivity configuration.
+ *
+ */
+ public void deletePrivateConnection(
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a route for a private connectivity configuration
+ * in a project and location.
+ *
+ */
+ public void createRoute(
+ com.google.cloud.datastream.v1.CreateRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateRouteMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a route.
+ *
+ */
+ public void getRoute(
+ com.google.cloud.datastream.v1.GetRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetRouteMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list routes created for a private connectivity
+ * configuration in a project and location.
+ *
+ */
+ public void listRoutes(
+ com.google.cloud.datastream.v1.ListRoutesRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListRoutesMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a route.
+ *
+ */
+ public void deleteRoute(
+ com.google.cloud.datastream.v1.DeleteRouteRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteRouteMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+ public static final class DatastreamBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
+ private DatastreamBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected DatastreamBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamBlockingStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list connection profiles created in a project and
+ * location.
+ *
+ */
+ public com.google.cloud.datastream.v1.ListConnectionProfilesResponse listConnectionProfiles(
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListConnectionProfilesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a connection profile.
+ *
+ */
+ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile(
+ com.google.cloud.datastream.v1.GetConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetConnectionProfileMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a connection profile in a project and location.
+ *
+ */
+ public com.google.longrunning.Operation createConnectionProfile(
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateConnectionProfileMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the parameters of a connection profile.
+ *
+ */
+ public com.google.longrunning.Operation updateConnectionProfile(
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateConnectionProfileMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a connection profile.
+ *
+ */
+ public com.google.longrunning.Operation deleteConnectionProfile(
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteConnectionProfileMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to discover a connection profile.
+ * The discover API call exposes the data objects and metadata belonging to
+ * the profile. Typically, a request returns children data objects of a
+ * parent data object that's optionally supplied in the request.
+ *
+ */
+ public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse
+ discoverConnectionProfile(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDiscoverConnectionProfileMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list streams in a project and location.
+ *
+ */
+ public com.google.cloud.datastream.v1.ListStreamsResponse listStreams(
+ com.google.cloud.datastream.v1.ListStreamsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListStreamsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream.
+ *
+ */
+ public com.google.cloud.datastream.v1.Stream getStream(
+ com.google.cloud.datastream.v1.GetStreamRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetStreamMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a stream.
+ *
+ */
+ public com.google.longrunning.Operation createStream(
+ com.google.cloud.datastream.v1.CreateStreamRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateStreamMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the configuration of a stream.
+ *
+ */
+ public com.google.longrunning.Operation updateStream(
+ com.google.cloud.datastream.v1.UpdateStreamRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateStreamMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a stream.
+ *
+ */
+ public com.google.longrunning.Operation deleteStream(
+ com.google.cloud.datastream.v1.DeleteStreamRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteStreamMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream object.
+ *
+ */
+ public com.google.cloud.datastream.v1.StreamObject getStreamObject(
+ com.google.cloud.datastream.v1.GetStreamObjectRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetStreamObjectMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to look up a stream object by its source object identifier.
+ *
+ */
+ public com.google.cloud.datastream.v1.StreamObject lookupStreamObject(
+ com.google.cloud.datastream.v1.LookupStreamObjectRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getLookupStreamObjectMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list the objects of a specific stream.
+ *
+ */
+ public com.google.cloud.datastream.v1.ListStreamObjectsResponse listStreamObjects(
+ com.google.cloud.datastream.v1.ListStreamObjectsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListStreamObjectsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to start a backfill job for the specified stream object.
+ *
+ */
+ public com.google.cloud.datastream.v1.StartBackfillJobResponse startBackfillJob(
+ com.google.cloud.datastream.v1.StartBackfillJobRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getStartBackfillJobMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to stop a backfill job for the specified stream object.
+ *
+ */
+ public com.google.cloud.datastream.v1.StopBackfillJobResponse stopBackfillJob(
+ com.google.cloud.datastream.v1.StopBackfillJobRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getStopBackfillJobMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * The FetchStaticIps API call exposes the static IP addresses used by
+ * Datastream.
+ *
+ */
+ public com.google.cloud.datastream.v1.FetchStaticIpsResponse fetchStaticIps(
+ com.google.cloud.datastream.v1.FetchStaticIpsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getFetchStaticIpsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a private connectivity configuration.
+ *
+ */
+ public com.google.longrunning.Operation createPrivateConnection(
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreatePrivateConnectionMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a private connectivity configuration.
+ *
+ */
+ public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection(
+ com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetPrivateConnectionMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list private connectivity configurations in a project
+ * and location.
+ *
+ */
+ public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse listPrivateConnections(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListPrivateConnectionsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a private connectivity configuration.
+ *
+ */
+ public com.google.longrunning.Operation deletePrivateConnection(
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeletePrivateConnectionMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a route for a private connectivity configuration
+ * in a project and location.
+ *
+ */
+ public com.google.longrunning.Operation createRoute(
+ com.google.cloud.datastream.v1.CreateRouteRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateRouteMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a route.
+ *
+ */
+ public com.google.cloud.datastream.v1.Route getRoute(
+ com.google.cloud.datastream.v1.GetRouteRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetRouteMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list routes created for a private connectivity
+ * configuration in a project and location.
+ *
+ */
+ public com.google.cloud.datastream.v1.ListRoutesResponse listRoutes(
+ com.google.cloud.datastream.v1.ListRoutesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListRoutesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a route.
+ *
+ */
+ public com.google.longrunning.Operation deleteRoute(
+ com.google.cloud.datastream.v1.DeleteRouteRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteRouteMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+ public static final class DatastreamFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
+ private DatastreamFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected DatastreamFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamFutureStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list connection profiles created in a project and
+ * location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>
+ listConnectionProfiles(
+ com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a connection profile.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ConnectionProfile>
+ getConnectionProfile(com.google.cloud.datastream.v1.GetConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a connection profile in a project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createConnectionProfile(
+ com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the parameters of a connection profile.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateConnectionProfile(
+ com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a connection profile.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteConnectionProfile(
+ com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to discover a connection profile.
+ * The discover API call exposes the data objects and metadata belonging to
+ * the profile. Typically, a request returns children data objects of a
+ * parent data object that's optionally supplied in the request.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>
+ discoverConnectionProfile(
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list streams in a project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ListStreamsResponse>
+ listStreams(com.google.cloud.datastream.v1.ListStreamsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListStreamsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ getStream(com.google.cloud.datastream.v1.GetStreamRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetStreamMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a stream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createStream(com.google.cloud.datastream.v1.CreateStreamRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the configuration of a stream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateStream(com.google.cloud.datastream.v1.UpdateStreamRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a stream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteStream(com.google.cloud.datastream.v1.DeleteStreamRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream object.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.StreamObject>
+ getStreamObject(com.google.cloud.datastream.v1.GetStreamObjectRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to look up a stream object by its source object identifier.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.StreamObject>
+ lookupStreamObject(com.google.cloud.datastream.v1.LookupStreamObjectRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list the objects of a specific stream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>
+ listStreamObjects(com.google.cloud.datastream.v1.ListStreamObjectsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to start a backfill job for the specified stream object.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.StartBackfillJobResponse>
+ startBackfillJob(com.google.cloud.datastream.v1.StartBackfillJobRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to stop a backfill job for the specified stream object.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.StopBackfillJobResponse>
+ stopBackfillJob(com.google.cloud.datastream.v1.StopBackfillJobRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * The FetchStaticIps API call exposes the static IP addresses used by
+ * Datastream.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.FetchStaticIpsResponse>
+ fetchStaticIps(com.google.cloud.datastream.v1.FetchStaticIpsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a private connectivity configuration.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createPrivateConnection(
+ com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a private connectivity configuration.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.PrivateConnection>
+ getPrivateConnection(com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list private connectivity configurations in a project
+ * and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>
+ listPrivateConnections(
+ com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a private connectivity configuration.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deletePrivateConnection(
+ com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a route for a private connectivity configuration
+ * in a project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createRoute(com.google.cloud.datastream.v1.CreateRouteRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a route.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ getRoute(com.google.cloud.datastream.v1.GetRouteRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetRouteMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list routes created for a private connectivity
+ * configuration in a project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datastream.v1.ListRoutesResponse>
+ listRoutes(com.google.cloud.datastream.v1.ListRoutesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListRoutesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a route.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteRoute(com.google.cloud.datastream.v1.DeleteRouteRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_LIST_CONNECTION_PROFILES = 0;
+ private static final int METHODID_GET_CONNECTION_PROFILE = 1;
+ private static final int METHODID_CREATE_CONNECTION_PROFILE = 2;
+ private static final int METHODID_UPDATE_CONNECTION_PROFILE = 3;
+ private static final int METHODID_DELETE_CONNECTION_PROFILE = 4;
+ private static final int METHODID_DISCOVER_CONNECTION_PROFILE = 5;
+ private static final int METHODID_LIST_STREAMS = 6;
+ private static final int METHODID_GET_STREAM = 7;
+ private static final int METHODID_CREATE_STREAM = 8;
+ private static final int METHODID_UPDATE_STREAM = 9;
+ private static final int METHODID_DELETE_STREAM = 10;
+ private static final int METHODID_GET_STREAM_OBJECT = 11;
+ private static final int METHODID_LOOKUP_STREAM_OBJECT = 12;
+ private static final int METHODID_LIST_STREAM_OBJECTS = 13;
+ private static final int METHODID_START_BACKFILL_JOB = 14;
+ private static final int METHODID_STOP_BACKFILL_JOB = 15;
+ private static final int METHODID_FETCH_STATIC_IPS = 16;
+ private static final int METHODID_CREATE_PRIVATE_CONNECTION = 17;
+ private static final int METHODID_GET_PRIVATE_CONNECTION = 18;
+ private static final int METHODID_LIST_PRIVATE_CONNECTIONS = 19;
+ private static final int METHODID_DELETE_PRIVATE_CONNECTION = 20;
+ private static final int METHODID_CREATE_ROUTE = 21;
+ private static final int METHODID_GET_ROUTE = 22;
+ private static final int METHODID_LIST_ROUTES = 23;
+ private static final int METHODID_DELETE_ROUTE = 24;
+
+ 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 DatastreamImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(DatastreamImplBase 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_LIST_CONNECTION_PROFILES:
+ serviceImpl.listConnectionProfiles(
+ (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.ListConnectionProfilesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_CONNECTION_PROFILE:
+ serviceImpl.getConnectionProfile(
+ (com.google.cloud.datastream.v1.GetConnectionProfileRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_CONNECTION_PROFILE:
+ serviceImpl.createConnectionProfile(
+ (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_CONNECTION_PROFILE:
+ serviceImpl.updateConnectionProfile(
+ (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_CONNECTION_PROFILE:
+ serviceImpl.deleteConnectionProfile(
+ (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DISCOVER_CONNECTION_PROFILE:
+ serviceImpl.discoverConnectionProfile(
+ (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>)
+ responseObserver);
+ break;
+ case METHODID_LIST_STREAMS:
+ serviceImpl.listStreams(
+ (com.google.cloud.datastream.v1.ListStreamsRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_GET_STREAM:
+ serviceImpl.getStream(
+ (com.google.cloud.datastream.v1.GetStreamRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_STREAM:
+ serviceImpl.createStream(
+ (com.google.cloud.datastream.v1.CreateStreamRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_STREAM:
+ serviceImpl.updateStream(
+ (com.google.cloud.datastream.v1.UpdateStreamRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_STREAM:
+ serviceImpl.deleteStream(
+ (com.google.cloud.datastream.v1.DeleteStreamRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_STREAM_OBJECT:
+ serviceImpl.getStreamObject(
+ (com.google.cloud.datastream.v1.GetStreamObjectRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_LOOKUP_STREAM_OBJECT:
+ serviceImpl.lookupStreamObject(
+ (com.google.cloud.datastream.v1.LookupStreamObjectRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_LIST_STREAM_OBJECTS:
+ serviceImpl.listStreamObjects(
+ (com.google.cloud.datastream.v1.ListStreamObjectsRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.ListStreamObjectsResponse>)
+ responseObserver);
+ break;
+ case METHODID_START_BACKFILL_JOB:
+ serviceImpl.startBackfillJob(
+ (com.google.cloud.datastream.v1.StartBackfillJobRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_STOP_BACKFILL_JOB:
+ serviceImpl.stopBackfillJob(
+ (com.google.cloud.datastream.v1.StopBackfillJobRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_FETCH_STATIC_IPS:
+ serviceImpl.fetchStaticIps(
+ (com.google.cloud.datastream.v1.FetchStaticIpsRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_PRIVATE_CONNECTION:
+ serviceImpl.createPrivateConnection(
+ (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_PRIVATE_CONNECTION:
+ serviceImpl.getPrivateConnection(
+ (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_LIST_PRIVATE_CONNECTIONS:
+ serviceImpl.listPrivateConnections(
+ (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>)
+ responseObserver);
+ break;
+ case METHODID_DELETE_PRIVATE_CONNECTION:
+ serviceImpl.deletePrivateConnection(
+ (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_CREATE_ROUTE:
+ serviceImpl.createRoute(
+ (com.google.cloud.datastream.v1.CreateRouteRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_ROUTE:
+ serviceImpl.getRoute(
+ (com.google.cloud.datastream.v1.GetRouteRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_ROUTES:
+ serviceImpl.listRoutes(
+ (com.google.cloud.datastream.v1.ListRoutesRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_DELETE_ROUTE:
+ serviceImpl.deleteRoute(
+ (com.google.cloud.datastream.v1.DeleteRouteRequest) 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 abstract static class DatastreamBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ DatastreamBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.cloud.datastream.v1.DatastreamProto.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("Datastream");
+ }
+ }
+
+ private static final class DatastreamFileDescriptorSupplier
+ extends DatastreamBaseDescriptorSupplier {
+ DatastreamFileDescriptorSupplier() {}
+ }
+
+ private static final class DatastreamMethodDescriptorSupplier
+ extends DatastreamBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ DatastreamMethodDescriptorSupplier(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 (DatastreamGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new DatastreamFileDescriptorSupplier())
+ .addMethod(getListConnectionProfilesMethod())
+ .addMethod(getGetConnectionProfileMethod())
+ .addMethod(getCreateConnectionProfileMethod())
+ .addMethod(getUpdateConnectionProfileMethod())
+ .addMethod(getDeleteConnectionProfileMethod())
+ .addMethod(getDiscoverConnectionProfileMethod())
+ .addMethod(getListStreamsMethod())
+ .addMethod(getGetStreamMethod())
+ .addMethod(getCreateStreamMethod())
+ .addMethod(getUpdateStreamMethod())
+ .addMethod(getDeleteStreamMethod())
+ .addMethod(getGetStreamObjectMethod())
+ .addMethod(getLookupStreamObjectMethod())
+ .addMethod(getListStreamObjectsMethod())
+ .addMethod(getStartBackfillJobMethod())
+ .addMethod(getStopBackfillJobMethod())
+ .addMethod(getFetchStaticIpsMethod())
+ .addMethod(getCreatePrivateConnectionMethod())
+ .addMethod(getGetPrivateConnectionMethod())
+ .addMethod(getListPrivateConnectionsMethod())
+ .addMethod(getDeletePrivateConnectionMethod())
+ .addMethod(getCreateRouteMethod())
+ .addMethod(getGetRouteMethod())
+ .addMethod(getListRoutesMethod())
+ .addMethod(getDeleteRouteMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java b/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java
new file mode 100644
index 00000000..d1c53d48
--- /dev/null
+++ b/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java
@@ -0,0 +1,2768 @@
+/*
+ * 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.datastream.v1alpha1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/datastream/v1alpha1/datastream.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class DatastreamGrpc {
+
+ private DatastreamGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.datastream.v1alpha1.Datastream";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles",
+ requestType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest,
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>
+ getListConnectionProfilesMethod;
+ if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod)
+ == null) {
+ DatastreamGrpc.getListConnectionProfilesMethod =
+ getListConnectionProfilesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("ListConnectionProfiles"))
+ .build();
+ }
+ }
+ }
+ return getListConnectionProfilesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.ConnectionProfile>
+ getGetConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile",
+ requestType = com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.ConnectionProfile.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.ConnectionProfile>
+ getGetConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.ConnectionProfile>
+ getGetConnectionProfileMethod;
+ if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getGetConnectionProfileMethod =
+ getGetConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ConnectionProfile
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("GetConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getGetConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile",
+ requestType = com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getCreateConnectionProfileMethod;
+ if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getCreateConnectionProfileMethod =
+ getCreateConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("CreateConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getCreateConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile",
+ requestType = com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getUpdateConnectionProfileMethod;
+ if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getUpdateConnectionProfileMethod =
+ getUpdateConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getUpdateConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile",
+ requestType = com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest,
+ com.google.longrunning.Operation>
+ getDeleteConnectionProfileMethod;
+ if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getDeleteConnectionProfileMethod =
+ getDeleteConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getDeleteConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile",
+ requestType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest,
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>
+ getDiscoverConnectionProfileMethod;
+ if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod)
+ == null) {
+ DatastreamGrpc.getDiscoverConnectionProfileMethod =
+ getDiscoverConnectionProfileMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile"))
+ .build();
+ }
+ }
+ }
+ return getDiscoverConnectionProfileMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListStreamsRequest,
+ com.google.cloud.datastream.v1alpha1.ListStreamsResponse>
+ getListStreamsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListStreams",
+ requestType = com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListStreamsRequest,
+ com.google.cloud.datastream.v1alpha1.ListStreamsResponse>
+ getListStreamsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListStreamsRequest,
+ com.google.cloud.datastream.v1alpha1.ListStreamsResponse>
+ getListStreamsMethod;
+ if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) {
+ DatastreamGrpc.getListStreamsMethod =
+ getListStreamsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListStreamsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListStreamsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams"))
+ .build();
+ }
+ }
+ }
+ return getListStreamsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetStreamRequest,
+ com.google.cloud.datastream.v1alpha1.Stream>
+ getGetStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetStream",
+ requestType = com.google.cloud.datastream.v1alpha1.GetStreamRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.Stream.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetStreamRequest,
+ com.google.cloud.datastream.v1alpha1.Stream>
+ getGetStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetStreamRequest,
+ com.google.cloud.datastream.v1alpha1.Stream>
+ getGetStreamMethod;
+ if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) {
+ DatastreamGrpc.getGetStreamMethod =
+ getGetStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.GetStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream"))
+ .build();
+ }
+ }
+ }
+ return getGetStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateStreamRequest,
+ com.google.longrunning.Operation>
+ getCreateStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateStream",
+ requestType = com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateStreamRequest,
+ com.google.longrunning.Operation>
+ getCreateStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateStreamRequest,
+ com.google.longrunning.Operation>
+ getCreateStreamMethod;
+ if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) {
+ DatastreamGrpc.getCreateStreamMethod =
+ getCreateStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.CreateStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream"))
+ .build();
+ }
+ }
+ }
+ return getCreateStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateStreamRequest,
+ com.google.longrunning.Operation>
+ getUpdateStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateStream",
+ requestType = com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateStreamRequest,
+ com.google.longrunning.Operation>
+ getUpdateStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.UpdateStreamRequest,
+ com.google.longrunning.Operation>
+ getUpdateStreamMethod;
+ if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) {
+ DatastreamGrpc.getUpdateStreamMethod =
+ getUpdateStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.UpdateStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream"))
+ .build();
+ }
+ }
+ }
+ return getUpdateStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteStreamRequest,
+ com.google.longrunning.Operation>
+ getDeleteStreamMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteStream",
+ requestType = com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteStreamRequest,
+ com.google.longrunning.Operation>
+ getDeleteStreamMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteStreamRequest,
+ com.google.longrunning.Operation>
+ getDeleteStreamMethod;
+ if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) {
+ DatastreamGrpc.getDeleteStreamMethod =
+ getDeleteStreamMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DeleteStreamRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream"))
+ .build();
+ }
+ }
+ }
+ return getDeleteStreamMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, com.google.longrunning.Operation>
+ getFetchErrorsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "FetchErrors",
+ requestType = com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, com.google.longrunning.Operation>
+ getFetchErrorsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchErrorsRequest,
+ com.google.longrunning.Operation>
+ getFetchErrorsMethod;
+ if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) {
+ DatastreamGrpc.getFetchErrorsMethod =
+ getFetchErrorsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchErrors"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.FetchErrorsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchErrors"))
+ .build();
+ }
+ }
+ }
+ return getFetchErrorsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps",
+ requestType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest,
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>
+ getFetchStaticIpsMethod;
+ if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) {
+ DatastreamGrpc.getFetchStaticIpsMethod =
+ getFetchStaticIpsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps"))
+ .build();
+ }
+ }
+ }
+ return getFetchStaticIpsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection",
+ requestType = com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getCreatePrivateConnectionMethod;
+ if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getCreatePrivateConnectionMethod =
+ getCreatePrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("CreatePrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getCreatePrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1alpha1.PrivateConnection>
+ getGetPrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection",
+ requestType = com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.PrivateConnection.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1alpha1.PrivateConnection>
+ getGetPrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest,
+ com.google.cloud.datastream.v1alpha1.PrivateConnection>
+ getGetPrivateConnectionMethod;
+ if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getGetPrivateConnectionMethod =
+ getGetPrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetPrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.PrivateConnection
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("GetPrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getGetPrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections",
+ requestType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest,
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>
+ getListPrivateConnectionsMethod;
+ if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod)
+ == null) {
+ DatastreamGrpc.getListPrivateConnectionsMethod =
+ getListPrivateConnectionsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListPrivateConnections"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("ListPrivateConnections"))
+ .build();
+ }
+ }
+ }
+ return getListPrivateConnectionsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection",
+ requestType = com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest,
+ com.google.longrunning.Operation>
+ getDeletePrivateConnectionMethod;
+ if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod)
+ == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod)
+ == null) {
+ DatastreamGrpc.getDeletePrivateConnectionMethod =
+ getDeletePrivateConnectionMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatastreamMethodDescriptorSupplier("DeletePrivateConnection"))
+ .build();
+ }
+ }
+ }
+ return getDeletePrivateConnectionMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateRouteRequest, com.google.longrunning.Operation>
+ getCreateRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateRoute",
+ requestType = com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateRouteRequest, com.google.longrunning.Operation>
+ getCreateRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.CreateRouteRequest,
+ com.google.longrunning.Operation>
+ getCreateRouteMethod;
+ if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) {
+ DatastreamGrpc.getCreateRouteMethod =
+ getCreateRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.CreateRouteRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute"))
+ .build();
+ }
+ }
+ }
+ return getCreateRouteMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetRouteRequest,
+ com.google.cloud.datastream.v1alpha1.Route>
+ getGetRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetRoute",
+ requestType = com.google.cloud.datastream.v1alpha1.GetRouteRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.Route.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetRouteRequest,
+ com.google.cloud.datastream.v1alpha1.Route>
+ getGetRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.GetRouteRequest,
+ com.google.cloud.datastream.v1alpha1.Route>
+ getGetRouteMethod;
+ if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) {
+ DatastreamGrpc.getGetRouteMethod =
+ getGetRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.GetRouteRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute"))
+ .build();
+ }
+ }
+ }
+ return getGetRouteMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListRoutesRequest,
+ com.google.cloud.datastream.v1alpha1.ListRoutesResponse>
+ getListRoutesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListRoutes",
+ requestType = com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class,
+ responseType = com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListRoutesRequest,
+ com.google.cloud.datastream.v1alpha1.ListRoutesResponse>
+ getListRoutesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.ListRoutesRequest,
+ com.google.cloud.datastream.v1alpha1.ListRoutesResponse>
+ getListRoutesMethod;
+ if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) {
+ DatastreamGrpc.getListRoutesMethod =
+ getListRoutesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListRoutesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.ListRoutesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes"))
+ .build();
+ }
+ }
+ }
+ return getListRoutesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, com.google.longrunning.Operation>
+ getDeleteRouteMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteRoute",
+ requestType = com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, com.google.longrunning.Operation>
+ getDeleteRouteMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.datastream.v1alpha1.DeleteRouteRequest,
+ com.google.longrunning.Operation>
+ getDeleteRouteMethod;
+ if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) {
+ synchronized (DatastreamGrpc.class) {
+ if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) {
+ DatastreamGrpc.getDeleteRouteMethod =
+ getDeleteRouteMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.datastream.v1alpha1.DeleteRouteRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute"))
+ .build();
+ }
+ }
+ }
+ return getDeleteRouteMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static DatastreamStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamStub(channel, callOptions);
+ }
+ };
+ return DatastreamStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static DatastreamBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamBlockingStub(channel, callOptions);
+ }
+ };
+ return DatastreamBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static DatastreamFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public DatastreamFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new DatastreamFutureStub(channel, callOptions);
+ }
+ };
+ return DatastreamFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Datastream service
+ *
+ */
+ public abstract static class DatastreamImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Use this method to list connection profiles created in a project and
+ * location.
+ *
+ */
+ public void listConnectionProfiles(
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListConnectionProfilesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a connection profile.
+ *
+ */
+ public void getConnectionProfile(
+ com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a connection profile in a project and location.
+ *
+ */
+ public void createConnectionProfile(
+ com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the parameters of a connection profile.
+ *
+ */
+ public void updateConnectionProfile(
+ com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a connection profile..
+ *
+ */
+ public void deleteConnectionProfile(
+ com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to discover a connection profile.
+ * The discover API call exposes the data objects and metadata belonging to
+ * the profile. Typically, a request returns children data objects under a
+ * parent data object that's optionally supplied in the request.
+ *
+ */
+ public void discoverConnectionProfile(
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDiscoverConnectionProfileMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list streams in a project and location.
+ *
+ */
+ public void listStreams(
+ com.google.cloud.datastream.v1alpha1.ListStreamsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListStreamsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a stream.
+ *
+ */
+ public void getStream(
+ com.google.cloud.datastream.v1alpha1.GetStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a stream.
+ *
+ */
+ public void createStream(
+ com.google.cloud.datastream.v1alpha1.CreateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to update the configuration of a stream.
+ *
+ */
+ public void updateStream(
+ com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a stream.
+ *
+ */
+ public void deleteStream(
+ com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteStreamMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to fetch any errors associated with a stream.
+ *
+ */
+ public void fetchErrors(
+ com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getFetchErrorsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * The FetchStaticIps API call exposes the static ips used by Datastream.
+ * Typically, a request returns children data objects under
+ * a parent data object that's optionally supplied in the request.
+ *
+ */
+ public void fetchStaticIps(
+ com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getFetchStaticIpsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to create a private connectivity configuration.
+ *
+ */
+ public void createPrivateConnection(
+ com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreatePrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to get details about a private connectivity configuration.
+ *
+ */
+ public void getPrivateConnection(
+ com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetPrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to list private connectivity configurations in a project
+ * and location.
+ *
+ */
+ public void listPrivateConnections(
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListPrivateConnectionsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Use this method to delete a private connectivity configuration.
+ *
+ */
+ public void deletePrivateConnection(
+ com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeletePrivateConnectionMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *