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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(NetworkFirewallPoliciesStubSettings settings)
public static final HttpJsonNetworkFirewallPoliciesStub create(NetworkFirewallPoliciesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
addAssociationCallable()
public UnaryCallable<AddAssociationNetworkFirewallPolicyRequest,Operation> addAssociationCallable()
Returns
Overrides
addAssociationOperationCallable()
public OperationCallable<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation> addAssociationOperationCallable()
Returns
Overrides
addRuleCallable()
public UnaryCallable<AddRuleNetworkFirewallPolicyRequest,Operation> addRuleCallable()
Returns
Overrides
addRuleOperationCallable()
public OperationCallable<AddRuleNetworkFirewallPolicyRequest,Operation,Operation> addRuleOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
cloneRulesCallable()
public UnaryCallable<CloneRulesNetworkFirewallPolicyRequest,Operation> cloneRulesCallable()
Returns
Overrides
cloneRulesOperationCallable()
public OperationCallable<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation> cloneRulesOperationCallable()
Returns
Overrides
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteNetworkFirewallPolicyRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteNetworkFirewallPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getAssociationCallable()
public UnaryCallable<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetNetworkFirewallPolicyRequest,FirewallPolicy> getCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyNetworkFirewallPolicyRequest,Policy> getIamPolicyCallable()
Returns
Overrides
getRuleCallable()
public UnaryCallable<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule> getRuleCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertNetworkFirewallPolicyRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertNetworkFirewallPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListNetworkFirewallPoliciesRequest,FirewallPolicyList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListNetworkFirewallPoliciesRequest,NetworkFirewallPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchNetworkFirewallPolicyRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchNetworkFirewallPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
patchRuleCallable()
public UnaryCallable<PatchRuleNetworkFirewallPolicyRequest,Operation> patchRuleCallable()
Returns
Overrides
patchRuleOperationCallable()
public OperationCallable<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Returns
Overrides
removeAssociationCallable()
public UnaryCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation> removeAssociationCallable()
Returns
Overrides
removeAssociationOperationCallable()
public OperationCallable<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation> removeAssociationOperationCallable()
Returns
Overrides
removeRuleCallable()
public UnaryCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation> removeRuleCallable()
Returns
Overrides
removeRuleOperationCallable()
public OperationCallable<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyNetworkFirewallPolicyRequest,Policy> setIamPolicyCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides