Class GrpcNetworkSecurityStub (0.63.0)

publicclassGrpcNetworkSecurityStubextendsNetworkSecurityStub

gRPC stub implementation for the NetworkSecurity service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NetworkSecurityStub > GrpcNetworkSecurityStub

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcNetworkSecurityStubcreate(ClientContextclientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcNetworkSecurityStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcNetworkSecurityStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcNetworkSecurityStub
Exceptions
TypeDescription
IOException

create(NetworkSecurityStubSettings settings)

publicstaticfinalGrpcNetworkSecurityStubcreate(NetworkSecurityStubSettingssettings)
Parameter
NameDescription
settingsNetworkSecurityStubSettings
Returns
TypeDescription
GrpcNetworkSecurityStub
Exceptions
TypeDescription
IOException

Constructors

GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext)

protectedGrpcNetworkSecurityStub(NetworkSecurityStubSettingssettings,ClientContextclientContext)

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
NameDescription
settingsNetworkSecurityStubSettings
clientContextClientContext

GrpcNetworkSecurityStub(NetworkSecurityStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protectedGrpcNetworkSecurityStub(NetworkSecurityStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

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
NameDescription
settingsNetworkSecurityStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

publicfinalvoidclose()
Overrides

createAuthorizationPolicyCallable()

publicUnaryCallable<CreateAuthorizationPolicyRequest,Operation>createAuthorizationPolicyCallable()
Returns
TypeDescription
UnaryCallable<CreateAuthorizationPolicyRequest,Operation>
Overrides

createAuthorizationPolicyOperationCallable()

publicOperationCallable<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>createAuthorizationPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>
Overrides

createClientTlsPolicyCallable()

publicUnaryCallable<CreateClientTlsPolicyRequest,Operation>createClientTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<CreateClientTlsPolicyRequest,Operation>
Overrides

createClientTlsPolicyOperationCallable()

publicOperationCallable<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>createClientTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>
Overrides

createServerTlsPolicyCallable()

publicUnaryCallable<CreateServerTlsPolicyRequest,Operation>createServerTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<CreateServerTlsPolicyRequest,Operation>
Overrides

createServerTlsPolicyOperationCallable()

publicOperationCallable<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>createServerTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>
Overrides

deleteAuthorizationPolicyCallable()

publicUnaryCallable<DeleteAuthorizationPolicyRequest,Operation>deleteAuthorizationPolicyCallable()
Returns
TypeDescription
UnaryCallable<DeleteAuthorizationPolicyRequest,Operation>
Overrides

deleteAuthorizationPolicyOperationCallable()

publicOperationCallable<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata>deleteAuthorizationPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata>
Overrides

deleteClientTlsPolicyCallable()

publicUnaryCallable<DeleteClientTlsPolicyRequest,Operation>deleteClientTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<DeleteClientTlsPolicyRequest,Operation>
Overrides

deleteClientTlsPolicyOperationCallable()

publicOperationCallable<DeleteClientTlsPolicyRequest,Empty,OperationMetadata>deleteClientTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteClientTlsPolicyRequest,Empty,OperationMetadata>
Overrides

deleteServerTlsPolicyCallable()

publicUnaryCallable<DeleteServerTlsPolicyRequest,Operation>deleteServerTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<DeleteServerTlsPolicyRequest,Operation>
Overrides

deleteServerTlsPolicyOperationCallable()

publicOperationCallable<DeleteServerTlsPolicyRequest,Empty,OperationMetadata>deleteServerTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteServerTlsPolicyRequest,Empty,OperationMetadata>
Overrides

getAuthorizationPolicyCallable()

publicUnaryCallable<GetAuthorizationPolicyRequest,AuthorizationPolicy>getAuthorizationPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetAuthorizationPolicyRequest,AuthorizationPolicy>
Overrides

getClientTlsPolicyCallable()

publicUnaryCallable<GetClientTlsPolicyRequest,ClientTlsPolicy>getClientTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetClientTlsPolicyRequest,ClientTlsPolicy>
Overrides

getIamPolicyCallable()

publicUnaryCallable<GetIamPolicyRequest,Policy>getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

publicUnaryCallable<GetLocationRequest,Location>getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getServerTlsPolicyCallable()

publicUnaryCallable<GetServerTlsPolicyRequest,ServerTlsPolicy>getServerTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetServerTlsPolicyRequest,ServerTlsPolicy>
Overrides

isShutdown()

publicbooleanisShutdown()
Returns
TypeDescription
boolean

isTerminated()

publicbooleanisTerminated()
Returns
TypeDescription
boolean

listAuthorizationPoliciesCallable()

publicUnaryCallable<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse>listAuthorizationPoliciesCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse>
Overrides

listAuthorizationPoliciesPagedCallable()

publicUnaryCallable<ListAuthorizationPoliciesRequest,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse>listAuthorizationPoliciesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesPagedResponse>
Overrides

listClientTlsPoliciesCallable()

publicUnaryCallable<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse>listClientTlsPoliciesCallable()
Returns
TypeDescription
UnaryCallable<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse>
Overrides

listClientTlsPoliciesPagedCallable()

publicUnaryCallable<ListClientTlsPoliciesRequest,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse>listClientTlsPoliciesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListClientTlsPoliciesRequest,ListClientTlsPoliciesPagedResponse>
Overrides

listLocationsCallable()

publicUnaryCallable<ListLocationsRequest,ListLocationsResponse>listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

publicUnaryCallable<ListLocationsRequest,NetworkSecurityClient.ListLocationsPagedResponse>listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listServerTlsPoliciesCallable()

publicUnaryCallable<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse>listServerTlsPoliciesCallable()
Returns
TypeDescription
UnaryCallable<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse>
Overrides

listServerTlsPoliciesPagedCallable()

publicUnaryCallable<ListServerTlsPoliciesRequest,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse>listServerTlsPoliciesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListServerTlsPoliciesRequest,ListServerTlsPoliciesPagedResponse>
Overrides

setIamPolicyCallable()

publicUnaryCallable<SetIamPolicyRequest,Policy>setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

testIamPermissionsCallable()

publicUnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse>testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAuthorizationPolicyCallable()

publicUnaryCallable<UpdateAuthorizationPolicyRequest,Operation>updateAuthorizationPolicyCallable()
Returns
TypeDescription
UnaryCallable<UpdateAuthorizationPolicyRequest,Operation>
Overrides

updateAuthorizationPolicyOperationCallable()

publicOperationCallable<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>updateAuthorizationPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>
Overrides

updateClientTlsPolicyCallable()

publicUnaryCallable<UpdateClientTlsPolicyRequest,Operation>updateClientTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<UpdateClientTlsPolicyRequest,Operation>
Overrides

updateClientTlsPolicyOperationCallable()

publicOperationCallable<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>updateClientTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>
Overrides

updateServerTlsPolicyCallable()

publicUnaryCallable<UpdateServerTlsPolicyRequest,Operation>updateServerTlsPolicyCallable()
Returns
TypeDescription
UnaryCallable<UpdateServerTlsPolicyRequest,Operation>
Overrides

updateServerTlsPolicyOperationCallable()

publicOperationCallable<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>updateServerTlsPolicyOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>
Overrides