@BetaApi @Generated(value="by gapic-generator-java") public class GrpcEngineServiceStub extends EngineServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcEngineServiceStub(EngineServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcEngineServiceStub, using the given settings.
|
protected |
GrpcEngineServiceStub(EngineServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcEngineServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcEngineServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcEngineServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcEngineServiceStub |
create(EngineServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateEngineRequest,com.google.longrunning.Operation> |
createEngineCallable() |
com.google.api.gax.rpc.OperationCallable<CreateEngineRequest,Engine,CreateEngineMetadata> |
createEngineOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteEngineRequest,com.google.longrunning.Operation> |
deleteEngineCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteEngineRequest,com.google.protobuf.Empty,DeleteEngineMetadata> |
deleteEngineOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetEngineRequest,Engine> |
getEngineCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListEnginesRequest,ListEnginesResponse> |
listEnginesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListEnginesRequest,EngineServiceClient.ListEnginesPagedResponse> |
listEnginesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateEngineRequest,Engine> |
updateEngineCallable() |
getHttpJsonOperationsStubprotected GrpcEngineServiceStub(EngineServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcEngineServiceStub(EngineServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcEngineServiceStub create(EngineServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcEngineServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcEngineServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateEngineRequest,com.google.longrunning.Operation> createEngineCallable()
createEngineCallable in class EngineServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateEngineRequest,Engine,CreateEngineMetadata> createEngineOperationCallable()
createEngineOperationCallable in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteEngineRequest,com.google.longrunning.Operation> deleteEngineCallable()
deleteEngineCallable in class EngineServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteEngineRequest,com.google.protobuf.Empty,DeleteEngineMetadata> deleteEngineOperationCallable()
deleteEngineOperationCallable in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateEngineRequest,Engine> updateEngineCallable()
updateEngineCallable in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetEngineRequest,Engine> getEngineCallable()
getEngineCallable in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEnginesRequest,ListEnginesResponse> listEnginesCallable()
listEnginesCallable in class EngineServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEnginesRequest,EngineServiceClient.ListEnginesPagedResponse> listEnginesPagedCallable()
listEnginesPagedCallable in class EngineServiceStubpublic final void close()
close in interface AutoCloseableclose in class EngineServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.