Class GkeCluster (1.20.0)

public final class GkeCluster extends GeneratedMessageV3 implements GkeClusterOrBuilder

GkeCluster contains information specific to GKE clusters.

Protobuf type google.cloud.gkehub.v1beta1.GkeCluster

Implements

GkeClusterOrBuilder

Static Fields

CLUSTER_MISSING_FIELD_NUMBER

public static final int CLUSTER_MISSING_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int RESOURCE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GkeCluster getDefaultInstance()
Returns
TypeDescription
GkeCluster

getDescriptor()

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

newBuilder()

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

newBuilder(GkeCluster prototype)

public static GkeCluster.Builder newBuilder(GkeCluster prototype)
Parameter
NameDescription
prototypeGkeCluster
Returns
TypeDescription
GkeCluster.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClusterMissing()

public boolean getClusterMissing()

Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.

bool cluster_missing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The clusterMissing.

getDefaultInstanceForType()

public GkeCluster getDefaultInstanceForType()
Returns
TypeDescription
GkeCluster

getParserForType()

public Parser<GkeCluster> getParserForType()
Returns
TypeDescription
Parser<GkeCluster>
Overrides
public String getResourceLink()

Immutable. Self-link of the GCP resource for the GKE cluster. For example:

 //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

Zonal clusters are also supported.

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The resourceLink.

getResourceLinkBytes()

public ByteString getResourceLinkBytes()

Immutable. Self-link of the GCP resource for the GKE cluster. For example:

 //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

Zonal clusters are also supported.

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for resourceLink.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 GkeCluster.Builder newBuilderForType()
Returns
TypeDescription
GkeCluster.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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