Enum Class GossipOuterClass.MemberInfo.VNodeState
java.lang.Object
java.lang.Enum<GossipOuterClass.MemberInfo.VNodeState>
com.eventstore.dbclient.proto.gossip.GossipOuterClass.MemberInfo.VNodeState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GossipOuterClass.MemberInfo.VNodeState>,Constable
- Enclosing class:
- GossipOuterClass.MemberInfo
public static enum GossipOuterClass.MemberInfo.VNodeState
extends Enum<GossipOuterClass.MemberInfo.VNodeState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
event_store.client.gossip.MemberInfo.VNodeState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCatchingUp = 4;Clone = 5;DiscoverLeader = 1;Follower = 6;Initializing = 0;Leader = 8;Manager = 9;PreLeader = 7;PreReadOnlyReplica = 13;PreReplica = 3;ReadOnlyLeaderless = 12;ReadOnlyReplica = 14;ResigningLeader = 15;Shutdown = 11;ShuttingDown = 10;Unknown = 2; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCatchingUp = 4;static final intClone = 5;static final intDiscoverLeader = 1;static final intFollower = 6;static final intInitializing = 0;static final intLeader = 8;static final intManager = 9;static final intPreLeader = 7;static final intPreReadOnlyReplica = 13;static final intPreReplica = 3;static final intReadOnlyLeaderless = 12;static final intReadOnlyReplica = 14;static final intResigningLeader = 15;static final intShutdown = 11;static final intShuttingDown = 10;static final intUnknown = 2; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GossipOuterClass.MemberInfo.VNodeState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Initializing
Initializing = 0; -
DiscoverLeader
DiscoverLeader = 1; -
Unknown
Unknown = 2; -
PreReplica
PreReplica = 3; -
CatchingUp
CatchingUp = 4; -
Clone
Clone = 5; -
Follower
Follower = 6; -
PreLeader
PreLeader = 7; -
Leader
Leader = 8; -
Manager
Manager = 9; -
ShuttingDown
ShuttingDown = 10; -
Shutdown
Shutdown = 11; -
ReadOnlyLeaderless
ReadOnlyLeaderless = 12; -
PreReadOnlyReplica
PreReadOnlyReplica = 13; -
ReadOnlyReplica
ReadOnlyReplica = 14; -
ResigningLeader
ResigningLeader = 15; -
UNRECOGNIZED
-
-
Field Details
-
Initializing_VALUE
public static final int Initializing_VALUEInitializing = 0;- See Also:
-
DiscoverLeader_VALUE
public static final int DiscoverLeader_VALUEDiscoverLeader = 1;- See Also:
-
Unknown_VALUE
public static final int Unknown_VALUEUnknown = 2;- See Also:
-
PreReplica_VALUE
public static final int PreReplica_VALUEPreReplica = 3;- See Also:
-
CatchingUp_VALUE
public static final int CatchingUp_VALUECatchingUp = 4;- See Also:
-
Clone_VALUE
public static final int Clone_VALUEClone = 5;- See Also:
-
Follower_VALUE
public static final int Follower_VALUEFollower = 6;- See Also:
-
PreLeader_VALUE
public static final int PreLeader_VALUEPreLeader = 7;- See Also:
-
Leader_VALUE
public static final int Leader_VALUELeader = 8;- See Also:
-
Manager_VALUE
public static final int Manager_VALUEManager = 9;- See Also:
-
ShuttingDown_VALUE
public static final int ShuttingDown_VALUEShuttingDown = 10;- See Also:
-
Shutdown_VALUE
public static final int Shutdown_VALUEShutdown = 11;- See Also:
-
ReadOnlyLeaderless_VALUE
public static final int ReadOnlyLeaderless_VALUEReadOnlyLeaderless = 12;- See Also:
-
PreReadOnlyReplica_VALUE
public static final int PreReadOnlyReplica_VALUEPreReadOnlyReplica = 13;- See Also:
-
ReadOnlyReplica_VALUE
public static final int ReadOnlyReplica_VALUEReadOnlyReplica = 14;- See Also:
-
ResigningLeader_VALUE
public static final int ResigningLeader_VALUEResigningLeader = 15;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GossipOuterClass.MemberInfo.VNodeState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static GossipOuterClass.MemberInfo.VNodeState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-