Enum Spoke.StateReason.Code
java.lang.Object
java.lang.Enum<Spoke.StateReason.Code>
com.google.cloud.networkconnectivity.v1beta.Spoke.StateReason.Code
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Spoke.StateReason.Code>
- Enclosing class:
- Spoke.StateReason
public static enum Spoke.StateReason.Code
extends Enum<Spoke.StateReason.Code>
implements com.google.protobuf.ProtocolMessageEnum
The Code enum represents the various reasons for the state of the spoke.Protobuf enum
google.cloud.networkconnectivity.v1beta.Spoke.StateReason.Code-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo information available.Network Connectivity Center encountered errors while accepting the spoke.The spoke has been deactivated internally.The proposed spoke is pending review.The proposed spoke has been rejected by the hub administrator.Network Connectivity Center encountered errors while accepting the spoke update.The proposed spoke update is pending review.The proposed spoke update has been rejected by the hub administrator. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNo information available.static final intNetwork Connectivity Center encountered errors while accepting the spoke.static final intThe spoke has been deactivated internally.static final intThe proposed spoke is pending review.static final intThe proposed spoke has been rejected by the hub administrator.static final intNetwork Connectivity Center encountered errors while accepting the spoke update.static final intThe proposed spoke update is pending review.static final intThe proposed spoke update has been rejected by the hub administrator. -
Method Summary
Modifier and TypeMethodDescriptionstatic Spoke.StateReason.CodeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Spoke.StateReason.Code>static Spoke.StateReason.CodevalueOf(int value) Deprecated.static Spoke.StateReason.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Spoke.StateReason.CodeReturns the enum constant of this type with the specified name.static Spoke.StateReason.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CODE_UNSPECIFIED
No information available.
CODE_UNSPECIFIED = 0; -
PENDING_REVIEW
The proposed spoke is pending review.
PENDING_REVIEW = 1; -
REJECTED
The proposed spoke has been rejected by the hub administrator.
REJECTED = 2; -
PAUSED
The spoke has been deactivated internally.
PAUSED = 3; -
FAILED
Network Connectivity Center encountered errors while accepting the spoke.
FAILED = 4; -
UPDATE_PENDING_REVIEW
The proposed spoke update is pending review.
UPDATE_PENDING_REVIEW = 5; -
UPDATE_REJECTED
The proposed spoke update has been rejected by the hub administrator.
UPDATE_REJECTED = 6; -
UPDATE_FAILED
Network Connectivity Center encountered errors while accepting the spoke update.
UPDATE_FAILED = 7; -
UNRECOGNIZED
-
-
Field Details
-
CODE_UNSPECIFIED_VALUE
public static final int CODE_UNSPECIFIED_VALUENo information available.
CODE_UNSPECIFIED = 0;- See Also:
-
PENDING_REVIEW_VALUE
public static final int PENDING_REVIEW_VALUEThe proposed spoke is pending review.
PENDING_REVIEW = 1;- See Also:
-
REJECTED_VALUE
public static final int REJECTED_VALUEThe proposed spoke has been rejected by the hub administrator.
REJECTED = 2;- See Also:
-
PAUSED_VALUE
public static final int PAUSED_VALUEThe spoke has been deactivated internally.
PAUSED = 3;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUENetwork Connectivity Center encountered errors while accepting the spoke.
FAILED = 4;- See Also:
-
UPDATE_PENDING_REVIEW_VALUE
public static final int UPDATE_PENDING_REVIEW_VALUEThe proposed spoke update is pending review.
UPDATE_PENDING_REVIEW = 5;- See Also:
-
UPDATE_REJECTED_VALUE
public static final int UPDATE_REJECTED_VALUEThe proposed spoke update has been rejected by the hub administrator.
UPDATE_REJECTED = 6;- See Also:
-
UPDATE_FAILED_VALUE
public static final int UPDATE_FAILED_VALUENetwork Connectivity Center encountered errors while accepting the spoke update.
UPDATE_FAILED = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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<Spoke.StateReason.Code> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Spoke.StateReason.Code 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
-