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