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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRuleSetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RuleSetServiceStubSettings settings)
public static final GrpcRuleSetServiceStub create(RuleSetServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createRuleSetCallable()
public UnaryCallable<CreateRuleSetRequest,RuleSet> createRuleSetCallable()
Returns
Overrides
deleteRuleSetCallable()
public UnaryCallable<DeleteRuleSetRequest,Empty> deleteRuleSetCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getRuleSetCallable()
public UnaryCallable<GetRuleSetRequest,RuleSet> getRuleSetCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listRuleSetsCallable()
public UnaryCallable<ListRuleSetsRequest,ListRuleSetsResponse> listRuleSetsCallable()
Returns
Overrides
listRuleSetsPagedCallable()
public UnaryCallable<ListRuleSetsRequest,RuleSetServiceClient.ListRuleSetsPagedResponse> listRuleSetsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateRuleSetCallable()
public UnaryCallable<UpdateRuleSetRequest,RuleSet> updateRuleSetCallable()
Returns
Overrides