public static enum GetWorkerReportOptions.WorkerRange extends Enum<GetWorkerReportOptions.WorkerRange>
Enum Constant and Description |
---|
ALL |
DECOMMISSIONED |
LIVE |
LOST |
SPECIFIED |
Modifier and Type | Method and Description |
---|---|
static GetWorkerReportOptions.WorkerRange |
fromProto(WorkerRange workerRange) |
WorkerRange |
toProto() |
static GetWorkerReportOptions.WorkerRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetWorkerReportOptions.WorkerRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetWorkerReportOptions.WorkerRange ALL
public static final GetWorkerReportOptions.WorkerRange LIVE
public static final GetWorkerReportOptions.WorkerRange LOST
public static final GetWorkerReportOptions.WorkerRange DECOMMISSIONED
public static final GetWorkerReportOptions.WorkerRange SPECIFIED
public static GetWorkerReportOptions.WorkerRange[] values()
for (GetWorkerReportOptions.WorkerRange c : GetWorkerReportOptions.WorkerRange.values()) System.out.println(c);
public static GetWorkerReportOptions.WorkerRange 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 WorkerRange toProto()
public static GetWorkerReportOptions.WorkerRange fromProto(WorkerRange workerRange)
workerRange
- the proto representation of the worker range to createCopyright © 2023. All Rights Reserved.