Enum TlsInspectionPolicy.Profile
java.lang.Object
java.lang.Enum<TlsInspectionPolicy.Profile>
com.google.cloud.networksecurity.v1.TlsInspectionPolicy.Profile
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TlsInspectionPolicy.Profile>
- Enclosing class:
- TlsInspectionPolicy
public static enum TlsInspectionPolicy.Profile
extends Enum<TlsInspectionPolicy.Profile>
implements com.google.protobuf.ProtocolMessageEnum
Profile specifies the set of TLS cipher suites (and possibly other features in the future) that can be used by the firewall when negotiating TLS connections with clients and servers. The meaning of these fields is identical to the load balancers' SSLPolicy resource.Protobuf enum
google.cloud.networksecurity.v1.TlsInspectionPolicy.Profile-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompatible profile.Custom profile.Modern profile.Restricted profile.Indicates no profile was specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCompatible profile.static final intCustom profile.static final intModern profile.static final intRestricted profile.static final intIndicates no profile was specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic TlsInspectionPolicy.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<TlsInspectionPolicy.Profile>static TlsInspectionPolicy.ProfilevalueOf(int value) Deprecated.static TlsInspectionPolicy.ProfilevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TlsInspectionPolicy.ProfileReturns the enum constant of this type with the specified name.static TlsInspectionPolicy.Profile[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROFILE_UNSPECIFIED
Indicates no profile was specified.
PROFILE_UNSPECIFIED = 0; -
PROFILE_COMPATIBLE
Compatible profile. Allows the broadest set of clients, even those which support only out-of-date SSL features to negotiate with the TLS inspection proxy.
PROFILE_COMPATIBLE = 1; -
PROFILE_MODERN
Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the TLS inspection proxy.
PROFILE_MODERN = 2; -
PROFILE_RESTRICTED
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
PROFILE_RESTRICTED = 3; -
PROFILE_CUSTOM
Custom profile. Allow only the set of allowed SSL features specified in the custom_features field of SslPolicy.
PROFILE_CUSTOM = 4; -
UNRECOGNIZED
-
-
Field Details
-
PROFILE_UNSPECIFIED_VALUE
public static final int PROFILE_UNSPECIFIED_VALUEIndicates no profile was specified.
PROFILE_UNSPECIFIED = 0;- See Also:
-
PROFILE_COMPATIBLE_VALUE
public static final int PROFILE_COMPATIBLE_VALUECompatible profile. Allows the broadest set of clients, even those which support only out-of-date SSL features to negotiate with the TLS inspection proxy.
PROFILE_COMPATIBLE = 1;- See Also:
-
PROFILE_MODERN_VALUE
public static final int PROFILE_MODERN_VALUEModern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the TLS inspection proxy.
PROFILE_MODERN = 2;- See Also:
-
PROFILE_RESTRICTED_VALUE
public static final int PROFILE_RESTRICTED_VALUERestricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
PROFILE_RESTRICTED = 3;- See Also:
-
PROFILE_CUSTOM_VALUE
public static final int PROFILE_CUSTOM_VALUECustom profile. Allow only the set of allowed SSL features specified in the custom_features field of SslPolicy.
PROFILE_CUSTOM = 4;- 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<TlsInspectionPolicy.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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static TlsInspectionPolicy.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
-