public final class Cluster extends GeneratedMessageV3 implements ClusterOrBuilder
A Google Container Engine cluster.Protobuf type
google.container.v1.Cluster| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.Builder
A Google Container Engine cluster.
|
static class |
Cluster.Status
The current status of the cluster.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTablealwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsResourceLabels(java.lang.String key)
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
|
boolean |
equals(java.lang.Object obj) |
AddonsConfig |
getAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
AddonsConfigOrBuilder |
getAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
|
java.lang.String |
getClusterIpv4Cidr()
The IP address range of the container pods in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g.
|
ByteString |
getClusterIpv4CidrBytes()
The IP address range of the container pods in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g.
|
java.lang.String |
getCreateTime()
[Output only] The time the cluster was created, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
ByteString |
getCreateTimeBytes()
[Output only] The time the cluster was created, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.String |
getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
|
ByteString |
getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.
|
int |
getCurrentNodeCount()
[Output only] The number of nodes currently in the cluster.
|
java.lang.String |
getCurrentNodeVersion()
[Output only] The current version of the node software components.
|
ByteString |
getCurrentNodeVersionBytes()
[Output only] The current version of the node software components.
|
static Cluster |
getDefaultInstance() |
Cluster |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
An optional description of this cluster.
|
ByteString |
getDescriptionBytes()
An optional description of this cluster.
|
static Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableKubernetesAlpha()
Kubernetes alpha features are enabled on this cluster.
|
java.lang.String |
getEndpoint()
[Output only] The IP address of this cluster's master endpoint.
|
ByteString |
getEndpointBytes()
[Output only] The IP address of this cluster's master endpoint.
|
java.lang.String |
getExpireTime()
[Output only] The time the cluster will be automatically
deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
ByteString |
getExpireTimeBytes()
[Output only] The time the cluster will be automatically
deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.String |
getInitialClusterVersion()
The initial Kubernetes version for this cluster.
|
ByteString |
getInitialClusterVersionBytes()
The initial Kubernetes version for this cluster.
|
int |
getInitialNodeCount()
The number of nodes to create in this cluster.
|
java.lang.String |
getInstanceGroupUrls(int index)
Deprecated.
|
ByteString |
getInstanceGroupUrlsBytes(int index)
Deprecated.
|
int |
getInstanceGroupUrlsCount()
Deprecated.
|
ProtocolStringList |
getInstanceGroupUrlsList()
Deprecated.
|
IPAllocationPolicy |
getIpAllocationPolicy()
Configuration for cluster IP allocation.
|
IPAllocationPolicyOrBuilder |
getIpAllocationPolicyOrBuilder()
Configuration for cluster IP allocation.
|
java.lang.String |
getLabelFingerprint()
The fingerprint of the set of labels for this cluster.
|
ByteString |
getLabelFingerprintBytes()
The fingerprint of the set of labels for this cluster.
|
LegacyAbac |
getLegacyAbac()
Configuration for the legacy ABAC authorization mode.
|
LegacyAbacOrBuilder |
getLegacyAbacOrBuilder()
Configuration for the legacy ABAC authorization mode.
|
java.lang.String |
getLocations(int index)
The list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ByteString |
getLocationsBytes(int index)
The list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
int |
getLocationsCount()
The list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ProtocolStringList |
getLocationsList()
The list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
java.lang.String |
getLoggingService()
The logging service the cluster should use to write logs.
|
ByteString |
getLoggingServiceBytes()
The logging service the cluster should use to write logs.
|
MaintenancePolicy |
getMaintenancePolicy()
Configure the maintenance policy for this cluster.
|
MaintenancePolicyOrBuilder |
getMaintenancePolicyOrBuilder()
Configure the maintenance policy for this cluster.
|
MasterAuth |
getMasterAuth()
The authentication information for accessing the master endpoint.
|
MasterAuthOrBuilder |
getMasterAuthOrBuilder()
The authentication information for accessing the master endpoint.
|
MasterAuthorizedNetworksConfig |
getMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature.
|
MasterAuthorizedNetworksConfigOrBuilder |
getMasterAuthorizedNetworksConfigOrBuilder()
Master authorized networks is a Beta feature.
|
java.lang.String |
getMonitoringService()
The monitoring service the cluster should use to write metrics.
|
ByteString |
getMonitoringServiceBytes()
The monitoring service the cluster should use to write metrics.
|
java.lang.String |
getName()
The name of this cluster.
|
ByteString |
getNameBytes()
The name of this cluster.
|
java.lang.String |
getNetwork()
The name of the Google Compute Engine
[network](/compute/docs/networks-and-firewalls#networks) to which the
cluster is connected.
|
ByteString |
getNetworkBytes()
The name of the Google Compute Engine
[network](/compute/docs/networks-and-firewalls#networks) to which the
cluster is connected.
|
NetworkPolicy |
getNetworkPolicy()
Configuration options for the NetworkPolicy feature.
|
NetworkPolicyOrBuilder |
getNetworkPolicyOrBuilder()
Configuration options for the NetworkPolicy feature.
|
NodeConfig |
getNodeConfig()
Parameters used in creating the cluster's nodes.
|
NodeConfigOrBuilder |
getNodeConfigOrBuilder()
Parameters used in creating the cluster's nodes.
|
int |
getNodeIpv4CidrSize()
[Output only] The size of the address space on each node for hosting
containers.
|
NodePool |
getNodePools(int index)
The node pools associated with this cluster.
|
int |
getNodePoolsCount()
The node pools associated with this cluster.
|
java.util.List<NodePool> |
getNodePoolsList()
The node pools associated with this cluster.
|
NodePoolOrBuilder |
getNodePoolsOrBuilder(int index)
The node pools associated with this cluster.
|
java.util.List<? extends NodePoolOrBuilder> |
getNodePoolsOrBuilderList()
The node pools associated with this cluster.
|
Parser<Cluster> |
getParserForType() |
java.util.Map<java.lang.String,java.lang.String> |
getResourceLabels()
Deprecated.
|
int |
getResourceLabelsCount()
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
|
java.util.Map<java.lang.String,java.lang.String> |
getResourceLabelsMap()
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
|
java.lang.String |
getResourceLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
|
java.lang.String |
getResourceLabelsOrThrow(java.lang.String key)
The resource labels for the cluster to use to annotate any related
Google Compute Engine resources.
|
java.lang.String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
ByteString |
getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
java.lang.String |
getServicesIpv4Cidr()
[Output only] The IP address range of the Kubernetes services in
this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g.
|
ByteString |
getServicesIpv4CidrBytes()
[Output only] The IP address range of the Kubernetes services in
this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g.
|
Cluster.Status |
getStatus()
[Output only] The current status of this cluster.
|
java.lang.String |
getStatusMessage()
[Output only] Additional information about the current status of this
cluster, if available.
|
ByteString |
getStatusMessageBytes()
[Output only] Additional information about the current status of this
cluster, if available.
|
int |
getStatusValue()
[Output only] The current status of this cluster.
|
java.lang.String |
getSubnetwork()
The name of the Google Compute Engine
[subnetwork](/compute/docs/subnetworks) to which the
cluster is connected.
|
ByteString |
getSubnetworkBytes()
The name of the Google Compute Engine
[subnetwork](/compute/docs/subnetworks) to which the
cluster is connected.
|
UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getZone()
[Output only] The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
ByteString |
getZoneBytes()
[Output only] The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
boolean |
hasAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
int |
hashCode() |
boolean |
hasIpAllocationPolicy()
Configuration for cluster IP allocation.
|
boolean |
hasLegacyAbac()
Configuration for the legacy ABAC authorization mode.
|
boolean |
hasMaintenancePolicy()
Configure the maintenance policy for this cluster.
|
boolean |
hasMasterAuth()
The authentication information for accessing the master endpoint.
|
boolean |
hasMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature.
|
boolean |
hasNetworkPolicy()
Configuration options for the NetworkPolicy feature.
|
boolean |
hasNodeConfig()
Parameters used in creating the cluster's nodes.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Cluster.Builder |
newBuilder() |
static Cluster.Builder |
newBuilder(Cluster prototype) |
Cluster.Builder |
newBuilderForType() |
protected Cluster.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Cluster |
parseDelimitedFrom(java.io.InputStream input) |
static Cluster |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(byte[] data) |
static Cluster |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(java.nio.ByteBuffer data) |
static Cluster |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(ByteString data) |
static Cluster |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(CodedInputStream input) |
static Cluster |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(java.io.InputStream input) |
static Cluster |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Cluster> |
parser() |
Cluster.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int INITIAL_NODE_COUNT_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER
public static final int MASTER_AUTH_FIELD_NUMBER
public static final int LOGGING_SERVICE_FIELD_NUMBER
public static final int MONITORING_SERVICE_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER
public static final int ADDONS_CONFIG_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
public static final int NODE_POOLS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LEGACY_ABAC_FIELD_NUMBER
public static final int NETWORK_POLICY_FIELD_NUMBER
public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER
public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER
public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER
public static final int CURRENT_NODE_VERSION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER
public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER
public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER
public static final int CURRENT_NODE_COUNT_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
string name = 1;getName in interface ClusterOrBuilderpublic ByteString getNameBytes()
The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
string name = 1;getNameBytes in interface ClusterOrBuilderpublic java.lang.String getDescription()
An optional description of this cluster.
string description = 2;getDescription in interface ClusterOrBuilderpublic ByteString getDescriptionBytes()
An optional description of this cluster.
string description = 2;getDescriptionBytes in interface ClusterOrBuilderpublic int getInitialNodeCount()
The number of nodes to create in this cluster. You must ensure that your Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time.
int32 initial_node_count = 3;getInitialNodeCount in interface ClusterOrBuilderpublic boolean hasNodeConfig()
Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used.
.google.container.v1.NodeConfig node_config = 4;hasNodeConfig in interface ClusterOrBuilderpublic NodeConfig getNodeConfig()
Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used.
.google.container.v1.NodeConfig node_config = 4;getNodeConfig in interface ClusterOrBuilderpublic NodeConfigOrBuilder getNodeConfigOrBuilder()
Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used.
.google.container.v1.NodeConfig node_config = 4;getNodeConfigOrBuilder in interface ClusterOrBuilderpublic boolean hasMasterAuth()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;hasMasterAuth in interface ClusterOrBuilderpublic MasterAuth getMasterAuth()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;getMasterAuth in interface ClusterOrBuilderpublic MasterAuthOrBuilder getMasterAuthOrBuilder()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;getMasterAuthOrBuilder in interface ClusterOrBuilderpublic java.lang.String getLoggingService()
The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.
string logging_service = 6;getLoggingService in interface ClusterOrBuilderpublic ByteString getLoggingServiceBytes()
The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.
string logging_service = 6;getLoggingServiceBytes in interface ClusterOrBuilderpublic java.lang.String getMonitoringService()
The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.
string monitoring_service = 7;getMonitoringService in interface ClusterOrBuilderpublic ByteString getMonitoringServiceBytes()
The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.
string monitoring_service = 7;getMonitoringServiceBytes in interface ClusterOrBuilderpublic java.lang.String getNetwork()
The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.
string network = 8;getNetwork in interface ClusterOrBuilderpublic ByteString getNetworkBytes()
The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.
string network = 8;getNetworkBytes in interface ClusterOrBuilderpublic java.lang.String getClusterIpv4Cidr()
The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) 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;getClusterIpv4Cidr in interface ClusterOrBuilderpublic ByteString getClusterIpv4CidrBytes()
The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) 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;getClusterIpv4CidrBytes in interface ClusterOrBuilderpublic boolean hasAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;hasAddonsConfig in interface ClusterOrBuilderpublic AddonsConfig getAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;getAddonsConfig in interface ClusterOrBuilderpublic AddonsConfigOrBuilder getAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;getAddonsConfigOrBuilder in interface ClusterOrBuilderpublic java.lang.String getSubnetwork()
The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the cluster is connected.
string subnetwork = 11;getSubnetwork in interface ClusterOrBuilderpublic ByteString getSubnetworkBytes()
The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the cluster is connected.
string subnetwork = 11;getSubnetworkBytes in interface ClusterOrBuilderpublic java.util.List<NodePool> getNodePoolsList()
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12;getNodePoolsList in interface ClusterOrBuilderpublic java.util.List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12;getNodePoolsOrBuilderList in interface ClusterOrBuilderpublic int getNodePoolsCount()
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12;getNodePoolsCount in interface ClusterOrBuilderpublic NodePool getNodePools(int index)
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12;getNodePools in interface ClusterOrBuilderpublic NodePoolOrBuilder getNodePoolsOrBuilder(int index)
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12;getNodePoolsOrBuilder in interface ClusterOrBuilderpublic ProtocolStringList getLocationsList()
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.
repeated string locations = 13;getLocationsList in interface ClusterOrBuilderpublic int getLocationsCount()
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.
repeated string locations = 13;getLocationsCount in interface ClusterOrBuilderpublic java.lang.String getLocations(int index)
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.
repeated string locations = 13;getLocations in interface ClusterOrBuilderpublic ByteString getLocationsBytes(int index)
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.
repeated string locations = 13;getLocationsBytes in interface ClusterOrBuilderpublic boolean getEnableKubernetesAlpha()
Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
bool enable_kubernetes_alpha = 14;getEnableKubernetesAlpha in interface ClusterOrBuilderpublic int getResourceLabelsCount()
ClusterOrBuilderThe resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;getResourceLabelsCount in interface ClusterOrBuilderpublic boolean containsResourceLabels(java.lang.String key)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;containsResourceLabels in interface ClusterOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getResourceLabels()
getResourceLabelsMap() instead.getResourceLabels in interface ClusterOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getResourceLabelsMap()
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;getResourceLabelsMap in interface ClusterOrBuilderpublic java.lang.String getResourceLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;getResourceLabelsOrDefault in interface ClusterOrBuilderpublic java.lang.String getResourceLabelsOrThrow(java.lang.String key)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;getResourceLabelsOrThrow in interface ClusterOrBuilderpublic java.lang.String getLabelFingerprint()
The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;getLabelFingerprint in interface ClusterOrBuilderpublic ByteString getLabelFingerprintBytes()
The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;getLabelFingerprintBytes in interface ClusterOrBuilderpublic boolean hasLegacyAbac()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;hasLegacyAbac in interface ClusterOrBuilderpublic LegacyAbac getLegacyAbac()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;getLegacyAbac in interface ClusterOrBuilderpublic LegacyAbacOrBuilder getLegacyAbacOrBuilder()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;getLegacyAbacOrBuilder in interface ClusterOrBuilderpublic boolean hasNetworkPolicy()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;hasNetworkPolicy in interface ClusterOrBuilderpublic NetworkPolicy getNetworkPolicy()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;getNetworkPolicy in interface ClusterOrBuilderpublic NetworkPolicyOrBuilder getNetworkPolicyOrBuilder()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;getNetworkPolicyOrBuilder in interface ClusterOrBuilderpublic boolean hasIpAllocationPolicy()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;hasIpAllocationPolicy in interface ClusterOrBuilderpublic IPAllocationPolicy getIpAllocationPolicy()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;getIpAllocationPolicy in interface ClusterOrBuilderpublic IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;getIpAllocationPolicyOrBuilder in interface ClusterOrBuilderpublic boolean hasMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature. The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;hasMasterAuthorizedNetworksConfig in interface ClusterOrBuilderpublic MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature. The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;getMasterAuthorizedNetworksConfig in interface ClusterOrBuilderpublic MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder()
Master authorized networks is a Beta feature. The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;getMasterAuthorizedNetworksConfigOrBuilder in interface ClusterOrBuilderpublic boolean hasMaintenancePolicy()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;hasMaintenancePolicy in interface ClusterOrBuilderpublic MaintenancePolicy getMaintenancePolicy()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;getMaintenancePolicy in interface ClusterOrBuilderpublic MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;getMaintenancePolicyOrBuilder in interface ClusterOrBuilderpublic java.lang.String getSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;getSelfLink in interface ClusterOrBuilderpublic ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
string self_link = 100;getSelfLinkBytes in interface ClusterOrBuilderpublic java.lang.String getZone()
[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 101;getZone in interface ClusterOrBuilderpublic ByteString getZoneBytes()
[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 101;getZoneBytes in interface ClusterOrBuilderpublic java.lang.String getEndpoint()
[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
string endpoint = 102;getEndpoint in interface ClusterOrBuilderpublic ByteString getEndpointBytes()
[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
string endpoint = 102;getEndpointBytes in interface ClusterOrBuilderpublic java.lang.String getInitialClusterVersion()
The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.
string initial_cluster_version = 103;getInitialClusterVersion in interface ClusterOrBuilderpublic ByteString getInitialClusterVersionBytes()
The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.
string initial_cluster_version = 103;getInitialClusterVersionBytes in interface ClusterOrBuilderpublic java.lang.String getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;getCurrentMasterVersion in interface ClusterOrBuilderpublic ByteString getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;getCurrentMasterVersionBytes in interface ClusterOrBuilderpublic java.lang.String getCurrentNodeVersion()
[Output only] 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;getCurrentNodeVersion in interface ClusterOrBuilderpublic ByteString getCurrentNodeVersionBytes()
[Output only] 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;getCurrentNodeVersionBytes in interface ClusterOrBuilderpublic java.lang.String getCreateTime()
[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string create_time = 106;getCreateTime in interface ClusterOrBuilderpublic ByteString getCreateTimeBytes()
[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string create_time = 106;getCreateTimeBytes in interface ClusterOrBuilderpublic int getStatusValue()
[Output only] The current status of this cluster.
.google.container.v1.Cluster.Status status = 107;getStatusValue in interface ClusterOrBuilderpublic Cluster.Status getStatus()
[Output only] The current status of this cluster.
.google.container.v1.Cluster.Status status = 107;getStatus in interface ClusterOrBuilderpublic java.lang.String getStatusMessage()
[Output only] Additional information about the current status of this cluster, if available.
string status_message = 108;getStatusMessage in interface ClusterOrBuilderpublic ByteString getStatusMessageBytes()
[Output only] Additional information about the current status of this cluster, if available.
string status_message = 108;getStatusMessageBytes in interface ClusterOrBuilderpublic int getNodeIpv4CidrSize()
[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range.
int32 node_ipv4_cidr_size = 109;getNodeIpv4CidrSize in interface ClusterOrBuilderpublic java.lang.String getServicesIpv4Cidr()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
string services_ipv4_cidr = 110;getServicesIpv4Cidr in interface ClusterOrBuilderpublic ByteString getServicesIpv4CidrBytes()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
string services_ipv4_cidr = 110;getServicesIpv4CidrBytes in interface ClusterOrBuilderpublic ProtocolStringList getInstanceGroupUrlsList()
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;getInstanceGroupUrlsList in interface ClusterOrBuilderpublic int getInstanceGroupUrlsCount()
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;getInstanceGroupUrlsCount in interface ClusterOrBuilderpublic java.lang.String getInstanceGroupUrls(int index)
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;getInstanceGroupUrls in interface ClusterOrBuilderpublic ByteString getInstanceGroupUrlsBytes(int index)
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;getInstanceGroupUrlsBytes in interface ClusterOrBuilderpublic int getCurrentNodeCount()
[Output only] The number of nodes currently in the cluster.
int32 current_node_count = 112;getCurrentNodeCount in interface ClusterOrBuilderpublic java.lang.String getExpireTime()
[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string expire_time = 113;getExpireTime in interface ClusterOrBuilderpublic ByteString getExpireTimeBytes()
[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string expire_time = 113;getExpireTimeBytes in interface ClusterOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Cluster parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Cluster.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Cluster.Builder newBuilder()
public static Cluster.Builder newBuilder(Cluster prototype)
public Cluster.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Cluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Cluster getDefaultInstance()
public Parser<Cluster> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Cluster getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder