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 protected
GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.protected
GrpcUptimeCheckServiceStub(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:
listUptimeCheckConfigsCallable
in classUptimeCheckServiceStub
-
listUptimeCheckConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsPagedCallable()
- Overrides:
listUptimeCheckConfigsPagedCallable
in classUptimeCheckServiceStub
-
getUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetUptimeCheckConfigRequest,UptimeCheckConfig> getUptimeCheckConfigCallable()
- Overrides:
getUptimeCheckConfigCallable
in classUptimeCheckServiceStub
-
createUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigCallable()
- Overrides:
createUptimeCheckConfigCallable
in classUptimeCheckServiceStub
-
updateUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigCallable()
- Overrides:
updateUptimeCheckConfigCallable
in classUptimeCheckServiceStub
-
deleteUptimeCheckConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteUptimeCheckConfigRequest,com.google.protobuf.Empty> deleteUptimeCheckConfigCallable()
- Overrides:
deleteUptimeCheckConfigCallable
in classUptimeCheckServiceStub
-
listUptimeCheckIpsCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()
- Overrides:
listUptimeCheckIpsCallable
in classUptimeCheckServiceStub
-
listUptimeCheckIpsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsPagedCallable()
- Overrides:
listUptimeCheckIpsPagedCallable
in classUptimeCheckServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-