@Generated(value="by gapic-generator-java") public class GrpcSnoozeServiceStub extends SnoozeServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSnoozeServiceStub(SnoozeServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSnoozeServiceStub, using the given settings.
|
protected |
GrpcSnoozeServiceStub(SnoozeServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSnoozeServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSnoozeServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSnoozeServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSnoozeServiceStub |
create(SnoozeServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSnoozeRequest,Snooze> |
createSnoozeCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetSnoozeRequest,Snooze> |
getSnoozeCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListSnoozesRequest,ListSnoozesResponse> |
listSnoozesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSnoozesRequest,SnoozeServiceClient.ListSnoozesPagedResponse> |
listSnoozesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateSnoozeRequest,Snooze> |
updateSnoozeCallable() |
protected GrpcSnoozeServiceStub(SnoozeServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSnoozeServiceStub(SnoozeServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSnoozeServiceStub create(SnoozeServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSnoozeServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSnoozeServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateSnoozeRequest,Snooze> createSnoozeCallable()
createSnoozeCallable in class SnoozeServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSnoozesRequest,ListSnoozesResponse> listSnoozesCallable()
listSnoozesCallable in class SnoozeServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSnoozesRequest,SnoozeServiceClient.ListSnoozesPagedResponse> listSnoozesPagedCallable()
listSnoozesPagedCallable in class SnoozeServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetSnoozeRequest,Snooze> getSnoozeCallable()
getSnoozeCallable in class SnoozeServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateSnoozeRequest,Snooze> updateSnoozeCallable()
updateSnoozeCallable in class SnoozeServiceStubpublic final void close()
close in interface AutoCloseableclose in class SnoozeServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.