Class GkeHubGrpc (1.72.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
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 available in the global region and all regions in
https://cloud.google.com/compute/docs/regions-zones . Feature is only
available in global region while membership is global region and all the
regions.
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.
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 )
Returns
Type
Description
io.grpc.ServerServiceDefinition
getCreateFeatureMethod()
public static MethodDescriptor<CreateFeatureRequest , Operation > getCreateFeatureMethod ()
getCreateMembershipMethod()
public static MethodDescriptor<CreateMembershipRequest , Operation > getCreateMembershipMethod ()
getDeleteFeatureMethod()
public static MethodDescriptor<DeleteFeatureRequest , Operation > getDeleteFeatureMethod ()
getDeleteMembershipMethod()
public static MethodDescriptor<DeleteMembershipRequest , Operation > getDeleteMembershipMethod ()
getGenerateConnectManifestMethod()
public static MethodDescriptor<GenerateConnectManifestRequest , GenerateConnectManifestResponse > getGenerateConnectManifestMethod ()
getGetFeatureMethod()
public static MethodDescriptor<GetFeatureRequest , Feature > getGetFeatureMethod ()
getGetMembershipMethod()
public static MethodDescriptor<GetMembershipRequest , Membership > getGetMembershipMethod ()
getListFeaturesMethod()
public static MethodDescriptor<ListFeaturesRequest , ListFeaturesResponse > getListFeaturesMethod ()
getListMembershipsMethod()
public static MethodDescriptor<ListMembershipsRequest , ListMembershipsResponse > getListMembershipsMethod ()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor ()
Returns
Type
Description
io.grpc.ServiceDescriptor
getUpdateFeatureMethod()
public static MethodDescriptor<UpdateFeatureRequest , Operation > getUpdateFeatureMethod ()
getUpdateMembershipMethod()
public static MethodDescriptor<UpdateMembershipRequest , Operation > getUpdateMembershipMethod ()
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
newBlockingV2Stub(Channel channel)
public static GkeHubGrpc . GkeHubBlockingV2Stub newBlockingV2Stub ( Channel channel )
Creates a new blocking-style stub that supports all types of calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
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
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]