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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
     
    Protobuf enum google.cloud.compute.v1.SslPolicy.Profile
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null