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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcFirewallStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(FirewallStubSettings settings)
public static final GrpcFirewallStub create(FirewallStubSettings settings)
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.
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.
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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