public static enum UDPBroadcastProtos.MessageType extends java.lang.Enum<UDPBroadcastProtos.MessageType> implements com.google.protobuf.ProtocolMessageEnum
ai.eloquent.MessageType| Enum Constant and Description |
|---|
CACHE
A cache invalidation message for {@link EloquentCache}.
|
FRONTEND_REFRESH
Refresh a cache entry on the frontend.
|
PING
A routine ping
|
RAFT
A raft message
|
REINDEX
An indication that we should re-index a given document.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_VALUE
A cache invalidation message for {@link EloquentCache}.
|
static int |
FRONTEND_REFRESH_VALUE
Refresh a cache entry on the frontend.
|
static int |
PING_VALUE
A routine ping
|
static int |
RAFT_VALUE
A raft message
|
static int |
REINDEX_VALUE
An indication that we should re-index a given document.
|
| Modifier and Type | Method and Description |
|---|---|
static UDPBroadcastProtos.MessageType |
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<UDPBroadcastProtos.MessageType> |
internalGetValueMap() |
static UDPBroadcastProtos.MessageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UDPBroadcastProtos.MessageType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UDPBroadcastProtos.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UDPBroadcastProtos.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UDPBroadcastProtos.MessageType RAFT
A raft message
RAFT = 0;public static final UDPBroadcastProtos.MessageType CACHE
A cache invalidation message for {@link EloquentCache}. This is distinct from {@link FRONTEND_REFRESH}, which refreshes a frontend's cache.
CACHE = 1;public static final UDPBroadcastProtos.MessageType PING
A routine ping
PING = 2;public static final UDPBroadcastProtos.MessageType REINDEX
An indication that we should re-index a given document.
REINDEX = 3;public static final UDPBroadcastProtos.MessageType FRONTEND_REFRESH
Refresh a cache entry on the frontend. This is distinct from {@link CACHE}, which invalidates an {@link EloquentCache}
FRONTEND_REFRESH = 4;public static final UDPBroadcastProtos.MessageType UNRECOGNIZED
public static final int RAFT_VALUE
A raft message
RAFT = 0;public static final int CACHE_VALUE
A cache invalidation message for {@link EloquentCache}. This is distinct from {@link FRONTEND_REFRESH}, which refreshes a frontend's cache.
CACHE = 1;public static final int PING_VALUE
A routine ping
PING = 2;public static final int REINDEX_VALUE
An indication that we should re-index a given document.
REINDEX = 3;public static final int FRONTEND_REFRESH_VALUE
Refresh a cache entry on the frontend. This is distinct from {@link CACHE}, which invalidates an {@link EloquentCache}
FRONTEND_REFRESH = 4;public static UDPBroadcastProtos.MessageType[] values()
for (UDPBroadcastProtos.MessageType c : UDPBroadcastProtos.MessageType.values()) System.out.println(c);
public static UDPBroadcastProtos.MessageType 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()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UDPBroadcastProtos.MessageType valueOf(int value)
forNumber(int) instead.public static UDPBroadcastProtos.MessageType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UDPBroadcastProtos.MessageType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UDPBroadcastProtos.MessageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)