public static enum Gnmi.UpdateResult.Operation extends Enum<Gnmi.UpdateResult.Operation> implements com.google.protobuf.ProtocolMessageEnum
The operation that was associated with the Path specified.Protobuf enum
gnmi.UpdateResult.Operation
Enum Constant and Description |
---|
DELETE
The result relates to a delete of Path.
|
INVALID
INVALID = 0; |
REPLACE
The result relates to a replace of Path.
|
UNRECOGNIZED |
UPDATE
The result relates to an update of Path.
|
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_VALUE
The result relates to a delete of Path.
|
static int |
INVALID_VALUE
INVALID = 0; |
static int |
REPLACE_VALUE
The result relates to a replace of Path.
|
static int |
UPDATE_VALUE
The result relates to an update of Path.
|
Modifier and Type | Method and Description |
---|---|
static Gnmi.UpdateResult.Operation |
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.UpdateResult.Operation> |
internalGetValueMap() |
static Gnmi.UpdateResult.Operation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Gnmi.UpdateResult.Operation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Gnmi.UpdateResult.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gnmi.UpdateResult.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gnmi.UpdateResult.Operation INVALID
INVALID = 0;
public static final Gnmi.UpdateResult.Operation DELETE
The result relates to a delete of Path.
DELETE = 1;
public static final Gnmi.UpdateResult.Operation REPLACE
The result relates to a replace of Path.
REPLACE = 2;
public static final Gnmi.UpdateResult.Operation UPDATE
The result relates to an update of Path.
UPDATE = 3;
public static final Gnmi.UpdateResult.Operation UNRECOGNIZED
public static final int INVALID_VALUE
INVALID = 0;
public static final int DELETE_VALUE
The result relates to a delete of Path.
DELETE = 1;
public static final int REPLACE_VALUE
The result relates to a replace of Path.
REPLACE = 2;
public static final int UPDATE_VALUE
The result relates to an update of Path.
UPDATE = 3;
public static Gnmi.UpdateResult.Operation[] values()
for (Gnmi.UpdateResult.Operation c : Gnmi.UpdateResult.Operation.values()) System.out.println(c);
public static Gnmi.UpdateResult.Operation 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.UpdateResult.Operation valueOf(int value)
forNumber(int)
instead.public static Gnmi.UpdateResult.Operation forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Gnmi.UpdateResult.Operation> 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.UpdateResult.Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.