public class HttpJsonCaseAttachmentServiceStub extends CaseAttachmentServiceStub
REST stub implementation for the CaseAttachmentService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonCaseAttachmentServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCaseAttachmentServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(CaseAttachmentServiceStubSettings settings)
public static final HttpJsonCaseAttachmentServiceStub create(CaseAttachmentServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonCaseAttachmentServiceStub, 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.
HttpJsonCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCaseAttachmentServiceStub, 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
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listAttachmentsCallable()
public UnaryCallable<ListAttachmentsRequest,ListAttachmentsResponse> listAttachmentsCallable()
Overrides
listAttachmentsPagedCallable()
public UnaryCallable<ListAttachmentsRequest,CaseAttachmentServiceClient.ListAttachmentsPagedResponse> listAttachmentsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()