Package com.google.privacy.dlp.v2
Enum StoredInfoTypeState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StoredInfoTypeState>
@Generated
public enum StoredInfoTypeState
extends Enum<StoredInfoTypeState>
implements com.google.protobuf.ProtocolMessageEnum
State of a StoredInfoType version.Protobuf enum
google.privacy.dlp.v2.StoredInfoTypeState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStoredInfoType creation failed.StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified.StoredInfoType version is being created.StoredInfoType version is ready for use.Unused -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intStoredInfoType creation failed.static final intStoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified.static final intStoredInfoType version is being created.static final intStoredInfoType version is ready for use.static final intUnused -
Method Summary
Modifier and TypeMethodDescriptionstatic StoredInfoTypeStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<StoredInfoTypeState>static StoredInfoTypeStatevalueOf(int value) Deprecated.static StoredInfoTypeStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static StoredInfoTypeStateReturns the enum constant of this type with the specified name.static StoredInfoTypeState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STORED_INFO_TYPE_STATE_UNSPECIFIED
Unused
STORED_INFO_TYPE_STATE_UNSPECIFIED = 0; -
PENDING
StoredInfoType version is being created.
PENDING = 1; -
READY
StoredInfoType version is ready for use.
READY = 2; -
FAILED
StoredInfoType creation failed. All relevant error messages are returned in the `StoredInfoTypeVersion` message.
FAILED = 3; -
INVALID
StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the `UpdateStoredInfoType` method to create a new version.
INVALID = 4; -
UNRECOGNIZED
-
-
Field Details
-
STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUE
public static final int STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUEUnused
STORED_INFO_TYPE_STATE_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEStoredInfoType version is being created.
PENDING = 1;- See Also:
-
READY_VALUE
public static final int READY_VALUEStoredInfoType version is ready for use.
READY = 2;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEStoredInfoType creation failed. All relevant error messages are returned in the `StoredInfoTypeVersion` message.
FAILED = 3;- See Also:
-
INVALID_VALUE
public static final int INVALID_VALUEStoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the `UpdateStoredInfoType` method to create a new version.
INVALID = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-