@BetaApi @Generated(value="by gapic-generator-java") public class GrpcMaintenanceStub extends MaintenanceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcMaintenanceStub(MaintenanceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMaintenanceStub, using the given settings.
|
protected |
GrpcMaintenanceStub(MaintenanceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMaintenanceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcMaintenanceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcMaintenanceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcMaintenanceStub |
create(MaintenanceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetResourceMaintenanceRequest,ResourceMaintenance> |
getResourceMaintenanceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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,MaintenanceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListResourceMaintenancesRequest,ListResourceMaintenancesResponse> |
listResourceMaintenancesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListResourceMaintenancesRequest,MaintenanceClient.ListResourceMaintenancesPagedResponse> |
listResourceMaintenancesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<SummarizeMaintenancesRequest,SummarizeMaintenancesResponse> |
summarizeMaintenancesCallable() |
com.google.api.gax.rpc.UnaryCallable<SummarizeMaintenancesRequest,MaintenanceClient.SummarizeMaintenancesPagedResponse> |
summarizeMaintenancesPagedCallable() |
protected GrpcMaintenanceStub(MaintenanceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcMaintenanceStub(MaintenanceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcMaintenanceStub create(MaintenanceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcMaintenanceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcMaintenanceStub 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<SummarizeMaintenancesRequest,SummarizeMaintenancesResponse> summarizeMaintenancesCallable()
summarizeMaintenancesCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<SummarizeMaintenancesRequest,MaintenanceClient.SummarizeMaintenancesPagedResponse> summarizeMaintenancesPagedCallable()
summarizeMaintenancesPagedCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<ListResourceMaintenancesRequest,ListResourceMaintenancesResponse> listResourceMaintenancesCallable()
listResourceMaintenancesCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<ListResourceMaintenancesRequest,MaintenanceClient.ListResourceMaintenancesPagedResponse> listResourceMaintenancesPagedCallable()
listResourceMaintenancesPagedCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<GetResourceMaintenanceRequest,ResourceMaintenance> getResourceMaintenanceCallable()
getResourceMaintenanceCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MaintenanceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class MaintenanceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class MaintenanceStubpublic final void close()
close in interface AutoCloseableclose in class MaintenanceStubpublic 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.