Class HttpJsonNetworkFirewallPoliciesStub (1.63.0)

public class HttpJsonNetworkFirewallPoliciesStub extends NetworkFirewallPoliciesStub

REST stub implementation for the NetworkFirewallPolicies service API.

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

Inheritance

java.lang.Object > NetworkFirewallPoliciesStub > HttpJsonNetworkFirewallPoliciesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

create(NetworkFirewallPoliciesStubSettings settings)

public static final HttpJsonNetworkFirewallPoliciesStub create(NetworkFirewallPoliciesStubSettings settings)
Parameter
Name Description
settings NetworkFirewallPoliciesStubSettings
Returns
Type Description
HttpJsonNetworkFirewallPoliciesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonNetworkFirewallPoliciesStub(NetworkFirewallPoliciesStubSettings settings, ClientContext clientContext)

protected HttpJsonNetworkFirewallPoliciesStub(NetworkFirewallPoliciesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNetworkFirewallPoliciesStub, 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 NetworkFirewallPoliciesStubSettings
clientContext ClientContext

HttpJsonNetworkFirewallPoliciesStub(NetworkFirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNetworkFirewallPoliciesStub(NetworkFirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNetworkFirewallPoliciesStub, 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 NetworkFirewallPoliciesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addAssociationCallable()

public UnaryCallable<AddAssociationNetworkFirewallPolicyRequest,Operation> addAssociationCallable()
Returns
Type Description
UnaryCallable<AddAssociationNetworkFirewallPolicyRequest,Operation>
Overrides

addAssociationOperationCallable()

public OperationCallable<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation> addAssociationOperationCallable()
Returns
Type Description
OperationCallable<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

addRuleCallable()

public UnaryCallable<AddRuleNetworkFirewallPolicyRequest,Operation> addRuleCallable()
Returns
Type Description
UnaryCallable<AddRuleNetworkFirewallPolicyRequest,Operation>
Overrides

addRuleOperationCallable()

public OperationCallable<AddRuleNetworkFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Type Description
OperationCallable<AddRuleNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cloneRulesCallable()

public UnaryCallable<CloneRulesNetworkFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
Type Description
UnaryCallable<CloneRulesNetworkFirewallPolicyRequest,Operation>
Overrides

cloneRulesOperationCallable()

public OperationCallable<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation> cloneRulesOperationCallable()
Returns
Type Description
OperationCallable<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteNetworkFirewallPolicyRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteNetworkFirewallPolicyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteNetworkFirewallPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

getAssociationCallable()

public UnaryCallable<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationCallable()
Returns
Type Description
UnaryCallable<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation>
Overrides

getCallable()

public UnaryCallable<GetNetworkFirewallPolicyRequest,FirewallPolicy> getCallable()
Returns
Type Description
UnaryCallable<GetNetworkFirewallPolicyRequest,FirewallPolicy>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyNetworkFirewallPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<GetIamPolicyNetworkFirewallPolicyRequest,Policy>
Overrides

getRuleCallable()

public UnaryCallable<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule> getRuleCallable()
Returns
Type Description
UnaryCallable<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule>
Overrides

insertCallable()

public UnaryCallable<InsertNetworkFirewallPolicyRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertNetworkFirewallPolicyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertNetworkFirewallPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListNetworkFirewallPoliciesRequest,FirewallPolicyList> listCallable()
Returns
Type Description
UnaryCallable<ListNetworkFirewallPoliciesRequest,FirewallPolicyList>
Overrides

listPagedCallable()

public UnaryCallable<ListNetworkFirewallPoliciesRequest,NetworkFirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListNetworkFirewallPoliciesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchNetworkFirewallPolicyRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchNetworkFirewallPolicyRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchNetworkFirewallPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

patchRuleCallable()

public UnaryCallable<PatchRuleNetworkFirewallPolicyRequest,Operation> patchRuleCallable()
Returns
Type Description
UnaryCallable<PatchRuleNetworkFirewallPolicyRequest,Operation>
Overrides

patchRuleOperationCallable()

public OperationCallable<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns
Type Description
OperationCallable<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

removeAssociationCallable()

public UnaryCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation> removeAssociationCallable()
Returns
Type Description
UnaryCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation>
Overrides

removeAssociationOperationCallable()

public OperationCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation> removeAssociationOperationCallable()
Returns
Type Description
OperationCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

removeRuleCallable()

public UnaryCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation> removeRuleCallable()
Returns
Type Description
UnaryCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation>
Overrides

removeRuleOperationCallable()

public OperationCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns
Type Description
OperationCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyNetworkFirewallPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<SetIamPolicyNetworkFirewallPolicyRequest,Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse>
Overrides