Enum GetStatusResponse.OverallStatus
java.lang.Object
java.lang.Enum<GetStatusResponse.OverallStatus>
com.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GetStatusResponse.OverallStatus>
- Enclosing class:
- GetStatusResponse
public static enum GetStatusResponse.OverallStatus
extends Enum<GetStatusResponse.OverallStatus>
implements com.google.protobuf.ProtocolMessageEnum
The overall status of the Transport.Protobuf enum
google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResource is active and operational.Activation keys have been exchanged and connectivity is being established.VPC Peering has been taken down, or the NCC Spoke has been rejected.User configuration is correct, but the configured capacity is operationally down.Unspecified status.Resource is waiting for an activation key to be exchanged. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intResource is active and operational.static final intActivation keys have been exchanged and connectivity is being established.static final intVPC Peering has been taken down, or the NCC Spoke has been rejected.static final intUser configuration is correct, but the configured capacity is operationally down.static final intUnspecified status.static final intResource is waiting for an activation key to be exchanged. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GetStatusResponse.OverallStatus>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static GetStatusResponse.OverallStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OVERALL_STATUS_UNSPECIFIED
Unspecified status.
OVERALL_STATUS_UNSPECIFIED = 0; -
ACTIVE
Resource is active and operational.
ACTIVE = 1; -
PENDING_KEY
Resource is waiting for an activation key to be exchanged.
PENDING_KEY = 2; -
CONFIGURING
Activation keys have been exchanged and connectivity is being established.
CONFIGURING = 3; -
DISCONNECTED
VPC Peering has been taken down, or the NCC Spoke has been rejected.
DISCONNECTED = 4; -
DOWN
User configuration is correct, but the configured capacity is operationally down.
DOWN = 5; -
UNRECOGNIZED
-
-
Field Details
-
OVERALL_STATUS_UNSPECIFIED_VALUE
public static final int OVERALL_STATUS_UNSPECIFIED_VALUEUnspecified status.
OVERALL_STATUS_UNSPECIFIED = 0;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEResource is active and operational.
ACTIVE = 1;- See Also:
-
PENDING_KEY_VALUE
public static final int PENDING_KEY_VALUEResource is waiting for an activation key to be exchanged.
PENDING_KEY = 2;- See Also:
-
CONFIGURING_VALUE
public static final int CONFIGURING_VALUEActivation keys have been exchanged and connectivity is being established.
CONFIGURING = 3;- See Also:
-
DISCONNECTED_VALUE
public static final int DISCONNECTED_VALUEVPC Peering has been taken down, or the NCC Spoke has been rejected.
DISCONNECTED = 4;- See Also:
-
DOWN_VALUE
public static final int DOWN_VALUEUser configuration is correct, but the configured capacity is operationally down.
DOWN = 5;- 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<GetStatusResponse.OverallStatus> 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 GetStatusResponse.OverallStatus 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
-