Package com.google.cloud.compute.v1
Enum BfdStatus.LocalState
- java.lang.Object
-
- java.lang.Enum<BfdStatus.LocalState>
-
- com.google.cloud.compute.v1.BfdStatus.LocalState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BfdStatus.LocalState>
- Enclosing class:
- BfdStatus
public static enum BfdStatus.LocalState extends Enum<BfdStatus.LocalState> implements com.google.protobuf.ProtocolMessageEnum
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
Protobuf enumgoogle.cloud.compute.v1.BfdStatus.LocalState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_DOWNADMIN_DOWN = 128544690;DOWNDOWN = 2104482;INITINIT = 2252048;STATE_UNSPECIFIEDSTATE_UNSPECIFIED = 470755401;UNDEFINED_LOCAL_STATEA value indicating that the enum field is not set.UNRECOGNIZEDUPUP = 2715;
-
Field Summary
Fields Modifier and Type Field Description static intADMIN_DOWN_VALUEADMIN_DOWN = 128544690;static intDOWN_VALUEDOWN = 2104482;static intINIT_VALUEINIT = 2252048;static intSTATE_UNSPECIFIED_VALUESTATE_UNSPECIFIED = 470755401;static intUNDEFINED_LOCAL_STATE_VALUEA value indicating that the enum field is not set.static intUP_VALUEUP = 2715;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BfdStatus.LocalStateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BfdStatus.LocalState>internalGetValueMap()static BfdStatus.LocalStatevalueOf(int value)Deprecated.static BfdStatus.LocalStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BfdStatus.LocalStatevalueOf(String name)Returns the enum constant of this type with the specified name.static BfdStatus.LocalState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_LOCAL_STATE
public static final BfdStatus.LocalState UNDEFINED_LOCAL_STATE
A value indicating that the enum field is not set.
UNDEFINED_LOCAL_STATE = 0;
-
ADMIN_DOWN
public static final BfdStatus.LocalState ADMIN_DOWN
ADMIN_DOWN = 128544690;
-
DOWN
public static final BfdStatus.LocalState DOWN
DOWN = 2104482;
-
INIT
public static final BfdStatus.LocalState INIT
INIT = 2252048;
-
STATE_UNSPECIFIED
public static final BfdStatus.LocalState STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401;
-
UP
public static final BfdStatus.LocalState UP
UP = 2715;
-
UNRECOGNIZED
public static final BfdStatus.LocalState UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_LOCAL_STATE_VALUE
public static final int UNDEFINED_LOCAL_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_LOCAL_STATE = 0;- See Also:
- Constant Field Values
-
ADMIN_DOWN_VALUE
public static final int ADMIN_DOWN_VALUE
ADMIN_DOWN = 128544690;- See Also:
- Constant Field Values
-
DOWN_VALUE
public static final int DOWN_VALUE
DOWN = 2104482;- See Also:
- Constant Field Values
-
INIT_VALUE
public static final int INIT_VALUE
INIT = 2252048;- See Also:
- Constant Field Values
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;- See Also:
- Constant Field Values
-
UP_VALUE
public static final int UP_VALUE
UP = 2715;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BfdStatus.LocalState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BfdStatus.LocalState c : BfdStatus.LocalState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BfdStatus.LocalState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 public static BfdStatus.LocalState valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static BfdStatus.LocalState forNumber(int value)
- 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<BfdStatus.LocalState> 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 BfdStatus.LocalState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-