public class GrpcRuleSetServiceStub extends RuleSetServiceStub
gRPC stub implementation for the RuleSetService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcRuleSetServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRuleSetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(RuleSetServiceStubSettings settings)
public static final GrpcRuleSetServiceStub create(RuleSetServiceStubSettings settings)
Constructors
GrpcRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext)
protected GrpcRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRuleSetServiceStub, 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.
GrpcRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRuleSetServiceStub, 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)
close()
public final void close()
Overrides
createRuleSetCallable()
public UnaryCallable<CreateRuleSetRequest,RuleSet> createRuleSetCallable()
Overrides
deleteRuleSetCallable()
public UnaryCallable<DeleteRuleSetRequest,Empty> deleteRuleSetCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getRuleSetCallable()
public UnaryCallable<GetRuleSetRequest,RuleSet> getRuleSetCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listRuleSetsCallable()
public UnaryCallable<ListRuleSetsRequest,ListRuleSetsResponse> listRuleSetsCallable()
Overrides
listRuleSetsPagedCallable()
public UnaryCallable<ListRuleSetsRequest,RuleSetServiceClient.ListRuleSetsPagedResponse> listRuleSetsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateRuleSetCallable()
public UnaryCallable<UpdateRuleSetRequest,RuleSet> updateRuleSetCallable()
Overrides