public class GrpcCaseAttachmentServiceStub extends CaseAttachmentServiceStub
gRPC 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 GrpcCaseAttachmentServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCaseAttachmentServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(CaseAttachmentServiceStubSettings settings)
public static final GrpcCaseAttachmentServiceStub create(CaseAttachmentServiceStubSettings settings)
Constructors
GrpcCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext)
protected GrpcCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcCaseAttachmentServiceStub, 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.
GrpcCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcCaseAttachmentServiceStub(CaseAttachmentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCaseAttachmentServiceStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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()