Class ClusterUpdate (2.5.1)

Stay organized with collections Save and categorize content based on your preferences.
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

Static Fields

DESIRED_ADDONS_CONFIG_FIELD_NUMBER

public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER

public static final int DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER

public static final int DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER

public static final int DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER

public static final int DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER

public static final int DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER

public static final int DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_DNS_CONFIG_FIELD_NUMBER

public static final int DESIRED_DNS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_GCFS_CONFIG_FIELD_NUMBER

public static final int DESIRED_GCFS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER

public static final int DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_IMAGE_TYPE_FIELD_NUMBER

public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER

public static final int DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER

public static final int DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_LOCATIONS_FIELD_NUMBER

public static final int DESIRED_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_LOGGING_CONFIG_FIELD_NUMBER

public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_LOGGING_SERVICE_FIELD_NUMBER

public static final int DESIRED_LOGGING_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER

public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_MASTER_VERSION_FIELD_NUMBER

public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_MESH_CERTIFICATES_FIELD_NUMBER

public static final int DESIRED_MESH_CERTIFICATES_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_MONITORING_CONFIG_FIELD_NUMBER

public static final int DESIRED_MONITORING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_MONITORING_SERVICE_FIELD_NUMBER

public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER

public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER

public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_NODE_POOL_ID_FIELD_NUMBER

public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_NODE_VERSION_FIELD_NUMBER

public static final int DESIRED_NODE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER

public static final int DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER

public static final int DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_RELEASE_CHANNEL_FIELD_NUMBER

public static final int DESIRED_RELEASE_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER

public static final int DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER

public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_SHIELDED_NODES_FIELD_NUMBER

public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER

public static final int DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER
Field Value
TypeDescription
int

DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER

public static final int DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterUpdate getDefaultInstance()
Returns
TypeDescription
ClusterUpdate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ClusterUpdate.Builder newBuilder()
Returns
TypeDescription
ClusterUpdate.Builder

newBuilder(ClusterUpdate prototype)

public static ClusterUpdate.Builder newBuilder(ClusterUpdate prototype)
Parameter
NameDescription
prototypeClusterUpdate
Returns
TypeDescription
ClusterUpdate.Builder

parseDelimitedFrom(InputStream input)

public static ClusterUpdate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClusterUpdate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClusterUpdate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClusterUpdate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClusterUpdate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClusterUpdate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClusterUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClusterUpdate> parser()
Returns
TypeDescription
Parser<ClusterUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ClusterUpdate getDefaultInstanceForType()
Returns
TypeDescription
ClusterUpdate

getDesiredAddonsConfig()

public AddonsConfig getDesiredAddonsConfig()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
AddonsConfig

The desiredAddonsConfig.

getDesiredAddonsConfigOrBuilder()

public AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
AddonsConfigOrBuilder

getDesiredAuthenticatorGroupsConfig()

public AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
AuthenticatorGroupsConfig

The desiredAuthenticatorGroupsConfig.

getDesiredAuthenticatorGroupsConfigOrBuilder()

public AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
AuthenticatorGroupsConfigOrBuilder

getDesiredBinaryAuthorization()

public BinaryAuthorization getDesiredBinaryAuthorization()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
BinaryAuthorization

The desiredBinaryAuthorization.

getDesiredBinaryAuthorizationOrBuilder()

public BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
BinaryAuthorizationOrBuilder

getDesiredClusterAutoscaling()

public ClusterAutoscaling getDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterAutoscaling

The desiredClusterAutoscaling.

getDesiredClusterAutoscalingOrBuilder()

public ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterAutoscalingOrBuilder

getDesiredDatabaseEncryption()

public DatabaseEncryption getDesiredDatabaseEncryption()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
DatabaseEncryption

The desiredDatabaseEncryption.

getDesiredDatabaseEncryptionOrBuilder()

public DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
DatabaseEncryptionOrBuilder

getDesiredDatapathProvider()

public DatapathProvider getDesiredDatapathProvider()

The desired datapath provider for the cluster.

.google.container.v1.DatapathProvider desired_datapath_provider = 50;

Returns
TypeDescription
DatapathProvider

The desiredDatapathProvider.

getDesiredDatapathProviderValue()

public int getDesiredDatapathProviderValue()

The desired datapath provider for the cluster.

.google.container.v1.DatapathProvider desired_datapath_provider = 50;

Returns
TypeDescription
int

The enum numeric value on the wire for desiredDatapathProvider.

getDesiredDefaultSnatStatus()

public DefaultSnatStatus getDesiredDefaultSnatStatus()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
DefaultSnatStatus

The desiredDefaultSnatStatus.

getDesiredDefaultSnatStatusOrBuilder()

public DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
DefaultSnatStatusOrBuilder

getDesiredDnsConfig()

public DNSConfig getDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
DNSConfig

The desiredDnsConfig.

getDesiredDnsConfigOrBuilder()

public DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
DNSConfigOrBuilder

getDesiredGcfsConfig()

public GcfsConfig getDesiredGcfsConfig()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
GcfsConfig

The desiredGcfsConfig.

getDesiredGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
GcfsConfigOrBuilder

getDesiredIdentityServiceConfig()

public IdentityServiceConfig getDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
IdentityServiceConfig

The desiredIdentityServiceConfig.

getDesiredIdentityServiceConfigOrBuilder()

public IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
IdentityServiceConfigOrBuilder

getDesiredImageType()

public String getDesiredImageType()

The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

string desired_image_type = 8;

Returns
TypeDescription
String

The desiredImageType.

getDesiredImageTypeBytes()

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;

Returns
TypeDescription
ByteString

The bytes for desiredImageType.

getDesiredIntraNodeVisibilityConfig()

public IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
IntraNodeVisibilityConfig

The desiredIntraNodeVisibilityConfig.

getDesiredIntraNodeVisibilityConfigOrBuilder()

public IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
IntraNodeVisibilityConfigOrBuilder

getDesiredL4IlbSubsettingConfig()

public ILBSubsettingConfig getDesiredL4IlbSubsettingConfig()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ILBSubsettingConfig

The desiredL4ilbSubsettingConfig.

getDesiredL4IlbSubsettingConfigOrBuilder()

public ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ILBSubsettingConfigOrBuilder

getDesiredLocations(int index)

public String getDesiredLocations(int index)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The desiredLocations at the given index.

getDesiredLocationsBytes(int index)

public ByteString getDesiredLocationsBytes(int index)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
indexint

The index of the value to return.