Class HttpJsonReachabilityServiceStub
- java.lang.Object
-
- com.google.cloud.networkmanagement.v1.stub.ReachabilityServiceStub
-
- com.google.cloud.networkmanagement.v1.stub.HttpJsonReachabilityServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonReachabilityServiceStub extends ReachabilityServiceStub
REST 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 protectedHttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonReachabilityServiceStub, using the given settings.protectedHttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonReachabilityServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.networkmanagement.v1.stub.ReachabilityServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonReachabilityServiceStub
protected HttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonReachabilityServiceStub, 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
-
HttpJsonReachabilityServiceStub
protected HttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonReachabilityServiceStub, 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 HttpJsonReachabilityServiceStub create(ReachabilityServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonReachabilityServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonReachabilityServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin 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
-
-