Class GkeCluster (1.32.0)

public final class GkeCluster extends GeneratedMessageV3 implements GkeClusterOrBuilder

Information specifying a GKE Cluster.

Protobuf type google.cloud.deploy.v1.GkeCluster

Implements

GkeClusterOrBuilder

Static Fields

CLUSTER_FIELD_NUMBER

public static final int CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

INTERNAL_IP_FIELD_NUMBER

public static final int INTERNAL_IP_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

getCluster()

public String getCluster()

Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public GkeCluster getDefaultInstanceForType()
Returns
TypeDescription
GkeCluster

getInternalIp()

public boolean getInternalIp()

Optional. If true, cluster is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise.

Only specify this option when cluster is a private GKE cluster.

bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The internalIp.

getParserForType()

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

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