Package com.google.cloud.compute.v1
Enum SslPolicy.Profile
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SslPolicy.Profile>
- Enclosing class:
- SslPolicy
public static enum SslPolicy.Profile
extends Enum<SslPolicy.Profile>
implements com.google.protobuf.ProtocolMessageEnum
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2.Protobuf enum
google.cloud.compute.v1.SslPolicy.Profile-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompatible profile.Custom profile.FIPS compatible profile.Modern profile.Restricted profile.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCompatible profile.static final intCustom profile.static final intFIPS compatible profile.static final intModern profile.static final intRestricted profile.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionstatic SslPolicy.ProfileforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SslPolicy.Profile>static SslPolicy.ProfilevalueOf(int value) Deprecated.static SslPolicy.ProfilevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SslPolicy.ProfileReturns the enum constant of this type with the specified name.static SslPolicy.Profile[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_PROFILE
A value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0; -
COMPATIBLE
Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
COMPATIBLE = 179357396; -
CUSTOM
Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569; -
FIPS_202205
FIPS compatible profile. Supports a reduced set of SSL features, intended to meet FIPS 140-3 compliance requirements.
FIPS_202205 = 475828188; -
MODERN
Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
MODERN = 132013855; -
RESTRICTED
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_PROFILE_VALUE
public static final int UNDEFINED_PROFILE_VALUEA value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0;- See Also:
-
COMPATIBLE_VALUE
public static final int COMPATIBLE_VALUECompatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
COMPATIBLE = 179357396;- See Also:
-
CUSTOM_VALUE
public static final int CUSTOM_VALUECustom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569;- See Also:
-
FIPS_202205_VALUE
public static final int FIPS_202205_VALUEFIPS compatible profile. Supports a reduced set of SSL features, intended to meet FIPS 140-3 compliance requirements.
FIPS_202205 = 475828188;- See Also:
-
MODERN_VALUE
public static final int MODERN_VALUEModern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
MODERN = 132013855;- See Also:
-
RESTRICTED_VALUE
public static final int RESTRICTED_VALUERestricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195;- 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
-