Class HubServiceGrpc (1.8.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
TypeDescription
String

Static Methods

getCreateHubMethod()

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

getCreateSpokeMethod()

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

getDeleteHubMethod()

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

getDeleteSpokeMethod()

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

getGetHubMethod()

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

getGetSpokeMethod()

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

getListHubsMethod()

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

getListSpokesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateHubMethod()

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

getUpdateSpokeMethod()

public static MethodDescriptor<UpdateSpokeRequest,Operation> getUpdateSpokeMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
HubServiceGrpc.HubServiceStub