Package com.google.cloud.compute.v1
Enum TargetHttpsProxy.QuicOverride
java.lang.Object
java.lang.Enum<TargetHttpsProxy.QuicOverride>
com.google.cloud.compute.v1.TargetHttpsProxy.QuicOverride
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TargetHttpsProxy.QuicOverride>
- Enclosing class:
- TargetHttpsProxy
public static enum TargetHttpsProxy.QuicOverride
extends Enum<TargetHttpsProxy.QuicOverride>
implements com.google.protobuf.ProtocolMessageEnum
Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, orDISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified,NONE is implied.Protobuf enum
google.cloud.compute.v1.TargetHttpsProxy.QuicOverride-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe load balancer will not attempt to negotiate QUIC with clients.The load balancer will attempt to negotiate QUIC with clients.No overrides to the default QUIC policy.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe load balancer will not attempt to negotiate QUIC with clients.static final intThe load balancer will attempt to negotiate QUIC with clients.static final intNo overrides to the default QUIC policy.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TargetHttpsProxy.QuicOverride>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static TargetHttpsProxy.QuicOverride[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_QUIC_OVERRIDE
A value indicating that the enum field is not set.
UNDEFINED_QUIC_OVERRIDE = 0; -
DISABLE
The load balancer will not attempt to negotiate QUIC with clients.
DISABLE = 241807048; -
ENABLE
The load balancer will attempt to negotiate QUIC with clients.
ENABLE = 438835587; -
NONE
No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request.
NONE = 2402104; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_QUIC_OVERRIDE_VALUE
public static final int UNDEFINED_QUIC_OVERRIDE_VALUEA value indicating that the enum field is not set.
UNDEFINED_QUIC_OVERRIDE = 0;- See Also:
-
DISABLE_VALUE
public static final int DISABLE_VALUEThe load balancer will not attempt to negotiate QUIC with clients.
DISABLE = 241807048;- See Also:
-
ENABLE_VALUE
public static final int ENABLE_VALUEThe load balancer will attempt to negotiate QUIC with clients.
ENABLE = 438835587;- See Also:
-
NONE_VALUE
public static final int NONE_VALUENo overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request.
NONE = 2402104;- 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<TargetHttpsProxy.QuicOverride> 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 TargetHttpsProxy.QuicOverride 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
-