public static enum FromFunction.PersistedValueMutation.MutationType extends java.lang.Enum<FromFunction.PersistedValueMutation.MutationType> implements ProtocolMessageEnum
io.statefun.sdk.reqreply.FromFunction.PersistedValueMutation.MutationType
Enum Constant and Description |
---|
DELETE
DELETE = 0; |
MODIFY
MODIFY = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_VALUE
DELETE = 0; |
static int |
MODIFY_VALUE
MODIFY = 1; |
Modifier and Type | Method and Description |
---|---|
static FromFunction.PersistedValueMutation.MutationType |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType()
Return the enum type's descriptor, which contains information about each defined value, etc.
|
int |
getNumber()
Return the value's numeric value as defined in the .proto file.
|
Descriptors.EnumValueDescriptor |
getValueDescriptor()
Return the value's descriptor, which contains information such as value name, number, and type.
|
static Internal.EnumLiteMap<FromFunction.PersistedValueMutation.MutationType> |
internalGetValueMap() |
static FromFunction.PersistedValueMutation.MutationType |
valueOf(Descriptors.EnumValueDescriptor desc) |
static FromFunction.PersistedValueMutation.MutationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FromFunction.PersistedValueMutation.MutationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FromFunction.PersistedValueMutation.MutationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FromFunction.PersistedValueMutation.MutationType DELETE
DELETE = 0;
public static final FromFunction.PersistedValueMutation.MutationType MODIFY
MODIFY = 1;
public static final FromFunction.PersistedValueMutation.MutationType UNRECOGNIZED
public static final int DELETE_VALUE
DELETE = 0;
public static final int MODIFY_VALUE
MODIFY = 1;
public static FromFunction.PersistedValueMutation.MutationType[] values()
for (FromFunction.PersistedValueMutation.MutationType c : FromFunction.PersistedValueMutation.MutationType.values()) System.out.println(c);
public static FromFunction.PersistedValueMutation.MutationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
ProtocolMessageEnum
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static FromFunction.PersistedValueMutation.MutationType valueOf(int value)
forNumber(int)
instead.public static FromFunction.PersistedValueMutation.MutationType forNumber(int value)
public static Internal.EnumLiteMap<FromFunction.PersistedValueMutation.MutationType> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
ProtocolMessageEnum
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
ProtocolMessageEnum
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static FromFunction.PersistedValueMutation.MutationType valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.