Class GrpcNetworkSecurityStub (0.79.0)

publicclass GrpcNetworkSecurityStubextendsNetworkSecurityStub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcNetworkSecurityStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcNetworkSecurityStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcNetworkSecurityStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcNetworkSecurityStub
Exceptions
Type Description
IOException

create(NetworkSecurityStubSettings settings)

publicstaticfinalGrpcNetworkSecurityStubcreate(NetworkSecurityStubSettingssettings)
Parameter
Name Description
settings NetworkSecurityStubSettings
Returns
Type Description
GrpcNetworkSecurityStub
Exceptions
Type Description
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
Name Description
settings NetworkSecurityStubSettings
clientContext ClientContext

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
Name Description
settings NetworkSecurityStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createAuthorizationPolicyCallable()

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

createAuthorizationPolicyOperationCallable()

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

createClientTlsPolicyCallable()

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

createClientTlsPolicyOperationCallable()

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

createServerTlsPolicyCallable()

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

createServerTlsPolicyOperationCallable()

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

deleteAuthorizationPolicyCallable()

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

deleteAuthorizationPolicyOperationCallable()

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

deleteClientTlsPolicyCallable()

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

deleteClientTlsPolicyOperationCallable()

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

deleteServerTlsPolicyCallable()

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

deleteServerTlsPolicyOperationCallable()

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

getAuthorizationPolicyCallable()

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

getClientTlsPolicyCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getServerTlsPolicyCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listAuthorizationPoliciesCallable()

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

listAuthorizationPoliciesPagedCallable()

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

listClientTlsPoliciesCallable()

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

listClientTlsPoliciesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listServerTlsPoliciesCallable()

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

listServerTlsPoliciesPagedCallable()

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

setIamPolicyCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

testIamPermissionsCallable()

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

updateAuthorizationPolicyCallable()

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

updateAuthorizationPolicyOperationCallable()

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

updateClientTlsPolicyCallable()

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

updateClientTlsPolicyOperationCallable()

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

updateServerTlsPolicyCallable()

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

updateServerTlsPolicyOperationCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.