Class HttpJsonReachabilityServiceStub
java.lang.Object
com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStub
com.google.cloud.networkmanagement.v1beta1.stub.HttpJsonReachabilityServiceStub
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionprotectedHttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonReachabilityServiceStub, using the given settings.protectedHttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonReachabilityServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonReachabilityServiceStubcreate(ClientContext clientContext) static final HttpJsonReachabilityServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonReachabilityServiceStubcreate(ReachabilityServiceStubSettings settings) OperationCallable<DeleteConnectivityTestRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListConnectivityTestsRequest,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.networkmanagement.v1beta1.stub.ReachabilityServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonReachabilityServiceStub
protected HttpJsonReachabilityServiceStub(ReachabilityServiceStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final HttpJsonReachabilityServiceStub create(ReachabilityServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonReachabilityServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonReachabilityServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classReachabilityServiceStub
-
listConnectivityTestsCallable
public UnaryCallable<ListConnectivityTestsRequest,ListConnectivityTestsResponse> listConnectivityTestsCallable()- Overrides:
listConnectivityTestsCallablein classReachabilityServiceStub
-
listConnectivityTestsPagedCallable
public UnaryCallable<ListConnectivityTestsRequest,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsPagedCallable()- Overrides:
listConnectivityTestsPagedCallablein classReachabilityServiceStub
-
getConnectivityTestCallable
- Overrides:
getConnectivityTestCallablein classReachabilityServiceStub
-
createConnectivityTestCallable
- Overrides:
createConnectivityTestCallablein classReachabilityServiceStub
-
createConnectivityTestOperationCallable
public OperationCallable<CreateConnectivityTestRequest,ConnectivityTest, createConnectivityTestOperationCallable()OperationMetadata> - Overrides:
createConnectivityTestOperationCallablein classReachabilityServiceStub
-
updateConnectivityTestCallable
- Overrides:
updateConnectivityTestCallablein classReachabilityServiceStub
-
updateConnectivityTestOperationCallable
public OperationCallable<UpdateConnectivityTestRequest,ConnectivityTest, updateConnectivityTestOperationCallable()OperationMetadata> - Overrides:
updateConnectivityTestOperationCallablein classReachabilityServiceStub
-
rerunConnectivityTestCallable
- Overrides:
rerunConnectivityTestCallablein classReachabilityServiceStub
-
rerunConnectivityTestOperationCallable
public OperationCallable<RerunConnectivityTestRequest,ConnectivityTest, rerunConnectivityTestOperationCallable()OperationMetadata> - Overrides:
rerunConnectivityTestOperationCallablein classReachabilityServiceStub
-
deleteConnectivityTestCallable
- Overrides:
deleteConnectivityTestCallablein classReachabilityServiceStub
-
deleteConnectivityTestOperationCallable
public OperationCallable<DeleteConnectivityTestRequest,com.google.protobuf.Empty, deleteConnectivityTestOperationCallable()OperationMetadata> - Overrides:
deleteConnectivityTestOperationCallablein classReachabilityServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classReachabilityServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ReachabilityServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classReachabilityServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classReachabilityServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classReachabilityServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classReachabilityServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein 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
- Throws:
InterruptedException
-