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 Summary
Enum ConstantsEnum ConstantDescriptionCollector client is actively scanning.Collector completed all tasks for deletion.Collector is starting background job for deletion.Collector is in error state.Collector started to create, but hasn't been completed MC source creation and db object creation.Collector is not actively scanning.Collector has been created, MC source creation and db object creation completed.Collector client has been registered with client.Collector state is not recognized. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCollector client is actively scanning.static final intCollector completed all tasks for deletion.static final intCollector is starting background job for deletion.static final intCollector is in error state.static final intCollector started to create, but hasn't been completed MC source creation and db object creation.static final intCollector is not actively scanning.static final intCollector has been created, MC source creation and db object creation completed.static final intCollector client has been registered with client.static final intCollector state is not recognized. -
Method Summary
Modifier and TypeMethodDescriptionstatic Collector.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Collector.State>static Collector.StatevalueOf(int value) Deprecated.static Collector.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Collector.StateReturns 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 Details
-
STATE_UNSPECIFIED
Collector state is not recognized.
STATE_UNSPECIFIED = 0; -
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
Collector has been created, MC source creation and db object creation completed.
STATE_READY_TO_USE = 2; -
STATE_REGISTERED
Collector client has been registered with client.
STATE_REGISTERED = 3; -
STATE_ACTIVE
Collector client is actively scanning.
STATE_ACTIVE = 4; -
STATE_PAUSED
Collector is not actively scanning.
STATE_PAUSED = 5; -
STATE_DELETING
Collector is starting background job for deletion.
STATE_DELETING = 6; -
STATE_DECOMMISSIONED
Collector completed all tasks for deletion.
STATE_DECOMMISSIONED = 7; -
STATE_ERROR
Collector is in error state.
STATE_ERROR = 8; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUECollector state is not recognized.
STATE_UNSPECIFIED = 0;- See Also:
-
STATE_INITIALIZING_VALUE
public static final int STATE_INITIALIZING_VALUECollector started to create, but hasn't been completed MC source creation and db object creation.
STATE_INITIALIZING = 1;- See Also:
-
STATE_READY_TO_USE_VALUE
public static final int STATE_READY_TO_USE_VALUECollector has been created, MC source creation and db object creation completed.
STATE_READY_TO_USE = 2;- See Also:
-
STATE_REGISTERED_VALUE
public static final int STATE_REGISTERED_VALUECollector client has been registered with client.
STATE_REGISTERED = 3;- See Also:
-
STATE_ACTIVE_VALUE
public static final int STATE_ACTIVE_VALUECollector client is actively scanning.
STATE_ACTIVE = 4;- See Also:
-
STATE_PAUSED_VALUE
public static final int STATE_PAUSED_VALUECollector is not actively scanning.
STATE_PAUSED = 5;- See Also:
-
STATE_DELETING_VALUE
public static final int STATE_DELETING_VALUECollector is starting background job for deletion.
STATE_DELETING = 6;- See Also:
-
STATE_DECOMMISSIONED_VALUE
public static final int STATE_DECOMMISSIONED_VALUECollector completed all tasks for deletion.
STATE_DECOMMISSIONED = 7;- See Also:
-
STATE_ERROR_VALUE
public static final int STATE_ERROR_VALUECollector is in error state.
STATE_ERROR = 8;- 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
-