Package xyz.block.ftl.v1
Enum SecretProvider
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum SecretProvider implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.v1.SecretProvider
-
-
Field Summary
Fields Modifier and Type Field Description public final static intSECRET_INLINE_VALUEpublic final static intSECRET_ENVAR_VALUEpublic final static intSECRET_KEYCHAIN_VALUEpublic final static intSECRET_OP_VALUEpublic final static intSECRET_ASM_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description SECRET_INLINEWrite values inline in the configuration file.SECRET_INLINE = 0;SECRET_ENVARPrint configuration as environment variables.SECRET_ENVAR = 1;SECRET_KEYCHAINWrite to the system keychain.SECRET_KEYCHAIN = 2;SECRET_OPStore a secret in the 1Password vault.SECRET_OP = 3;SECRET_ASMStore a secret in the AWS Secrets Manager.SECRET_ASM = 4;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static SecretProvidervalueOf(int value)static SecretProviderforNumber(int value)static Internal.EnumLiteMap<SecretProvider>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static SecretProvidervalueOf(Descriptors.EnumValueDescriptor desc)static Array<SecretProvider>values()Returns an array containing the constants of this enum type, in the order they're declared. static SecretProvidervalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static SecretProvider valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static SecretProvider forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
internalGetValueMap
static Internal.EnumLiteMap<SecretProvider> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static SecretProvider valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<SecretProvider> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static SecretProvider valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-