public class GrpcNetworkSecurityStub extends NetworkSecurityStub
gRPC stub implementation for the NetworkSecurity service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcNetworkSecurityStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNetworkSecurityStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(NetworkSecurityStubSettings settings)
public static final GrpcNetworkSecurityStub create(NetworkSecurityStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext)
protected GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcNetworkSecurityStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcNetworkSecurityStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createAuthorizationPolicyCallable()
public UnaryCallable<CreateAuthorizationPolicyRequest,Operation> createAuthorizationPolicyCallable()
Returns
Overrides
createAuthorizationPolicyOperationCallable()
public OperationCallable<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> createAuthorizationPolicyOperationCallable()
Returns
Overrides
createClientTlsPolicyCallable()
public UnaryCallable<CreateClientTlsPolicyRequest,Operation> createClientTlsPolicyCallable()
Returns
Overrides
createClientTlsPolicyOperationCallable()
public OperationCallable<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> createClientTlsPolicyOperationCallable()
Returns
Overrides
createServerTlsPolicyCallable()
public UnaryCallable<CreateServerTlsPolicyRequest,Operation> createServerTlsPolicyCallable()
Returns
Overrides
createServerTlsPolicyOperationCallable()
public OperationCallable<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> createServerTlsPolicyOperationCallable()
Returns
Overrides
deleteAuthorizationPolicyCallable()
public UnaryCallable<DeleteAuthorizationPolicyRequest,Operation> deleteAuthorizationPolicyCallable()
Returns
Overrides
deleteAuthorizationPolicyOperationCallable()
public OperationCallable<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata> deleteAuthorizationPolicyOperationCallable()
Returns
Overrides
deleteClientTlsPolicyCallable()
public UnaryCallable<DeleteClientTlsPolicyRequest,Operation> deleteClientTlsPolicyCallable()
Returns
Overrides
deleteClientTlsPolicyOperationCallable()
public OperationCallable<DeleteClientTlsPolicyRequest,Empty,OperationMetadata> deleteClientTlsPolicyOperationCallable()
Returns
Overrides
deleteServerTlsPolicyCallable()
public UnaryCallable<DeleteServerTlsPolicyRequest,Operation> deleteServerTlsPolicyCallable()
Returns
Overrides
deleteServerTlsPolicyOperationCallable()
public OperationCallable<DeleteServerTlsPolicyRequest,Empty,OperationMetadata> deleteServerTlsPolicyOperationCallable()
Returns
Overrides
getAuthorizationPolicyCallable()
public UnaryCallable<GetAuthorizationPolicyRequest,AuthorizationPolicy> getAuthorizationPolicyCallable()
Returns
Overrides
getClientTlsPolicyCallable()
public UnaryCallable<GetClientTlsPolicyRequest,ClientTlsPolicy> getClientTlsPolicyCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getServerTlsPolicyCallable()
public UnaryCallable<GetServerTlsPolicyRequest,ServerTlsPolicy> getServerTlsPolicyCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listAuthorizationPoliciesCallable()
public UnaryCallable<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse> listAuthorizationPoliciesCallable()
Returns
Overrides
listAuthorizationPoliciesPagedCallable()
public UnaryCallable<ListAuthorizationPoliciesRequest,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse> listAuthorizationPoliciesPagedCallable()
Returns
Overrides
listClientTlsPoliciesCallable()
public UnaryCallable<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse> listClientTlsPoliciesCallable()
Returns
Overrides
listClientTlsPoliciesPagedCallable()
public UnaryCallable<ListClientTlsPoliciesRequest,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse> listClientTlsPoliciesPagedCallable()
Returns
Overrides
listServerTlsPoliciesCallable()
public UnaryCallable<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse> listServerTlsPoliciesCallable()
Returns
Overrides
listServerTlsPoliciesPagedCallable()
public UnaryCallable<ListServerTlsPoliciesRequest,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse> listServerTlsPoliciesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateAuthorizationPolicyCallable()
public UnaryCallable<UpdateAuthorizationPolicyRequest,Operation> updateAuthorizationPolicyCallable()
Returns
Overrides
updateAuthorizationPolicyOperationCallable()
public OperationCallable<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> updateAuthorizationPolicyOperationCallable()
Returns
Overrides
updateClientTlsPolicyCallable()
public UnaryCallable<UpdateClientTlsPolicyRequest,Operation> updateClientTlsPolicyCallable()
Returns
Overrides
updateClientTlsPolicyOperationCallable()
public OperationCallable<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> updateClientTlsPolicyOperationCallable()
Returns
Overrides
updateServerTlsPolicyCallable()
public UnaryCallable<UpdateServerTlsPolicyRequest,Operation> updateServerTlsPolicyCallable()
Returns
Overrides
updateServerTlsPolicyOperationCallable()
public OperationCallable<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> updateServerTlsPolicyOperationCallable()
Returns
Overrides