Package com.google.cloud.eventarc.v1
Interface GKEOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GKE,GKE.Builder
@Generated
public interface GKEOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getPath()Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCluster
String getCluster()Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for cluster.
-
getLocation
String getLocation()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.
string location = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()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.
string location = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for location.
-
getNamespace
String getNamespace()Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for namespace.
-
getService
String getService()Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for service.
-
getPath
String getPath()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".
string path = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()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".
string path = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for path.
-