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