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 deleted file mode 100644 index d32cae5f..00000000 --- a/grpc-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityGrpc.java +++ /dev/null @@ -1,2088 +0,0 @@ -/* - * 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 - .
- * 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
- * Creates a new AuthorizationPolicy in a given project and location. - *- */ - public void createAuthorizationPolicy( - com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public void updateAuthorizationPolicy( - com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single AuthorizationPolicy. - *- */ - public void deleteAuthorizationPolicy( - com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ServerTlsPolicy in a given project and location. - *- */ - public void createServerTlsPolicy( - com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public void updateServerTlsPolicy( - com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ServerTlsPolicy. - *- */ - public void deleteServerTlsPolicy( - com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ClientTlsPolicy in a given project and location. - *- */ - public void createClientTlsPolicy( - com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public void updateClientTlsPolicy( - com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ClientTlsPolicy. - *- */ - public void deleteClientTlsPolicy( - com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Creates a new AuthorizationPolicy in a given project and location. - *- */ - public void createAuthorizationPolicy( - com.google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public void updateAuthorizationPolicy( - com.google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single AuthorizationPolicy. - *- */ - public void deleteAuthorizationPolicy( - com.google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ServerTlsPolicy in a given project and location. - *- */ - public void createServerTlsPolicy( - com.google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public void updateServerTlsPolicy( - com.google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ServerTlsPolicy. - *- */ - public void deleteServerTlsPolicy( - com.google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ClientTlsPolicy in a given project and location. - *- */ - public void createClientTlsPolicy( - com.google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public void updateClientTlsPolicy( - com.google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ClientTlsPolicy. - *- */ - public void deleteClientTlsPolicy( - com.google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * 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
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single AuthorizationPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single ServerTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single ClientTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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 - .
- * 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
- * Creates a new AuthorizationPolicy in a given project and location. - *- */ - public void createAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public void updateAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single AuthorizationPolicy. - *- */ - public void deleteAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ServerTlsPolicy in a given project and location. - *- */ - public void createServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public void updateServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ServerTlsPolicy. - *- */ - public void deleteServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ClientTlsPolicy in a given project and location. - *- */ - public void createClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public void updateClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ClientTlsPolicy. - *- */ - public void deleteClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Creates a new AuthorizationPolicy in a given project and location. - *- */ - public void createAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public void updateAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single AuthorizationPolicy. - *- */ - public void deleteAuthorizationPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ServerTlsPolicy in a given project and location. - *- */ - public void createServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public void updateServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ServerTlsPolicy. - *- */ - public void deleteServerTlsPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Creates a new ClientTlsPolicy in a given project and location. - *- */ - public void createClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public void updateClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single ClientTlsPolicy. - *- */ - public void deleteClientTlsPolicy( - com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * 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
- * Updates the parameters of a single AuthorizationPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single AuthorizationPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Updates the parameters of a single ServerTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single ServerTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Updates the parameters of a single ClientTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single ClientTlsPolicy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
The default instance has everything set to sensible defaults: * *
The builder of this class is recursive, so contained classes are themselves builders. When
@@ -79,8 +80,7 @@ public class NetworkSecuritySettings extends ClientSettings The default instance has everything set to sensible defaults:
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -121,8 +121,7 @@ public class NetworkSecurityStubSettings extends StubSettings
- *
*
*
+ * 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