Class GrpcCaseServiceStub (0.31.0)

public class GrpcCaseServiceStub extends CaseServiceStub

gRPC stub implementation for the CaseService service API.

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

Inheritance

java.lang.Object > CaseServiceStub > GrpcCaseServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CaseServiceStubSettings settings)

public static final GrpcCaseServiceStub create(CaseServiceStubSettings settings)
Parameter
Name Description
settings CaseServiceStubSettings
Returns
Type Description
GrpcCaseServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcCaseServiceStub(CaseServiceStubSettings settings, ClientContext clientContext)

protected GrpcCaseServiceStub(CaseServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCaseServiceStub, 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 CaseServiceStubSettings
clientContext ClientContext

GrpcCaseServiceStub(CaseServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCaseServiceStub(CaseServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCaseServiceStub, 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 CaseServiceStubSettings
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

closeCaseCallable()

public UnaryCallable<CloseCaseRequest,Case> closeCaseCallable()
Returns
Type Description
UnaryCallable<CloseCaseRequest,Case>
Overrides

createCaseCallable()

public UnaryCallable<CreateCaseRequest,Case> createCaseCallable()
Returns
Type Description
UnaryCallable<CreateCaseRequest,Case>
Overrides

escalateCaseCallable()

public UnaryCallable<EscalateCaseRequest,Case> escalateCaseCallable()
Returns
Type Description
UnaryCallable<EscalateCaseRequest,Case>
Overrides

getCaseCallable()

public UnaryCallable<GetCaseRequest,Case> getCaseCallable()
Returns
Type Description
UnaryCallable<GetCaseRequest,Case>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCasesCallable()

public UnaryCallable<ListCasesRequest,ListCasesResponse> listCasesCallable()
Returns
Type Description
UnaryCallable<ListCasesRequest,ListCasesResponse>
Overrides

listCasesPagedCallable()

public UnaryCallable<ListCasesRequest,CaseServiceClient.ListCasesPagedResponse> listCasesPagedCallable()
Returns
Type Description
UnaryCallable<ListCasesRequest,ListCasesPagedResponse>
Overrides

searchCaseClassificationsCallable()

public UnaryCallable<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse> searchCaseClassificationsCallable()
Returns
Type Description
UnaryCallable<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse>
Overrides

searchCaseClassificationsPagedCallable()

public UnaryCallable<SearchCaseClassificationsRequest,CaseServiceClient.SearchCaseClassificationsPagedResponse> searchCaseClassificationsPagedCallable()
Returns
Type Description
UnaryCallable<SearchCaseClassificationsRequest,SearchCaseClassificationsPagedResponse>
Overrides

searchCasesCallable()

public UnaryCallable<SearchCasesRequest,SearchCasesResponse> searchCasesCallable()
Returns
Type Description
UnaryCallable<SearchCasesRequest,SearchCasesResponse>
Overrides

searchCasesPagedCallable()

public UnaryCallable<SearchCasesRequest,CaseServiceClient.SearchCasesPagedResponse> searchCasesPagedCallable()
Returns
Type Description
UnaryCallable<SearchCasesRequest,SearchCasesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCaseCallable()

public UnaryCallable<UpdateCaseRequest,Case> updateCaseCallable()
Returns
Type Description
UnaryCallable<UpdateCaseRequest,Case>
Overrides