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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(FirewallStubSettings settings)
public static final HttpJsonFirewallStub create(FirewallStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
batchUpdateIngressRulesCallable()
public UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> batchUpdateIngressRulesCallable()
Returns
Overrides
close()
public final void close()
Overrides
createIngressRuleCallable()
public UnaryCallable<CreateIngressRuleRequest,FirewallRule> createIngressRuleCallable()
Returns
Overrides
deleteIngressRuleCallable()
public UnaryCallable<DeleteIngressRuleRequest,Empty> deleteIngressRuleCallable()
Returns
Overrides
getIngressRuleCallable()
public UnaryCallable<GetIngressRuleRequest,FirewallRule> getIngressRuleCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listIngressRulesCallable()
public UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse> listIngressRulesCallable()
Returns
Overrides
listIngressRulesPagedCallable()
public UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse> listIngressRulesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateIngressRuleCallable()
public UnaryCallable<UpdateIngressRuleRequest,FirewallRule> updateIngressRuleCallable()
Returns
Overrides