Class GrpcRuleServiceStub (0.1.0)

public class GrpcRuleServiceStub extends RuleServiceStub

gRPC stub implementation for the RuleService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > RuleServiceStub > GrpcRuleServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcRuleServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcRuleServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcRuleServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcRuleServiceStub
Exceptions
Type Description
IOException

create(RuleServiceStubSettings settings)

public static final GrpcRuleServiceStub create(RuleServiceStubSettings settings)
Parameter
Name Description
settings RuleServiceStubSettings
Returns
Type Description
GrpcRuleServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcRuleServiceStub(RuleServiceStubSettings settings, ClientContext clientContext)

protected GrpcRuleServiceStub(RuleServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcRuleServiceStub, 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
Name Description
settings RuleServiceStubSettings
clientContext ClientContext

GrpcRuleServiceStub(RuleServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcRuleServiceStub(RuleServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcRuleServiceStub, 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
Name Description
settings RuleServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createRetrohuntCallable()

public UnaryCallable<CreateRetrohuntRequest,Operation> createRetrohuntCallable()
Returns
Type Description
UnaryCallable<CreateRetrohuntRequest,Operation>
Overrides

createRetrohuntOperationCallable()

public OperationCallable<CreateRetrohuntRequest,Retrohunt,RetrohuntMetadata> createRetrohuntOperationCallable()
Returns
Type Description
OperationCallable<CreateRetrohuntRequest,Retrohunt,RetrohuntMetadata>
Overrides

createRuleCallable()

public UnaryCallable<CreateRuleRequest,Rule> createRuleCallable()
Returns
Type Description
UnaryCallable<CreateRuleRequest,Rule>
Overrides

deleteRuleCallable()

public UnaryCallable<DeleteRuleRequest,Empty> deleteRuleCallable()
Returns
Type Description
UnaryCallable<DeleteRuleRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getRetrohuntCallable()

public UnaryCallable<GetRetrohuntRequest,Retrohunt> getRetrohuntCallable()
Returns
Type Description
UnaryCallable<GetRetrohuntRequest,Retrohunt>
Overrides

getRuleCallable()

public UnaryCallable<GetRuleRequest,Rule> getRuleCallable()
Returns
Type Description
UnaryCallable<GetRuleRequest,Rule>
Overrides

getRuleDeploymentCallable()

public UnaryCallable<GetRuleDeploymentRequest,RuleDeployment> getRuleDeploymentCallable()
Returns
Type Description
UnaryCallable<GetRuleDeploymentRequest,RuleDeployment>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listRetrohuntsCallable()

public UnaryCallable<ListRetrohuntsRequest,ListRetrohuntsResponse> listRetrohuntsCallable()
Returns
Type Description
UnaryCallable<ListRetrohuntsRequest,ListRetrohuntsResponse>
Overrides

listRetrohuntsPagedCallable()

public UnaryCallable<ListRetrohuntsRequest,RuleServiceClient.ListRetrohuntsPagedResponse> listRetrohuntsPagedCallable()
Returns
Type Description
UnaryCallable<ListRetrohuntsRequest,ListRetrohuntsPagedResponse>
Overrides

listRuleDeploymentsCallable()

public UnaryCallable<ListRuleDeploymentsRequest,ListRuleDeploymentsResponse> listRuleDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListRuleDeploymentsRequest,ListRuleDeploymentsResponse>
Overrides

listRuleDeploymentsPagedCallable()

public UnaryCallable<ListRuleDeploymentsRequest,RuleServiceClient.ListRuleDeploymentsPagedResponse> listRuleDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListRuleDeploymentsRequest,ListRuleDeploymentsPagedResponse>
Overrides

listRuleRevisionsCallable()

public UnaryCallable<ListRuleRevisionsRequest,ListRuleRevisionsResponse> listRuleRevisionsCallable()
Returns
Type Description
UnaryCallable<ListRuleRevisionsRequest,ListRuleRevisionsResponse>
Overrides

listRuleRevisionsPagedCallable()

public UnaryCallable<ListRuleRevisionsRequest,RuleServiceClient.ListRuleRevisionsPagedResponse> listRuleRevisionsPagedCallable()
Returns
Type Description
UnaryCallable<ListRuleRevisionsRequest,ListRuleRevisionsPagedResponse>
Overrides

listRulesCallable()

public UnaryCallable<ListRulesRequest,ListRulesResponse> listRulesCallable()
Returns
Type Description
UnaryCallable<ListRulesRequest,ListRulesResponse>
Overrides

listRulesPagedCallable()

public UnaryCallable<ListRulesRequest,RuleServiceClient.ListRulesPagedResponse> listRulesPagedCallable()
Returns
Type Description
UnaryCallable<ListRulesRequest,ListRulesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRuleCallable()

public UnaryCallable<UpdateRuleRequest,Rule> updateRuleCallable()
Returns
Type Description
UnaryCallable<UpdateRuleRequest,Rule>
Overrides

updateRuleDeploymentCallable()

public UnaryCallable<UpdateRuleDeploymentRequest,RuleDeployment> updateRuleDeploymentCallable()
Returns
Type Description
UnaryCallable<UpdateRuleDeploymentRequest,RuleDeployment>
Overrides