Enum Collector.State
- java.lang.Object
-
- java.lang.Enum<Collector.State>
-
- com.google.cloud.rapidmigrationassessment.v1.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 enumgoogle.cloud.rapidmigrationassessment.v1.Collector.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STATE_ACTIVE
Collector client is actively scanning.STATE_DECOMMISSIONED
Collector completed all tasks for deletion.STATE_DELETING
Collector is starting background job for deletion.STATE_ERROR
Collector is in error state.STATE_INITIALIZING
Collector started to create, but hasn't been completed MC source creation and db object creation.STATE_PAUSED
Collector is not actively scanning.STATE_READY_TO_USE
Collector has been created, MC source creation and db object creation completed.STATE_REGISTERED
Collector client has been registered with client.STATE_UNSPECIFIED
Collector state is not recognized.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
STATE_ACTIVE_VALUE
Collector client is actively scanning.static int
STATE_DECOMMISSIONED_VALUE
Collector completed all tasks for deletion.static int
STATE_DELETING_VALUE
Collector is starting background job for deletion.static int
STATE_ERROR_VALUE
Collector is in error state.static int
STATE_INITIALIZING_VALUE
Collector started to create, but hasn't been completed MC source creation and db object creation.static int
STATE_PAUSED_VALUE
Collector is not actively scanning.static int
STATE_READY_TO_USE_VALUE
Collector has been created, MC source creation and db object creation completed.static int
STATE_REGISTERED_VALUE
Collector client has been registered with client.static int
STATE_UNSPECIFIED_VALUE
Collector state is not recognized.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Collector.State
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<Collector.State>
internalGetValueMap()
static Collector.State
valueOf(int value)
Deprecated.static Collector.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Collector.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Collector.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final Collector.State UNRECOGNIZED
-
-
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 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 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 nameNullPointerException
- 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 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 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 nameNullPointerException
- if the argument is null
-
-