Class Cluster (0.36.0)

public final class Cluster extends GeneratedMessageV3 implements ClusterOrBuilder

A Google Distributed Cloud Edge Kubernetes cluster.

Protobuf type google.cloud.edgecontainer.v1.Cluster

Implements

ClusterOrBuilder

Static Fields

AUTHORIZATION_FIELD_NUMBER

public static final int AUTHORIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

CLUSTER_CA_CERTIFICATE_FIELD_NUMBER

public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_PLANE_ENCRYPTION_FIELD_NUMBER

public static final int CONTROL_PLANE_ENCRYPTION_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_PLANE_FIELD_NUMBER

public static final int CONTROL_PLANE_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_PLANE_VERSION_FIELD_NUMBER

public static final int CONTROL_PLANE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER

public static final int DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER
Field Value
TypeDescription
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

EXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER

public static final int EXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER
Field Value
TypeDescription
int

EXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER

public static final int EXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER
Field Value
TypeDescription
int

FLEET_FIELD_NUMBER

public static final int FLEET_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

MAINTENANCE_EVENTS_FIELD_NUMBER

public static final int MAINTENANCE_EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int

MAINTENANCE_POLICY_FIELD_NUMBER

public static final int MAINTENANCE_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORKING_FIELD_NUMBER

public static final int NETWORKING_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_VERSION_FIELD_NUMBER

public static final int NODE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

RELEASE_CHANNEL_FIELD_NUMBER

public static final int RELEASE_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

SURVIVABILITY_CONFIG_FIELD_NUMBER

public static final int SURVIVABILITY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SYSTEM_ADDONS_CONFIG_FIELD_NUMBER

public static final int SYSTEM_ADDONS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_VERSION_FIELD_NUMBER

public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Cluster getDefaultInstance()
Returns
TypeDescription
Cluster

getDescriptor()

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

newBuilder()

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

newBuilder(Cluster prototype)

public static Cluster.Builder newBuilder(Cluster prototype)
Parameter
NameDescription
prototypeCluster
Returns
TypeDescription
Cluster.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getAuthorization()

public Authorization getAuthorization()

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
TypeDescription
Authorization

The authorization.

getAuthorizationOrBuilder()

public AuthorizationOrBuilder getAuthorizationOrBuilder()

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
TypeDescription
AuthorizationOrBuilder

getClusterCaCertificate()

public String getClusterCaCertificate()

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

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

Returns
TypeDescription
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

public ByteString getClusterCaCertificateBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for clusterCaCertificate.

getControlPlane()

public Cluster.ControlPlane getControlPlane()

Optional. The configuration of the cluster control plane.

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

Returns
TypeDescription
Cluster.ControlPlane

The controlPlane.

getControlPlaneEncryption()

public Cluster.ControlPlaneEncryption getControlPlaneEncryption()

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
TypeDescription
Cluster.ControlPlaneEncryption

The controlPlaneEncryption.

getControlPlaneEncryptionOrBuilder()

public Cluster.ControlPlaneEncryptionOrBuilder getControlPlaneEncryptionOrBuilder()

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
TypeDescription
Cluster.ControlPlaneEncryptionOrBuilder

getControlPlaneOrBuilder()

public Cluster.ControlPlaneOrBuilder getControlPlaneOrBuilder()

Optional. The configuration of the cluster control plane.

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

Returns
TypeDescription
Cluster.ControlPlaneOrBuilder

getControlPlaneVersion()

public String getControlPlaneVersion()

Output only. The control plane release version

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

Returns
TypeDescription
String

The controlPlaneVersion.

getControlPlaneVersionBytes()

public ByteString getControlPlaneVersionBytes()

Output only. The control plane release version

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

Returns
TypeDescription
ByteString

The bytes for controlPlaneVersion.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the cluster was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the cluster was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Cluster getDefaultInstanceForType()
Returns
TypeDescription
Cluster

getDefaultMaxPodsPerNode()

public int getDefaultMaxPodsPerNode()

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
TypeDescription
int

The defaultMaxPodsPerNode.

getEndpoint()

public String getEndpoint()

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

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

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for endpoint.

getExternalLoadBalancerIpv4AddressPools(int index)

public String getExternalLoadBalancerIpv4AddressPools(int index)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The externalLoadBalancerIpv4AddressPools at the given index.

getExternalLoadBalancerIpv4AddressPoolsBytes(int index)

public ByteString getExternalLoadBalancerIpv4AddressPoolsBytes(int index)

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the externalLoadBalancerIpv4AddressPools at the given index.

getExternalLoadBalancerIpv4AddressPoolsCount()

public int getExternalLoadBalancerIpv4AddressPoolsCount()

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
TypeDescription
int

The count of externalLoadBalancerIpv4AddressPools.

getExternalLoadBalancerIpv4AddressPoolsList()

public ProtocolStringList getExternalLoadBalancerIpv4AddressPoolsList()

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
TypeDescription
ProtocolStringList

A list containing the externalLoadBalancerIpv4AddressPools.

getExternalLoadBalancerIpv6AddressPools(int index)

public String getExternalLoadBalancerIpv6AddressPools(int index)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The externalLoadBalancerIpv6AddressPools at the given index.

getExternalLoadBalancerIpv6AddressPoolsBytes(int index)

public ByteString getExternalLoadBalancerIpv6AddressPoolsBytes(int index)

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the externalLoadBalancerIpv6AddressPools at the given index.

getExternalLoadBalancerIpv6AddressPoolsCount()

