public class HttpJsonFirewallStub extends FirewallStub
REST stub implementation for the Firewall service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonFirewallStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(FirewallStubSettings settings)
public static final HttpJsonFirewallStub create(FirewallStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext)
protected HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonFirewallStub, 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.
HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirewallStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchUpdateIngressRulesCallable()
public UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> batchUpdateIngressRulesCallable()
Overrides
close()
public final void close()
Overrides
createIngressRuleCallable()
public UnaryCallable<CreateIngressRuleRequest,FirewallRule> createIngressRuleCallable()
Overrides
deleteIngressRuleCallable()
public UnaryCallable<DeleteIngressRuleRequest,Empty> deleteIngressRuleCallable()
Overrides
getIngressRuleCallable()
public UnaryCallable<GetIngressRuleRequest,FirewallRule> getIngressRuleCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listIngressRulesCallable()
public UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse> listIngressRulesCallable()
Overrides
listIngressRulesPagedCallable()
public UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse> listIngressRulesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateIngressRuleCallable()
public UnaryCallable<UpdateIngressRuleRequest,FirewallRule> updateIngressRuleCallable()
Overrides