Class HttpJsonNetworkFirewallPoliciesStub (1.29.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

create(NetworkFirewallPoliciesStubSettings settings)

public static final HttpJsonNetworkFirewallPoliciesStub create(NetworkFirewallPoliciesStubSettings settings)
Parameter
NameDescription
settingsNetworkFirewallPoliciesStubSettings
Returns
TypeDescription
HttpJsonNetworkFirewallPoliciesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsNetworkFirewallPoliciesStubSettings
clientContextClientContext

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
NameDescription
settingsNetworkFirewallPoliciesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addAssociationCallable()

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

addAssociationOperationCallable()

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

addRuleCallable()

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

addRuleOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cloneRulesCallable()

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

cloneRulesOperationCallable()

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

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getAssociationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

getRuleCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

patchRuleCallable()

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

patchRuleOperationCallable()

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

removeAssociationCallable()

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

removeAssociationOperationCallable()

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

removeRuleCallable()

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

removeRuleOperationCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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