public static final class ReachabilityServiceGrpc.ReachabilityServiceFutureStub extends AbstractFutureStub<ReachabilityServiceGrpc.ReachabilityServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ReachabilityService.
The Reachability service in the Google Cloud Network Management API provides
services that analyze the reachability within a single Google Virtual Private
Cloud (VPC) network, between peered VPC networks, between VPC and on-premises
networks, or between VPC networks and internet hosts. A reachability analysis
is based on Google Cloud network configurations.
You can use the analysis results to verify these configurations and
to troubleshoot connectivity issues.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ReachabilityServiceGrpc.ReachabilityServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ReachabilityServiceGrpc.ReachabilityServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createConnectivityTest(CreateConnectivityTestRequest request)
public ListenableFuture<Operation> createConnectivityTest(CreateConnectivityTestRequest request)
Creates a new Connectivity Test.
After you create a test, the reachability analysis is performed as part
of the long running operation, which completes when the analysis completes.
If the endpoint specifications in ConnectivityTest
are invalid
(for example, containing non-existent resources in the network, or you
don't have read permissions to the network configurations of listed
projects), then the reachability result returns a value of UNKNOWN
.
If the endpoint specifications in ConnectivityTest
are
incomplete, the reachability result returns a value of
<code>AMBIGUOUS</code>. For more information,
see the Connectivity Test documentation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteConnectivityTest(DeleteConnectivityTestRequest request)
public ListenableFuture<Operation> deleteConnectivityTest(DeleteConnectivityTestRequest request)
Deletes a specific ConnectivityTest
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getConnectivityTest(GetConnectivityTestRequest request)
public ListenableFuture<ConnectivityTest> getConnectivityTest(GetConnectivityTestRequest request)
Gets the details of a specific Connectivity Test.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConnectivityTest> |
|
listConnectivityTests(ListConnectivityTestsRequest request)
public ListenableFuture<ListConnectivityTestsResponse> listConnectivityTests(ListConnectivityTestsRequest request)
Lists all Connectivity Tests owned by a project.
rerunConnectivityTest(RerunConnectivityTestRequest request)
public ListenableFuture<Operation> rerunConnectivityTest(RerunConnectivityTestRequest request)
Rerun an existing ConnectivityTest
.
After the user triggers the rerun, the reachability analysis is performed
as part of the long running operation, which completes when the analysis
completes.
Even though the test configuration remains the same, the reachability
result may change due to underlying network configuration changes.
If the endpoint specifications in ConnectivityTest
become invalid (for
example, specified resources are deleted in the network, or you lost
read permissions to the network configurations of listed projects), then
the reachability result returns a value of UNKNOWN
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateConnectivityTest(UpdateConnectivityTestRequest request)
public ListenableFuture<Operation> updateConnectivityTest(UpdateConnectivityTestRequest request)
Updates the configuration of an existing ConnectivityTest
.
After you update a test, the reachability analysis is performed as part
of the long running operation, which completes when the analysis completes.
The Reachability state in the test resource is updated with the new result.
If the endpoint specifications in ConnectivityTest
are invalid
(for example, they contain non-existent resources in the network, or the
user does not have read permissions to the network configurations of
listed projects), then the reachability result returns a value of
<code>UNKNOWN</code>.
If the endpoint specifications in ConnectivityTest
are incomplete, the
reachability result returns a value of AMBIGUOUS
. See the documentation
in ConnectivityTest
for more details.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|