Class GrpcReachabilityServiceStub
- java.lang.Object
-
- com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStub
-
- com.google.cloud.networkmanagement.v1beta1.stub.GrpcReachabilityServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class GrpcReachabilityServiceStub extends ReachabilityServiceStub
gRPC stub implementation for the ReachabilityService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcReachabilityServiceStub, using the given settings.protectedGrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcReachabilityServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcReachabilityServiceStub
protected GrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcReachabilityServiceStub, 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
-
GrpcReachabilityServiceStub
protected GrpcReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcReachabilityServiceStub, 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 GrpcReachabilityServiceStub create(ReachabilityServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcReachabilityServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcReachabilityServiceStub 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()
- Overrides:
getOperationsStubin classReachabilityServiceStub
-
listConnectivityTestsCallable
public com.google.api.gax.rpc.UnaryCallable<ListConnectivityTestsRequest,ListConnectivityTestsResponse> listConnectivityTestsCallable()
- Overrides:
listConnectivityTestsCallablein classReachabilityServiceStub
-
listConnectivityTestsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListConnectivityTestsRequest,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsPagedCallable()
- Overrides:
listConnectivityTestsPagedCallablein classReachabilityServiceStub
-
getConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestCallable()
- Overrides:
getConnectivityTestCallablein classReachabilityServiceStub
-
createConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<CreateConnectivityTestRequest,com.google.longrunning.Operation> createConnectivityTestCallable()
- Overrides:
createConnectivityTestCallablein classReachabilityServiceStub
-
createConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationCallable()
- Overrides:
createConnectivityTestOperationCallablein classReachabilityServiceStub
-
updateConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateConnectivityTestRequest,com.google.longrunning.Operation> updateConnectivityTestCallable()
- Overrides:
updateConnectivityTestCallablein classReachabilityServiceStub
-
updateConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> updateConnectivityTestOperationCallable()
- Overrides:
updateConnectivityTestOperationCallablein classReachabilityServiceStub
-
rerunConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<RerunConnectivityTestRequest,com.google.longrunning.Operation> rerunConnectivityTestCallable()
- Overrides:
rerunConnectivityTestCallablein classReachabilityServiceStub
-
rerunConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationCallable()
- Overrides:
rerunConnectivityTestOperationCallablein classReachabilityServiceStub
-
deleteConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteConnectivityTestRequest,com.google.longrunning.Operation> deleteConnectivityTestCallable()
- Overrides:
deleteConnectivityTestCallablein classReachabilityServiceStub
-
deleteConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteConnectivityTestRequest,com.google.protobuf.Empty,OperationMetadata> deleteConnectivityTestOperationCallable()
- Overrides:
deleteConnectivityTestOperationCallablein classReachabilityServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classReachabilityServiceStub
-
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
-
-