Enum RemoteTransportProfile.KeyProvisioningFlow
java.lang.Object
java.lang.Enum<RemoteTransportProfile.KeyProvisioningFlow>
com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.KeyProvisioningFlow
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RemoteTransportProfile.KeyProvisioningFlow>
- Enclosing class:
- RemoteTransportProfile
public static enum RemoteTransportProfile.KeyProvisioningFlow
extends Enum<RemoteTransportProfile.KeyProvisioningFlow>
implements com.google.protobuf.ProtocolMessageEnum
Type of provisioning flows supported.Protobuf enum
google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.KeyProvisioningFlow-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe activationKey field on the Transport must be included in a create or patch request to establish connectivity.Both activation key fields are allowed for establishing connectivity.Unspecified key provisioning flow.The generatedActivationKey field is populated and must be read from the resource and passed into the other provider. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe activationKey field on the Transport must be included in a create or patch request to establish connectivity.static final intBoth activation key fields are allowed for establishing connectivity.static final intUnspecified key provisioning flow.static final intThe generatedActivationKey field is populated and must be read from the resource and passed into the other provider. -
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<RemoteTransportProfile.KeyProvisioningFlow>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KEY_PROVISIONING_FLOW_UNSPECIFIED
Unspecified key provisioning flow.
KEY_PROVISIONING_FLOW_UNSPECIFIED = 0; -
INPUT_ONLY
The activationKey field on the Transport must be included in a create or patch request to establish connectivity.
INPUT_ONLY = 1; -
OUTPUT_ONLY
The generatedActivationKey field is populated and must be read from the resource and passed into the other provider.
OUTPUT_ONLY = 2; -
INPUT_OR_OUTPUT
Both activation key fields are allowed for establishing connectivity. If a key is input, the generated key is still present after provisioning is finished.
INPUT_OR_OUTPUT = 3; -
UNRECOGNIZED
-
-
Field Details
-
KEY_PROVISIONING_FLOW_UNSPECIFIED_VALUE
public static final int KEY_PROVISIONING_FLOW_UNSPECIFIED_VALUEUnspecified key provisioning flow.
KEY_PROVISIONING_FLOW_UNSPECIFIED = 0;- See Also:
-
INPUT_ONLY_VALUE
public static final int INPUT_ONLY_VALUEThe activationKey field on the Transport must be included in a create or patch request to establish connectivity.
INPUT_ONLY = 1;- See Also:
-
OUTPUT_ONLY_VALUE
public static final int OUTPUT_ONLY_VALUEThe generatedActivationKey field is populated and must be read from the resource and passed into the other provider.
OUTPUT_ONLY = 2;- See Also:
-
INPUT_OR_OUTPUT_VALUE
public static final int INPUT_OR_OUTPUT_VALUEBoth activation key fields are allowed for establishing connectivity. If a key is input, the generated key is still present after provisioning is finished.
INPUT_OR_OUTPUT = 3;- 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<RemoteTransportProfile.KeyProvisioningFlow> 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 RemoteTransportProfile.KeyProvisioningFlow 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
-