Class GrpcUptimeCheckServiceStub
- java.lang.Object
-
- com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub
-
- com.google.cloud.monitoring.v3.stub.GrpcUptimeCheckServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcUptimeCheckServiceStub extends UptimeCheckServiceStub
gRPC stub implementation for the UptimeCheckService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.protectedGrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcUptimeCheckServiceStub
protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcUptimeCheckServiceStub
protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcUptimeCheckServiceStub create(UptimeCheckServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcUptimeCheckServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcUptimeCheckServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listUptimeCheckConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse> listUptimeCheckConfigsCallable()
- Overrides:
listUptimeCheckConfigsCallablein classUptimeCheckServiceStub
-
listUptimeCheckConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsPagedCallable()
- Overrides:
listUptimeCheckConfigsPagedCallablein classUptimeCheckServiceStub
-
getUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetUptimeCheckConfigRequest,UptimeCheckConfig> getUptimeCheckConfigCallable()
- Overrides:
getUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
createUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigCallable()
- Overrides:
createUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
updateUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigCallable()
- Overrides:
updateUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
deleteUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteUptimeCheckConfigRequest,com.google.protobuf.Empty> deleteUptimeCheckConfigCallable()
- Overrides:
deleteUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
listUptimeCheckIpsCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()
- Overrides:
listUptimeCheckIpsCallablein classUptimeCheckServiceStub
-
listUptimeCheckIpsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsPagedCallable()
- Overrides:
listUptimeCheckIpsPagedCallablein classUptimeCheckServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classUptimeCheckServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-