public static final class HubServiceGrpc.HubServiceStub extends AbstractAsyncStub<HubServiceGrpc.HubServiceStub>
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.AbstractAsyncStub >
HubServiceGrpc.HubServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.HubServiceStub 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, StreamObserver<Operation> responseObserver)
public void createHub(CreateHubRequest request, StreamObserver<Operation> responseObserver)
Creates a new Network Connectivity Center hub in the specified project.
Parameters
createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)
public void createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)
Creates a Network Connectivity Center spoke.
Parameters
deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)
public void deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)
Deletes a Network Connectivity Center hub.
Parameters
deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)
public void deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)
Deletes a Network Connectivity Center spoke.
Parameters
getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)
public void getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)
Gets details about a Network Connectivity Center hub.
Parameters
Name | Description |
request | GetHubRequest
|
responseObserver | io.grpc.stub.StreamObserver<Hub>
|
getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)
public void getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)
Gets details about a Network Connectivity Center spoke.
Parameters
listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)
public void listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)
Lists the Network Connectivity Center hubs associated with a given project.
Parameters
listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)
public void listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)
Lists the Network Connectivity Center spokes in a specified project and
location.
Parameters
updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)
public void updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)
Updates the description and/or labels of a Network Connectivity Center
hub.
Parameters
updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)
public void updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a Network Connectivity Center spoke.
Parameters