public final class Cluster extends GeneratedMessageV3 implements ClusterOrBuilder
A Google Kubernetes Engine cluster.
Protobuf type google.container.v1beta1.Cluster
Static Fields
ADDONS_CONFIG_FIELD_NUMBER
public static final int ADDONS_CONFIG_FIELD_NUMBER
Field Value
AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER
public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER
Field Value
AUTOPILOT_FIELD_NUMBER
public static final int AUTOPILOT_FIELD_NUMBER
Field Value
AUTOSCALING_FIELD_NUMBER
public static final int AUTOSCALING_FIELD_NUMBER
Field Value
BINARY_AUTHORIZATION_FIELD_NUMBER
public static final int BINARY_AUTHORIZATION_FIELD_NUMBER
Field Value
CLUSTER_IPV4_CIDR_FIELD_NUMBER
public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER
Field Value
CLUSTER_TELEMETRY_FIELD_NUMBER
public static final int CLUSTER_TELEMETRY_FIELD_NUMBER
Field Value
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
Field Value
CONFIDENTIAL_NODES_FIELD_NUMBER
public static final int CONFIDENTIAL_NODES_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
CURRENT_MASTER_VERSION_FIELD_NUMBER
public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER
Field Value
CURRENT_NODE_COUNT_FIELD_NUMBER
public static final int CURRENT_NODE_COUNT_FIELD_NUMBER
Field Value
CURRENT_NODE_VERSION_FIELD_NUMBER
public static final int CURRENT_NODE_VERSION_FIELD_NUMBER
Field Value
DATABASE_ENCRYPTION_FIELD_NUMBER
public static final int DATABASE_ENCRYPTION_FIELD_NUMBER
Field Value
DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER
public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER
public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER
Field Value
ENABLE_TPU_FIELD_NUMBER
public static final int ENABLE_TPU_FIELD_NUMBER
Field Value
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
IDENTITY_SERVICE_CONFIG_FIELD_NUMBER
public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
INITIAL_CLUSTER_VERSION_FIELD_NUMBER
public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER
Field Value
INITIAL_NODE_COUNT_FIELD_NUMBER
public static final int INITIAL_NODE_COUNT_FIELD_NUMBER
Field Value
INSTANCE_GROUP_URLS_FIELD_NUMBER
public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER
Field Value
IP_ALLOCATION_POLICY_FIELD_NUMBER
public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER
Field Value
LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER
Field Value
LEGACY_ABAC_FIELD_NUMBER
public static final int LEGACY_ABAC_FIELD_NUMBER
Field Value
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
LOGGING_SERVICE_FIELD_NUMBER
public static final int LOGGING_SERVICE_FIELD_NUMBER
Field Value
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER
Field Value
MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
Field Value
MASTER_AUTH_FIELD_NUMBER
public static final int MASTER_AUTH_FIELD_NUMBER
Field Value
MASTER_FIELD_NUMBER
public static final int MASTER_FIELD_NUMBER
Field Value
MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
MESH_CERTIFICATES_FIELD_NUMBER
public static final int MESH_CERTIFICATES_FIELD_NUMBER
Field Value
MONITORING_CONFIG_FIELD_NUMBER
public static final int MONITORING_CONFIG_FIELD_NUMBER
Field Value
MONITORING_SERVICE_FIELD_NUMBER
public static final int MONITORING_SERVICE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
NETWORK_POLICY_FIELD_NUMBER
public static final int NETWORK_POLICY_FIELD_NUMBER
Field Value
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER
Field Value
NODE_IPV4_CIDR_SIZE_FIELD_NUMBER
public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER
Field Value
NODE_POOLS_FIELD_NUMBER
public static final int NODE_POOLS_FIELD_NUMBER
Field Value
NODE_POOL_DEFAULTS_FIELD_NUMBER
public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER
Field Value
NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER
public static final int POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER
Field Value
PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
PRIVATE_CLUSTER_FIELD_NUMBER
public static final int PRIVATE_CLUSTER_FIELD_NUMBER
Field Value
RELEASE_CHANNEL_FIELD_NUMBER
public static final int RELEASE_CHANNEL_FIELD_NUMBER
Field Value
RESOURCE_LABELS_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER
Field Value
RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER
public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER
Field Value
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value
SERVICES_IPV4_CIDR_FIELD_NUMBER
public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER
Field Value
SHIELDED_NODES_FIELD_NUMBER
public static final int SHIELDED_NODES_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TPU_CONFIG_FIELD_NUMBER
public static final int TPU_CONFIG_FIELD_NUMBER
Field Value
TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
VERTICAL_POD_AUTOSCALING_FIELD_NUMBER
public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER
Field Value
WORKLOAD_CERTIFICATES_FIELD_NUMBER
public static final int WORKLOAD_CERTIFICATES_FIELD_NUMBER
Field Value
WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Cluster getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Cluster.Builder newBuilder()
Returns
newBuilder(Cluster prototype)
public static Cluster.Builder newBuilder(Cluster prototype)
Parameter
Returns
public static Cluster parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Cluster parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Cluster parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Cluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Cluster parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Cluster> parser()
Returns
Methods
containsResourceLabels(String key)
public boolean containsResourceLabels(String key)
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
map<string, string> resource_labels = 15;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAddonsConfig()
public AddonsConfig getAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1beta1.AddonsConfig addons_config = 10;
Returns
getAddonsConfigOrBuilder()
public AddonsConfigOrBuilder getAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1beta1.AddonsConfig addons_config = 10;
Returns
getAuthenticatorGroupsConfig()
public AuthenticatorGroupsConfig getAuthenticatorGroupsConfig()
Configuration controlling RBAC group membership information.
.google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34;
Returns
getAuthenticatorGroupsConfigOrBuilder()
public AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder()
Configuration controlling RBAC group membership information.
.google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34;
Returns
getAutopilot()
public Autopilot getAutopilot()
Autopilot configuration for the cluster.
.google.container.v1beta1.Autopilot autopilot = 128;
Returns
getAutopilotOrBuilder()
public AutopilotOrBuilder getAutopilotOrBuilder()
Autopilot configuration for the cluster.
.google.container.v1beta1.Autopilot autopilot = 128;
Returns
getAutoscaling()
public ClusterAutoscaling getAutoscaling()
Cluster-level autoscaling configuration.
.google.container.v1beta1.ClusterAutoscaling autoscaling = 26;
Returns
getAutoscalingOrBuilder()
public ClusterAutoscalingOrBuilder getAutoscalingOrBuilder()
Cluster-level autoscaling configuration.
.google.container.v1beta1.ClusterAutoscaling autoscaling = 26;
Returns
getBinaryAuthorization()
public BinaryAuthorization getBinaryAuthorization()
Configuration for Binary Authorization.
.google.container.v1beta1.BinaryAuthorization binary_authorization = 24;
Returns
getBinaryAuthorizationOrBuilder()
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Configuration for Binary Authorization.
.google.container.v1beta1.BinaryAuthorization binary_authorization = 24;
Returns
getClusterIpv4Cidr()
public String getClusterIpv4Cidr()
The IP address range of the container pods in this cluster, in
CIDR
notation (e.g. 10.96.0.0/14
). Leave blank to have
one automatically chosen or specify a /14
block in 10.0.0.0/8
.
string cluster_ipv4_cidr = 9;
Returns
Type | Description |
String | The clusterIpv4Cidr.
|
getClusterIpv4CidrBytes()
public ByteString getClusterIpv4CidrBytes()
The IP address range of the container pods in this cluster, in
CIDR
notation (e.g. 10.96.0.0/14
). Leave blank to have
one automatically chosen or specify a /14
block in 10.0.0.0/8
.
string cluster_ipv4_cidr = 9;
Returns
Type | Description |
ByteString | The bytes for clusterIpv4Cidr.
|
getClusterTelemetry()
public ClusterTelemetry getClusterTelemetry()
Telemetry integration for the cluster.
.google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46;
Returns
getClusterTelemetryOrBuilder()
public ClusterTelemetryOrBuilder getClusterTelemetryOrBuilder()
Telemetry integration for the cluster.
.google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46;
Returns
getConditions(int index)
public StatusCondition getConditions(int index)
Which conditions caused the current cluster state.
repeated .google.container.v1beta1.StatusCondition conditions = 118;
Parameter
Returns
getConditionsCount()
public int getConditionsCount()
Which conditions caused the current cluster state.
repeated .google.container.v1beta1.StatusCondition conditions = 118;
Returns
getConditionsList()
public List<StatusCondition> getConditionsList()
Which conditions caused the current cluster state.
repeated .google.container.v1beta1.StatusCondition conditions = 118;
Returns
getConditionsOrBuilder(int index)
public StatusConditionOrBuilder getConditionsOrBuilder(int index)
Which conditions caused the current cluster state.
repeated .google.container.v1beta1.StatusCondition conditions = 118;
Parameter
Returns
getConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()
Which conditions caused the current cluster state.
repeated .google.container.v1beta1.StatusCondition conditions = 118;
Returns
Type | Description |
List<? extends com.google.container.v1beta1.StatusConditionOrBuilder> | |
getConfidentialNodes()
public ConfidentialNodes getConfidentialNodes()
Configuration of Confidential Nodes
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
Returns
getConfidentialNodesOrBuilder()
public ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder()
Configuration of Confidential Nodes
.google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
Returns
getCreateTime()
public String getCreateTime()
[Output only] The time the cluster was created, in
RFC3339 text format.
string create_time = 106;
Returns
Type | Description |
String | The createTime.
|
getCreateTimeBytes()
public ByteString getCreateTimeBytes()
[Output only] The time the cluster was created, in
RFC3339 text format.
string create_time = 106;
Returns
Type | Description |
ByteString | The bytes for createTime.
|
getCurrentMasterVersion()
public String getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;
Returns
Type | Description |
String | The currentMasterVersion.
|
getCurrentMasterVersionBytes()
public ByteString getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;
Returns
Type | Description |
ByteString | The bytes for currentMasterVersion.
|
getCurrentNodeCount()
public int getCurrentNodeCount()
[Output only] The number of nodes currently in the cluster. Deprecated.
Call Kubernetes API directly to retrieve node information.
int32 current_node_count = 112 [deprecated = true];
Returns
Type | Description |
int | The currentNodeCount.
|
getCurrentNodeVersion()
public String getCurrentNodeVersion()
[Output only] Deprecated, use
NodePool.version
instead. The current version of the node software components.
If they are currently at multiple versions because they're in the process
of being upgraded, this reflects the minimum version of all nodes.
string current_node_version = 105 [deprecated = true];
Returns
Type | Description |
String | The currentNodeVersion.
|
getCurrentNodeVersionBytes()
public ByteString getCurrentNodeVersionBytes()
[Output only] Deprecated, use
NodePool.version
instead. The current version of the node software components.
If they are currently at multiple versions because they're in the process
of being upgraded, this reflects the minimum version of all nodes.
string current_node_version = 105 [deprecated = true];
Returns
Type | Description |
ByteString | The bytes for currentNodeVersion.
|
getDatabaseEncryption()
public DatabaseEncryption getDatabaseEncryption()
Configuration of etcd encryption.
.google.container.v1beta1.DatabaseEncryption database_encryption = 38;
Returns
getDatabaseEncryptionOrBuilder()
public DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder()
Configuration of etcd encryption.
.google.container.v1beta1.DatabaseEncryption database_encryption = 38;
Returns
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Returns
getDefaultMaxPodsConstraint()
public MaxPodsConstraint getDefaultMaxPodsConstraint()
The default constraint on the maximum number of pods that can be run
simultaneously on a node in the node pool of this cluster. Only honored
if cluster created with IP Alias support.
.google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
Returns
getDefaultMaxPodsConstraintOrBuilder()
public MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder()
The default constraint on the maximum number of pods that can be run
simultaneously on a node in the node pool of this cluster. Only honored
if cluster created with IP Alias support.
.google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
Returns
getDescription()
public String getDescription()
An optional description of this cluster.
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this cluster.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
getEnableKubernetesAlpha()
public boolean getEnableKubernetesAlpha()
Kubernetes alpha features are