Class HttpJsonReachabilityServiceStub
- java.lang.Object
-
- com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStub
-
- com.google.cloud.networkmanagement.v1beta1.stub.HttpJsonReachabilityServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") 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 protected
HttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonReachabilityServiceStub, using the given settings.protected
HttpJsonReachabilityServiceStub(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.v1beta1.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:
getHttpJsonOperationsStub
in classReachabilityServiceStub
-
listConnectivityTestsCallable
public com.google.api.gax.rpc.UnaryCallable<ListConnectivityTestsRequest,ListConnectivityTestsResponse> listConnectivityTestsCallable()
- Overrides:
listConnectivityTestsCallable
in classReachabilityServiceStub
-
listConnectivityTestsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListConnectivityTestsRequest,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsPagedCallable()
- Overrides:
listConnectivityTestsPagedCallable
in classReachabilityServiceStub
-
getConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestCallable()
- Overrides:
getConnectivityTestCallable
in classReachabilityServiceStub
-
createConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<CreateConnectivityTestRequest,com.google.longrunning.Operation> createConnectivityTestCallable()
- Overrides:
createConnectivityTestCallable
in classReachabilityServiceStub
-
createConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationCallable()
- Overrides:
createConnectivityTestOperationCallable
in classReachabilityServiceStub
-
updateConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateConnectivityTestRequest,com.google.longrunning.Operation> updateConnectivityTestCallable()
- Overrides:
updateConnectivityTestCallable
in classReachabilityServiceStub
-
updateConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> updateConnectivityTestOperationCallable()
- Overrides:
updateConnectivityTestOperationCallable
in classReachabilityServiceStub
-
rerunConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<RerunConnectivityTestRequest,com.google.longrunning.Operation> rerunConnectivityTestCallable()
- Overrides:
rerunConnectivityTestCallable
in classReachabilityServiceStub
-
rerunConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationCallable()
- Overrides:
rerunConnectivityTestOperationCallable
in classReachabilityServiceStub
-
deleteConnectivityTestCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteConnectivityTestRequest,com.google.longrunning.Operation> deleteConnectivityTestCallable()
- Overrides:
deleteConnectivityTestCallable
in classReachabilityServiceStub
-
deleteConnectivityTestOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteConnectivityTestRequest,com.google.protobuf.Empty,OperationMetadata> deleteConnectivityTestOperationCallable()
- Overrides:
deleteConnectivityTestOperationCallable
in classReachabilityServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-