public final class GKE extends GeneratedMessageV3 implements GKEOrBuilder
Represents a GKE destination.
Protobuf type google.cloud.eventarc.v1.GKE
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GKE getDefaultInstance()
Returns |
Type |
Description |
GKE |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GKE.Builder newBuilder()
newBuilder(GKE prototype)
public static GKE.Builder newBuilder(GKE prototype)
Parameter |
Name |
Description |
prototype |
GKE
|
public static GKE parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
GKE |
|
public static GKE parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
parseFrom(byte[] data)
public static GKE parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
GKE |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
parseFrom(ByteString data)
public static GKE parseFrom(ByteString data)
Returns |
Type |
Description |
GKE |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
public static GKE parseFrom(CodedInputStream input)
Returns |
Type |
Description |
GKE |
|
public static GKE parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
public static GKE parseFrom(InputStream input)
Returns |
Type |
Description |
GKE |
|
public static GKE parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
parseFrom(ByteBuffer data)
public static GKE parseFrom(ByteBuffer data)
Returns |
Type |
Description |
GKE |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
GKE |
|
parser()
public static Parser<GKE> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCluster()
public 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 |
Type |
Description |
String |
The cluster.
|
getClusterBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for cluster.
|
getDefaultInstanceForType()
public GKE getDefaultInstanceForType()
Returns |
Type |
Description |
GKE |
|
getLocation()
public 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 |
Type |
Description |
String |
The location.
|
getLocationBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for location.
|
getNamespace()
public String getNamespace()
Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The namespace.
|
getNamespaceBytes()
public ByteString getNamespaceBytes()
Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for namespace.
|
getParserForType()
public Parser<GKE> getParserForType()
Overrides
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 |
Type |
Description |
String |
The path.
|
getPathBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getService()
public String getService()
Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for service.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GKE.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GKE.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GKE.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides