public static enum RunningService.State extends Enum<RunningService.State> implements com.google.protobuf.ProtocolMessageEnum
Service state (OS-agnostic).Protobuf enum
google.cloud.migrationcenter.v1.RunningService.State| Enum Constant and Description |
|---|
ACTIVE
Service is active.
|
PAUSED
Service is paused.
|
STATE_UNSPECIFIED
Service state unspecified.
|
STOPPED
Service is stopped.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Service is active.
|
static int |
PAUSED_VALUE
Service is paused.
|
static int |
STATE_UNSPECIFIED_VALUE
Service state unspecified.
|
static int |
STOPPED_VALUE
Service is stopped.
|
| Modifier and Type | Method and Description |
|---|---|
static RunningService.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<RunningService.State> |
internalGetValueMap() |
static RunningService.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RunningService.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunningService.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningService.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningService.State STATE_UNSPECIFIED
Service state unspecified.
STATE_UNSPECIFIED = 0;public static final RunningService.State ACTIVE
Service is active.
ACTIVE = 1;public static final RunningService.State PAUSED
Service is paused.
PAUSED = 2;public static final RunningService.State STOPPED
Service is stopped.
STOPPED = 3;public static final RunningService.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Service state unspecified.
STATE_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
Service is active.
ACTIVE = 1;public static final int PAUSED_VALUE
Service is paused.
PAUSED = 2;public static final int STOPPED_VALUE
Service is stopped.
STOPPED = 3;public static RunningService.State[] values()
for (RunningService.State c : RunningService.State.values()) System.out.println(c);
public static RunningService.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 RunningService.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RunningService.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RunningService.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 RunningService.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.