public static final class HubServiceGrpc.HubServiceBlockingStub extends AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingStub>
A stub to allow clients to do synchronous 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.AbstractBlockingStub >
HubServiceGrpc.HubServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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
acceptHubSpoke(AcceptHubSpokeRequest request)
public Operation acceptHubSpoke(AcceptHubSpokeRequest request)
Accepts a proposal to attach a Network Connectivity Center spoke
to a hub.
build(Channel channel, CallOptions callOptions)
protected HubServiceGrpc.HubServiceBlockingStub 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 Operation createHub(CreateHubRequest request)
Creates a new Network Connectivity Center hub in the specified project.
createSpoke(CreateSpokeRequest request)
public Operation createSpoke(CreateSpokeRequest request)
Creates a Network Connectivity Center spoke.
deleteHub(DeleteHubRequest request)
public Operation deleteHub(DeleteHubRequest request)
Deletes a Network Connectivity Center hub.
deleteSpoke(DeleteSpokeRequest request)
public Operation deleteSpoke(DeleteSpokeRequest request)
Deletes a Network Connectivity Center spoke.
getGroup(GetGroupRequest request)
public Group getGroup(GetGroupRequest request)
Gets details about a Network Connectivity Center group.
Returns |
Type |
Description |
Group |
|
getHub(GetHubRequest request)
public Hub getHub(GetHubRequest request)
Gets details about a Network Connectivity Center hub.
Returns |
Type |
Description |
Hub |
|
getRoute(GetRouteRequest request)
public Route getRoute(GetRouteRequest request)
Gets details about the specified route.
Returns |
Type |
Description |
Route |
|
getRouteTable(GetRouteTableRequest request)
public RouteTable getRouteTable(GetRouteTableRequest request)
Gets details about a Network Connectivity Center route table.
getSpoke(GetSpokeRequest request)
public Spoke getSpoke(GetSpokeRequest request)
Gets details about a Network Connectivity Center spoke.
Returns |
Type |
Description |
Spoke |
|
listGroups(ListGroupsRequest request)
public ListGroupsResponse listGroups(ListGroupsRequest request)
Lists groups in a given hub.
listHubSpokes(ListHubSpokesRequest request)
public 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 ListHubsResponse listHubs(ListHubsRequest request)
Lists the Network Connectivity Center hubs associated with a given project.
listRouteTables(ListRouteTablesRequest request)
public ListRouteTablesResponse listRouteTables(ListRouteTablesRequest request)
Lists route tables in a given project.
listRoutes(ListRoutesRequest request)
public ListRoutesResponse listRoutes(ListRoutesRequest request)
Lists routes in a given project.
listSpokes(ListSpokesRequest request)
public ListSpokesResponse listSpokes(ListSpokesRequest request)
Lists the Network Connectivity Center spokes in a specified project and
location.
rejectHubSpoke(RejectHubSpokeRequest request)
public 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.
updateHub(UpdateHubRequest request)
public Operation updateHub(UpdateHubRequest request)
Updates the description and/or labels of a Network Connectivity Center
hub.
updateSpoke(UpdateSpokeRequest request)
public Operation updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a Network Connectivity Center spoke.