Package com.google.cloud.compute.v1
Enum SslPolicy.Profile
- java.lang.Object
-
- java.lang.Enum<SslPolicy.Profile>
-
- com.google.cloud.compute.v1.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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
Protobuf enumgoogle.cloud.compute.v1.SslPolicy.Profile
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPATIBLECompatible profile.CUSTOMCustom profile.MODERNModern profile.RESTRICTEDRestricted profile.UNDEFINED_PROFILEA value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCOMPATIBLE_VALUECompatible profile.static intCUSTOM_VALUECustom profile.static intMODERN_VALUEModern profile.static intRESTRICTED_VALUERestricted profile.static intUNDEFINED_PROFILE_VALUEA value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SslPolicy.ProfileforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SslPolicy.Profile>internalGetValueMap()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.ProfilevalueOf(String name)Returns 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 Detail
-
UNDEFINED_PROFILE
public static final SslPolicy.Profile UNDEFINED_PROFILE
A value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0;
-
COMPATIBLE
public static final SslPolicy.Profile 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
public static final SslPolicy.Profile CUSTOM
Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569;
-
MODERN
public static final SslPolicy.Profile MODERN
Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
MODERN = 132013855;
-
RESTRICTED
public static final SslPolicy.Profile RESTRICTED
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195;
-
UNRECOGNIZED
public static final SslPolicy.Profile UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_PROFILE_VALUE
public static final int UNDEFINED_PROFILE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0;- See Also:
- Constant Field Values
-
COMPATIBLE_VALUE
public static final int COMPATIBLE_VALUE
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;- See Also:
- Constant Field Values
-
CUSTOM_VALUE
public static final int CUSTOM_VALUE
Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569;- See Also:
- Constant Field Values
-
MODERN_VALUE
public static final int MODERN_VALUE
Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
MODERN = 132013855;- See Also:
- Constant Field Values
-
RESTRICTED_VALUE
public static final int RESTRICTED_VALUE
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SslPolicy.Profile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SslPolicy.Profile c : SslPolicy.Profile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SslPolicy.Profile 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.)- 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 public static SslPolicy.Profile valueOf(int value)
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
public static SslPolicy.Profile 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
public static com.google.protobuf.Internal.EnumLiteMap<SslPolicy.Profile> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SslPolicy.Profile 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
-
-