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.FieldAccessorTable
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public java.lang.String getDescription()
An optional description of this cluster.
string description = 2;
getDescription
in interface ClusterOrBuilder
public ByteString getDescriptionBytes()
An optional description of this cluster.
string description = 2;
getDescriptionBytes
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public boolean hasMasterAuth()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;
hasMasterAuth
in interface ClusterOrBuilder
public MasterAuth getMasterAuth()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;
getMasterAuth
in interface ClusterOrBuilder
public MasterAuthOrBuilder getMasterAuthOrBuilder()
The authentication information for accessing the master endpoint.
.google.container.v1.MasterAuth master_auth = 5;
getMasterAuthOrBuilder
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public boolean hasAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;
hasAddonsConfig
in interface ClusterOrBuilder
public AddonsConfig getAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;
getAddonsConfig
in interface ClusterOrBuilder
public AddonsConfigOrBuilder getAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;
getAddonsConfigOrBuilder
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public int getResourceLabelsCount()
ClusterOrBuilder
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;
getResourceLabelsCount
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public java.lang.String getLabelFingerprint()
The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;
getLabelFingerprint
in interface ClusterOrBuilder
public ByteString getLabelFingerprintBytes()
The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;
getLabelFingerprintBytes
in interface ClusterOrBuilder
public boolean hasLegacyAbac()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;
hasLegacyAbac
in interface ClusterOrBuilder
public LegacyAbac getLegacyAbac()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;
getLegacyAbac
in interface ClusterOrBuilder
public LegacyAbacOrBuilder getLegacyAbacOrBuilder()
Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;
getLegacyAbacOrBuilder
in interface ClusterOrBuilder
public boolean hasNetworkPolicy()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;
hasNetworkPolicy
in interface ClusterOrBuilder
public NetworkPolicy getNetworkPolicy()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;
getNetworkPolicy
in interface ClusterOrBuilder
public NetworkPolicyOrBuilder getNetworkPolicyOrBuilder()
Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;
getNetworkPolicyOrBuilder
in interface ClusterOrBuilder
public boolean hasIpAllocationPolicy()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;
hasIpAllocationPolicy
in interface ClusterOrBuilder
public IPAllocationPolicy getIpAllocationPolicy()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;
getIpAllocationPolicy
in interface ClusterOrBuilder
public IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder()
Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;
getIpAllocationPolicyOrBuilder
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public boolean hasMaintenancePolicy()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;
hasMaintenancePolicy
in interface ClusterOrBuilder
public MaintenancePolicy getMaintenancePolicy()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;
getMaintenancePolicy
in interface ClusterOrBuilder
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;
getMaintenancePolicyOrBuilder
in interface ClusterOrBuilder
public java.lang.String getSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;
getSelfLink
in interface ClusterOrBuilder
public ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
string self_link = 100;
getSelfLinkBytes
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public java.lang.String getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;
getCurrentMasterVersion
in interface ClusterOrBuilder
public ByteString getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;
getCurrentMasterVersionBytes
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public int getStatusValue()
[Output only] The current status of this cluster.
.google.container.v1.Cluster.Status status = 107;
getStatusValue
in interface ClusterOrBuilder
public Cluster.Status getStatus()
[Output only] The current status of this cluster.
.google.container.v1.Cluster.Status status = 107;
getStatus
in interface ClusterOrBuilder
public java.lang.String getStatusMessage()
[Output only] Additional information about the current status of this cluster, if available.
string status_message = 108;
getStatusMessage
in interface ClusterOrBuilder
public ByteString getStatusMessageBytes()
[Output only] Additional information about the current status of this cluster, if available.
string status_message = 108;
getStatusMessageBytes
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public ProtocolStringList getInstanceGroupUrlsList()
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;
getInstanceGroupUrlsList
in interface ClusterOrBuilder
public int getInstanceGroupUrlsCount()
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;
getInstanceGroupUrlsCount
in interface ClusterOrBuilder
public java.lang.String getInstanceGroupUrls(int index)
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;
getInstanceGroupUrls
in interface ClusterOrBuilder
public ByteString getInstanceGroupUrlsBytes(int index)
Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111;
getInstanceGroupUrlsBytes
in interface ClusterOrBuilder
public int getCurrentNodeCount()
[Output only] The number of nodes currently in the cluster.
int32 current_node_count = 112;
getCurrentNodeCount
in interface ClusterOrBuilder
public 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 ClusterOrBuilder
public 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 ClusterOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Cluster parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cluster parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Cluster parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Cluster parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Cluster parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Cluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Cluster.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Cluster.Builder newBuilder()
public static Cluster.Builder newBuilder(Cluster prototype)
public Cluster.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Cluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Cluster getDefaultInstance()
public Parser<Cluster> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Cluster getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder