Class GkeHubGrpc (1.55.0)

public final class GkeHubGrpc

The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters. The GKE Hub service operates on the following resources:

  • Membership
  • Feature GKE Hub is currently only available in the global region. Membership management may be non-trivial: it is recommended to use one of the Google-provided client libraries or tools where possible when working with Membership resources.

Inheritance

java.lang.Object > GkeHubGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(GkeHubGrpc.AsyncService service)

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

getCreateFeatureMethod()

public static MethodDescriptor<CreateFeatureRequest,Operation> getCreateFeatureMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateFeatureRequest,Operation>

getDeleteFeatureMethod()

public static MethodDescriptor<DeleteFeatureRequest,Operation> getDeleteFeatureMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteFeatureRequest,Operation>

getGetFeatureMethod()

public static MethodDescriptor<GetFeatureRequest,Feature> getGetFeatureMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetFeatureRequest,Feature>

getListFeaturesMethod()

public static MethodDescriptor<ListFeaturesRequest,ListFeaturesResponse> getListFeaturesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListFeaturesRequest,ListFeaturesResponse>

getServiceDescriptor()

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

getUpdateFeatureMethod()

public static MethodDescriptor<UpdateFeatureRequest,Operation> getUpdateFeatureMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateFeatureRequest,Operation>

newBlockingStub(Channel channel)

public static GkeHubGrpc.GkeHubBlockingStub 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
GkeHubGrpc.GkeHubBlockingStub

newFutureStub(Channel channel)

public static GkeHubGrpc.GkeHubFutureStub 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
GkeHubGrpc.GkeHubFutureStub

newStub(Channel channel)

public static GkeHubGrpc.GkeHubStub 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
GkeHubGrpc.GkeHubStub