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 and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Collector.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final Collector.State STATE_UNSPECIFIED
Collector state is not recognized.
STATE_UNSPECIFIED = 0;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;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;public static final Collector.State STATE_REGISTERED
Collector client has been registered with client.
STATE_REGISTERED = 3;public static final Collector.State STATE_ACTIVE
Collector client is actively scanning.
STATE_ACTIVE = 4;public static final Collector.State STATE_PAUSED
Collector is not actively scanning.
STATE_PAUSED = 5;public static final Collector.State STATE_DELETING
Collector is starting background job for deletion.
STATE_DELETING = 6;public static final Collector.State STATE_DECOMMISSIONED
Collector completed all tasks for deletion.
STATE_DECOMMISSIONED = 7;public static final Collector.State STATE_ERROR
Collector is in error state.
STATE_ERROR = 8;public static final Collector.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Collector state is not recognized.
STATE_UNSPECIFIED = 0;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;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;public static final int STATE_REGISTERED_VALUE
Collector client has been registered with client.
STATE_REGISTERED = 3;public static final int STATE_ACTIVE_VALUE
Collector client is actively scanning.
STATE_ACTIVE = 4;public static final int STATE_PAUSED_VALUE
Collector is not actively scanning.
STATE_PAUSED = 5;public static final int STATE_DELETING_VALUE
Collector is starting background job for deletion.
STATE_DELETING = 6;public static final int STATE_DECOMMISSIONED_VALUE
Collector completed all tasks for deletion.
STATE_DECOMMISSIONED = 7;public static final int STATE_ERROR_VALUE
Collector is in error state.
STATE_ERROR = 8;public static Collector.State[] values()
for (Collector.State c : Collector.State.values()) System.out.println(c);
public static Collector.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Collector.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Collector.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Collector.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Collector.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.