Class Cluster.Builder (0.38.0)

public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder

A Google Distributed Cloud Edge Kubernetes cluster.

Protobuf type google.cloud.edgecontainer.v1.Cluster

Implements

ClusterOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllExternalLoadBalancerIpv4AddressPools(Iterable<String> values)

public Cluster.Builder addAllExternalLoadBalancerIpv4AddressPools(Iterable<String> values)

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

The externalLoadBalancerIpv4AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addAllExternalLoadBalancerIpv6AddressPools(Iterable<String> values)

public Cluster.Builder addAllExternalLoadBalancerIpv6AddressPools(Iterable<String> values)

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

The externalLoadBalancerIpv6AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addAllMaintenanceEvents(Iterable<? extends Cluster.MaintenanceEvent> values)

public Cluster.Builder addAllMaintenanceEvents(Iterable<? extends Cluster.MaintenanceEvent> values)

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
valuesIterable<? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent>
Returns
TypeDescription
Cluster.Builder

addExternalLoadBalancerIpv4AddressPools(String value)

public Cluster.Builder addExternalLoadBalancerIpv4AddressPools(String value)

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
valueString

The externalLoadBalancerIpv4AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addExternalLoadBalancerIpv4AddressPoolsBytes(ByteString value)

public Cluster.Builder addExternalLoadBalancerIpv4AddressPoolsBytes(ByteString value)

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
valueByteString

The bytes of the externalLoadBalancerIpv4AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addExternalLoadBalancerIpv6AddressPools(String value)

public Cluster.Builder addExternalLoadBalancerIpv6AddressPools(String value)

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
valueString

The externalLoadBalancerIpv6AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addExternalLoadBalancerIpv6AddressPoolsBytes(ByteString value)

public Cluster.Builder addExternalLoadBalancerIpv6AddressPoolsBytes(ByteString value)

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
valueByteString

The bytes of the externalLoadBalancerIpv6AddressPools to add.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

addMaintenanceEvents(Cluster.MaintenanceEvent value)

public Cluster.Builder addMaintenanceEvents(Cluster.MaintenanceEvent value)

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
valueCluster.MaintenanceEvent
Returns
TypeDescription
Cluster.Builder

addMaintenanceEvents(Cluster.MaintenanceEvent.Builder builderForValue)

public Cluster.Builder addMaintenanceEvents(Cluster.MaintenanceEvent.Builder builderForValue)

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
builderForValueCluster.MaintenanceEvent.Builder
Returns
TypeDescription
Cluster.Builder

addMaintenanceEvents(int index, Cluster.MaintenanceEvent value)

public Cluster.Builder addMaintenanceEvents(int index, Cluster.MaintenanceEvent value)

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];

Parameters
NameDescription
indexint
valueCluster.MaintenanceEvent
Returns
TypeDescription
Cluster.Builder

addMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)

public Cluster.Builder addMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueCluster.MaintenanceEvent.Builder
Returns
TypeDescription
Cluster.Builder

addMaintenanceEventsBuilder()

public Cluster.MaintenanceEvent.Builder addMaintenanceEventsBuilder()

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
Cluster.MaintenanceEvent.Builder

addMaintenanceEventsBuilder(int index)

public Cluster.MaintenanceEvent.Builder addMaintenanceEventsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.Builder
Overrides

build()

public Cluster build()
Returns
TypeDescription
Cluster

buildPartial()

public Cluster buildPartial()
Returns
TypeDescription
Cluster

clear()

public Cluster.Builder clear()
Returns
TypeDescription
Cluster.Builder
Overrides

clearAuthorization()

public Cluster.Builder clearAuthorization()

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
Cluster.Builder

clearClusterCaCertificate()

public Cluster.Builder clearClusterCaCertificate()

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
Cluster.Builder

This builder for chaining.

clearControlPlane()

public Cluster.Builder clearControlPlane()

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.Builder

clearControlPlaneEncryption()

public Cluster.Builder clearControlPlaneEncryption()

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.Builder

clearControlPlaneVersion()

public Cluster.Builder clearControlPlaneVersion()

Output only. The control plane release version

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

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

clearCreateTime()

public Cluster.Builder clearCreateTime()

Output only. The time when the cluster was created.

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

Returns
TypeDescription
Cluster.Builder

clearDefaultMaxPodsPerNode()

public Cluster.Builder clearDefaultMaxPodsPerNode()

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
Cluster.Builder

This builder for chaining.

clearEndpoint()

public Cluster.Builder clearEndpoint()

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

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

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

clearExternalLoadBalancerIpv4AddressPools()

public Cluster.Builder clearExternalLoadBalancerIpv4AddressPools()

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
Cluster.Builder

This builder for chaining.

clearExternalLoadBalancerIpv6AddressPools()

public Cluster.Builder clearExternalLoadBalancerIpv6AddressPools()

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
Cluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Cluster.Builder
Overrides

clearFleet()

public Cluster.Builder clearFleet()

Required. Fleet configuration.

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

Returns
TypeDescription
Cluster.Builder

clearLabels()

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

clearMaintenanceEvents()

public Cluster.Builder clearMaintenanceEvents()

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
Cluster.Builder

clearMaintenancePolicy()

public Cluster.Builder clearMaintenancePolicy()

Optional. Cluster-wide maintenance policy configuration.

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

Returns
TypeDescription
Cluster.Builder

clearName()

public Cluster.Builder clearName()

Required. The resource name of the cluster.

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

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

clearNetworking()

public Cluster.Builder clearNetworking()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
Cluster.Builder

clearNodeVersion()

public Cluster.Builder clearNodeVersion()

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
Cluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Cluster.Builder
Overrides

clearPort()

public Cluster.Builder clearPort()

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

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

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

clearReleaseChannel()

public Cluster.Builder clearReleaseChannel()

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.Builder

This builder for chaining.

clearStatus()

public Cluster.Builder clearStatus()

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.Builder

This builder for chaining.

clearSurvivabilityConfig()

public Cluster.Builder clearSurvivabilityConfig()

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.Builder

clearSystemAddonsConfig()

public Cluster.Builder clearSystemAddonsConfig()

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.Builder

clearTargetVersion()

public Cluster.Builder clearTargetVersion()

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

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

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

clearUpdateTime()

public Cluster.Builder clearUpdateTime()

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

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

Returns
TypeDescription
Cluster.Builder

clone()

public Cluster.Builder clone()
Returns
TypeDescription
Cluster.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

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.

getAuthorizationBuilder()

public Authorization.Builder getAuthorizationBuilder()

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.Builder

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.

getControlPlaneBuilder()

public Cluster.ControlPlane.Builder getControlPlaneBuilder()

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.Builder

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.

getControlPlaneEncryptionBuilder()

public Cluster.ControlPlaneEncryption.Builder getControlPlaneEncryptionBuilder()

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.Builder

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the cluster was created.

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

Returns
TypeDescription
Builder

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getFleetBuilder()

public Fleet.Builder getFleetBuilder()

Required. Fleet configuration.

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

Returns
TypeDescription
Fleet.Builder

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

getMaintenanceEventsBuilder(int index)

public Cluster.MaintenanceEvent.Builder getMaintenanceEventsBuilder(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.Builder

getMaintenanceEventsBuilderList()

public List<Cluster.MaintenanceEvent.Builder> getMaintenanceEventsBuilderList()

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<Builder>

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.

getMaintenancePolicyBuilder()

public MaintenancePolicy.Builder getMaintenancePolicyBuilder()

Optional. Cluster-wide maintenance policy configuration.

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

Returns
TypeDescription
MaintenancePolicy.Builder

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

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

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.

getNetworkingBuilder()

public ClusterNetworking.Builder getNetworkingBuilder()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
ClusterNetworking.Builder

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.

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.

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.

getSurvivabilityConfigBuilder()

public Cluster.SurvivabilityConfig.Builder getSurvivabilityConfigBuilder()

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.Builder

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.

getSystemAddonsConfigBuilder()

public Cluster.SystemAddonsConfig.Builder getSystemAddonsConfigBuilder()

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.Builder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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

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

Returns
TypeDescription
Builder

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAuthorization(Authorization value)

public Cluster.Builder mergeAuthorization(Authorization value)

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];

Parameter
NameDescription
valueAuthorization
Returns
TypeDescription
Cluster.Builder

mergeControlPlane(Cluster.ControlPlane value)

public Cluster.Builder mergeControlPlane(Cluster.ControlPlane value)

Optional. The configuration of the cluster control plane.

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

Parameter
NameDescription
valueCluster.ControlPlane
Returns
TypeDescription
Cluster.Builder

mergeControlPlaneEncryption(Cluster.ControlPlaneEncryption value)

public Cluster.Builder mergeControlPlaneEncryption(Cluster.ControlPlaneEncryption value)

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];

Parameter
NameDescription
valueCluster.ControlPlaneEncryption
Returns
TypeDescription
Cluster.Builder

mergeCreateTime(Timestamp value)

public Cluster.Builder mergeCreateTime(Timestamp value)

Output only. The time when the cluster was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.Builder

mergeFleet(Fleet value)

public Cluster.Builder mergeFleet(Fleet value)

Required. Fleet configuration.

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

Parameter
NameDescription
valueFleet
Returns
TypeDescription
Cluster.Builder

mergeFrom(Cluster other)

public Cluster.Builder mergeFrom(Cluster other)
Parameter
NameDescription
otherCluster
Returns
TypeDescription
Cluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Cluster.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Cluster.Builder
Overrides

mergeMaintenancePolicy(MaintenancePolicy value)

public Cluster.Builder mergeMaintenancePolicy(MaintenancePolicy value)

Optional. Cluster-wide maintenance policy configuration.

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

Parameter
NameDescription
valueMaintenancePolicy
Returns
TypeDescription
Cluster.Builder

mergeNetworking(ClusterNetworking value)

public Cluster.Builder mergeNetworking(ClusterNetworking value)

Required. Cluster-wide networking configuration.

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

Parameter
NameDescription
valueClusterNetworking
Returns
TypeDescription
Cluster.Builder

mergeSurvivabilityConfig(Cluster.SurvivabilityConfig value)

public Cluster.Builder mergeSurvivabilityConfig(Cluster.SurvivabilityConfig value)

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];

Parameter
NameDescription
valueCluster.SurvivabilityConfig
Returns
TypeDescription
Cluster.Builder

mergeSystemAddonsConfig(Cluster.SystemAddonsConfig value)

public Cluster.Builder mergeSystemAddonsConfig(Cluster.SystemAddonsConfig value)

Optional. The configuration of the system add-ons.

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

Parameter
NameDescription
valueCluster.SystemAddonsConfig
Returns
TypeDescription
Cluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Cluster.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.Builder

putAllLabels(Map<String,String> values)

public Cluster.Builder putAllLabels(Map<String,String> values)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Cluster.Builder

putLabels(String key, String value)

public Cluster.Builder putLabels(String key, String value)

Labels associated with this resource.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Cluster.Builder

removeLabels(String key)

public Cluster.Builder removeLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Cluster.Builder

removeMaintenanceEvents(int index)

public Cluster.Builder removeMaintenanceEvents(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.Builder

setAuthorization(Authorization value)

public Cluster.Builder setAuthorization(Authorization value)

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];

Parameter
NameDescription
valueAuthorization
Returns
TypeDescription
Cluster.Builder

setAuthorization(Authorization.Builder builderForValue)

public Cluster.Builder setAuthorization(Authorization.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAuthorization.Builder
Returns
TypeDescription
Cluster.Builder

setClusterCaCertificate(String value)

public Cluster.Builder setClusterCaCertificate(String value)

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

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

Parameter
NameDescription
valueString

The clusterCaCertificate to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setClusterCaCertificateBytes(ByteString value)

public Cluster.Builder setClusterCaCertificateBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for clusterCaCertificate to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setControlPlane(Cluster.ControlPlane value)

public Cluster.Builder setControlPlane(Cluster.ControlPlane value)

Optional. The configuration of the cluster control plane.

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

Parameter
NameDescription
valueCluster.ControlPlane
Returns
TypeDescription
Cluster.Builder

setControlPlane(Cluster.ControlPlane.Builder builderForValue)

public Cluster.Builder setControlPlane(Cluster.ControlPlane.Builder builderForValue)

Optional. The configuration of the cluster control plane.

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

Parameter
NameDescription
builderForValueCluster.ControlPlane.Builder
Returns
TypeDescription
Cluster.Builder

setControlPlaneEncryption(Cluster.ControlPlaneEncryption value)

public Cluster.Builder setControlPlaneEncryption(Cluster.ControlPlaneEncryption value)

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];

Parameter
NameDescription
valueCluster.ControlPlaneEncryption
Returns
TypeDescription
Cluster.Builder

setControlPlaneEncryption(Cluster.ControlPlaneEncryption.Builder builderForValue)

public Cluster.Builder setControlPlaneEncryption(Cluster.ControlPlaneEncryption.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueCluster.ControlPlaneEncryption.Builder
Returns
TypeDescription
Cluster.Builder

setControlPlaneVersion(String value)

public Cluster.Builder setControlPlaneVersion(String value)

Output only. The control plane release version

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

Parameter
NameDescription
valueString

The controlPlaneVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setControlPlaneVersionBytes(ByteString value)

public Cluster.Builder setControlPlaneVersionBytes(ByteString value)

Output only. The control plane release version

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

Parameter
NameDescription
valueByteString

The bytes for controlPlaneVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Cluster.Builder setCreateTime(Timestamp value)

Output only. The time when the cluster was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Cluster.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the cluster was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.Builder

setDefaultMaxPodsPerNode(int value)

public Cluster.Builder setDefaultMaxPodsPerNode(int value)

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];

Parameter
NameDescription
valueint

The defaultMaxPodsPerNode to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setEndpoint(String value)

public Cluster.Builder setEndpoint(String value)

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

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

Parameter
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public Cluster.Builder setEndpointBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setExternalLoadBalancerIpv4AddressPools(int index, String value)

public Cluster.Builder setExternalLoadBalancerIpv4AddressPools(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The externalLoadBalancerIpv4AddressPools to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setExternalLoadBalancerIpv6AddressPools(int index, String value)

public Cluster.Builder setExternalLoadBalancerIpv6AddressPools(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The externalLoadBalancerIpv6AddressPools to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.Builder
Overrides

setFleet(Fleet value)

public Cluster.Builder setFleet(Fleet value)

Required. Fleet configuration.

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

Parameter
NameDescription
valueFleet
Returns
TypeDescription
Cluster.Builder

setFleet(Fleet.Builder builderForValue)

public Cluster.Builder setFleet(Fleet.Builder builderForValue)

Required. Fleet configuration.

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

Parameter
NameDescription
builderForValueFleet.Builder
Returns
TypeDescription
Cluster.Builder

setMaintenanceEvents(int index, Cluster.MaintenanceEvent value)

public Cluster.Builder setMaintenanceEvents(int index, Cluster.MaintenanceEvent value)

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];

Parameters
NameDescription
indexint
valueCluster.MaintenanceEvent
Returns
TypeDescription
Cluster.Builder

setMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)

public Cluster.Builder setMaintenanceEvents(int index, Cluster.MaintenanceEvent.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueCluster.MaintenanceEvent.Builder
Returns
TypeDescription
Cluster.Builder

setMaintenancePolicy(MaintenancePolicy value)

public Cluster.Builder setMaintenancePolicy(MaintenancePolicy value)

Optional. Cluster-wide maintenance policy configuration.

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

Parameter
NameDescription
valueMaintenancePolicy
Returns
TypeDescription
Cluster.Builder

setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)

public Cluster.Builder setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)

Optional. Cluster-wide maintenance policy configuration.

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

Parameter
NameDescription
builderForValueMaintenancePolicy.Builder
Returns
TypeDescription
Cluster.Builder

setName(String value)

public Cluster.Builder setName(String value)

Required. The resource name of the cluster.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Cluster.Builder setNameBytes(ByteString value)

Required. The resource name of the cluster.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setNetworking(ClusterNetworking value)

public Cluster.Builder setNetworking(ClusterNetworking value)

Required. Cluster-wide networking configuration.

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

Parameter
NameDescription
valueClusterNetworking
Returns
TypeDescription
Cluster.Builder

setNetworking(ClusterNetworking.Builder builderForValue)

public Cluster.Builder setNetworking(ClusterNetworking.Builder builderForValue)

Required. Cluster-wide networking configuration.

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

Parameter
NameDescription
builderForValueClusterNetworking.Builder
Returns
TypeDescription
Cluster.Builder

setNodeVersion(String value)

public Cluster.Builder setNodeVersion(String value)

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];

Parameter
NameDescription
valueString

The nodeVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setNodeVersionBytes(ByteString value)

public Cluster.Builder setNodeVersionBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for nodeVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setPort(int value)

public Cluster.Builder setPort(int value)

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

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

Parameter
NameDescription
valueint

The port to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setReleaseChannel(Cluster.ReleaseChannel value)

public Cluster.Builder setReleaseChannel(Cluster.ReleaseChannel value)

Optional. The release channel a cluster is subscribed to.

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

Parameter
NameDescription
valueCluster.ReleaseChannel

The releaseChannel to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setReleaseChannelValue(int value)

public Cluster.Builder setReleaseChannelValue(int value)

Optional. The release channel a cluster is subscribed to.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for releaseChannel to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.Builder
Overrides

setStatus(Cluster.Status value)

public Cluster.Builder setStatus(Cluster.Status value)

Output only. The current status of the cluster.

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

Parameter
NameDescription
valueCluster.Status

The status to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setStatusValue(int value)

public Cluster.Builder setStatusValue(int value)

Output only. The current status of the cluster.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for status to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setSurvivabilityConfig(Cluster.SurvivabilityConfig value)

public Cluster.Builder setSurvivabilityConfig(Cluster.SurvivabilityConfig value)

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];

Parameter
NameDescription
valueCluster.SurvivabilityConfig
Returns
TypeDescription
Cluster.Builder

setSurvivabilityConfig(Cluster.SurvivabilityConfig.Builder builderForValue)

public Cluster.Builder setSurvivabilityConfig(Cluster.SurvivabilityConfig.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueCluster.SurvivabilityConfig.Builder
Returns
TypeDescription
Cluster.Builder

setSystemAddonsConfig(Cluster.SystemAddonsConfig value)

public Cluster.Builder setSystemAddonsConfig(Cluster.SystemAddonsConfig value)

Optional. The configuration of the system add-ons.

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

Parameter
NameDescription
valueCluster.SystemAddonsConfig
Returns
TypeDescription
Cluster.Builder

setSystemAddonsConfig(Cluster.SystemAddonsConfig.Builder builderForValue)

public Cluster.Builder setSystemAddonsConfig(Cluster.SystemAddonsConfig.Builder builderForValue)

Optional. The configuration of the system add-ons.

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

Parameter
NameDescription
builderForValueCluster.SystemAddonsConfig.Builder
Returns
TypeDescription
Cluster.Builder

setTargetVersion(String value)

public Cluster.Builder setTargetVersion(String value)

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

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

Parameter
NameDescription
valueString

The targetVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setTargetVersionBytes(ByteString value)

public Cluster.Builder setTargetVersionBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for targetVersion to set.

Returns
TypeDescription
Cluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.Builder
Overrides

setUpdateTime(Timestamp value)

public Cluster.Builder setUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Cluster.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.Builder