public static enum FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility extends Enum<FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility> implements com.google.protobuf.ProtocolMessageEnum
This option configures whether expired user value can be returned or not.Protobuf enum
org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig.StateVisibility
Enum Constant and Description |
---|
NeverReturnExpired
Never return expired user value.
|
ReturnExpiredIfNotCleanedUp
Return expired user value if it is not cleaned up yet.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
NeverReturnExpired_VALUE
Never return expired user value.
|
static int |
ReturnExpiredIfNotCleanedUp_VALUE
Return expired user value if it is not cleaned up yet.
|
Modifier and Type | Method and Description |
---|---|
static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility |
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<FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility> |
internalGetValueMap() |
static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility ReturnExpiredIfNotCleanedUp
Return expired user value if it is not cleaned up yet.
ReturnExpiredIfNotCleanedUp = 0;
public static final FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility NeverReturnExpired
Never return expired user value.
NeverReturnExpired = 1;
public static final FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility UNRECOGNIZED
public static final int ReturnExpiredIfNotCleanedUp_VALUE
Return expired user value if it is not cleaned up yet.
ReturnExpiredIfNotCleanedUp = 0;
public static final int NeverReturnExpired_VALUE
Never return expired user value.
NeverReturnExpired = 1;
public static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility[] values()
for (FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility c : FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility.values()) System.out.println(c);
public static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility 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 FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility> 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 FlinkFnApi.StateDescriptor.StateTTLConfig.StateVisibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.