Enum Gnmi.GetRequest.DataType
- java.lang.Object
-
- java.lang.Enum<Gnmi.GetRequest.DataType>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.GetRequest.DataType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Gnmi.GetRequest.DataType>
- Enclosing class:
- Gnmi.GetRequest
public static enum Gnmi.GetRequest.DataType extends java.lang.Enum<Gnmi.GetRequest.DataType> implements com.google.protobuf.ProtocolMessageEnum
Type of elements within the data tree.
Protobuf enumgnmi.GetRequest.DataType
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(int value)
Deprecated.static Gnmi.GetRequest.DataType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Gnmi.GetRequest.DataType
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
ALL
public static final Gnmi.GetRequest.DataType ALL
All data elements.
ALL = 0;
-
CONFIG
public static final Gnmi.GetRequest.DataType CONFIG
Config (rw) only elements.
CONFIG = 1;
-
STATE
public static final Gnmi.GetRequest.DataType STATE
State (ro) only elements.
STATE = 2;
-
OPERATIONAL
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;
-
UNRECOGNIZED
public static final Gnmi.GetRequest.DataType UNRECOGNIZED
-
-
Field Detail
-
ALL_VALUE
public static final int ALL_VALUE
All data elements.
ALL = 0;
- See Also:
- Constant Field Values
-
CONFIG_VALUE
public static final int CONFIG_VALUE
Config (rw) only elements.
CONFIG = 1;
- See Also:
- Constant Field Values
-
STATE_VALUE
public static final int STATE_VALUE
State (ro) only elements.
STATE = 2;
- See Also:
- Constant Field Values
-
OPERATIONAL_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Gnmi.GetRequest.DataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Gnmi.GetRequest.DataType c : Gnmi.GetRequest.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Gnmi.GetRequest.DataType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Gnmi.GetRequest.DataType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Gnmi.GetRequest.DataType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Gnmi.GetRequest.DataType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Gnmi.GetRequest.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-