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