public class HttpJsonRuleSetServiceStub extends RuleSetServiceStub
REST 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 HttpJsonRuleSetServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRuleSetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RuleSetServiceStubSettings settings)
public static final HttpJsonRuleSetServiceStub create(RuleSetServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRuleSetServiceStub, 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.
HttpJsonRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRuleSetServiceStub(RuleSetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRuleSetServiceStub, 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
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