public static enum SubscriptionList.Mode extends Enum<SubscriptionList.Mode> implements com.google.protobuf.ProtocolMessageEnum
Mode of the subscription.Protobuf enum
gnmi.SubscriptionList.Mode
Enum Constant and Description |
---|
ONCE
Values sent once-off by the target (Sec.
|
POLL
Values sent in response to a poll request (Sec.
|
STREAM
Values streamed by the (Sec.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ONCE_VALUE
Values sent once-off by the target (Sec.
|
static int |
POLL_VALUE
Values sent in response to a poll request (Sec.
|
static int |
STREAM_VALUE
Values streamed by the (Sec.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionList.Mode |
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<SubscriptionList.Mode> |
internalGetValueMap() |
static SubscriptionList.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SubscriptionList.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SubscriptionList.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionList.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionList.Mode STREAM
Values streamed by the (Sec. 3.5.1.5.2).
STREAM = 0;
public static final SubscriptionList.Mode ONCE
Values sent once-off by the target (Sec. 3.5.1.5.1).
ONCE = 1;
public static final SubscriptionList.Mode POLL
Values sent in response to a poll request (Sec. 3.5.1.5.3).
POLL = 2;
public static final SubscriptionList.Mode UNRECOGNIZED
public static final int STREAM_VALUE
Values streamed by the (Sec. 3.5.1.5.2).
STREAM = 0;
public static final int ONCE_VALUE
Values sent once-off by the target (Sec. 3.5.1.5.1).
ONCE = 1;
public static final int POLL_VALUE
Values sent in response to a poll request (Sec. 3.5.1.5.3).
POLL = 2;
public static SubscriptionList.Mode[] values()
for (SubscriptionList.Mode c : SubscriptionList.Mode.values()) System.out.println(c);
public static SubscriptionList.Mode 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 SubscriptionList.Mode valueOf(int value)
forNumber(int)
instead.public static SubscriptionList.Mode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SubscriptionList.Mode> 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 SubscriptionList.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 OpenDaylight. All rights reserved.