public static final class HubServiceGrpc.HubServiceFutureStub extends AbstractFutureStub<HubServiceGrpc.HubServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service HubService.
Network Connectivity Center is a hub-and-spoke abstraction for network
connectivity management in Google Cloud. It reduces operational complexity
through a simple, centralized connectivity management model.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
HubServiceGrpc.HubServiceFutureStub
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(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
acceptHubSpoke(AcceptHubSpokeRequest request)
public ListenableFuture<Operation> acceptHubSpoke(AcceptHubSpokeRequest request)
Accepts a proposal to attach a Network Connectivity Center spoke
to a hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
build(Channel channel, CallOptions callOptions)
protected HubServiceGrpc.HubServiceFutureStub 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)
createHub(CreateHubRequest request)
public ListenableFuture<Operation> createHub(CreateHubRequest request)
Creates a new Network Connectivity Center hub in the specified project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createSpoke(CreateSpokeRequest request)
public ListenableFuture<Operation> createSpoke(CreateSpokeRequest request)
Creates a Network Connectivity Center spoke.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteHub(DeleteHubRequest request)
public ListenableFuture<Operation> deleteHub(DeleteHubRequest request)
Deletes a Network Connectivity Center hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteSpoke(DeleteSpokeRequest request)
public ListenableFuture<Operation> deleteSpoke(DeleteSpokeRequest request)
Deletes a Network Connectivity Center spoke.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getGroup(GetGroupRequest request)
public ListenableFuture<Group> getGroup(GetGroupRequest request)
Gets details about a Network Connectivity Center group.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Group> |
|
getHub(GetHubRequest request)
public ListenableFuture<Hub> getHub(GetHubRequest request)
Gets details about a Network Connectivity Center hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Hub> |
|
getRoute(GetRouteRequest request)
public ListenableFuture<Route> getRoute(GetRouteRequest request)
Gets details about the specified route.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Route> |
|
getRouteTable(GetRouteTableRequest request)
public ListenableFuture<RouteTable> getRouteTable(GetRouteTableRequest request)
Gets details about a Network Connectivity Center route table.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<RouteTable> |
|
getSpoke(GetSpokeRequest request)
public ListenableFuture<Spoke> getSpoke(GetSpokeRequest request)
Gets details about a Network Connectivity Center spoke.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Spoke> |
|
listGroups(ListGroupsRequest request)
public ListenableFuture<ListGroupsResponse> listGroups(ListGroupsRequest request)
Lists groups in a given hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse> |
|
listHubSpokes(ListHubSpokesRequest request)
public ListenableFuture<ListHubSpokesResponse> listHubSpokes(ListHubSpokesRequest request)
Lists the Network Connectivity Center spokes associated with a
specified hub and location. The list includes both spokes that are attached
to the hub and spokes that have been proposed but not yet accepted.
listHubs(ListHubsRequest request)
public ListenableFuture<ListHubsResponse> listHubs(ListHubsRequest request)
Lists the Network Connectivity Center hubs associated with a given project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListHubsResponse> |
|
listRouteTables(ListRouteTablesRequest request)
public ListenableFuture<ListRouteTablesResponse> listRouteTables(ListRouteTablesRequest request)
Lists route tables in a given project.
listRoutes(ListRoutesRequest request)
public ListenableFuture<ListRoutesResponse> listRoutes(ListRoutesRequest request)
Lists routes in a given project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListRoutesResponse> |
|
listSpokes(ListSpokesRequest request)
public ListenableFuture<ListSpokesResponse> listSpokes(ListSpokesRequest request)
Lists the Network Connectivity Center spokes in a specified project and
location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListSpokesResponse> |
|
rejectHubSpoke(RejectHubSpokeRequest request)
public ListenableFuture<Operation> rejectHubSpoke(RejectHubSpokeRequest request)
Rejects a Network Connectivity Center spoke from being attached to a hub.
If the spoke was previously in the ACTIVE
state, it
transitions to the INACTIVE
state and is no longer able to
connect to other spokes that are attached to the hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateHub(UpdateHubRequest request)
public ListenableFuture<Operation> updateHub(UpdateHubRequest request)
Updates the description and/or labels of a Network Connectivity Center
hub.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateSpoke(UpdateSpokeRequest request)
public ListenableFuture<Operation> updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a Network Connectivity Center spoke.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|