public static enum Model.BaseModelSource.SourceCase extends Enum<Model.BaseModelSource.SourceCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
GENIE_SOURCE |
MODEL_GARDEN_SOURCE |
SOURCE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Model.BaseModelSource.SourceCase |
forNumber(int value) |
int |
getNumber() |
static Model.BaseModelSource.SourceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.BaseModelSource.SourceCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.BaseModelSource.SourceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.BaseModelSource.SourceCase MODEL_GARDEN_SOURCE
public static final Model.BaseModelSource.SourceCase GENIE_SOURCE
public static final Model.BaseModelSource.SourceCase SOURCE_NOT_SET
public static Model.BaseModelSource.SourceCase[] values()
for (Model.BaseModelSource.SourceCase c : Model.BaseModelSource.SourceCase.values()) System.out.println(c);
public static Model.BaseModelSource.SourceCase 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 null@Deprecated public static Model.BaseModelSource.SourceCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Model.BaseModelSource.SourceCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.