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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonFirewallPoliciesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(FirewallPoliciesStubSettings settings)
public static final HttpJsonFirewallPoliciesStub create(FirewallPoliciesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
addAssociationCallable()
public UnaryCallable<AddAssociationFirewallPolicyRequest,Operation> addAssociationCallable()
Returns
Overrides
addAssociationOperationCallable()
public OperationCallable<AddAssociationFirewallPolicyRequest,Operation,Operation> addAssociationOperationCallable()
Returns
Overrides
addRuleCallable()
public UnaryCallable<AddRuleFirewallPolicyRequest,Operation> addRuleCallable()
Returns
Overrides
addRuleOperationCallable()
public OperationCallable<AddRuleFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
cloneRulesCallable()
public UnaryCallable<CloneRulesFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
Overrides
cloneRulesOperationCallable()
public OperationCallable<CloneRulesFirewallPolicyRequest,Operation,Operation> cloneRulesOperationCallable()
Returns
Overrides
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteFirewallPolicyRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteFirewallPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getAssociationCallable()
public UnaryCallable<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> getCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyFirewallPolicyRequest,Policy> getIamPolicyCallable()
Returns
Overrides
getRuleCallable()
public UnaryCallable<GetRuleFirewallPolicyRequest,FirewallPolicyRule> getRuleCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertFirewallPolicyRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertFirewallPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listAssociationsCallable()
public UnaryCallable<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> listAssociationsCallable()
Returns
Overrides
listCallable()
public UnaryCallable<ListFirewallPoliciesRequest,FirewallPolicyList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListFirewallPoliciesRequest,FirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
moveCallable()
public UnaryCallable<MoveFirewallPolicyRequest,Operation> moveCallable()
Returns
Overrides
moveOperationCallable()
public OperationCallable<MoveFirewallPolicyRequest,Operation,Operation> moveOperationCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchFirewallPolicyRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchFirewallPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
patchRuleCallable()
public UnaryCallable<PatchRuleFirewallPolicyRequest,Operation> patchRuleCallable()
Returns
Overrides
patchRuleOperationCallable()
public OperationCallable<PatchRuleFirewallPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns
Overrides
removeAssociationCallable()
public UnaryCallable<RemoveAssociationFirewallPolicyRequest,Operation> removeAssociationCallable()
Returns
Overrides
removeAssociationOperationCallable()
public OperationCallable<RemoveAssociationFirewallPolicyRequest,Operation,Operation> removeAssociationOperationCallable()
Returns
Overrides
removeRuleCallable()
public UnaryCallable<RemoveRuleFirewallPolicyRequest,Operation> removeRuleCallable()
Returns
Overrides
removeRuleOperationCallable()
public OperationCallable<RemoveRuleFirewallPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyFirewallPolicyRequest,Policy> setIamPolicyCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides