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 and Description |
|---|
COMPATIBLE
Compatible profile.
|
CUSTOM
Custom profile.
|
MODERN
Modern profile.
|
RESTRICTED
Restricted profile.
|
UNDEFINED_PROFILE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPATIBLE_VALUE
Compatible profile.
|
static int |
CUSTOM_VALUE
Custom profile.
|
static int |
MODERN_VALUE
Modern profile.
|
static int |
RESTRICTED_VALUE
Restricted profile.
|
static int |
UNDEFINED_PROFILE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SslPolicy.Profile |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SslPolicy.Profile> |
internalGetValueMap() |
static SslPolicy.Profile |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SslPolicy.Profile |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SslPolicy.Profile |
valueOf(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.
|
public static final SslPolicy.Profile UNDEFINED_PROFILE
A value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0;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;public static final SslPolicy.Profile CUSTOM
Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569;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;public static final SslPolicy.Profile RESTRICTED
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195;public static final SslPolicy.Profile UNRECOGNIZED
public static final int UNDEFINED_PROFILE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PROFILE = 0;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;public static final int CUSTOM_VALUE
Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
CUSTOM = 388595569;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;public static final int RESTRICTED_VALUE
Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
RESTRICTED = 261551195;public static SslPolicy.Profile[] values()
for (SslPolicy.Profile c : SslPolicy.Profile.values()) System.out.println(c);
public static SslPolicy.Profile valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SslPolicy.Profile valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SslPolicy.Profile forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SslPolicy.Profile> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SslPolicy.Profile valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.