public final class ClusterUpdate extends GeneratedMessageV3 implements ClusterUpdateOrBuilder
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.Protobuf type
google.container.v1.ClusterUpdate| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterUpdate.Builder
ClusterUpdate describes an update to 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| Modifier and Type | Field and Description |
|---|---|
static int |
DESIRED_ADDONS_CONFIG_FIELD_NUMBER |
static int |
DESIRED_IMAGE_TYPE_FIELD_NUMBER |
static int |
DESIRED_LOCATIONS_FIELD_NUMBER |
static int |
DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER |
static int |
DESIRED_MASTER_VERSION_FIELD_NUMBER |
static int |
DESIRED_MONITORING_SERVICE_FIELD_NUMBER |
static int |
DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER |
static int |
DESIRED_NODE_POOL_ID_FIELD_NUMBER |
static int |
DESIRED_NODE_VERSION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ClusterUpdate |
getDefaultInstance() |
ClusterUpdate |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
AddonsConfig |
getDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
AddonsConfigOrBuilder |
getDesiredAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
|
java.lang.String |
getDesiredImageType()
The desired image type for the node pool.
|
ByteString |
getDesiredImageTypeBytes()
The desired image type for the node pool.
|
java.lang.String |
getDesiredLocations(int index)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ByteString |
getDesiredLocationsBytes(int index)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
int |
getDesiredLocationsCount()
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ProtocolStringList |
getDesiredLocationsList()
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
MasterAuthorizedNetworksConfig |
getDesiredMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature.
|
MasterAuthorizedNetworksConfigOrBuilder |
getDesiredMasterAuthorizedNetworksConfigOrBuilder()
Master authorized networks is a Beta feature.
|
java.lang.String |
getDesiredMasterVersion()
The Kubernetes version to change the master to.
|
ByteString |
getDesiredMasterVersionBytes()
The Kubernetes version to change the master to.
|
java.lang.String |
getDesiredMonitoringService()
The monitoring service the cluster should use to write metrics.
|
ByteString |
getDesiredMonitoringServiceBytes()
The monitoring service the cluster should use to write metrics.
|
NodePoolAutoscaling |
getDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
NodePoolAutoscalingOrBuilder |
getDesiredNodePoolAutoscalingOrBuilder()
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
java.lang.String |
getDesiredNodePoolId()
The node pool to be upgraded.
|
ByteString |
getDesiredNodePoolIdBytes()
The node pool to be upgraded.
|
java.lang.String |
getDesiredNodeVersion()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
ByteString |
getDesiredNodeVersionBytes()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
Parser<ClusterUpdate> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
boolean |
hasDesiredMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature.
|
boolean |
hasDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClusterUpdate.Builder |
newBuilder() |
static ClusterUpdate.Builder |
newBuilder(ClusterUpdate prototype) |
ClusterUpdate.Builder |
newBuilderForType() |
protected ClusterUpdate.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ClusterUpdate |
parseDelimitedFrom(java.io.InputStream input) |
static ClusterUpdate |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ClusterUpdate |
parseFrom(byte[] data) |
static ClusterUpdate |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ClusterUpdate |
parseFrom(java.nio.ByteBuffer data) |
static ClusterUpdate |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ClusterUpdate |
parseFrom(ByteString data) |
static ClusterUpdate |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ClusterUpdate |
parseFrom(CodedInputStream input) |
static ClusterUpdate |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ClusterUpdate |
parseFrom(java.io.InputStream input) |
static ClusterUpdate |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ClusterUpdate> |
parser() |
ClusterUpdate.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 DESIRED_NODE_VERSION_FIELD_NUMBER
public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER
public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER
public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER
public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER
public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER
public static final int DESIRED_LOCATIONS_FIELD_NUMBER
public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getDesiredNodeVersion()
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string desired_node_version = 4;getDesiredNodeVersion in interface ClusterUpdateOrBuilderpublic ByteString getDesiredNodeVersionBytes()
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string desired_node_version = 4;getDesiredNodeVersionBytes in interface ClusterUpdateOrBuilderpublic java.lang.String getDesiredMonitoringService()
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
string desired_monitoring_service = 5;getDesiredMonitoringService in interface ClusterUpdateOrBuilderpublic ByteString getDesiredMonitoringServiceBytes()
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
string desired_monitoring_service = 5;getDesiredMonitoringServiceBytes in interface ClusterUpdateOrBuilderpublic boolean hasDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;hasDesiredAddonsConfig in interface ClusterUpdateOrBuilderpublic AddonsConfig getDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;getDesiredAddonsConfig in interface ClusterUpdateOrBuilderpublic AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;getDesiredAddonsConfigOrBuilder in interface ClusterUpdateOrBuilderpublic java.lang.String getDesiredNodePoolId()
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
string desired_node_pool_id = 7;getDesiredNodePoolId in interface ClusterUpdateOrBuilderpublic ByteString getDesiredNodePoolIdBytes()
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
string desired_node_pool_id = 7;getDesiredNodePoolIdBytes in interface ClusterUpdateOrBuilderpublic java.lang.String getDesiredImageType()
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;getDesiredImageType in interface ClusterUpdateOrBuilderpublic ByteString getDesiredImageTypeBytes()
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;getDesiredImageTypeBytes in interface ClusterUpdateOrBuilderpublic boolean hasDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;hasDesiredNodePoolAutoscaling in interface ClusterUpdateOrBuilderpublic NodePoolAutoscaling getDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;getDesiredNodePoolAutoscaling in interface ClusterUpdateOrBuilderpublic NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder()
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;getDesiredNodePoolAutoscalingOrBuilder in interface ClusterUpdateOrBuilderpublic ProtocolStringList getDesiredLocationsList()
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
repeated string desired_locations = 10;getDesiredLocationsList in interface ClusterUpdateOrBuilderpublic int getDesiredLocationsCount()
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
repeated string desired_locations = 10;getDesiredLocationsCount in interface ClusterUpdateOrBuilderpublic java.lang.String getDesiredLocations(int index)
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
repeated string desired_locations = 10;getDesiredLocations in interface ClusterUpdateOrBuilderpublic ByteString getDesiredLocationsBytes(int index)
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
repeated string desired_locations = 10;getDesiredLocationsBytes in interface ClusterUpdateOrBuilderpublic boolean hasDesiredMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature. The desired configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;hasDesiredMasterAuthorizedNetworksConfig in interface ClusterUpdateOrBuilderpublic MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature. The desired configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;getDesiredMasterAuthorizedNetworksConfig in interface ClusterUpdateOrBuilderpublic MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder()
Master authorized networks is a Beta feature. The desired configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;getDesiredMasterAuthorizedNetworksConfigOrBuilder in interface ClusterUpdateOrBuilderpublic java.lang.String getDesiredMasterVersion()
The Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.
string desired_master_version = 100;getDesiredMasterVersion in interface ClusterUpdateOrBuilderpublic ByteString getDesiredMasterVersionBytes()
The Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.
string desired_master_version = 100;getDesiredMasterVersionBytes in interface ClusterUpdateOrBuilderpublic 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 ClusterUpdate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterUpdate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClusterUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterUpdate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClusterUpdate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ClusterUpdate.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ClusterUpdate.Builder newBuilder()
public static ClusterUpdate.Builder newBuilder(ClusterUpdate prototype)
public ClusterUpdate.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ClusterUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ClusterUpdate getDefaultInstance()
public static Parser<ClusterUpdate> parser()
public Parser<ClusterUpdate> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ClusterUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder