@BetaApi @Generated(value="by gapic-generator-java") public class GrpcGatewayServiceStub extends GatewayServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcGatewayServiceStub(GatewayServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGatewayServiceStub, using the given settings.
|
protected |
GrpcGatewayServiceStub(GatewayServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGatewayServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcGatewayServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcGatewayServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcGatewayServiceStub |
create(GatewayServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> |
deleteResourceCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> |
getResourceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> |
patchResourceCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> |
postResourceCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> |
putResourceCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcGatewayServiceStub(GatewayServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcGatewayServiceStub(GatewayServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcGatewayServiceStub create(GatewayServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcGatewayServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcGatewayServiceStub 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<com.google.api.HttpBody,com.google.api.HttpBody> getResourceCallable()
getResourceCallable in class GatewayServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> postResourceCallable()
postResourceCallable in class GatewayServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> deleteResourceCallable()
deleteResourceCallable in class GatewayServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> putResourceCallable()
putResourceCallable in class GatewayServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.api.HttpBody,com.google.api.HttpBody> patchResourceCallable()
patchResourceCallable in class GatewayServiceStubpublic final void close()
close in interface AutoCloseableclose in class GatewayServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.