Required. The name of the Google Compute Engine in which the cluster
resides, which can either be compute zone (for example, us-central1-a) for
the zonal clusters or region (for example, us-central1) for regional
clusters.
Required. The name of the Google Compute Engine in which the cluster
resides, which can either be compute zone (for example, us-central1-a) for
the zonal clusters or region (for example, us-central1) for regional
clusters.
Optional. The relative path on the GKE service the events should be sent
to.
The value must conform to the definition of a URI path segment (section 3.3
of RFC2396). Examples: "/route", "route", "route/subroute".
Optional. The relative path on the GKE service the events should be sent
to.
The value must conform to the definition of a URI path segment (section 3.3
of RFC2396). Examples: "/route", "route", "route/subroute".
[[["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 GKEOrBuilder (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.eventarc.v1.GKEOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.eventarc.v1.GKEOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.eventarc.v1.GKEOrBuilder) \n\n public interface GKEOrBuilder 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### getCluster()\n\n public abstract String getCluster()\n\nRequired. The name of the cluster the GKE service is running in. The\ncluster must be running in the same project as the trigger being created.\n\n`string cluster = 1;`\n\n### getClusterBytes()\n\n public abstract ByteString getClusterBytes()\n\nRequired. The name of the cluster the GKE service is running in. The\ncluster must be running in the same project as the trigger being created.\n\n`string cluster = 1;`\n\n### getLocation()\n\n public abstract String getLocation()\n\nRequired. The name of the Google Compute Engine in which the cluster\nresides, which can either be compute zone (for example, us-central1-a) for\nthe zonal clusters or region (for example, us-central1) for regional\nclusters.\n\n`string location = 2;`\n\n### getLocationBytes()\n\n public abstract ByteString getLocationBytes()\n\nRequired. The name of the Google Compute Engine in which the cluster\nresides, which can either be compute zone (for example, us-central1-a) for\nthe zonal clusters or region (for example, us-central1) for regional\nclusters.\n\n`string location = 2;`\n\n### getNamespace()\n\n public abstract String getNamespace()\n\nRequired. The namespace the GKE service is running in.\n\n`string namespace = 3;`\n\n### getNamespaceBytes()\n\n public abstract ByteString getNamespaceBytes()\n\nRequired. The namespace the GKE service is running in.\n\n`string namespace = 3;`\n\n### getPath()\n\n public abstract String getPath()\n\nOptional. The relative path on the GKE service the events should be sent\nto.\nThe value must conform to the definition of a URI path segment (section 3.3\nof RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".\n\n`string path = 5;`\n\n### getPathBytes()\n\n public abstract ByteString getPathBytes()\n\nOptional. The relative path on the GKE service the events should be sent\nto.\nThe value must conform to the definition of a URI path segment (section 3.3\nof RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".\n\n`string path = 5;`\n\n### getService()\n\n public abstract String getService()\n\nRequired. Name of the GKE service.\n\n`string service = 4;`\n\n### getServiceBytes()\n\n public abstract ByteString getServiceBytes()\n\nRequired. Name of the GKE service.\n\n`string service = 4;`"]]