Class HttpJsonFirewallPoliciesStub (1.57.0)

public class HttpJsonFirewallPoliciesStub extends FirewallPoliciesStub

REST stub implementation for the FirewallPolicies service API.

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

Inheritance

java.lang.Object > FirewallPoliciesStub > HttpJsonFirewallPoliciesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(FirewallPoliciesStubSettings settings)

public static final HttpJsonFirewallPoliciesStub create(FirewallPoliciesStubSettings settings)
Parameter
Name Description
settings FirewallPoliciesStubSettings
Returns
Type Description
HttpJsonFirewallPoliciesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext)

protected HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonFirewallPoliciesStub, 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 FirewallPoliciesStubSettings
clientContext ClientContext

HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonFirewallPoliciesStub(FirewallPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

Methods

addAssociationCallable()

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

addAssociationOperationCallable()

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

addRuleCallable()

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

addRuleOperationCallable()

public OperationCallable<AddRuleFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Type Description
OperationCallable<AddRuleFirewallPolicyRequest,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<CloneRulesFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
Type Description
UnaryCallable<CloneRulesFirewallPolicyRequest,Operation>
Overrides

cloneRulesOperationCallable()

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

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getAssociationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

getRuleCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAssociationsCallable()

public UnaryCallable<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> listAssociationsCallable()
Returns
Type Description
UnaryCallable<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse>
Overrides

listCallable()

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

listPagedCallable()

public UnaryCallable<ListFirewallPoliciesRequest,FirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListFirewallPoliciesRequest,ListPagedResponse>
Overrides

moveCallable()

public UnaryCallable<MoveFirewallPolicyRequest,Operation> moveCallable()
Returns
Type Description
UnaryCallable<MoveFirewallPolicyRequest,Operation>
Overrides

moveOperationCallable()

public OperationCallable<MoveFirewallPolicyRequest,Operation,Operation> moveOperationCallable()
Returns
Type Description
OperationCallable<MoveFirewallPolicyRequest,Operation,Operation>
Overrides

patchCallable()

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

patchOperationCallable()

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

patchRuleCallable()

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

patchRuleOperationCallable()

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

removeAssociationCallable()

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

removeAssociationOperationCallable()

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

removeRuleCallable()

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

removeRuleOperationCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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