Package com.google.cloud.apihub.v1
Enum ConfigVariableTemplate.ValueType
java.lang.Object
java.lang.Enum<ConfigVariableTemplate.ValueType>
com.google.cloud.apihub.v1.ConfigVariableTemplate.ValueType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ConfigVariableTemplate.ValueType>
- Enclosing class:
- ConfigVariableTemplate
public static enum ConfigVariableTemplate.ValueType
extends Enum<ConfigVariableTemplate.ValueType>
implements com.google.protobuf.ProtocolMessageEnum
ValueType indicates the data type of the value.Protobuf enum
google.cloud.apihub.v1.ConfigVariableTemplate.ValueType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue type is boolean.Value type is enum.Value type is integer.Value type is multi int.Value type is multi select.Value type is multi string.Value type is secret.Value type is string.Value type is not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intValue type is boolean.static final intValue type is enum.static final intValue type is integer.static final intValue type is multi int.static final intValue type is multi select.static final intValue type is multi string.static final intValue type is secret.static final intValue type is string.static final intValue type is not specified. -
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<ConfigVariableTemplate.ValueType>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 ConfigVariableTemplate.ValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE_TYPE_UNSPECIFIED
Value type is not specified.
VALUE_TYPE_UNSPECIFIED = 0; -
STRING
Value type is string.
STRING = 1; -
INT
Value type is integer.
INT = 2; -
BOOL
Value type is boolean.
BOOL = 3; -
SECRET
Value type is secret.
SECRET = 4; -
ENUM
Value type is enum.
ENUM = 5; -
MULTI_SELECT
Value type is multi select.
MULTI_SELECT = 6; -
MULTI_STRING
Value type is multi string.
MULTI_STRING = 7; -
MULTI_INT
Value type is multi int.
MULTI_INT = 8; -
UNRECOGNIZED
-
-
Field Details
-
VALUE_TYPE_UNSPECIFIED_VALUE
public static final int VALUE_TYPE_UNSPECIFIED_VALUEValue type is not specified.
VALUE_TYPE_UNSPECIFIED = 0;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEValue type is string.
STRING = 1;- See Also:
-
INT_VALUE
public static final int INT_VALUEValue type is integer.
INT = 2;- See Also:
-
BOOL_VALUE
public static final int BOOL_VALUEValue type is boolean.
BOOL = 3;- See Also:
-
SECRET_VALUE
public static final int SECRET_VALUEValue type is secret.
SECRET = 4;- See Also:
-
ENUM_VALUE
public static final int ENUM_VALUEValue type is enum.
ENUM = 5;- See Also:
-
MULTI_SELECT_VALUE
public static final int MULTI_SELECT_VALUEValue type is multi select.
MULTI_SELECT = 6;- See Also:
-
MULTI_STRING_VALUE
public static final int MULTI_STRING_VALUEValue type is multi string.
MULTI_STRING = 7;- See Also:
-
MULTI_INT_VALUE
public static final int MULTI_INT_VALUEValue type is multi int.
MULTI_INT = 8;- 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<ConfigVariableTemplate.ValueType> 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 ConfigVariableTemplate.ValueType 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
-