public static enum GetWorkerReportOptions.WorkerInfoField extends Enum<GetWorkerReportOptions.WorkerInfoField>
Enum Constant and Description |
---|
ADDRESS |
ID |
LAST_CONTACT_SEC |
START_TIME_MS |
STATE |
WORKER_CAPACITY_BYTES |
WORKER_CAPACITY_BYTES_ON_TIERS |
WORKER_USED_BYTES |
WORKER_USED_BYTES_ON_TIERS |
Modifier and Type | Method and Description |
---|---|
static GetWorkerReportOptions.WorkerInfoField |
fromProto(WorkerInfoField fieldRange) |
WorkerInfoField |
toProto() |
static GetWorkerReportOptions.WorkerInfoField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetWorkerReportOptions.WorkerInfoField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetWorkerReportOptions.WorkerInfoField ADDRESS
public static final GetWorkerReportOptions.WorkerInfoField WORKER_CAPACITY_BYTES
public static final GetWorkerReportOptions.WorkerInfoField WORKER_CAPACITY_BYTES_ON_TIERS
public static final GetWorkerReportOptions.WorkerInfoField ID
public static final GetWorkerReportOptions.WorkerInfoField LAST_CONTACT_SEC
public static final GetWorkerReportOptions.WorkerInfoField START_TIME_MS
public static final GetWorkerReportOptions.WorkerInfoField STATE
public static final GetWorkerReportOptions.WorkerInfoField WORKER_USED_BYTES
public static final GetWorkerReportOptions.WorkerInfoField WORKER_USED_BYTES_ON_TIERS
public static GetWorkerReportOptions.WorkerInfoField[] values()
for (GetWorkerReportOptions.WorkerInfoField c : GetWorkerReportOptions.WorkerInfoField.values()) System.out.println(c);
public static GetWorkerReportOptions.WorkerInfoField 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 WorkerInfoField toProto()
public static GetWorkerReportOptions.WorkerInfoField fromProto(WorkerInfoField fieldRange)
fieldRange
- the proto representation of the worker info fieldsCopyright © 2023. All Rights Reserved.