Interface ClusterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster,Cluster.Builder
@Generated
public interface ClusterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels associated with this resource.Required.Required.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Optional.Optional.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOptional.Output only.com.google.protobuf.ByteStringOutput only.getExternalLoadBalancerIpv4AddressPools(int index) Optional.com.google.protobuf.ByteStringgetExternalLoadBalancerIpv4AddressPoolsBytes(int index) Optional.intOptional.Optional.getExternalLoadBalancerIpv6AddressPools(int index) Optional.com.google.protobuf.ByteStringgetExternalLoadBalancerIpv6AddressPoolsBytes(int index) Optional.intOptional.Optional.getFleet()Required.Required.Deprecated.intLabels associated with this resource.Labels associated with this resource.getLabelsOrDefault(String key, String defaultValue) Labels associated with this resource.getLabelsOrThrow(String key) Labels associated with this resource.getMaintenanceEvents(int index) Output only.intOutput only.Output only.getMaintenanceEventsOrBuilder(int index) Output only.List<? extends Cluster.MaintenanceEventOrBuilder>Output only.Optional.Optional.getName()Required.com.google.protobuf.ByteStringRequired.Required.Required.Output only.com.google.protobuf.ByteStringOutput only.intgetPort()Output only.Optional.intOptional.Output only.intOutput only.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanRequired.booleanOutput only.booleanOptional.booleanOptional.booleanOutput only.booleanhasFleet()Required.booleanOptional.booleanRequired.booleanOptional.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels associated with this resource.
map<string, string> labels = 4; -
containsLabels
Labels associated with this resource.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels associated with this resource.
map<string, string> labels = 4; -
hasFleet
boolean hasFleet()Required. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the fleet field is set.
-
getFleet
Fleet getFleet()Required. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The fleet.
-
getFleetOrBuilder
FleetOrBuilder getFleetOrBuilder()Required. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; -
hasNetworking
boolean hasNetworking()Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the networking field is set.
-
getNetworking
ClusterNetworking getNetworking()Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The networking.
-
getNetworkingOrBuilder
ClusterNetworkingOrBuilder getNetworkingOrBuilder()Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; -
hasAuthorization
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:
- Whether the authorization field is set.
-
getAuthorization
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:
- The authorization.
-
getAuthorizationOrBuilder
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]; -
getDefaultMaxPodsPerNode
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:
- The defaultMaxPodsPerNode.
-
getEndpoint
String getEndpoint()Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for endpoint.
-
getPort
int getPort()Output only. The port number of the Kubernetes API server.
int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The port.
-
getClusterCaCertificate
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:
- The clusterCaCertificate.
-
getClusterCaCertificateBytes
com.google.protobuf.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:
- The bytes for clusterCaCertificate.
-
hasMaintenancePolicy
boolean hasMaintenancePolicy()Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
MaintenancePolicy getMaintenancePolicy()Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getControlPlaneVersion
String getControlPlaneVersion()Output only. The control plane release version
string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The controlPlaneVersion.
-
getControlPlaneVersionBytes
com.google.protobuf.ByteString getControlPlaneVersionBytes()Output only. The control plane release version
string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for controlPlaneVersion.
-
getNodeVersion
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:
- The nodeVersion.
-
getNodeVersionBytes
com.google.protobuf.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:
- The bytes for nodeVersion.
-
hasControlPlane
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:
- Whether the controlPlane field is set.
-
getControlPlane
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:
- The controlPlane.
-
getControlPlaneOrBuilder
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]; -
hasSystemAddonsConfig
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:
- Whether the systemAddonsConfig field is set.
-
getSystemAddonsConfig
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:
- The systemAddonsConfig.
-
getSystemAddonsConfigOrBuilder
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]; -
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:
- A list containing the externalLoadBalancerIpv4AddressPools.
-
getExternalLoadBalancerIpv4AddressPoolsCount
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:
- The count of externalLoadBalancerIpv4AddressPools.
-
getExternalLoadBalancerIpv4AddressPools
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:
index- The index of the element to return.- Returns:
- The externalLoadBalancerIpv4AddressPools at the given index.
-
getExternalLoadBalancerIpv4AddressPoolsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the externalLoadBalancerIpv4AddressPools at the given index.
-
hasControlPlaneEncryption
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:
- Whether the controlPlaneEncryption field is set.
-
getControlPlaneEncryption
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:
- The controlPlaneEncryption.
-
getControlPlaneEncryptionOrBuilder
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]; -
getStatusValue
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:
- The enum numeric value on the wire for status.
-
getStatus
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:
- The status.
-
getMaintenanceEventsList
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]; -
getMaintenanceEvents
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]; -
getMaintenanceEventsCount
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]; -
getMaintenanceEventsOrBuilderList
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]; -
getMaintenanceEventsOrBuilder
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]; -
getTargetVersion
String getTargetVersion()Optional. The target cluster version. For example: "1.5.0".
string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetVersion.
-
getTargetVersionBytes
com.google.protobuf.ByteString getTargetVersionBytes()Optional. The target cluster version. For example: "1.5.0".
string target_version = 22 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for targetVersion.
-
getReleaseChannelValue
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:
- The enum numeric value on the wire for releaseChannel.
-
getReleaseChannel
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:
- The releaseChannel.
-
hasSurvivabilityConfig
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:
- Whether the survivabilityConfig field is set.
-
getSurvivabilityConfig
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:
- The survivabilityConfig.
-
getSurvivabilityConfigOrBuilder
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]; -
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:
- A list containing the externalLoadBalancerIpv6AddressPools.
-
getExternalLoadBalancerIpv6AddressPoolsCount
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:
- The count of externalLoadBalancerIpv6AddressPools.
-
getExternalLoadBalancerIpv6AddressPools
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:
index- The index of the element to return.- Returns:
- The externalLoadBalancerIpv6AddressPools at the given index.
-
getExternalLoadBalancerIpv6AddressPoolsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the externalLoadBalancerIpv6AddressPools at the given index.
-
hasConnectionState
boolean hasConnectionState()Output only. The current connection state of the cluster.
.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the connectionState field is set.
-
getConnectionState
Cluster.ConnectionState getConnectionState()Output only. The current connection state of the cluster.
.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The connectionState.
-
getConnectionStateOrBuilder
Cluster.ConnectionStateOrBuilder getConnectionStateOrBuilder()Output only. The current connection state of the cluster.
.google.cloud.edgecontainer.v1.Cluster.ConnectionState connection_state = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
-