public static enum Source.State extends Enum<Source.State> implements com.google.protobuf.ProtocolMessageEnum
Enumerates possible states of a source.Protobuf enum
google.cloud.migrationcenter.v1.Source.State| Enum Constant and Description |
|---|
ACTIVE
The source is active and ready to be used.
|
DELETING
In the process of being deleted.
|
INVALID
Source is in an invalid state.
|
STATE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The source is active and ready to be used.
|
static int |
DELETING_VALUE
In the process of being deleted.
|
static int |
INVALID_VALUE
Source is in an invalid state.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static Source.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<Source.State> |
internalGetValueMap() |
static Source.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Source.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Source.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Source.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Source.State STATE_UNSPECIFIED
Unspecified.
STATE_UNSPECIFIED = 0;public static final Source.State ACTIVE
The source is active and ready to be used.
ACTIVE = 1;public static final Source.State DELETING
In the process of being deleted.
DELETING = 2;public static final Source.State INVALID
Source is in an invalid state. Asset frames reported to it will be ignored.
INVALID = 3;public static final Source.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified.
STATE_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
The source is active and ready to be used.
ACTIVE = 1;public static final int DELETING_VALUE
In the process of being deleted.
DELETING = 2;public static final int INVALID_VALUE
Source is in an invalid state. Asset frames reported to it will be ignored.
INVALID = 3;public static Source.State[] values()
for (Source.State c : Source.State.values()) System.out.println(c);
public static Source.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 Source.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Source.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Source.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 Source.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.