Class HubServiceGrpc (1.53.0)

public final class HubServiceGrpc

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 > HubServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(HubServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(HubServiceGrpc.AsyncService service)
Parameter
Name Description
service HubServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAcceptHubSpokeMethod()

public static MethodDescriptor<AcceptHubSpokeRequest,Operation> getAcceptHubSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AcceptHubSpokeRequest,Operation>

getCreateHubMethod()

public static MethodDescriptor<CreateHubRequest,Operation> getCreateHubMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateHubRequest,Operation>

getCreateSpokeMethod()

public static MethodDescriptor<CreateSpokeRequest,Operation> getCreateSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateSpokeRequest,Operation>

getDeleteHubMethod()

public static MethodDescriptor<DeleteHubRequest,Operation> getDeleteHubMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteHubRequest,Operation>

getDeleteSpokeMethod()

public static MethodDescriptor<DeleteSpokeRequest,Operation> getDeleteSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteSpokeRequest,Operation>

getGetGroupMethod()

public static MethodDescriptor<GetGroupRequest,Group> getGetGroupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetGroupRequest,Group>

getGetHubMethod()

public static MethodDescriptor<GetHubRequest,Hub> getGetHubMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHubRequest,Hub>

getGetRouteMethod()

public static MethodDescriptor<GetRouteRequest,Route> getGetRouteMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetRouteRequest,Route>

getGetRouteTableMethod()

public static MethodDescriptor<GetRouteTableRequest,RouteTable> getGetRouteTableMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetRouteTableRequest,RouteTable>

getGetSpokeMethod()

public static MethodDescriptor<GetSpokeRequest,Spoke> getGetSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSpokeRequest,Spoke>

getListGroupsMethod()

public static MethodDescriptor<ListGroupsRequest,ListGroupsResponse> getListGroupsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListGroupsRequest,ListGroupsResponse>

getListHubSpokesMethod()

public static MethodDescriptor<ListHubSpokesRequest,ListHubSpokesResponse> getListHubSpokesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHubSpokesRequest,ListHubSpokesResponse>

getListHubsMethod()

public static MethodDescriptor<ListHubsRequest,ListHubsResponse> getListHubsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHubsRequest,ListHubsResponse>

getListRouteTablesMethod()

public static MethodDescriptor<ListRouteTablesRequest,ListRouteTablesResponse> getListRouteTablesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListRouteTablesRequest,ListRouteTablesResponse>

getListRoutesMethod()

public static MethodDescriptor<ListRoutesRequest,ListRoutesResponse> getListRoutesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListRoutesRequest,ListRoutesResponse>

getListSpokesMethod()

public static MethodDescriptor<ListSpokesRequest,ListSpokesResponse> getListSpokesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSpokesRequest,ListSpokesResponse>

getRejectHubSpokeMethod()

public static MethodDescriptor<RejectHubSpokeRequest,Operation> getRejectHubSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RejectHubSpokeRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateHubMethod()

public static MethodDescriptor<UpdateHubRequest,Operation> getUpdateHubMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHubRequest,Operation>

getUpdateSpokeMethod()

public static MethodDescriptor<UpdateSpokeRequest,Operation> getUpdateSpokeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSpokeRequest,Operation>

newBlockingStub(Channel channel)

public static HubServiceGrpc.HubServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HubServiceGrpc.HubServiceBlockingStub

newFutureStub(Channel channel)

public static HubServiceGrpc.HubServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HubServiceGrpc.HubServiceFutureStub

newStub(Channel channel)

public static HubServiceGrpc.HubServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HubServiceGrpc.HubServiceStub