@Generated(value="by gapic-generator-java") public class GrpcDeploymentsStub extends DeploymentsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcDeploymentsStub(DeploymentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDeploymentsStub, using the given settings.
|
protected |
GrpcDeploymentsStub(DeploymentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDeploymentsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcDeploymentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcDeploymentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcDeploymentsStub |
create(DeploymentsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetDeploymentRequest,Deployment> |
getDeploymentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> |
listDeploymentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,DeploymentsClient.ListDeploymentsPagedResponse> |
listDeploymentsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DeploymentsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcDeploymentsStub(DeploymentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcDeploymentsStub(DeploymentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcDeploymentsStub create(DeploymentsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcDeploymentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcDeploymentsStub 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<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
listDeploymentsCallable in class DeploymentsStubpublic com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,DeploymentsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
listDeploymentsPagedCallable in class DeploymentsStubpublic com.google.api.gax.rpc.UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
getDeploymentCallable in class DeploymentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class DeploymentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DeploymentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class DeploymentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class DeploymentsStubpublic final void close()
close in interface AutoCloseableclose in class DeploymentsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.