Enum Collector.State

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Collector.State>
    Enclosing class:
    Collector

    public static enum Collector.State
    extends Enum<Collector.State>
    implements com.google.protobuf.ProtocolMessageEnum
     -- Using suggestion from API Linter Analyzer for nesting enum --
     -- https://linter.aip.dev/216/nesting --
     State of a Collector (server_side).
     States are used for internal purposes and named to keep
     convention of legacy product:
     https://cloud.google.com/migrate/stratozone/docs/about-stratoprobe.
     
    Protobuf enum google.cloud.rapidmigrationassessment.v1.Collector.State
    • Enum Constant Detail

      • STATE_UNSPECIFIED

        public static final Collector.State STATE_UNSPECIFIED
         Collector state is not recognized.
         
        STATE_UNSPECIFIED = 0;
      • STATE_INITIALIZING

        public static final Collector.State STATE_INITIALIZING
         Collector started to create, but hasn't been completed MC source creation
         and db object creation.
         
        STATE_INITIALIZING = 1;
      • STATE_READY_TO_USE

        public static final Collector.State STATE_READY_TO_USE
         Collector has been created, MC source creation and db object creation
         completed.
         
        STATE_READY_TO_USE = 2;
      • STATE_REGISTERED

        public static final Collector.State STATE_REGISTERED
         Collector client has been registered with client.
         
        STATE_REGISTERED = 3;
      • STATE_ACTIVE

        public static final Collector.State STATE_ACTIVE
         Collector client is actively scanning.
         
        STATE_ACTIVE = 4;
      • STATE_PAUSED

        public static final Collector.State STATE_PAUSED
         Collector is not actively scanning.
         
        STATE_PAUSED = 5;
      • STATE_DELETING

        public static final Collector.State STATE_DELETING
         Collector is starting background job for deletion.
         
        STATE_DELETING = 6;
      • STATE_DECOMMISSIONED

        public static final Collector.State STATE_DECOMMISSIONED
         Collector completed all tasks for deletion.
         
        STATE_DECOMMISSIONED = 7;
      • STATE_ERROR

        public static final Collector.State STATE_ERROR
         Collector is in error state.
         
        STATE_ERROR = 8;
    • Field Detail

      • STATE_UNSPECIFIED_VALUE

        public static final int STATE_UNSPECIFIED_VALUE
         Collector state is not recognized.
         
        STATE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • STATE_INITIALIZING_VALUE

        public static final int STATE_INITIALIZING_VALUE
         Collector started to create, but hasn't been completed MC source creation
         and db object creation.
         
        STATE_INITIALIZING = 1;
        See Also:
        Constant Field Values
      • STATE_READY_TO_USE_VALUE

        public static final int STATE_READY_TO_USE_VALUE
         Collector has been created, MC source creation and db object creation
         completed.
         
        STATE_READY_TO_USE = 2;
        See Also:
        Constant Field Values
      • STATE_REGISTERED_VALUE

        public static final int STATE_REGISTERED_VALUE
         Collector client has been registered with client.
         
        STATE_REGISTERED = 3;
        See Also:
        Constant Field Values
      • STATE_ACTIVE_VALUE

        public static final int STATE_ACTIVE_VALUE
         Collector client is actively scanning.
         
        STATE_ACTIVE = 4;
        See Also:
        Constant Field Values
      • STATE_PAUSED_VALUE

        public static final int STATE_PAUSED_VALUE
         Collector is not actively scanning.
         
        STATE_PAUSED = 5;
        See Also:
        Constant Field Values
      • STATE_DELETING_VALUE

        public static final int STATE_DELETING_VALUE
         Collector is starting background job for deletion.
         
        STATE_DELETING = 6;
        See Also:
        Constant Field Values
      • STATE_DECOMMISSIONED_VALUE

        public static final int STATE_DECOMMISSIONED_VALUE
         Collector completed all tasks for deletion.
         
        STATE_DECOMMISSIONED = 7;
        See Also:
        Constant Field Values
      • STATE_ERROR_VALUE

        public static final int STATE_ERROR_VALUE
         Collector is in error state.
         
        STATE_ERROR = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Collector.State[] 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 (Collector.State c : Collector.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Collector.State 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 Collector.State 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 Collector.State 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<Collector.State> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Collector.State 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