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