public class GrpcFirewallStub extends FirewallStub
gRPC 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 GrpcFirewallStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcFirewallStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(FirewallStubSettings settings)
public static final GrpcFirewallStub create(FirewallStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcFirewallStub(FirewallStubSettings settings, ClientContext clientContext)
protected GrpcFirewallStub(FirewallStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcFirewallStub, 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
GrpcFirewallStub(FirewallStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcFirewallStub(FirewallStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFirewallStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
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