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

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>

getGetHubMethod()

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

getGetSpokeMethod()

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

getListHubsMethod()

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

getListSpokesMethod()

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

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