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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(FirewallPoliciesStubSettings settings)

public static final HttpJsonFirewallPoliciesStub create(FirewallPoliciesStubSettings settings)
Parameter
NameDescription
settingsFirewallPoliciesStubSettings
Returns
TypeDescription
HttpJsonFirewallPoliciesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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

Methods

addAssociationCallable()

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

addAssociationOperationCallable()

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

addRuleCallable()

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

addRuleOperationCallable()

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

cloneRulesOperationCallable()

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

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getAssociationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

getRuleCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAssociationsCallable()

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

listCallable()

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

listPagedCallable()

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

moveCallable()

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

moveOperationCallable()

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

patchCallable()

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

patchOperationCallable()

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

patchRuleCallable()

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

patchRuleOperationCallable()

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

removeAssociationCallable()

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

removeAssociationOperationCallable()

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

removeRuleCallable()

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

removeRuleOperationCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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