public static enum GetWorkerReportOptions.WorkerRange extends Enum<GetWorkerReportOptions.WorkerRange>
| Modifier and Type | Method and Description |
|---|---|
static GetWorkerReportOptions.WorkerRange |
fromProto(alluxio.grpc.WorkerRange workerRange) |
alluxio.grpc.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 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 alluxio.grpc.WorkerRange toProto()
public static GetWorkerReportOptions.WorkerRange fromProto(alluxio.grpc.WorkerRange workerRange)
workerRange - the proto representation of the worker range to createCopyright © 2024. All Rights Reserved.