public static enum ResourceDescriptor.History extends java.lang.Enum<ResourceDescriptor.History> implements ProtocolMessageEnum
A description of the historical or future-looking state of the resource pattern.Protobuf enum
google.api.ResourceDescriptor.History| Enum Constant and Description |
|---|
FUTURE_MULTI_PATTERN
The resource has one pattern, but the API owner expects to add more
later.
|
HISTORY_UNSPECIFIED
The "unset" value.
|
ORIGINALLY_SINGLE_PATTERN
The resource originally had one pattern and launched as such, and
additional patterns were added later.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FUTURE_MULTI_PATTERN_VALUE
The resource has one pattern, but the API owner expects to add more
later.
|
static int |
HISTORY_UNSPECIFIED_VALUE
The "unset" value.
|
static int |
ORIGINALLY_SINGLE_PATTERN_VALUE
The resource originally had one pattern and launched as such, and
additional patterns were added later.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceDescriptor.History |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ResourceDescriptor.History> |
internalGetValueMap() |
static ResourceDescriptor.History |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ResourceDescriptor.History |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResourceDescriptor.History |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceDescriptor.History[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceDescriptor.History HISTORY_UNSPECIFIED
The "unset" value.
HISTORY_UNSPECIFIED = 0;public static final ResourceDescriptor.History ORIGINALLY_SINGLE_PATTERN
The resource originally had one pattern and launched as such, and additional patterns were added later.
ORIGINALLY_SINGLE_PATTERN = 1;public static final ResourceDescriptor.History FUTURE_MULTI_PATTERN
The resource has one pattern, but the API owner expects to add more later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents that from being necessary once there are multiple patterns.)
FUTURE_MULTI_PATTERN = 2;public static final ResourceDescriptor.History UNRECOGNIZED
public static final int HISTORY_UNSPECIFIED_VALUE
The "unset" value.
HISTORY_UNSPECIFIED = 0;public static final int ORIGINALLY_SINGLE_PATTERN_VALUE
The resource originally had one pattern and launched as such, and additional patterns were added later.
ORIGINALLY_SINGLE_PATTERN = 1;public static final int FUTURE_MULTI_PATTERN_VALUE
The resource has one pattern, but the API owner expects to add more later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents that from being necessary once there are multiple patterns.)
FUTURE_MULTI_PATTERN = 2;public static ResourceDescriptor.History[] values()
for (ResourceDescriptor.History c : ResourceDescriptor.History.values()) System.out.println(c);
public static ResourceDescriptor.History valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static ResourceDescriptor.History valueOf(int value)
forNumber(int) instead.public static ResourceDescriptor.History forNumber(int value)
public static Internal.EnumLiteMap<ResourceDescriptor.History> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static ResourceDescriptor.History valueOf(Descriptors.EnumValueDescriptor desc)