Class GKE (1.8.0)

public final class GKE extends GeneratedMessageV3 implements GKEOrBuilder

Represents a GKE destination.

Protobuf type google.cloud.eventarc.v1.GKE

Implements

GKEOrBuilder

Static Fields

CLUSTER_FIELD_NUMBER

public static final int CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

NAMESPACE_FIELD_NUMBER

public static final int NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GKE getDefaultInstance()
Returns
TypeDescription
GKE

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GKE.Builder newBuilder()
Returns
TypeDescription
GKE.Builder

newBuilder(GKE prototype)

public static GKE.Builder newBuilder(GKE prototype)
Parameter
NameDescription
prototypeGKE
Returns
TypeDescription
GKE.Builder

parseDelimitedFrom(InputStream input)

public static GKE parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GKE parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GKE parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GKE parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GKE parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GKE parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GKE parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GKE parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GKE parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GKE parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GKE parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GKE parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKE
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GKE> parser()
Returns
TypeDescription
Parser<GKE>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public GKE getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for namespace.

getParserForType()

public Parser<GKE> getParserForType()
Returns
TypeDescription
Parser<GKE>
Overrides

getPath()

public 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
TypeDescription
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
TypeDescription
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public String getService()

Required. Name of the GKE service.

string service = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. Name of the GKE service.

string service = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for service.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GKE.Builder newBuilderForType()
Returns
TypeDescription
GKE.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GKE.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GKE.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GKE.Builder toBuilder()
Returns
TypeDescription
GKE.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException