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.
Static Methods
create(ClientContext clientContext)
public static final GrpcCaseServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCaseServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(CaseServiceStubSettings settings)
public static final GrpcCaseServiceStub create(CaseServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
closeCaseCallable()
public UnaryCallable<CloseCaseRequest,Case> closeCaseCallable()
Overrides
createCaseCallable()
public UnaryCallable<CreateCaseRequest,Case> createCaseCallable()
Overrides
escalateCaseCallable()
public UnaryCallable<EscalateCaseRequest,Case> escalateCaseCallable()
Overrides
getCaseCallable()
public UnaryCallable<GetCaseRequest,Case> getCaseCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCasesCallable()
public UnaryCallable<ListCasesRequest,ListCasesResponse> listCasesCallable()
Overrides
listCasesPagedCallable()
public UnaryCallable<ListCasesRequest,CaseServiceClient.ListCasesPagedResponse> listCasesPagedCallable()
Overrides
searchCaseClassificationsCallable()
public UnaryCallable<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse> searchCaseClassificationsCallable()
Overrides
searchCaseClassificationsPagedCallable()
public UnaryCallable<SearchCaseClassificationsRequest,CaseServiceClient.SearchCaseClassificationsPagedResponse> searchCaseClassificationsPagedCallable()
Overrides
searchCasesCallable()
public UnaryCallable<SearchCasesRequest,SearchCasesResponse> searchCasesCallable()
Overrides
searchCasesPagedCallable()
public UnaryCallable<SearchCasesRequest,CaseServiceClient.SearchCasesPagedResponse> searchCasesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCaseCallable()
public UnaryCallable<UpdateCaseRequest,Case> updateCaseCallable()
Overrides