public static final class HubServiceGrpc.HubServiceFutureStub extends AbstractFutureStub<HubServiceGrpc.HubServiceFutureStub>
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.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected HubServiceGrpc.HubServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createHub(CreateHubRequest request)
public ListenableFuture<Operation> createHub(CreateHubRequest request)
Creates a new hub in the specified project.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createSpoke(CreateSpokeRequest request)
public ListenableFuture<Operation> createSpoke(CreateSpokeRequest request)
Creates a spoke in the specified project and location.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteHub(DeleteHubRequest request)
public ListenableFuture<Operation> deleteHub(DeleteHubRequest request)
Deletes the specified hub.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteSpoke(DeleteSpokeRequest request)
public ListenableFuture<Operation> deleteSpoke(DeleteSpokeRequest request)
Deletes the specified spoke.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
getHub(GetHubRequest request)
public ListenableFuture<Hub> getHub(GetHubRequest request)
Gets details about the specified hub.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Hub> | |
getSpoke(GetSpokeRequest request)
public ListenableFuture<Spoke> getSpoke(GetSpokeRequest request)
Gets details about the specified spoke.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Spoke> | |
listHubs(ListHubsRequest request)
public ListenableFuture<ListHubsResponse> listHubs(ListHubsRequest request)
Lists hubs in a given project.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListHubsResponse> | |
listSpokes(ListSpokesRequest request)
public ListenableFuture<ListSpokesResponse> listSpokes(ListSpokesRequest request)
Lists the spokes in the specified project and location.
Parameter
Returns
updateHub(UpdateHubRequest request)
public ListenableFuture<Operation> updateHub(UpdateHubRequest request)
Updates the description and/or labels of the specified hub.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateSpoke(UpdateSpokeRequest request)
public ListenableFuture<Operation> updateSpoke(UpdateSpokeRequest request)
Updates the parameters of the specified spoke.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |