Class Cluster.Builder (0.43.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
Type Description
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
Name Description
values Iterable<String>

The externalLoadBalancerIpv4AddressPools to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The externalLoadBalancerIpv6AddressPools to add.

Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent>
Returns
Type Description
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
Name Description
value String

The externalLoadBalancerIpv4AddressPools to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the externalLoadBalancerIpv4AddressPools to add.

Returns
Type Description
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
Name Description
value String

The externalLoadBalancerIpv6AddressPools to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the externalLoadBalancerIpv6AddressPools to add.

Returns
Type Description
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
Name Description
value Cluster.MaintenanceEvent
Returns
Type Description
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
Name Description
builderForValue Cluster.MaintenanceEvent.Builder
Returns
Type Description
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
Name Description
index int
value Cluster.MaintenanceEvent
Returns
Type Description
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
Name Description
index int
builderForValue Cluster.MaintenanceEvent.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Cluster.MaintenanceEvent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.Builder
Overrides

build()

public Cluster build()
Returns
Type Description
Cluster

buildPartial()

public Cluster buildPartial()
Returns
Type Description
Cluster

clear()

public Cluster.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Cluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Cluster.Builder
Overrides

clearFleet()

public Cluster.Builder clearFleet()

Required. Fleet configuration.

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

Returns
Type Description
Cluster.Builder

clearLabels()

public Cluster.Builder clearLabels()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Cluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Cluster.Builder

clone()

public Cluster.Builder clone()
Returns
Type Description
Cluster.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Cluster getDefaultInstanceForType()
Returns
Type Description
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
Type Description
int

The defaultMaxPodsPerNode.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the externalLoadBalancerIpv4AddressPools at the given index.

getExternalLoadBalancerIpv4AddressPoolsCount()

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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the externalLoadBalancerIpv6AddressPools at the given index.

getExternalLoadBalancerIpv6AddressPoolsCount()

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
Type Description
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
Type Description
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
Type Description
Fleet

The fleet.

getFleetBuilder()

public Fleet.Builder getFleetBuilder()

Required. Fleet configuration.

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

Returns
Type Description
Fleet.Builder

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Required. Fleet configuration.

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

Returns
Type Description
FleetOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels associated with this resource.

map<string, string> labels = 4;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
MaintenancePolicyOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ClusterNetworking.Builder

getNetworkingOrBuilder()

public ClusterNetworkingOrBuilder getNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Authorization
Returns
Type Description
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
Name Description
value Cluster.ControlPlane
Returns
Type Description
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
Name Description
value Cluster.ControlPlaneEncryption
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Fleet
Returns
Type Description
Cluster.Builder

mergeFrom(Cluster other)

public Cluster.Builder mergeFrom(Cluster other)
Parameter
Name Description
other Cluster
Returns
Type Description
Cluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Cluster.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value MaintenancePolicy
Returns
Type Description
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
Name Description
value ClusterNetworking
Returns
Type Description
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
Name Description
value Cluster.SurvivabilityConfig
Returns
Type Description
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
Name Description
value Cluster.SystemAddonsConfig
Returns
Type Description
Cluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
Cluster.Builder

removeLabels(String key)

public Cluster.Builder removeLabels(String key)

Labels associated with this resource.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Authorization
Returns
Type Description
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
Name Description
builderForValue Authorization.Builder
Returns
Type Description
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
Name Description
value String

The clusterCaCertificate to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for clusterCaCertificate to set.

Returns
Type Description
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
Name Description
value Cluster.ControlPlane
Returns
Type Description
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
Name Description
builderForValue Cluster.ControlPlane.Builder
Returns
Type Description
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
Name Description
value Cluster.ControlPlaneEncryption
Returns
Type Description
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
Name Description
builderForValue Cluster.ControlPlaneEncryption.Builder
Returns
Type Description
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
Name Description
value String

The controlPlaneVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for controlPlaneVersion to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value int

The defaultMaxPodsPerNode to set.

Returns
Type Description
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
Name Description
value String

The endpoint to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The externalLoadBalancerIpv4AddressPools to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The externalLoadBalancerIpv6AddressPools to set.

Returns
Type Description
Cluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Fleet
Returns
Type Description
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
Name Description
builderForValue Fleet.Builder
Returns
Type Description
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
Name Description
index int
value Cluster.MaintenanceEvent
Returns
Type Description
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
Name Description
index int
builderForValue Cluster.MaintenanceEvent.Builder
Returns
Type Description
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
Name Description
value MaintenancePolicy
Returns
Type Description
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
Name Description
builderForValue MaintenancePolicy.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value ClusterNetworking
Returns
Type Description
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
Name Description
builderForValue ClusterNetworking.Builder
Returns
Type Description
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
Name Description
value String

The nodeVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nodeVersion to set.

Returns
Type Description
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
Name Description
value int

The port to set.

Returns
Type Description
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
Name Description
value Cluster.ReleaseChannel

The releaseChannel to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Cluster.Status

The status to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value Cluster.SurvivabilityConfig
Returns
Type Description
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
Name Description
builderForValue Cluster.SurvivabilityConfig.Builder
Returns
Type Description
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
Name Description
value Cluster.SystemAddonsConfig
Returns
Type Description
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
Name Description
builderForValue Cluster.SystemAddonsConfig.Builder
Returns
Type Description
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
Name Description
value String

The targetVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for targetVersion to set.

Returns
Type Description
Cluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Cluster.Builder