Enum StoredInfoTypeState

java.lang.Object
java.lang.Enum<StoredInfoTypeState>
com.google.privacy.dlp.v2.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 Details

    • STORED_INFO_TYPE_STATE_UNSPECIFIED

      public static final StoredInfoTypeState STORED_INFO_TYPE_STATE_UNSPECIFIED
       Unused
       
      STORED_INFO_TYPE_STATE_UNSPECIFIED = 0;
    • PENDING

      public static final StoredInfoTypeState PENDING
       StoredInfoType version is being created.
       
      PENDING = 1;
    • READY

      public static final StoredInfoTypeState READY
       StoredInfoType version is ready for use.
       
      READY = 2;
    • FAILED

      public static final StoredInfoTypeState FAILED
       StoredInfoType creation failed. All relevant error messages are returned in
       the `StoredInfoTypeVersion` message.
       
      FAILED = 3;
    • INVALID

      public static final StoredInfoTypeState 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

      public static final StoredInfoTypeState UNRECOGNIZED
  • Field Details

    • STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUE

      public static final int STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUE
       Unused
       
      STORED_INFO_TYPE_STATE_UNSPECIFIED = 0;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       StoredInfoType version is being created.
       
      PENDING = 1;
      See Also:
    • READY_VALUE

      public static final int READY_VALUE
       StoredInfoType version is ready for use.
       
      READY = 2;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       StoredInfoType creation failed. All relevant error messages are returned in
       the `StoredInfoTypeVersion` message.
       
      FAILED = 3;
      See Also:
    • INVALID_VALUE

      public static final int INVALID_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static StoredInfoTypeState[] 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

      public static StoredInfoTypeState 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static StoredInfoTypeState 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static StoredInfoTypeState 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<StoredInfoTypeState> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static StoredInfoTypeState 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 name
      NullPointerException - if the argument is null