Class Cluster (0.71.0)

publicfinalclass ClusterextendsGeneratedMessageV3implementsClusterOrBuilder

A Google Distributed Cloud Edge Kubernetes cluster.

Protobuf type google.cloud.edgecontainer.v1.Cluster

Implements

ClusterOrBuilder

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

AUTHORIZATION_FIELD_NUMBER

publicstaticfinalintAUTHORIZATION_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_CA_CERTIFICATE_FIELD_NUMBER

publicstaticfinalintCLUSTER_CA_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_STATE_FIELD_NUMBER

publicstaticfinalintCONNECTION_STATE_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_ENCRYPTION_FIELD_NUMBER

publicstaticfinalintCONTROL_PLANE_ENCRYPTION_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_FIELD_NUMBER

publicstaticfinalintCONTROL_PLANE_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_VERSION_FIELD_NUMBER

publicstaticfinalintCONTROL_PLANE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER

publicstaticfinalintDEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

publicstaticfinalintENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER

publicstaticfinalintEXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER

publicstaticfinalintEXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER
Field Value
Type Description
int

FLEET_FIELD_NUMBER

publicstaticfinalintFLEET_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_EVENTS_FIELD_NUMBER

publicstaticfinalintMAINTENANCE_EVENTS_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_POLICY_FIELD_NUMBER

publicstaticfinalintMAINTENANCE_POLICY_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORKING_FIELD_NUMBER

publicstaticfinalintNETWORKING_FIELD_NUMBER
Field Value
Type Description
int

NODE_VERSION_FIELD_NUMBER

publicstaticfinalintNODE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

publicstaticfinalintPORT_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_CHANNEL_FIELD_NUMBER

publicstaticfinalintRELEASE_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

publicstaticfinalintSTATUS_FIELD_NUMBER
Field Value
Type Description
int

SURVIVABILITY_CONFIG_FIELD_NUMBER

publicstaticfinalintSURVIVABILITY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SYSTEM_ADDONS_CONFIG_FIELD_NUMBER

publicstaticfinalintSYSTEM_ADDONS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VERSION_FIELD_NUMBER

publicstaticfinalintTARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticClustergetDefaultInstance()
Returns
Type Description
Cluster

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCluster.BuildernewBuilder()
Returns
Type Description
Cluster.Builder

newBuilder(Cluster prototype)

publicstaticCluster.BuildernewBuilder(Clusterprototype)
Parameter
Name Description
prototype Cluster
Returns
Type Description
Cluster.Builder

parseDelimitedFrom(InputStream input)

publicstaticClusterparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticClusterparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticClusterparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticClusterparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticClusterparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticClusterparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticClusterparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Cluster>parser()
Returns
Type Description
Parser<Cluster>

Methods

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthorization()

publicAuthorizationgetAuthorization()

Required. Immutable. RBAC policy that will be applied and managed by GEC.

.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Authorization

The authorization.

getAuthorizationOrBuilder()

publicAuthorizationOrBuildergetAuthorizationOrBuilder()

Required. Immutable. RBAC policy that will be applied and managed by GEC.

.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AuthorizationOrBuilder

getClusterCaCertificate()

publicStringgetClusterCaCertificate()

Output only. The PEM-encoded public certificate of the cluster's CA.

string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

publicByteStringgetClusterCaCertificateBytes()

Output only. The PEM-encoded public certificate of the cluster's CA.

string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterCaCertificate.

getConnectionState()

publicCluster.ConnectionStategetConnectionState()

Output only. The current connection state of the cluster.

.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.ConnectionState

The connectionState.

getConnectionStateOrBuilder()

publicCluster.ConnectionStateOrBuildergetConnectionStateOrBuilder()

Output only. The current connection state of the cluster.

.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.ConnectionStateOrBuilder

getControlPlane()

publicCluster.ControlPlanegetControlPlane()

Optional. The configuration of the cluster control plane.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.ControlPlane

The controlPlane.

getControlPlaneEncryption()

publicCluster.ControlPlaneEncryptiongetControlPlaneEncryption()

Optional. Remote control plane disk encryption options. This field is only used when enabling CMEK support.

.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.ControlPlaneEncryption

The controlPlaneEncryption.

getControlPlaneEncryptionOrBuilder()

publicCluster.ControlPlaneEncryptionOrBuildergetControlPlaneEncryptionOrBuilder()

Optional. Remote control plane disk encryption options. This field is only used when enabling CMEK support.

.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.ControlPlaneEncryptionOrBuilder

getControlPlaneOrBuilder()

publicCluster.ControlPlaneOrBuildergetControlPlaneOrBuilder()

Optional. The configuration of the cluster control plane.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.ControlPlaneOrBuilder

getControlPlaneVersion()

publicStringgetControlPlaneVersion()

Output only. The control plane release version

string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The controlPlaneVersion.

getControlPlaneVersionBytes()

publicByteStringgetControlPlaneVersionBytes()

Output only. The control plane release version

string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for controlPlaneVersion.

getCreateTime()

publicTimestampgetCreateTime()

Output only. The time when the cluster was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. The time when the cluster was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicClustergetDefaultInstanceForType()
Returns
Type Description
Cluster

getDefaultMaxPodsPerNode()

publicintgetDefaultMaxPodsPerNode()

Optional. The default maximum number of pods per node used if a maximum value is not specified explicitly for a node pool in this cluster. If unspecified, the Kubernetes default value will be used.

int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The defaultMaxPodsPerNode.

getEndpoint()

publicStringgetEndpoint()

Output only. The IP address of the Kubernetes API server.

string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The endpoint.

getEndpointBytes()

publicByteStringgetEndpointBytes()

Output only. The IP address of the Kubernetes API server.

string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for endpoint.

getExternalLoadBalancerIpv4AddressPools(int index)

publicStringgetExternalLoadBalancerIpv4AddressPools(intindex)

Optional. IPv4 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The externalLoadBalancerIpv4AddressPools at the given index.

getExternalLoadBalancerIpv4AddressPoolsBytes(int index)

publicByteStringgetExternalLoadBalancerIpv4AddressPoolsBytes(intindex)

Optional. IPv4 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the externalLoadBalancerIpv4AddressPools at the given index.

getExternalLoadBalancerIpv4AddressPoolsCount()

publicintgetExternalLoadBalancerIpv4AddressPoolsCount()

Optional. IPv4 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of externalLoadBalancerIpv4AddressPools.

getExternalLoadBalancerIpv4AddressPoolsList()

publicProtocolStringListgetExternalLoadBalancerIpv4AddressPoolsList()

Optional. IPv4 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the externalLoadBalancerIpv4AddressPools.

getExternalLoadBalancerIpv6AddressPools(int index)

publicStringgetExternalLoadBalancerIpv6AddressPools(intindex)

Optional. IPv6 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The externalLoadBalancerIpv6AddressPools at the given index.

getExternalLoadBalancerIpv6AddressPoolsBytes(int index)

publicByteStringgetExternalLoadBalancerIpv6AddressPoolsBytes(intindex)

Optional. IPv6 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the externalLoadBalancerIpv6AddressPools at the given index.

getExternalLoadBalancerIpv6AddressPoolsCount()

publicintgetExternalLoadBalancerIpv6AddressPoolsCount()

Optional. IPv6 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of externalLoadBalancerIpv6AddressPools.

getExternalLoadBalancerIpv6AddressPoolsList()

publicProtocolStringListgetExternalLoadBalancerIpv6AddressPoolsList()

Optional. IPv6 address pools for cluster data plane external load balancing.

repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the externalLoadBalancerIpv6AddressPools.

getFleet()

publicFleetgetFleet()

Required. Fleet configuration.

.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fleet

The fleet.

getFleetOrBuilder()

publicFleetOrBuildergetFleetOrBuilder()

Required. Fleet configuration.

.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetOrBuilder

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Labels associated with this resource.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMaintenanceEvents(int index)

publicCluster.MaintenanceEventgetMaintenanceEvents(intindex)

Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Cluster.MaintenanceEvent

getMaintenanceEventsCount()

publicintgetMaintenanceEventsCount()

Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getMaintenanceEventsList()

publicList<Cluster.MaintenanceEvent>getMaintenanceEventsList()

Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MaintenanceEvent>

getMaintenanceEventsOrBuilder(int index)

publicCluster.MaintenanceEventOrBuildergetMaintenanceEventsOrBuilder(intindex)

Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Cluster.MaintenanceEventOrBuilder

getMaintenanceEventsOrBuilderList()

publicList<?extendsCluster.MaintenanceEventOrBuilder>getMaintenanceEventsOrBuilderList()

Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder>

getMaintenancePolicy()

publicMaintenancePolicygetMaintenancePolicy()

Optional. Cluster-wide maintenance policy configuration.

.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MaintenancePolicy

The maintenancePolicy.

getMaintenancePolicyOrBuilder()

publicMaintenancePolicyOrBuildergetMaintenancePolicyOrBuilder()

Optional. Cluster-wide maintenance policy configuration.

