public static enum ProvidenceHttpError._Field extends Enum<ProvidenceHttpError._Field> implements net.morimekta.providence.descriptor.PField<ProvidenceHttpError>
| Enum Constant and Description |
|---|
MESSAGE |
STATUS_CODE |
| Modifier and Type | Method and Description |
|---|---|
static ProvidenceHttpError._Field |
fieldForId(int id) |
static ProvidenceHttpError._Field |
fieldForName(String name) |
static ProvidenceHttpError._Field |
fieldForPojoName(String name) |
static ProvidenceHttpError._Field |
findById(int id) |
static ProvidenceHttpError._Field |
findByName(String name) |
static ProvidenceHttpError._Field |
findByPojoName(String name) |
net.morimekta.providence.descriptor.PStructDescriptor |
getArgumentsType() |
Object |
getDefaultValue() |
net.morimekta.providence.descriptor.PDescriptor |
getDescriptor() |
int |
getId() |
String |
getName() |
String |
getPojoName() |
net.morimekta.providence.descriptor.PRequirement |
getRequirement() |
boolean |
hasDefaultValue() |
net.morimekta.providence.descriptor.PMessageDescriptor<ProvidenceHttpError> |
onMessageType() |
String |
toString() |
static ProvidenceHttpError._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProvidenceHttpError._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProvidenceHttpError._Field MESSAGE
public static final ProvidenceHttpError._Field STATUS_CODE
public static ProvidenceHttpError._Field[] values()
for (ProvidenceHttpError._Field c : ProvidenceHttpError._Field.values()) System.out.println(c);
public static ProvidenceHttpError._Field 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 int getId()
getId in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nonnull public net.morimekta.providence.descriptor.PRequirement getRequirement()
getRequirement in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nonnull public net.morimekta.providence.descriptor.PDescriptor getDescriptor()
getDescriptor in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nullable public net.morimekta.providence.descriptor.PStructDescriptor getArgumentsType()
getArgumentsType in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nonnull public String getName()
getName in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nonnull public String getPojoName()
getPojoName in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>public boolean hasDefaultValue()
hasDefaultValue in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nullable public Object getDefaultValue()
getDefaultValue in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>@Nonnull public net.morimekta.providence.descriptor.PMessageDescriptor<ProvidenceHttpError> onMessageType()
onMessageType in interface net.morimekta.providence.descriptor.PField<ProvidenceHttpError>public String toString()
toString in class Enum<ProvidenceHttpError._Field>public static ProvidenceHttpError._Field findById(int id)
id - Field IDpublic static ProvidenceHttpError._Field findByName(String name)
name - Field namepublic static ProvidenceHttpError._Field findByPojoName(String name)
name - Field POJO namepublic static ProvidenceHttpError._Field fieldForId(int id)
id - Field IDIllegalArgumentException - If no such fieldpublic static ProvidenceHttpError._Field fieldForName(String name)
name - Field nameIllegalArgumentException - If no such fieldpublic static ProvidenceHttpError._Field fieldForPojoName(String name)
name - Field POJO nameIllegalArgumentException - If no such fieldCopyright © 2015–2020 morimekta.net. All rights reserved.