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