public static final class ClusterUpdate.Builder extends GeneratedMessageV3.Builder<ClusterUpdate.Builder> 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 | Method and Description |
---|---|
ClusterUpdate.Builder |
addAllDesiredLocations(java.lang.Iterable<java.lang.String> values)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ClusterUpdate.Builder |
addDesiredLocations(java.lang.String value)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ClusterUpdate.Builder |
addDesiredLocationsBytes(ByteString value)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ClusterUpdate.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ClusterUpdate |
build() |
ClusterUpdate |
buildPartial() |
ClusterUpdate.Builder |
clear() |
ClusterUpdate.Builder |
clearDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
ClusterUpdate.Builder |
clearDesiredImageType()
The desired image type for the node pool.
|
ClusterUpdate.Builder |
clearDesiredLocations()
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ClusterUpdate.Builder |
clearDesiredMasterAuthorizedNetworksConfig()
Master authorized networks is a Beta feature.
|
ClusterUpdate.Builder |
clearDesiredMasterVersion()
The Kubernetes version to change the master to.
|
ClusterUpdate.Builder |
clearDesiredMonitoringService()
The monitoring service the cluster should use to write metrics.
|
ClusterUpdate.Builder |
clearDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
ClusterUpdate.Builder |
clearDesiredNodePoolId()
The node pool to be upgraded.
|
ClusterUpdate.Builder |
clearDesiredNodeVersion()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
ClusterUpdate.Builder |
clearField(Descriptors.FieldDescriptor field) |
ClusterUpdate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ClusterUpdate.Builder |
clone() |
ClusterUpdate |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
AddonsConfig |
getDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
AddonsConfig.Builder |
getDesiredAddonsConfigBuilder()
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.
|
MasterAuthorizedNetworksConfig.Builder |
getDesiredMasterAuthorizedNetworksConfigBuilder()
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.
|
NodePoolAutoscaling.Builder |
getDesiredNodePoolAutoscalingBuilder()
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).
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClusterUpdate.Builder |
mergeDesiredAddonsConfig(AddonsConfig value)
Configurations for the various addons available to run in the cluster.
|
ClusterUpdate.Builder |
mergeDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
Master authorized networks is a Beta feature.
|
ClusterUpdate.Builder |
mergeDesiredNodePoolAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
ClusterUpdate.Builder |
mergeFrom(ClusterUpdate other) |
ClusterUpdate.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ClusterUpdate.Builder |
mergeFrom(Message other) |
ClusterUpdate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ClusterUpdate.Builder |
setDesiredAddonsConfig(AddonsConfig.Builder builderForValue)
Configurations for the various addons available to run in the cluster.
|
ClusterUpdate.Builder |
setDesiredAddonsConfig(AddonsConfig value)
Configurations for the various addons available to run in the cluster.
|
ClusterUpdate.Builder |
setDesiredImageType(java.lang.String value)
The desired image type for the node pool.
|
ClusterUpdate.Builder |
setDesiredImageTypeBytes(ByteString value)
The desired image type for the node pool.
|
ClusterUpdate.Builder |
setDesiredLocations(int index,
java.lang.String value)
The desired list of Google Compute Engine
[locations](/compute/docs/zones#available) in which the cluster's nodes
should be located.
|
ClusterUpdate.Builder |
setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)
Master authorized networks is a Beta feature.
|
ClusterUpdate.Builder |
setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
Master authorized networks is a Beta feature.
|
ClusterUpdate.Builder |
setDesiredMasterVersion(java.lang.String value)
The Kubernetes version to change the master to.
|
ClusterUpdate.Builder |
setDesiredMasterVersionBytes(ByteString value)
The Kubernetes version to change the master to.
|
ClusterUpdate.Builder |
setDesiredMonitoringService(java.lang.String value)
The monitoring service the cluster should use to write metrics.
|
ClusterUpdate.Builder |
setDesiredMonitoringServiceBytes(ByteString value)
The monitoring service the cluster should use to write metrics.
|
ClusterUpdate.Builder |
setDesiredNodePoolAutoscaling(NodePoolAutoscaling.Builder builderForValue)
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
ClusterUpdate.Builder |
setDesiredNodePoolAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for the node pool specified in
desired_node_pool_id.
|
ClusterUpdate.Builder |
setDesiredNodePoolId(java.lang.String value)
The node pool to be upgraded.
|
ClusterUpdate.Builder |
setDesiredNodePoolIdBytes(ByteString value)
The node pool to be upgraded.
|
ClusterUpdate.Builder |
setDesiredNodeVersion(java.lang.String value)
The Kubernetes version to change the nodes to (typically an
upgrade).
|
ClusterUpdate.Builder |
setDesiredNodeVersionBytes(ByteString value)
The Kubernetes version to change the nodes to (typically an
upgrade).
|
ClusterUpdate.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ClusterUpdate.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ClusterUpdate.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ClusterUpdate build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ClusterUpdate buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ClusterUpdate.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder mergeFrom(ClusterUpdate other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public ClusterUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterUpdate.Builder>
java.io.IOException
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 ClusterUpdate.Builder setDesiredNodeVersion(java.lang.String value)
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;
public ClusterUpdate.Builder clearDesiredNodeVersion()
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;
public ClusterUpdate.Builder setDesiredNodeVersionBytes(ByteString value)
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;
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 ClusterUpdate.Builder setDesiredMonitoringService(java.lang.String value)
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;
public ClusterUpdate.Builder clearDesiredMonitoringService()
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;
public ClusterUpdate.Builder setDesiredMonitoringServiceBytes(ByteString value)
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;
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 ClusterUpdate.Builder setDesiredAddonsConfig(AddonsConfig value)
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
public ClusterUpdate.Builder setDesiredAddonsConfig(AddonsConfig.Builder builderForValue)
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
public ClusterUpdate.Builder mergeDesiredAddonsConfig(AddonsConfig value)
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
public ClusterUpdate.Builder clearDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
public AddonsConfig.Builder getDesiredAddonsConfigBuilder()
Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig desired_addons_config = 6;
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 ClusterUpdate.Builder setDesiredNodePoolId(java.lang.String value)
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;
public ClusterUpdate.Builder clearDesiredNodePoolId()
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;
public ClusterUpdate.Builder setDesiredNodePoolIdBytes(ByteString value)
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;
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 ClusterUpdate.Builder setDesiredImageType(java.lang.String value)
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;
public ClusterUpdate.Builder clearDesiredImageType()
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;
public ClusterUpdate.Builder setDesiredImageTypeBytes(ByteString value)
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;
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 ClusterUpdate.Builder setDesiredNodePoolAutoscaling(NodePoolAutoscaling value)
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;
public ClusterUpdate.Builder setDesiredNodePoolAutoscaling(NodePoolAutoscaling.Builder builderForValue)
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;
public ClusterUpdate.Builder mergeDesiredNodePoolAutoscaling(NodePoolAutoscaling value)
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;
public ClusterUpdate.Builder clearDesiredNodePoolAutoscaling()
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;
public NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder()
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;
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 ClusterUpdate.Builder setDesiredLocations(int index, java.lang.String value)
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;
public ClusterUpdate.Builder addDesiredLocations(java.lang.String value)
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;
public ClusterUpdate.Builder addAllDesiredLocations(java.lang.Iterable<java.lang.String> values)
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;
public ClusterUpdate.Builder clearDesiredLocations()
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;
public ClusterUpdate.Builder addDesiredLocationsBytes(ByteString value)
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;
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 ClusterUpdate.Builder setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
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;
public ClusterUpdate.Builder setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)
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;
public ClusterUpdate.Builder mergeDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
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;
public ClusterUpdate.Builder clearDesiredMasterAuthorizedNetworksConfig()
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;
public MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder()
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;
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 ClusterUpdate.Builder setDesiredMasterVersion(java.lang.String value)
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;
public ClusterUpdate.Builder clearDesiredMasterVersion()
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;
public ClusterUpdate.Builder setDesiredMasterVersionBytes(ByteString value)
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;
public final ClusterUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>
public final ClusterUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ClusterUpdate.Builder>