pages, int collectionSize) {
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
similarity index 96%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
index a9b1c9ce..5dce47f8 100644
--- a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecuritySettings.java
@@ -30,7 +30,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.networksecurity.v1.stub.NetworkSecurityStubSettings;
@@ -47,10 +46,10 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (networksecurity.googleapis.com) and default port (443) are
+ *
- The default service address (networksecurity.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.
+ *
- 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
@@ -80,7 +79,8 @@ public class NetworkSecuritySettings extends ClientSettings
listAuthorizationPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listAuthorizationPoliciesSettings();
@@ -135,7 +135,8 @@ public class NetworkSecuritySettings extends ClientSettings
listServerTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listServerTlsPoliciesSettings();
@@ -188,7 +189,8 @@ public class NetworkSecuritySettings extends ClientSettings
listClientTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listClientTlsPoliciesSettings();
@@ -338,7 +340,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return getStubSettingsBuilder().listAuthorizationPoliciesSettings();
@@ -390,7 +393,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return getStubSettingsBuilder().listServerTlsPoliciesSettings();
@@ -442,7 +446,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return getStubSettingsBuilder().listClientTlsPoliciesSettings();
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/gapic_metadata.json b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/gapic_metadata.json
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/gapic_metadata.json
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/package-info.java
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityCallableFactory.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityCallableFactory.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityCallableFactory.java
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java
similarity index 99%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java
index af24a3e8..87af37d4 100644
--- a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/GrpcNetworkSecurityStub.java
@@ -56,7 +56,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-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStub.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStub.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStub.java
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
similarity index 96%
rename from owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
index 4c07d764..d9c8897c 100644
--- a/owl-bot-staging/v1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/NetworkSecurityStubSettings.java
@@ -86,10 +86,10 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (networksecurity.googleapis.com) and default port (443) are
+ *
- The default service address (networksecurity.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.
+ *
- 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
@@ -121,7 +121,8 @@ public class NetworkSecurityStubSettings extends StubSettingsbuilder().add("https://www.googleapis.com/auth/cloud-platform").build();
private final PagedCallSettings<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings;
private final UnaryCallSettings
@@ -141,7 +142,8 @@ public class NetworkSecurityStubSettings extends StubSettings
deleteAuthorizationPolicyOperationSettings;
private final PagedCallSettings<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings;
private final UnaryCallSettings
@@ -161,7 +163,8 @@ public class NetworkSecurityStubSettings extends StubSettings
deleteServerTlsPolicyOperationSettings;
private final PagedCallSettings<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings;
private final UnaryCallSettings
@@ -185,7 +188,8 @@ public class NetworkSecurityStubSettings extends StubSettings
LIST_AUTHORIZATION_POLICIES_PAGE_STR_DESC =
new PagedListDescriptor<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>() {
@Override
public String emptyToken() {
@@ -310,11 +314,13 @@ public Iterable extractResources(
};
private static final PagedListResponseFactory<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
LIST_AUTHORIZATION_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -324,7 +330,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
pageContext =
PageContext.create(
@@ -335,11 +342,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
LIST_SERVER_TLS_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -357,11 +366,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
LIST_CLIENT_TLS_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -380,7 +391,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return listAuthorizationPoliciesSettings;
@@ -432,7 +444,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return listServerTlsPoliciesSettings;
@@ -482,7 +495,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return listClientTlsPoliciesSettings;
@@ -644,7 +658,8 @@ protected NetworkSecurityStubSettings(Builder settingsBuilder) throws IOExceptio
public static class Builder extends StubSettings.Builder {
private final ImmutableList> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -665,7 +680,8 @@ public static class Builder extends StubSettings.Builder
deleteAuthorizationPolicyOperationSettings;
private final PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -686,7 +702,8 @@ public static class Builder extends StubSettings.Builder
deleteServerTlsPolicyOperationSettings;
private final PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -1172,7 +1189,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return listAuthorizationPoliciesSettings;
@@ -1230,7 +1248,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return listServerTlsPoliciesSettings;
@@ -1288,7 +1307,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return listClientTlsPoliciesSettings;
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
similarity index 97%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
index f0b7b323..cf60672e 100644
--- a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClient.java
@@ -74,13 +74,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.
*
*
@@ -2627,12 +2627,16 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
public static class ListAuthorizationPoliciesPagedResponse
extends AbstractPagedListResponse<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
- ListAuthorizationPoliciesPage, ListAuthorizationPoliciesFixedSizeCollection> {
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
+ AuthorizationPolicy,
+ ListAuthorizationPoliciesPage,
+ ListAuthorizationPoliciesFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ApiFuture futureResponse) {
@@ -2651,12 +2655,15 @@ private ListAuthorizationPoliciesPagedResponse(ListAuthorizationPoliciesPage pag
public static class ListAuthorizationPoliciesPage
extends AbstractPage<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
+ AuthorizationPolicy,
ListAuthorizationPoliciesPage> {
private ListAuthorizationPoliciesPage(
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ListAuthorizationPoliciesResponse response) {
@@ -2670,7 +2677,8 @@ private static ListAuthorizationPoliciesPage createEmptyPage() {
@Override
protected ListAuthorizationPoliciesPage createPage(
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ListAuthorizationPoliciesResponse response) {
@@ -2680,7 +2688,8 @@ protected ListAuthorizationPoliciesPage createPage(
@Override
public ApiFuture createPageAsync(
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ApiFuture futureResponse) {
@@ -2690,8 +2699,11 @@ public ApiFuture createPageAsync(
public static class ListAuthorizationPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
- ListAuthorizationPoliciesPage, ListAuthorizationPoliciesFixedSizeCollection> {
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
+ AuthorizationPolicy,
+ ListAuthorizationPoliciesPage,
+ ListAuthorizationPoliciesFixedSizeCollection> {
private ListAuthorizationPoliciesFixedSizeCollection(
List pages, int collectionSize) {
@@ -2711,8 +2723,11 @@ protected ListAuthorizationPoliciesFixedSizeCollection createCollection(
public static class ListServerTlsPoliciesPagedResponse
extends AbstractPagedListResponse<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
- ListServerTlsPoliciesPage, ListServerTlsPoliciesFixedSizeCollection> {
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
+ ServerTlsPolicy,
+ ListServerTlsPoliciesPage,
+ ListServerTlsPoliciesFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext
@@ -2733,7 +2748,9 @@ private ListServerTlsPoliciesPagedResponse(ListServerTlsPoliciesPage page) {
public static class ListServerTlsPoliciesPage
extends AbstractPage<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
+ ServerTlsPolicy,
ListServerTlsPoliciesPage> {
private ListServerTlsPoliciesPage(
@@ -2766,8 +2783,11 @@ public ApiFuture createPageAsync(
public static class ListServerTlsPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
- ListServerTlsPoliciesPage, ListServerTlsPoliciesFixedSizeCollection> {
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
+ ServerTlsPolicy,
+ ListServerTlsPoliciesPage,
+ ListServerTlsPoliciesFixedSizeCollection> {
private ListServerTlsPoliciesFixedSizeCollection(
List pages, int collectionSize) {
@@ -2787,8 +2807,11 @@ protected ListServerTlsPoliciesFixedSizeCollection createCollection(
public static class ListClientTlsPoliciesPagedResponse
extends AbstractPagedListResponse<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
- ListClientTlsPoliciesPage, ListClientTlsPoliciesFixedSizeCollection> {
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
+ ClientTlsPolicy,
+ ListClientTlsPoliciesPage,
+ ListClientTlsPoliciesFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext
@@ -2809,7 +2832,9 @@ private ListClientTlsPoliciesPagedResponse(ListClientTlsPoliciesPage page) {
public static class ListClientTlsPoliciesPage
extends AbstractPage<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
+ ClientTlsPolicy,
ListClientTlsPoliciesPage> {
private ListClientTlsPoliciesPage(
@@ -2842,8 +2867,11 @@ public ApiFuture createPageAsync(
public static class ListClientTlsPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
- ListClientTlsPoliciesPage, ListClientTlsPoliciesFixedSizeCollection> {
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
+ ClientTlsPolicy,
+ ListClientTlsPoliciesPage,
+ ListClientTlsPoliciesFixedSizeCollection> {
private ListClientTlsPoliciesFixedSizeCollection(
List pages, int collectionSize) {
@@ -2863,7 +2891,10 @@ protected ListClientTlsPoliciesFixedSizeCollection createCollection(
public static class ListLocationsPagedResponse
extends AbstractPagedListResponse<
- ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage,
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
ListLocationsFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -2913,7 +2944,10 @@ public ApiFuture createPageAsync(
public static class ListLocationsFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage,
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
ListLocationsFixedSizeCollection> {
private ListLocationsFixedSizeCollection(List pages, int collectionSize) {
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
similarity index 97%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
index a8061a25..9d121096 100644
--- a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecuritySettings.java
@@ -32,7 +32,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.location.GetLocationRequest;
@@ -58,10 +57,10 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (networksecurity.googleapis.com) and default port (443) are
+ *
- The default service address (networksecurity.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.
+ *
- 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
@@ -92,7 +91,8 @@ public class NetworkSecuritySettings extends ClientSettings
listAuthorizationPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listAuthorizationPoliciesSettings();
@@ -147,7 +147,8 @@ public class NetworkSecuritySettings extends ClientSettings
listServerTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listServerTlsPoliciesSettings();
@@ -200,7 +201,8 @@ public class NetworkSecuritySettings extends ClientSettings
listClientTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listClientTlsPoliciesSettings();
@@ -395,7 +397,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return getStubSettingsBuilder().listAuthorizationPoliciesSettings();
@@ -447,7 +450,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return getStubSettingsBuilder().listServerTlsPoliciesSettings();
@@ -499,7 +503,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return getStubSettingsBuilder().listClientTlsPoliciesSettings();
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/gapic_metadata.json b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/gapic_metadata.json
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/gapic_metadata.json
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityCallableFactory.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityCallableFactory.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityCallableFactory.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java
similarity index 99%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java
index 9854d3e3..5f7fb26b 100644
--- a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/GrpcNetworkSecurityStub.java
@@ -67,7 +67,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/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityCallableFactory.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityCallableFactory.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityCallableFactory.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityCallableFactory.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
similarity index 99%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
index 9790b0dd..8a129fbd 100644
--- a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/HttpJsonNetworkSecurityStub.java
@@ -33,7 +33,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/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStub.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStub.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStub.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStub.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
similarity index 97%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
rename to google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
index bda22884..1541921e 100644
--- a/owl-bot-staging/v1beta1/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/NetworkSecurityStubSettings.java
@@ -99,10 +99,10 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (networksecurity.googleapis.com) and default port (443) are
+ *
- The default service address (networksecurity.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.
+ *
- 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
@@ -135,7 +135,8 @@ public class NetworkSecurityStubSettings extends StubSettingsbuilder().add("https://www.googleapis.com/auth/cloud-platform").build();
private final PagedCallSettings<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings;
private final UnaryCallSettings
@@ -155,7 +156,8 @@ public class NetworkSecurityStubSettings extends StubSettings
deleteAuthorizationPolicyOperationSettings;
private final PagedCallSettings<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings;
private final UnaryCallSettings
@@ -175,7 +177,8 @@ public class NetworkSecurityStubSettings extends StubSettings
deleteServerTlsPolicyOperationSettings;
private final PagedCallSettings<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings;
private final UnaryCallSettings
@@ -207,7 +210,8 @@ public class NetworkSecurityStubSettings extends StubSettings
LIST_AUTHORIZATION_POLICIES_PAGE_STR_DESC =
new PagedListDescriptor<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>() {
@Override
public String emptyToken() {
@@ -368,11 +372,13 @@ public Iterable extractResources(ListLocationsResponse payload) {
};
private static final PagedListResponseFactory<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
LIST_AUTHORIZATION_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -382,7 +388,8 @@ public ApiFuture getFuturePagedResponse(
ApiCallContext context,
ApiFuture futureResponse) {
PageContext<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
pageContext =
PageContext.create(
@@ -393,11 +400,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
LIST_SERVER_TLS_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -415,11 +424,13 @@ public ApiFuture getFuturePagedResponse(
};
private static final PagedListResponseFactory<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
LIST_CLIENT_TLS_POLICIES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -455,7 +466,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return listAuthorizationPoliciesSettings;
@@ -507,7 +519,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return listServerTlsPoliciesSettings;
@@ -557,7 +570,8 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return listClientTlsPoliciesSettings;
@@ -782,7 +796,8 @@ protected NetworkSecurityStubSettings(Builder settingsBuilder) throws IOExceptio
public static class Builder extends StubSettings.Builder {
private final ImmutableList> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -803,7 +818,8 @@ public static class Builder extends StubSettings.Builder
deleteAuthorizationPolicyOperationSettings;
private final PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -824,7 +840,8 @@ public static class Builder extends StubSettings.Builder
deleteServerTlsPolicyOperationSettings;
private final PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings;
private final UnaryCallSettings.Builder
@@ -1376,7 +1393,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings.Builder<
- ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
+ ListAuthorizationPoliciesRequest,
+ ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return listAuthorizationPoliciesSettings;
@@ -1434,7 +1452,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings.Builder<
- ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
+ ListServerTlsPoliciesRequest,
+ ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return listServerTlsPoliciesSettings;
@@ -1492,7 +1511,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings.Builder<
- ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
+ ListClientTlsPoliciesRequest,
+ ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return listClientTlsPoliciesSettings;
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurity.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurity.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurity.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurity.java
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurityImpl.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurityImpl.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurityImpl.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/MockNetworkSecurityImpl.java
diff --git a/owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/NetworkSecurityClientTest.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/NetworkSecurityClientTest.java
similarity index 100%
rename from owl-bot-staging/v1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/NetworkSecurityClientTest.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1/NetworkSecurityClientTest.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicy.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicy.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicy.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicyImpl.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicyImpl.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicyImpl.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockIAMPolicyImpl.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocations.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocations.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocations.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocations.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocationsImpl.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocationsImpl.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocationsImpl.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockLocationsImpl.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurity.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurity.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurity.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurity.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurityImpl.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurityImpl.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurityImpl.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/MockNetworkSecurityImpl.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientHttpJsonTest.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientHttpJsonTest.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientHttpJsonTest.java
diff --git a/owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientTest.java b/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientTest.java
similarity index 100%
rename from owl-bot-staging/v1beta1/google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientTest.java
rename to google-cloud-network-security/src/test/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityClientTest.java
diff --git a/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java b/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java
new file mode 100644
index 00000000..d32cae5f
--- /dev/null
+++ b/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java
@@ -0,0 +1,2088 @@
+/*
+ * 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.networksecurity.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/networksecurity/v1/network_security.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class NetworkSecurityGrpc {
+
+ private NetworkSecurityGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.networksecurity.v1.NetworkSecurity";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListAuthorizationPolicies",
+ requestType = com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod;
+ if ((getListAuthorizationPoliciesMethod =
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListAuthorizationPoliciesMethod =
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod =
+ getListAuthorizationPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListAuthorizationPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListAuthorizationPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListAuthorizationPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.AuthorizationPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod;
+ if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetAuthorizationPolicyMethod =
+ getGetAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod;
+ if ((getCreateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod =
+ getCreateAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod;
+ if ((getUpdateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod =
+ getUpdateAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod;
+ if ((getDeleteAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod =
+ getDeleteAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListServerTlsPolicies",
+ requestType = com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod;
+ if ((getListServerTlsPoliciesMethod = NetworkSecurityGrpc.getListServerTlsPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListServerTlsPoliciesMethod = NetworkSecurityGrpc.getListServerTlsPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListServerTlsPoliciesMethod =
+ getListServerTlsPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListServerTlsPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListServerTlsPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListServerTlsPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.ServerTlsPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod;
+ if ((getGetServerTlsPolicyMethod = NetworkSecurityGrpc.getGetServerTlsPolicyMethod) == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetServerTlsPolicyMethod = NetworkSecurityGrpc.getGetServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetServerTlsPolicyMethod =
+ getGetServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod;
+ if ((getCreateServerTlsPolicyMethod = NetworkSecurityGrpc.getCreateServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateServerTlsPolicyMethod = NetworkSecurityGrpc.getCreateServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateServerTlsPolicyMethod =
+ getCreateServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod;
+ if ((getUpdateServerTlsPolicyMethod = NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateServerTlsPolicyMethod = NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod =
+ getUpdateServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod;
+ if ((getDeleteServerTlsPolicyMethod = NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteServerTlsPolicyMethod = NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod =
+ getDeleteServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListClientTlsPolicies",
+ requestType = com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod;
+ if ((getListClientTlsPoliciesMethod = NetworkSecurityGrpc.getListClientTlsPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListClientTlsPoliciesMethod = NetworkSecurityGrpc.getListClientTlsPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListClientTlsPoliciesMethod =
+ getListClientTlsPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListClientTlsPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListClientTlsPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListClientTlsPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1.ClientTlsPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod;
+ if ((getGetClientTlsPolicyMethod = NetworkSecurityGrpc.getGetClientTlsPolicyMethod) == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetClientTlsPolicyMethod = NetworkSecurityGrpc.getGetClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetClientTlsPolicyMethod =
+ getGetClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod;
+ if ((getCreateClientTlsPolicyMethod = NetworkSecurityGrpc.getCreateClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateClientTlsPolicyMethod = NetworkSecurityGrpc.getCreateClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateClientTlsPolicyMethod =
+ getCreateClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod;
+ if ((getUpdateClientTlsPolicyMethod = NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateClientTlsPolicyMethod = NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod =
+ getUpdateClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod;
+ if ((getDeleteClientTlsPolicyMethod = NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteClientTlsPolicyMethod = NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod =
+ getDeleteClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteClientTlsPolicyMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static NetworkSecurityStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static NetworkSecurityBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityBlockingStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static NetworkSecurityFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityFutureStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public abstract static class NetworkSecurityImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public void listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListAuthorizationPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public void getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public void createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public void updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public void deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public void listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListServerTlsPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public void getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public void createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public void updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public void deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public void listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListClientTlsPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public void getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public void createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public void updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public void deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteClientTlsPolicyMethod(), responseObserver);
+ }
+
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getListAuthorizationPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>(
+ this, METHODID_LIST_AUTHORIZATION_POLICIES)))
+ .addMethod(
+ getGetAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy>(
+ this, METHODID_GET_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getCreateAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getUpdateAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_UPDATE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getDeleteAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_DELETE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getListServerTlsPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>(
+ this, METHODID_LIST_SERVER_TLS_POLICIES)))
+ .addMethod(
+ getGetServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy>(
+ this, METHODID_GET_SERVER_TLS_POLICY)))
+ .addMethod(
+ getCreateServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getUpdateServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getDeleteServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getListClientTlsPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>(
+ this, METHODID_LIST_CLIENT_TLS_POLICIES)))
+ .addMethod(
+ getGetClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy>(
+ this, METHODID_GET_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getCreateClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getUpdateClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getDeleteClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_CLIENT_TLS_POLICY)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityStub
+ extends io.grpc.stub.AbstractAsyncStub {
+ private NetworkSecurityStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public void listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListAuthorizationPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public void getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public void createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public void updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public void deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public void listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListServerTlsPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public void getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public void createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public void updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public void deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public void listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListClientTlsPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public void getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public void createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public void updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public void deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
+ private NetworkSecurityBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityBlockingStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse
+ listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListAuthorizationPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.AuthorizationPolicy getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListServerTlsPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.ServerTlsPolicy getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListClientTlsPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1.ClientTlsPolicy getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
+ private NetworkSecurityFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityFutureStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>
+ listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListAuthorizationPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.AuthorizationPolicy>
+ getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>
+ listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListServerTlsPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.ServerTlsPolicy>
+ getServerTlsPolicy(com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>
+ listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListClientTlsPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1.ClientTlsPolicy>
+ getClientTlsPolicy(com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_LIST_AUTHORIZATION_POLICIES = 0;
+ private static final int METHODID_GET_AUTHORIZATION_POLICY = 1;
+ private static final int METHODID_CREATE_AUTHORIZATION_POLICY = 2;
+ private static final int METHODID_UPDATE_AUTHORIZATION_POLICY = 3;
+ private static final int METHODID_DELETE_AUTHORIZATION_POLICY = 4;
+ private static final int METHODID_LIST_SERVER_TLS_POLICIES = 5;
+ private static final int METHODID_GET_SERVER_TLS_POLICY = 6;
+ private static final int METHODID_CREATE_SERVER_TLS_POLICY = 7;
+ private static final int METHODID_UPDATE_SERVER_TLS_POLICY = 8;
+ private static final int METHODID_DELETE_SERVER_TLS_POLICY = 9;
+ private static final int METHODID_LIST_CLIENT_TLS_POLICIES = 10;
+ private static final int METHODID_GET_CLIENT_TLS_POLICY = 11;
+ private static final int METHODID_CREATE_CLIENT_TLS_POLICY = 12;
+ private static final int METHODID_UPDATE_CLIENT_TLS_POLICY = 13;
+ private static final int METHODID_DELETE_CLIENT_TLS_POLICY = 14;
+
+ 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 NetworkSecurityImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(NetworkSecurityImplBase 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_AUTHORIZATION_POLICIES:
+ serviceImpl.listAuthorizationPolicies(
+ (com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_AUTHORIZATION_POLICY:
+ serviceImpl.getAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_AUTHORIZATION_POLICY:
+ serviceImpl.createAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_AUTHORIZATION_POLICY:
+ serviceImpl.updateAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_AUTHORIZATION_POLICY:
+ serviceImpl.deleteAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_SERVER_TLS_POLICIES:
+ serviceImpl.listServerTlsPolicies(
+ (com.google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_SERVER_TLS_POLICY:
+ serviceImpl.getServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1.GetServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_SERVER_TLS_POLICY:
+ serviceImpl.createServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_SERVER_TLS_POLICY:
+ serviceImpl.updateServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_SERVER_TLS_POLICY:
+ serviceImpl.deleteServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_CLIENT_TLS_POLICIES:
+ serviceImpl.listClientTlsPolicies(
+ (com.google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_CLIENT_TLS_POLICY:
+ serviceImpl.getClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1.GetClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_CREATE_CLIENT_TLS_POLICY:
+ serviceImpl.createClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_CLIENT_TLS_POLICY:
+ serviceImpl.updateClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_CLIENT_TLS_POLICY:
+ serviceImpl.deleteClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest) 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 NetworkSecurityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ NetworkSecurityBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.cloud.networksecurity.v1.NetworkSecurityOuterClass.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("NetworkSecurity");
+ }
+ }
+
+ private static final class NetworkSecurityFileDescriptorSupplier
+ extends NetworkSecurityBaseDescriptorSupplier {
+ NetworkSecurityFileDescriptorSupplier() {}
+ }
+
+ private static final class NetworkSecurityMethodDescriptorSupplier
+ extends NetworkSecurityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ NetworkSecurityMethodDescriptorSupplier(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 (NetworkSecurityGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new NetworkSecurityFileDescriptorSupplier())
+ .addMethod(getListAuthorizationPoliciesMethod())
+ .addMethod(getGetAuthorizationPolicyMethod())
+ .addMethod(getCreateAuthorizationPolicyMethod())
+ .addMethod(getUpdateAuthorizationPolicyMethod())
+ .addMethod(getDeleteAuthorizationPolicyMethod())
+ .addMethod(getListServerTlsPoliciesMethod())
+ .addMethod(getGetServerTlsPolicyMethod())
+ .addMethod(getCreateServerTlsPolicyMethod())
+ .addMethod(getUpdateServerTlsPolicyMethod())
+ .addMethod(getDeleteServerTlsPolicyMethod())
+ .addMethod(getListClientTlsPoliciesMethod())
+ .addMethod(getGetClientTlsPolicyMethod())
+ .addMethod(getCreateClientTlsPolicyMethod())
+ .addMethod(getUpdateClientTlsPolicyMethod())
+ .addMethod(getDeleteClientTlsPolicyMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java b/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java
new file mode 100644
index 00000000..ef56ee68
--- /dev/null
+++ b/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java
@@ -0,0 +1,2097 @@
+/*
+ * 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.networksecurity.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/networksecurity/v1beta1/network_security.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class NetworkSecurityGrpc {
+
+ private NetworkSecurityGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.networksecurity.v1beta1.NetworkSecurity";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListAuthorizationPolicies",
+ requestType = com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest.class,
+ responseType =
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ getListAuthorizationPoliciesMethod;
+ if ((getListAuthorizationPoliciesMethod =
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListAuthorizationPoliciesMethod =
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListAuthorizationPoliciesMethod =
+ getListAuthorizationPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListAuthorizationPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1
+ .ListAuthorizationPoliciesRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1
+ .ListAuthorizationPoliciesResponse.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListAuthorizationPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListAuthorizationPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>
+ getGetAuthorizationPolicyMethod;
+ if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetAuthorizationPolicyMethod =
+ getGetAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateAuthorizationPolicyMethod;
+ if ((getCreateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod =
+ getCreateAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1
+ .CreateAuthorizationPolicyRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateAuthorizationPolicyMethod;
+ if ((getUpdateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateAuthorizationPolicyMethod =
+ getUpdateAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1
+ .UpdateAuthorizationPolicyRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteAuthorizationPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteAuthorizationPolicyMethod;
+ if ((getDeleteAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteAuthorizationPolicyMethod =
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteAuthorizationPolicyMethod =
+ getDeleteAuthorizationPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteAuthorizationPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1
+ .DeleteAuthorizationPolicyRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteAuthorizationPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteAuthorizationPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListServerTlsPolicies",
+ requestType = com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest.class,
+ responseType = com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ getListServerTlsPoliciesMethod;
+ if ((getListServerTlsPoliciesMethod = NetworkSecurityGrpc.getListServerTlsPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListServerTlsPoliciesMethod = NetworkSecurityGrpc.getListServerTlsPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListServerTlsPoliciesMethod =
+ getListServerTlsPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListServerTlsPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListServerTlsPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListServerTlsPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>
+ getGetServerTlsPolicyMethod;
+ if ((getGetServerTlsPolicyMethod = NetworkSecurityGrpc.getGetServerTlsPolicyMethod) == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetServerTlsPolicyMethod = NetworkSecurityGrpc.getGetServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetServerTlsPolicyMethod =
+ getGetServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateServerTlsPolicyMethod;
+ if ((getCreateServerTlsPolicyMethod = NetworkSecurityGrpc.getCreateServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateServerTlsPolicyMethod = NetworkSecurityGrpc.getCreateServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateServerTlsPolicyMethod =
+ getCreateServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateServerTlsPolicyMethod;
+ if ((getUpdateServerTlsPolicyMethod = NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateServerTlsPolicyMethod = NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateServerTlsPolicyMethod =
+ getUpdateServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteServerTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteServerTlsPolicyMethod;
+ if ((getDeleteServerTlsPolicyMethod = NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteServerTlsPolicyMethod = NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteServerTlsPolicyMethod =
+ getDeleteServerTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteServerTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteServerTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteServerTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListClientTlsPolicies",
+ requestType = com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest.class,
+ responseType = com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ getListClientTlsPoliciesMethod;
+ if ((getListClientTlsPoliciesMethod = NetworkSecurityGrpc.getListClientTlsPoliciesMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getListClientTlsPoliciesMethod = NetworkSecurityGrpc.getListClientTlsPoliciesMethod)
+ == null) {
+ NetworkSecurityGrpc.getListClientTlsPoliciesMethod =
+ getListClientTlsPoliciesMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListClientTlsPolicies"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("ListClientTlsPolicies"))
+ .build();
+ }
+ }
+ }
+ return getListClientTlsPoliciesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest.class,
+ responseType = com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>
+ getGetClientTlsPolicyMethod;
+ if ((getGetClientTlsPolicyMethod = NetworkSecurityGrpc.getGetClientTlsPolicyMethod) == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getGetClientTlsPolicyMethod = NetworkSecurityGrpc.getGetClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getGetClientTlsPolicyMethod =
+ getGetClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("GetClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getGetClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getCreateClientTlsPolicyMethod;
+ if ((getCreateClientTlsPolicyMethod = NetworkSecurityGrpc.getCreateClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getCreateClientTlsPolicyMethod = NetworkSecurityGrpc.getCreateClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getCreateClientTlsPolicyMethod =
+ getCreateClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "CreateClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("CreateClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getCreateClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getUpdateClientTlsPolicyMethod;
+ if ((getUpdateClientTlsPolicyMethod = NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getUpdateClientTlsPolicyMethod = NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getUpdateClientTlsPolicyMethod =
+ getUpdateClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "UpdateClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("UpdateClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getUpdateClientTlsPolicyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteClientTlsPolicy",
+ requestType = com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>
+ getDeleteClientTlsPolicyMethod;
+ if ((getDeleteClientTlsPolicyMethod = NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod)
+ == null) {
+ synchronized (NetworkSecurityGrpc.class) {
+ if ((getDeleteClientTlsPolicyMethod = NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod)
+ == null) {
+ NetworkSecurityGrpc.getDeleteClientTlsPolicyMethod =
+ getDeleteClientTlsPolicyMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "DeleteClientTlsPolicy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(
+ new NetworkSecurityMethodDescriptorSupplier("DeleteClientTlsPolicy"))
+ .build();
+ }
+ }
+ }
+ return getDeleteClientTlsPolicyMethod;
+ }
+
+ /** Creates a new async stub that supports all call types for the service */
+ public static NetworkSecurityStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static NetworkSecurityBlockingStub newBlockingStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityBlockingStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityBlockingStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityBlockingStub.newStub(factory, channel);
+ }
+
+ /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+ public static NetworkSecurityFutureStub newFutureStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public NetworkSecurityFutureStub newStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityFutureStub(channel, callOptions);
+ }
+ };
+ return NetworkSecurityFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public abstract static class NetworkSecurityImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public void listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListAuthorizationPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public void getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public void createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public void updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public void deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteAuthorizationPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public void listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListServerTlsPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public void getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public void createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public void updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public void deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteServerTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public void listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListClientTlsPoliciesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public void getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public void createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public void updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateClientTlsPolicyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public void deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getDeleteClientTlsPolicyMethod(), responseObserver);
+ }
+
+ @java.lang.Override
+ public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getListAuthorizationPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>(
+ this, METHODID_LIST_AUTHORIZATION_POLICIES)))
+ .addMethod(
+ getGetAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>(
+ this, METHODID_GET_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getCreateAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getUpdateAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_UPDATE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getDeleteAuthorizationPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_DELETE_AUTHORIZATION_POLICY)))
+ .addMethod(
+ getListServerTlsPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>(
+ this, METHODID_LIST_SERVER_TLS_POLICIES)))
+ .addMethod(
+ getGetServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>(
+ this, METHODID_GET_SERVER_TLS_POLICY)))
+ .addMethod(
+ getCreateServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getUpdateServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getDeleteServerTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_SERVER_TLS_POLICY)))
+ .addMethod(
+ getListClientTlsPoliciesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest,
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>(
+ this, METHODID_LIST_CLIENT_TLS_POLICIES)))
+ .addMethod(
+ getGetClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest,
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>(
+ this, METHODID_GET_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getCreateClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_CREATE_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getUpdateClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_UPDATE_CLIENT_TLS_POLICY)))
+ .addMethod(
+ getDeleteClientTlsPolicyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest,
+ com.google.longrunning.Operation>(this, METHODID_DELETE_CLIENT_TLS_POLICY)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityStub
+ extends io.grpc.stub.AbstractAsyncStub {
+ private NetworkSecurityStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public void listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListAuthorizationPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public void getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public void createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public void updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public void deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteAuthorizationPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public void listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListServerTlsPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public void getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public void createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public void updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public void deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteServerTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public void listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListClientTlsPoliciesMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public void getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public void createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public void updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public void deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteClientTlsPolicyMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityBlockingStub
+ extends io.grpc.stub.AbstractBlockingStub {
+ private NetworkSecurityBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityBlockingStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse
+ listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListAuthorizationPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteAuthorizationPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse
+ listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListServerTlsPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteServerTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse
+ listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListClientTlsPoliciesMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.longrunning.Operation createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public com.google.longrunning.Operation deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteClientTlsPolicyMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
+ public static final class NetworkSecurityFutureStub
+ extends io.grpc.stub.AbstractFutureStub {
+ private NetworkSecurityFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected NetworkSecurityFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new NetworkSecurityFutureStub(channel, callOptions);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists AuthorizationPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>
+ listAuthorizationPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListAuthorizationPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>
+ getAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new AuthorizationPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single AuthorizationPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteAuthorizationPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteAuthorizationPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ServerTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>
+ listServerTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListServerTlsPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>
+ getServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ServerTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ServerTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteServerTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteServerTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists ClientTlsPolicies in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>
+ listClientTlsPolicies(
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListClientTlsPoliciesMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets details of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>
+ getClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates a new ClientTlsPolicy in a given project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates the parameters of a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Deletes a single ClientTlsPolicy.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ deleteClientTlsPolicy(
+ com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteClientTlsPolicyMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_LIST_AUTHORIZATION_POLICIES = 0;
+ private static final int METHODID_GET_AUTHORIZATION_POLICY = 1;
+ private static final int METHODID_CREATE_AUTHORIZATION_POLICY = 2;
+ private static final int METHODID_UPDATE_AUTHORIZATION_POLICY = 3;
+ private static final int METHODID_DELETE_AUTHORIZATION_POLICY = 4;
+ private static final int METHODID_LIST_SERVER_TLS_POLICIES = 5;
+ private static final int METHODID_GET_SERVER_TLS_POLICY = 6;
+ private static final int METHODID_CREATE_SERVER_TLS_POLICY = 7;
+ private static final int METHODID_UPDATE_SERVER_TLS_POLICY = 8;
+ private static final int METHODID_DELETE_SERVER_TLS_POLICY = 9;
+ private static final int METHODID_LIST_CLIENT_TLS_POLICIES = 10;
+ private static final int METHODID_GET_CLIENT_TLS_POLICY = 11;
+ private static final int METHODID_CREATE_CLIENT_TLS_POLICY = 12;
+ private static final int METHODID_UPDATE_CLIENT_TLS_POLICY = 13;
+ private static final int METHODID_DELETE_CLIENT_TLS_POLICY = 14;
+
+ 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 NetworkSecurityImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(NetworkSecurityImplBase 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_AUTHORIZATION_POLICIES:
+ serviceImpl.listAuthorizationPolicies(
+ (com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_AUTHORIZATION_POLICY:
+ serviceImpl.getAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy>)
+ responseObserver);
+ break;
+ case METHODID_CREATE_AUTHORIZATION_POLICY:
+ serviceImpl.createAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_AUTHORIZATION_POLICY:
+ serviceImpl.updateAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_AUTHORIZATION_POLICY:
+ serviceImpl.deleteAuthorizationPolicy(
+ (com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_SERVER_TLS_POLICIES:
+ serviceImpl.listServerTlsPolicies(
+ (com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_SERVER_TLS_POLICY:
+ serviceImpl.getServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy>)
+ responseObserver);
+ break;
+ case METHODID_CREATE_SERVER_TLS_POLICY:
+ serviceImpl.createServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_SERVER_TLS_POLICY:
+ serviceImpl.updateServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_SERVER_TLS_POLICY:
+ serviceImpl.deleteServerTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_CLIENT_TLS_POLICIES:
+ serviceImpl.listClientTlsPolicies(
+ (com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>)
+ responseObserver);
+ break;
+ case METHODID_GET_CLIENT_TLS_POLICY:
+ serviceImpl.getClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy>)
+ responseObserver);
+ break;
+ case METHODID_CREATE_CLIENT_TLS_POLICY:
+ serviceImpl.createClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_CLIENT_TLS_POLICY:
+ serviceImpl.updateClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_CLIENT_TLS_POLICY:
+ serviceImpl.deleteClientTlsPolicy(
+ (com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest) 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 NetworkSecurityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+ io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ NetworkSecurityBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.cloud.networksecurity.v1beta1.NetworkSecurityOuterClass.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("NetworkSecurity");
+ }
+ }
+
+ private static final class NetworkSecurityFileDescriptorSupplier
+ extends NetworkSecurityBaseDescriptorSupplier {
+ NetworkSecurityFileDescriptorSupplier() {}
+ }
+
+ private static final class NetworkSecurityMethodDescriptorSupplier
+ extends NetworkSecurityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ NetworkSecurityMethodDescriptorSupplier(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 (NetworkSecurityGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor =
+ result =
+ io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new NetworkSecurityFileDescriptorSupplier())
+ .addMethod(getListAuthorizationPoliciesMethod())
+ .addMethod(getGetAuthorizationPolicyMethod())
+ .addMethod(getCreateAuthorizationPolicyMethod())
+ .addMethod(getUpdateAuthorizationPolicyMethod())
+ .addMethod(getDeleteAuthorizationPolicyMethod())
+ .addMethod(getListServerTlsPoliciesMethod())
+ .addMethod(getGetServerTlsPolicyMethod())
+ .addMethod(getCreateServerTlsPolicyMethod())
+ .addMethod(getUpdateServerTlsPolicyMethod())
+ .addMethod(getDeleteServerTlsPolicyMethod())
+ .addMethod(getListClientTlsPoliciesMethod())
+ .addMethod(getGetClientTlsPolicyMethod())
+ .addMethod(getCreateClientTlsPolicyMethod())
+ .addMethod(getUpdateClientTlsPolicyMethod())
+ .addMethod(getDeleteClientTlsPolicyMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/owl-bot-staging/v1/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java
deleted file mode 100644
index 376371f1..00000000
--- a/owl-bot-staging/v1/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java
+++ /dev/null
@@ -1,1517 +0,0 @@
-package com.google.cloud.networksecurity.v1;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- *
- * Network Security API provides resources to configure authentication and
- * authorization policies. Refer to per API resource documentation for more
- * information.
- *
- */
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/cloud/networksecurity/v1/network_security.proto")
-@io.grpc.stub.annotations.GrpcGenerated
-public final class NetworkSecurityGrpc {
-
- private NetworkSecurityGrpc() {}
-
- public static final String SERVICE_NAME = "google.cloud.networksecurity.v1.NetworkSecurity";
-
- // Static method descriptors that strictly reflect the proto.
- private static volatile io.grpc.MethodDescriptor getListAuthorizationPoliciesMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "ListAuthorizationPolicies",
- requestType = com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest.class,
- responseType = com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getListAuthorizationPoliciesMethod() {
- io.grpc.MethodDescriptor getListAuthorizationPoliciesMethod;
- if ((getListAuthorizationPoliciesMethod = NetworkSecurityGrpc.getListAuthorizationPoliciesMethod) == null) {
- synchronized (NetworkSecurityGrpc.class) {
- if ((getListAuthorizationPoliciesMethod = NetworkSecurityGrpc.getListAuthorizationPoliciesMethod) == null) {
- NetworkSecurityGrpc.getListAuthorizationPoliciesMethod = getListAuthorizationPoliciesMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAuthorizationPolicies"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse.getDefaultInstance()))
- .setSchemaDescriptor(new NetworkSecurityMethodDescriptorSupplier("ListAuthorizationPolicies"))
- .build();
- }
- }
- }
- return getListAuthorizationPoliciesMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getGetAuthorizationPolicyMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "GetAuthorizationPolicy",
- requestType = com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest.class,
- responseType = com.google.cloud.networksecurity.v1.AuthorizationPolicy.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetAuthorizationPolicyMethod() {
- io.grpc.MethodDescriptor getGetAuthorizationPolicyMethod;
- if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod) == null) {
- synchronized (NetworkSecurityGrpc.class) {
- if ((getGetAuthorizationPolicyMethod = NetworkSecurityGrpc.getGetAuthorizationPolicyMethod) == null) {
- NetworkSecurityGrpc.getGetAuthorizationPolicyMethod = getGetAuthorizationPolicyMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAuthorizationPolicy"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.networksecurity.v1.AuthorizationPolicy.getDefaultInstance()))
- .setSchemaDescriptor(new NetworkSecurityMethodDescriptorSupplier("GetAuthorizationPolicy"))
- .build();
- }
- }
- }
- return getGetAuthorizationPolicyMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getCreateAuthorizationPolicyMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "CreateAuthorizationPolicy",
- requestType = com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest.class,
- responseType = com.google.longrunning.Operation.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getCreateAuthorizationPolicyMethod() {
- io.grpc.MethodDescriptor getCreateAuthorizationPolicyMethod;
- if ((getCreateAuthorizationPolicyMethod = NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod) == null) {
- synchronized (NetworkSecurityGrpc.class) {
- if ((getCreateAuthorizationPolicyMethod = NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod) == null) {
- NetworkSecurityGrpc.getCreateAuthorizationPolicyMethod = getCreateAuthorizationPolicyMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAuthorizationPolicy"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- com.google.longrunning.Operation.getDefaultInstance()))
- .setSchemaDescriptor(new NetworkSecurityMethodDescriptorSupplier("CreateAuthorizationPolicy"))
- .build();
- }
- }
- }
- return getCreateAuthorizationPolicyMethod;
- }
-
- private static volatile io.grpc.MethodDescriptor getUpdateAuthorizationPolicyMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "UpdateAuthorizationPolicy",
- requestType = com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest.class,
- responseType = com.google.longrunning.Operation.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor