The enum numeric value on the wire for clusterType.
getResourceLink()
publicabstractStringgetResourceLink()
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
example:
//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
example:
//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface OnPremClusterOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.gkehub.v1.OnPremClusterOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.gkehub.v1.OnPremClusterOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.gkehub.v1.OnPremClusterOrBuilder) \n\n public interface OnPremClusterOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAdminCluster()\n\n public abstract boolean getAdminCluster()\n\nImmutable. Whether the cluster is an admin cluster.\n\n`bool admin_cluster = 3;`\n\n### getClusterMissing()\n\n public abstract boolean getClusterMissing()\n\nOutput only. If cluster_missing is set then it denotes that\nAPI(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no\nlonger exists.\n\n`bool cluster_missing = 2;`\n\n### getClusterType()\n\n public abstract OnPremCluster.ClusterType getClusterType()\n\nImmutable. The on prem cluster's type.\n\n`.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType cluster_type = 4;`\n\n### getClusterTypeValue()\n\n public abstract int getClusterTypeValue()\n\nImmutable. The on prem cluster's type.\n\n`.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType cluster_type = 4;`\n\n### getResourceLink()\n\n public abstract String getResourceLink()\n\nImmutable. Self-link of the GCP resource for the GKE On-Prem cluster. For\nexample:\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster\n\n`string resource_link = 1;`\n\n### getResourceLinkBytes()\n\n public abstract ByteString getResourceLinkBytes()\n\nImmutable. Self-link of the GCP resource for the GKE On-Prem cluster. For\nexample:\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster\n//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster\n\n`string resource_link = 1;`"]]