Package com.google.container.v1beta1
Enum Operation.Type
- java.lang.Object
-
- java.lang.Enum<Operation.Type>
-
- com.google.container.v1beta1.Operation.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Operation.Type>
- Enclosing class:
- Operation
public static enum Operation.Type extends Enum<Operation.Type> implements com.google.protobuf.ProtocolMessageEnum
Operation type categorizes the operation.
Protobuf enumgoogle.container.v1beta1.Operation.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_REPAIR_NODES
A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair).AUTO_UPGRADE_NODES
Deprecated.CREATE_CLUSTER
The cluster is being created.CREATE_NODE_POOL
A node pool is being created.DELETE_CLUSTER
The cluster is being deleted.DELETE_NODE_POOL
The node pool is being deleted.REPAIR_CLUSTER
A problem has been detected with the control plane and is being repaired.RESIZE_CLUSTER
The control plane is being resized.SET_LABELS
Deprecated.SET_MAINTENANCE_POLICY
Deprecated.SET_MASTER_AUTH
Deprecated.SET_NETWORK_POLICY
Deprecated.SET_NODE_POOL_MANAGEMENT
The node pool's [manamagent][google.container.v1beta1.NodePool.management] field is being updated.SET_NODE_POOL_SIZE
The node pool is being resized.TYPE_UNSPECIFIED
Not set.UNRECOGNIZED
UPDATE_CLUSTER
The cluster is being updated.UPGRADE_MASTER
The [cluster version][google.container.v1beta1.ClusterUpdate.desired_master_version] is being updated.UPGRADE_NODES
A node pool is being updated.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_REPAIR_NODES_VALUE
A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair).static int
AUTO_UPGRADE_NODES_VALUE
Deprecated.static int
CREATE_CLUSTER_VALUE
The cluster is being created.static int
CREATE_NODE_POOL_VALUE
A node pool is being created.static int
DELETE_CLUSTER_VALUE
The cluster is being deleted.static int
DELETE_NODE_POOL_VALUE
The node pool is being deleted.static int
REPAIR_CLUSTER_VALUE
A problem has been detected with the control plane and is being repaired.static int
RESIZE_CLUSTER_VALUE
The control plane is being resized.static int
SET_LABELS_VALUE
Deprecated.static int
SET_MAINTENANCE_POLICY_VALUE
Deprecated.static int
SET_MASTER_AUTH_VALUE
Deprecated.static int
SET_NETWORK_POLICY_VALUE
Deprecated.static int
SET_NODE_POOL_MANAGEMENT_VALUE
The node pool's [manamagent][google.container.v1beta1.NodePool.management] field is being updated.static int
SET_NODE_POOL_SIZE_VALUE
The node pool is being resized.static int
TYPE_UNSPECIFIED_VALUE
Not set.static int
UPDATE_CLUSTER_VALUE
The cluster is being updated.static int
UPGRADE_MASTER_VALUE
The [cluster version][google.container.v1beta1.ClusterUpdate.desired_master_version] is being updated.static int
UPGRADE_NODES_VALUE
A node pool is being updated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Operation.Type
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Operation.Type>
internalGetValueMap()
static Operation.Type
valueOf(int value)
Deprecated.static Operation.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Operation.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Operation.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_UNSPECIFIED
public static final Operation.Type TYPE_UNSPECIFIED
Not set.
TYPE_UNSPECIFIED = 0;
-
CREATE_CLUSTER
public static final Operation.Type CREATE_CLUSTER
The cluster is being created. The cluster should be assumed to be unusable until the operation finishes. In the event of the operation failing, the cluster will enter the [ERROR state][Cluster.Status.ERROR] and eventually be deleted.
CREATE_CLUSTER = 1;
-
DELETE_CLUSTER
public static final Operation.Type DELETE_CLUSTER
The cluster is being deleted. The cluster should be assumed to be unusable as soon as this operation starts. In the event of the operation failing, the cluster will enter the [ERROR state][Cluster.Status.ERROR] and the deletion will be automatically retried until completed.
DELETE_CLUSTER = 2;
-
UPGRADE_MASTER
public static final Operation.Type UPGRADE_MASTER
The [cluster version][google.container.v1beta1.ClusterUpdate.desired_master_version] is being updated. Note that this includes "upgrades" to the same version, which are simply a recreation. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). For more details, see [documentation on cluster upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).
UPGRADE_MASTER = 3;
-
UPGRADE_NODES
public static final Operation.Type UPGRADE_NODES
A node pool is being updated. Despite calling this an "upgrade", this includes most forms of updates to node pools. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). This operation sets the [progress][google.container.v1beta1.Operation.progress] field and may be [canceled][google.container.v1beta1.ClusterManager.CancelOperation]. The upgrade strategy depends on [node pool configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). The nodes are generally still usable during this operation.
UPGRADE_NODES = 4;
-
REPAIR_CLUSTER
public static final Operation.Type REPAIR_CLUSTER
A problem has been detected with the control plane and is being repaired. This operation type is initiated by GKE. For more details, see [documentation on repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
REPAIR_CLUSTER = 5;
-
UPDATE_CLUSTER
public static final Operation.Type UPDATE_CLUSTER
The cluster is being updated. This is a broad category of operations and includes operations that only change metadata as well as those that must recreate the entire cluster. If the control plane must be recreated, this will cause temporary downtime for zonal clusters. Some features require recreating the nodes as well. Those will be recreated as separate operations and the update may not be completely functional until the node pools recreations finish. Node recreations will generally follow [maintenance policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). Some GKE-initiated operations use this type. This includes certain types of auto-upgrades and incident mitigations.
UPDATE_CLUSTER = 6;
-
CREATE_NODE_POOL
public static final Operation.Type CREATE_NODE_POOL
A node pool is being created. The node pool should be assumed to be unusable until this operation finishes. In the event of an error, the node pool may be partially created. If enabled, [node autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) may have automatically initiated such operations.
CREATE_NODE_POOL = 7;
-
DELETE_NODE_POOL
public static final Operation.Type DELETE_NODE_POOL
The node pool is being deleted. The node pool should be assumed to be unusable as soon as this operation starts.
DELETE_NODE_POOL = 8;
-
SET_NODE_POOL_MANAGEMENT
public static final Operation.Type SET_NODE_POOL_MANAGEMENT
The node pool's [manamagent][google.container.v1beta1.NodePool.management] field is being updated. These operations only update metadata and may be concurrent with most other operations.
SET_NODE_POOL_MANAGEMENT = 9;
-
AUTO_REPAIR_NODES
public static final Operation.Type AUTO_REPAIR_NODES
A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). This operation type is initiated by GKE, typically automatically. This operation may be concurrent with other operations and there may be multiple repairs occurring on the same node pool.
AUTO_REPAIR_NODES = 10;
-
AUTO_UPGRADE_NODES
@Deprecated public static final Operation.Type AUTO_UPGRADE_NODES
Deprecated.Unused. Automatic node upgrade uses [UPGRADE_NODES][google.container.v1beta1.Operation.Type.UPGRADE_NODES].
AUTO_UPGRADE_NODES = 11 [deprecated = true];
-
SET_LABELS
@Deprecated public static final Operation.Type SET_LABELS
Deprecated.Unused. Updating labels uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_LABELS = 12 [deprecated = true];
-
SET_MASTER_AUTH
@Deprecated public static final Operation.Type SET_MASTER_AUTH
Deprecated.Unused. Updating master auth uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_MASTER_AUTH = 13 [deprecated = true];
-
SET_NODE_POOL_SIZE
public static final Operation.Type SET_NODE_POOL_SIZE
The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.
SET_NODE_POOL_SIZE = 14;
-
SET_NETWORK_POLICY
@Deprecated public static final Operation.Type SET_NETWORK_POLICY
Deprecated.Unused. Updating network policy uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_NETWORK_POLICY = 15 [deprecated = true];
-
SET_MAINTENANCE_POLICY
@Deprecated public static final Operation.Type SET_MAINTENANCE_POLICY
Deprecated.Unused. Updating maintenance policy uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_MAINTENANCE_POLICY = 16 [deprecated = true];
-
RESIZE_CLUSTER
public static final Operation.Type RESIZE_CLUSTER
The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
RESIZE_CLUSTER = 18;
-
UNRECOGNIZED
public static final Operation.Type UNRECOGNIZED
-
-
Field Detail
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUE
Not set.
TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CREATE_CLUSTER_VALUE
public static final int CREATE_CLUSTER_VALUE
The cluster is being created. The cluster should be assumed to be unusable until the operation finishes. In the event of the operation failing, the cluster will enter the [ERROR state][Cluster.Status.ERROR] and eventually be deleted.
CREATE_CLUSTER = 1;
- See Also:
- Constant Field Values
-
DELETE_CLUSTER_VALUE
public static final int DELETE_CLUSTER_VALUE
The cluster is being deleted. The cluster should be assumed to be unusable as soon as this operation starts. In the event of the operation failing, the cluster will enter the [ERROR state][Cluster.Status.ERROR] and the deletion will be automatically retried until completed.
DELETE_CLUSTER = 2;
- See Also:
- Constant Field Values
-
UPGRADE_MASTER_VALUE
public static final int UPGRADE_MASTER_VALUE
The [cluster version][google.container.v1beta1.ClusterUpdate.desired_master_version] is being updated. Note that this includes "upgrades" to the same version, which are simply a recreation. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). For more details, see [documentation on cluster upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).
UPGRADE_MASTER = 3;
- See Also:
- Constant Field Values
-
UPGRADE_NODES_VALUE
public static final int UPGRADE_NODES_VALUE
A node pool is being updated. Despite calling this an "upgrade", this includes most forms of updates to node pools. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). This operation sets the [progress][google.container.v1beta1.Operation.progress] field and may be [canceled][google.container.v1beta1.ClusterManager.CancelOperation]. The upgrade strategy depends on [node pool configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). The nodes are generally still usable during this operation.
UPGRADE_NODES = 4;
- See Also:
- Constant Field Values
-
REPAIR_CLUSTER_VALUE
public static final int REPAIR_CLUSTER_VALUE
A problem has been detected with the control plane and is being repaired. This operation type is initiated by GKE. For more details, see [documentation on repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
REPAIR_CLUSTER = 5;
- See Also:
- Constant Field Values
-
UPDATE_CLUSTER_VALUE
public static final int UPDATE_CLUSTER_VALUE
The cluster is being updated. This is a broad category of operations and includes operations that only change metadata as well as those that must recreate the entire cluster. If the control plane must be recreated, this will cause temporary downtime for zonal clusters. Some features require recreating the nodes as well. Those will be recreated as separate operations and the update may not be completely functional until the node pools recreations finish. Node recreations will generally follow [maintenance policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). Some GKE-initiated operations use this type. This includes certain types of auto-upgrades and incident mitigations.
UPDATE_CLUSTER = 6;
- See Also:
- Constant Field Values
-
CREATE_NODE_POOL_VALUE
public static final int CREATE_NODE_POOL_VALUE
A node pool is being created. The node pool should be assumed to be unusable until this operation finishes. In the event of an error, the node pool may be partially created. If enabled, [node autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) may have automatically initiated such operations.
CREATE_NODE_POOL = 7;
- See Also:
- Constant Field Values
-
DELETE_NODE_POOL_VALUE
public static final int DELETE_NODE_POOL_VALUE
The node pool is being deleted. The node pool should be assumed to be unusable as soon as this operation starts.
DELETE_NODE_POOL = 8;
- See Also:
- Constant Field Values
-
SET_NODE_POOL_MANAGEMENT_VALUE
public static final int SET_NODE_POOL_MANAGEMENT_VALUE
The node pool's [manamagent][google.container.v1beta1.NodePool.management] field is being updated. These operations only update metadata and may be concurrent with most other operations.
SET_NODE_POOL_MANAGEMENT = 9;
- See Also:
- Constant Field Values
-
AUTO_REPAIR_NODES_VALUE
public static final int AUTO_REPAIR_NODES_VALUE
A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). This operation type is initiated by GKE, typically automatically. This operation may be concurrent with other operations and there may be multiple repairs occurring on the same node pool.
AUTO_REPAIR_NODES = 10;
- See Also:
- Constant Field Values
-
AUTO_UPGRADE_NODES_VALUE
@Deprecated public static final int AUTO_UPGRADE_NODES_VALUE
Deprecated.Unused. Automatic node upgrade uses [UPGRADE_NODES][google.container.v1beta1.Operation.Type.UPGRADE_NODES].
AUTO_UPGRADE_NODES = 11 [deprecated = true];
- See Also:
- Constant Field Values
-
SET_LABELS_VALUE
@Deprecated public static final int SET_LABELS_VALUE
Deprecated.Unused. Updating labels uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_LABELS = 12 [deprecated = true];
- See Also:
- Constant Field Values
-
SET_MASTER_AUTH_VALUE
@Deprecated public static final int SET_MASTER_AUTH_VALUE
Deprecated.Unused. Updating master auth uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_MASTER_AUTH = 13 [deprecated = true];
- See Also:
- Constant Field Values
-
SET_NODE_POOL_SIZE_VALUE
public static final int SET_NODE_POOL_SIZE_VALUE
The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.
SET_NODE_POOL_SIZE = 14;
- See Also:
- Constant Field Values
-
SET_NETWORK_POLICY_VALUE
@Deprecated public static final int SET_NETWORK_POLICY_VALUE
Deprecated.Unused. Updating network policy uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_NETWORK_POLICY = 15 [deprecated = true];
- See Also:
- Constant Field Values
-
SET_MAINTENANCE_POLICY_VALUE
@Deprecated public static final int SET_MAINTENANCE_POLICY_VALUE
Deprecated.Unused. Updating maintenance policy uses [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER].
SET_MAINTENANCE_POLICY = 16 [deprecated = true];
- See Also:
- Constant Field Values
-
RESIZE_CLUSTER_VALUE
public static final int RESIZE_CLUSTER_VALUE
The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
RESIZE_CLUSTER = 18;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Operation.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Operation.Type c : Operation.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operation.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Operation.Type valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Operation.Type forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Operation.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Operation.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-