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, unknownFields
memoizedSize
memoizedHashCode
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, 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 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public boolean hasDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
hasDesiredAddonsConfig
in interface ClusterUpdateOrBuilder
public AddonsConfig getDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
getDesiredAddonsConfig
in interface ClusterUpdateOrBuilder
public AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
getDesiredAddonsConfigOrBuilder
in interface ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
public 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 ClusterUpdateOrBuilder
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 ClusterUpdate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ClusterUpdate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ClusterUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ClusterUpdate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ClusterUpdate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ClusterUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ClusterUpdate.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ClusterUpdate.Builder newBuilder()
public static ClusterUpdate.Builder newBuilder(ClusterUpdate prototype)
public ClusterUpdate.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ClusterUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ClusterUpdate getDefaultInstance()
public static Parser<ClusterUpdate> parser()
public Parser<ClusterUpdate> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ClusterUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder