Class GrpcUptimeCheckServiceStub
java.lang.Object
com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub
com.google.cloud.monitoring.v3.stub.GrpcUptimeCheckServiceStub
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionprotectedGrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings.protectedGrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcUptimeCheckServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcUptimeCheckServiceStubcreate(ClientContext clientContext) static final GrpcUptimeCheckServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcUptimeCheckServiceStubcreate(UptimeCheckServiceStubSettings settings) UnaryCallable<DeleteUptimeCheckConfigRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcUptimeCheckServiceStub
protected GrpcUptimeCheckServiceStub(UptimeCheckServiceStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final GrpcUptimeCheckServiceStub create(UptimeCheckServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcUptimeCheckServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
listUptimeCheckConfigsCallable
public UnaryCallable<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse> listUptimeCheckConfigsCallable()- Overrides:
listUptimeCheckConfigsCallablein classUptimeCheckServiceStub
-
listUptimeCheckConfigsPagedCallable
public UnaryCallable<ListUptimeCheckConfigsRequest,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsPagedCallable()- Overrides:
listUptimeCheckConfigsPagedCallablein classUptimeCheckServiceStub
-
getUptimeCheckConfigCallable
- Overrides:
getUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
createUptimeCheckConfigCallable
public UnaryCallable<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigCallable()- Overrides:
createUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
updateUptimeCheckConfigCallable
public UnaryCallable<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigCallable()- Overrides:
updateUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
deleteUptimeCheckConfigCallable
public UnaryCallable<DeleteUptimeCheckConfigRequest,com.google.protobuf.Empty> deleteUptimeCheckConfigCallable()- Overrides:
deleteUptimeCheckConfigCallablein classUptimeCheckServiceStub
-
listUptimeCheckIpsCallable
public UnaryCallable<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse> listUptimeCheckIpsCallable()- Overrides:
listUptimeCheckIpsCallablein classUptimeCheckServiceStub
-
listUptimeCheckIpsPagedCallable
public 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
- Throws:
InterruptedException
-