public int getExternalLoadBalancerIpv6AddressPoolsCount()

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
TypeDescription
int

The count of externalLoadBalancerIpv6AddressPools.

getExternalLoadBalancerIpv6AddressPoolsList()

public ProtocolStringList getExternalLoadBalancerIpv6AddressPoolsList()

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
TypeDescription
ProtocolStringList

A list containing the externalLoadBalancerIpv6AddressPools.

getFleet()

public Fleet getFleet()

Required. Fleet configuration.

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

Returns
TypeDescription
Fleet

The fleet.

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Required. Fleet configuration.

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

Returns
TypeDescription
FleetOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels associated with this resource.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMaintenanceEvents(int index)

public Cluster.MaintenanceEvent getMaintenanceEvents(int index)

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
NameDescription
indexint
Returns
TypeDescription
Cluster.MaintenanceEvent

getMaintenanceEventsCount()

public int getMaintenanceEventsCount()

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
TypeDescription
int

getMaintenanceEventsList()

public List<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
TypeDescription
List<MaintenanceEvent>

getMaintenanceEventsOrBuilder(int index)

public Cluster.MaintenanceEventOrBuilder getMaintenanceEventsOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
Cluster.MaintenanceEventOrBuilder

getMaintenanceEventsOrBuilderList()

public List<? extends Cluster.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
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder>

getMaintenancePolicy()

public MaintenancePolicy getMaintenancePolicy()

Optional. Cluster-wide maintenance policy configuration.

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

Returns
TypeDescription
MaintenancePolicy

The maintenancePolicy.

getMaintenancePolicyOrBuilder()

public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()

Optional. Cluster-wide maintenance policy configuration.

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

Returns
TypeDescription
MaintenancePolicyOrBuilder

getName()

public String getName()

Required. The resource name of the cluster.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the cluster.

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

Returns
TypeDescription
ByteString

The bytes for name.

getNetworking()

public ClusterNetworking getNetworking()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
ClusterNetworking

The networking.

getNetworkingOrBuilder()

public ClusterNetworkingOrBuilder getNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
ClusterNetworkingOrBuilder

getNodeVersion()

public String getNodeVersion()

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
TypeDescription
String

The nodeVersion.

getNodeVersionBytes()

public ByteString getNodeVersionBytes()

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

The bytes for nodeVersion.

getParserForType()

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

getPort()

public int getPort()

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

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

Returns
TypeDescription
int

The port.

getReleaseChannel()

public Cluster.ReleaseChannel getReleaseChannel()

Optional. The release channel a cluster is subscribed to.

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

Returns
TypeDescription
Cluster.ReleaseChannel

The releaseChannel.

getReleaseChannelValue()

public int getReleaseChannelValue()

Optional. The release channel a cluster is subscribed to.

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

Returns
TypeDescription
int

The enum numeric value on the wire for releaseChannel.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Cluster.Status getStatus()

Output only. The current status of the cluster.

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

Returns
TypeDescription
Cluster.Status

The status.

getStatusValue()

public int getStatusValue()

Output only. The current status of the cluster.

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

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getSurvivabilityConfig()

public Cluster.SurvivabilityConfig getSurvivabilityConfig()

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
TypeDescription
Cluster.SurvivabilityConfig

The survivabilityConfig.

getSurvivabilityConfigOrBuilder()

public Cluster.SurvivabilityConfigOrBuilder getSurvivabilityConfigOrBuilder()

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
TypeDescription
Cluster.SurvivabilityConfigOrBuilder

getSystemAddonsConfig()

public Cluster.SystemAddonsConfig getSystemAddonsConfig()

Optional. The configuration of the system add-ons.

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

Returns
TypeDescription
Cluster.SystemAddonsConfig

The systemAddonsConfig.

getSystemAddonsConfigOrBuilder()

public Cluster.SystemAddonsConfigOrBuilder getSystemAddonsConfigOrBuilder()

Optional. The configuration of the system add-ons.

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

Returns
TypeDescription
Cluster.SystemAddonsConfigOrBuilder

getTargetVersion()

public String getTargetVersion()

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

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

Returns
TypeDescription
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for targetVersion.

getUpdateTime()

public Timestamp getUpdateTime()

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

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

hasAuthorization()

public boolean hasAuthorization()

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
TypeDescription
boolean

Whether the authorization field is set.

hasControlPlane()

public boolean hasControlPlane()

Optional. The configuration of the cluster control plane.

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

Returns
TypeDescription
boolean

Whether the controlPlane field is set.

hasControlPlaneEncryption()

public boolean hasControlPlaneEncryption()

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
TypeDescription
boolean

Whether the controlPlaneEncryption field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the cluster was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasFleet()

public boolean hasFleet()

Required. Fleet configuration.

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

Returns
TypeDescription
boolean

Whether the fleet field is set.

hasMaintenancePolicy()

public boolean hasMaintenancePolicy()

Optional. Cluster-wide maintenance policy configuration.

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

Returns
TypeDescription
boolean

Whether the maintenancePolicy field is set.

hasNetworking()

public boolean hasNetworking()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
boolean

Whether the networking field is set.

hasSurvivabilityConfig()

public boolean hasSurvivabilityConfig()

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
TypeDescription
boolean

Whether the survivabilityConfig field is set.

hasSystemAddonsConfig()

public boolean hasSystemAddonsConfig()

Optional. The configuration of the system add-ons.

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

Returns
TypeDescription
boolean

Whether the systemAddonsConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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