public static enum FromFunction.ExpirationSpec.ExpireMode extends java.lang.Enum<FromFunction.ExpirationSpec.ExpireMode> implements ProtocolMessageEnum
io.statefun.sdk.reqreply.FromFunction.ExpirationSpec.ExpireMode
Enum Constant and Description |
---|
AFTER_INVOKE
AFTER_INVOKE = 2; |
AFTER_WRITE
AFTER_WRITE = 1; |
NONE
NONE = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AFTER_INVOKE_VALUE
AFTER_INVOKE = 2; |
static int |
AFTER_WRITE_VALUE
AFTER_WRITE = 1; |
static int |
NONE_VALUE
NONE = 0; |
Modifier and Type | Method and Description |
---|---|
static FromFunction.ExpirationSpec.ExpireMode |
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.ExpirationSpec.ExpireMode> |
internalGetValueMap() |
static FromFunction.ExpirationSpec.ExpireMode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static FromFunction.ExpirationSpec.ExpireMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FromFunction.ExpirationSpec.ExpireMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FromFunction.ExpirationSpec.ExpireMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FromFunction.ExpirationSpec.ExpireMode NONE
NONE = 0;
public static final FromFunction.ExpirationSpec.ExpireMode AFTER_WRITE
AFTER_WRITE = 1;
public static final FromFunction.ExpirationSpec.ExpireMode AFTER_INVOKE
AFTER_INVOKE = 2;
public static final FromFunction.ExpirationSpec.ExpireMode UNRECOGNIZED
public static final int NONE_VALUE
NONE = 0;
public static final int AFTER_WRITE_VALUE
AFTER_WRITE = 1;
public static final int AFTER_INVOKE_VALUE
AFTER_INVOKE = 2;
public static FromFunction.ExpirationSpec.ExpireMode[] values()
for (FromFunction.ExpirationSpec.ExpireMode c : FromFunction.ExpirationSpec.ExpireMode.values()) System.out.println(c);
public static FromFunction.ExpirationSpec.ExpireMode 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.ExpirationSpec.ExpireMode valueOf(int value)
forNumber(int)
instead.public static FromFunction.ExpirationSpec.ExpireMode forNumber(int value)
public static Internal.EnumLiteMap<FromFunction.ExpirationSpec.ExpireMode> 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.ExpirationSpec.ExpireMode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.