public static enum Gnmi.GetRequest.DataType extends Enum<Gnmi.GetRequest.DataType> implements com.google.protobuf.ProtocolMessageEnum
Type of elements within the data tree.Protobuf enum
gnmi.GetRequest.DataType
Enum Constant and Description |
---|
ALL
All data elements.
|
CONFIG
Config (rw) only elements.
|
OPERATIONAL
Data elements marked in the schema as operational.
|
STATE
State (ro) only elements.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
All data elements.
|
static int |
CONFIG_VALUE
Config (rw) only elements.
|
static int |
OPERATIONAL_VALUE
Data elements marked in the schema as operational.
|
static int |
STATE_VALUE
State (ro) only elements.
|
Modifier and Type | Method and Description |
---|---|
static Gnmi.GetRequest.DataType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Gnmi.GetRequest.DataType> |
internalGetValueMap() |
static Gnmi.GetRequest.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Gnmi.GetRequest.DataType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Gnmi.GetRequest.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gnmi.GetRequest.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gnmi.GetRequest.DataType ALL
All data elements.
ALL = 0;
public static final Gnmi.GetRequest.DataType CONFIG
Config (rw) only elements.
CONFIG = 1;
public static final Gnmi.GetRequest.DataType STATE
State (ro) only elements.
STATE = 2;
public static final Gnmi.GetRequest.DataType OPERATIONAL
Data elements marked in the schema as operational. This refers to data elements whose value relates to the state of processes or interactions running on the device.
OPERATIONAL = 3;
public static final Gnmi.GetRequest.DataType UNRECOGNIZED
public static final int ALL_VALUE
All data elements.
ALL = 0;
public static final int CONFIG_VALUE
Config (rw) only elements.
CONFIG = 1;
public static final int STATE_VALUE
State (ro) only elements.
STATE = 2;
public static final int OPERATIONAL_VALUE
Data elements marked in the schema as operational. This refers to data elements whose value relates to the state of processes or interactions running on the device.
OPERATIONAL = 3;
public static Gnmi.GetRequest.DataType[] values()
for (Gnmi.GetRequest.DataType c : Gnmi.GetRequest.DataType.values()) System.out.println(c);
public static Gnmi.GetRequest.DataType 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Gnmi.GetRequest.DataType valueOf(int value)
forNumber(int)
instead.public static Gnmi.GetRequest.DataType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Gnmi.GetRequest.DataType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Gnmi.GetRequest.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.