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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRuleSetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RuleSetServiceStubSettings settings)
public static final HttpJsonRuleSetServiceStub create(RuleSetServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
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
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