.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MaintenancePolicyOrBuilder

getName()

publicStringgetName()

Required. The resource name of the cluster.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The resource name of the cluster.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getNetworking()

publicClusterNetworkinggetNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClusterNetworking

The networking.

getNetworkingOrBuilder()

publicClusterNetworkingOrBuildergetNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClusterNetworkingOrBuilder

getNodeVersion()

publicStringgetNodeVersion()

Output only. The lowest release version among all worker nodes. This field can be empty if the cluster does not have any worker nodes.

string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nodeVersion.

getNodeVersionBytes()

publicByteStringgetNodeVersionBytes()

Output only. The lowest release version among all worker nodes. This field can be empty if the cluster does not have any worker nodes.

string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nodeVersion.

getParserForType()

publicParser<Cluster>getParserForType()
Returns
Type Description
Parser<Cluster>
Overrides

getPort()

publicintgetPort()

Output only. The port number of the Kubernetes API server.

int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The port.

getReleaseChannel()

publicCluster.ReleaseChannelgetReleaseChannel()

Optional. The release channel a cluster is subscribed to.

.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.ReleaseChannel

The releaseChannel.

getReleaseChannelValue()

publicintgetReleaseChannelValue()

Optional. The release channel a cluster is subscribed to.

.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for releaseChannel.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

publicCluster.StatusgetStatus()

Output only. The current status of the cluster.

.google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.Status

The status.

getStatusValue()

publicintgetStatusValue()

Output only. The current status of the cluster.

.google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getSurvivabilityConfig()

publicCluster.SurvivabilityConfiggetSurvivabilityConfig()

Optional. Configuration of the cluster survivability, e.g., for the case when network connectivity is lost. Note: This only applies to local control plane clusters.

.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.SurvivabilityConfig

The survivabilityConfig.

getSurvivabilityConfigOrBuilder()

publicCluster.SurvivabilityConfigOrBuildergetSurvivabilityConfigOrBuilder()

Optional. Configuration of the cluster survivability, e.g., for the case when network connectivity is lost. Note: This only applies to local control plane clusters.

.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.SurvivabilityConfigOrBuilder

getSystemAddonsConfig()

publicCluster.SystemAddonsConfiggetSystemAddonsConfig()

Optional. The configuration of the system add-ons.

.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.SystemAddonsConfig

The systemAddonsConfig.

getSystemAddonsConfigOrBuilder()

publicCluster.SystemAddonsConfigOrBuildergetSystemAddonsConfigOrBuilder()

Optional. The configuration of the system add-ons.

.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Cluster.SystemAddonsConfigOrBuilder

getTargetVersion()

publicStringgetTargetVersion()

Optional. The target cluster version. For example: "1.5.0".

string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The targetVersion.

getTargetVersionBytes()

publicByteStringgetTargetVersionBytes()

Optional. The target cluster version. For example: "1.5.0".

string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for targetVersion.

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. The time when the cluster was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. The time when the cluster was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAuthorization()

publicbooleanhasAuthorization()

Required. Immutable. RBAC policy that will be applied and managed by GEC.

.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the authorization field is set.

hasConnectionState()

publicbooleanhasConnectionState()

Output only. The current connection state of the cluster.

.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the connectionState field is set.

hasControlPlane()

publicbooleanhasControlPlane()

Optional. The configuration of the cluster control plane.

.google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the controlPlane field is set.

hasControlPlaneEncryption()

publicbooleanhasControlPlaneEncryption()

Optional. Remote control plane disk encryption options. This field is only used when enabling CMEK support.

.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the controlPlaneEncryption field is set.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. The time when the cluster was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasFleet()

publicbooleanhasFleet()

Required. Fleet configuration.

.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the fleet field is set.

hasMaintenancePolicy()

publicbooleanhasMaintenancePolicy()

Optional. Cluster-wide maintenance policy configuration.

.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maintenancePolicy field is set.

hasNetworking()

publicbooleanhasNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the networking field is set.

hasSurvivabilityConfig()

publicbooleanhasSurvivabilityConfig()

Optional. Configuration of the cluster survivability, e.g., for the case when network connectivity is lost. Note: This only applies to local control plane clusters.

.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the survivabilityConfig field is set.

hasSystemAddonsConfig()

publicbooleanhasSystemAddonsConfig()

Optional. The configuration of the system add-ons.

.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the systemAddonsConfig field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. The time when the cluster was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCluster.BuildernewBuilderForType()
Returns
Type Description
Cluster.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCluster.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCluster.BuildertoBuilder()
Returns
Type Description
Cluster.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.