Class GkeHubGrpc (1.33.0)

public final class GkeHubGrpc

The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, represented with the Membership resource. 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
TypeDescription
String

Static Methods

bindService(GkeHubGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GkeHubGrpc.AsyncService service)
Parameter
NameDescription
serviceGkeHubGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateMembershipMethod()

public static MethodDescriptor<CreateMembershipRequest,Operation> getCreateMembershipMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateMembershipRequest,Operation>

getDeleteMembershipMethod()

public static MethodDescriptor<DeleteMembershipRequest,Operation> getDeleteMembershipMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteMembershipRequest,Operation>

getGenerateConnectManifestMethod()

public static MethodDescriptor<GenerateConnectManifestRequest,GenerateConnectManifestResponse> getGenerateConnectManifestMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateConnectManifestRequest,GenerateConnectManifestResponse>

getGetMembershipMethod()

public static MethodDescriptor<GetMembershipRequest,Membership> getGetMembershipMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetMembershipRequest,Membership>

getInitializeHubMethod()

public static MethodDescriptor<InitializeHubRequest,InitializeHubResponse> getInitializeHubMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<InitializeHubRequest,InitializeHubResponse>

getListMembershipsMethod()

public static MethodDescriptor<ListMembershipsRequest,ListMembershipsResponse> getListMembershipsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListMembershipsRequest,ListMembershipsResponse>

getServiceDescriptor()

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

getUpdateMembershipMethod()

public static MethodDescriptor<UpdateMembershipRequest,Operation> getUpdateMembershipMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateMembershipRequest,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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GkeHubGrpc.GkeHubStub