Enum Transport.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Transport.State>
- Enclosing class:
- Transport
public static enum Transport.State
extends Enum<Transport.State>
implements com.google.protobuf.ProtocolMessageEnum
Represents the status of the underlying connectivity. One of the following states, depending on who has initiated the Transport request.Protobuf enum
google.cloud.networkconnectivity.v1beta.Transport.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Transport is configured and the underlying connectivity is considered operational.The resource exists locally and is being created / associated with the resource on the remote provider’s end of the underlying connectivity.The Transport is being deleted from GCP.The Transport was deleted on the remote provider's end and is no longer operational.The Transport exists on both sides of the connection, and is waiting for configuration to finalize and be verified as operational.The Transport was created in GCP.Unspecified state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Transport is configured and the underlying connectivity is considered operational.static final intThe resource exists locally and is being created / associated with the resource on the remote provider’s end of the underlying connectivity.static final intThe Transport is being deleted from GCP.static final intThe Transport was deleted on the remote provider's end and is no longer operational.static final intThe Transport exists on both sides of the connection, and is waiting for configuration to finalize and be verified as operational.static final intThe Transport was created in GCP.static final intUnspecified state. -
Method Summary
Modifier and TypeMethodDescriptionstatic Transport.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Transport.State>static Transport.StatevalueOf(int value) Deprecated.static Transport.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Transport.StateReturns the enum constant of this type with the specified name.static Transport.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0; -
CREATING
The resource exists locally and is being created / associated with the resource on the remote provider’s end of the underlying connectivity.
CREATING = 1; -
PENDING_CONFIG
The Transport exists on both sides of the connection, and is waiting for configuration to finalize and be verified as operational.
PENDING_CONFIG = 2; -
PENDING_KEY
The Transport was created in GCP. Depending on the profile’s key provisioning flow, this is either waiting for an activation key to be input (the key will be validated that it uses remote resources that match the Transport), or for the generated key to be input to the provider for finalizing. The configured bandwidth is not yet guaranteed.
PENDING_KEY = 3; -
ACTIVE
The Transport is configured and the underlying connectivity is considered operational.
ACTIVE = 4; -
DELETING
The Transport is being deleted from GCP. The underlying connectivity is no longer operational.
DELETING = 5; -
DEPROVISIONED
The Transport was deleted on the remote provider's end and is no longer operational. GCP has insufficient information to move the resource back to PENDING_KEY state.
DEPROVISIONED = 6; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUEThe resource exists locally and is being created / associated with the resource on the remote provider’s end of the underlying connectivity.
CREATING = 1;- See Also:
-
PENDING_CONFIG_VALUE
public static final int PENDING_CONFIG_VALUEThe Transport exists on both sides of the connection, and is waiting for configuration to finalize and be verified as operational.
PENDING_CONFIG = 2;- See Also:
-
PENDING_KEY_VALUE
public static final int PENDING_KEY_VALUEThe Transport was created in GCP. Depending on the profile’s key provisioning flow, this is either waiting for an activation key to be input (the key will be validated that it uses remote resources that match the Transport), or for the generated key to be input to the provider for finalizing. The configured bandwidth is not yet guaranteed.
PENDING_KEY = 3;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEThe Transport is configured and the underlying connectivity is considered operational.
ACTIVE = 4;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThe Transport is being deleted from GCP. The underlying connectivity is no longer operational.
DELETING = 5;- See Also:
-
DEPROVISIONED_VALUE
public static final int DEPROVISIONED_VALUEThe Transport was deleted on the remote provider's end and is no longer operational. GCP has insufficient information to move the resource back to PENDING_KEY state.
DEPROVISIONED = 6;- 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
-
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
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
-