public static enum Cluster.ClusterProtocolSelection extends Enum<Cluster.ClusterProtocolSelection> implements com.google.protobuf.ProtocolMessageEnum
envoy.config.cluster.v4alpha.Cluster.ClusterProtocolSelection| Enum Constant and Description |
|---|
UNRECOGNIZED |
USE_CONFIGURED_PROTOCOL
Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2).
|
USE_DOWNSTREAM_PROTOCOL
Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
USE_CONFIGURED_PROTOCOL_VALUE
Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2).
|
static int |
USE_DOWNSTREAM_PROTOCOL_VALUE
Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
|
| Modifier and Type | Method and Description |
|---|---|
static Cluster.ClusterProtocolSelection |
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<Cluster.ClusterProtocolSelection> |
internalGetValueMap() |
static Cluster.ClusterProtocolSelection |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cluster.ClusterProtocolSelection |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.ClusterProtocolSelection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.ClusterProtocolSelection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.ClusterProtocolSelection USE_CONFIGURED_PROTOCOL
Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2). If :ref:`http2_protocol_options <envoy_api_field_config.cluster.v4alpha.Cluster.http2_protocol_options>` are present, HTTP2 will be used, otherwise HTTP1.1 will be used.
USE_CONFIGURED_PROTOCOL = 0;public static final Cluster.ClusterProtocolSelection USE_DOWNSTREAM_PROTOCOL
Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
USE_DOWNSTREAM_PROTOCOL = 1;public static final Cluster.ClusterProtocolSelection UNRECOGNIZED
public static final int USE_CONFIGURED_PROTOCOL_VALUE
Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2). If :ref:`http2_protocol_options <envoy_api_field_config.cluster.v4alpha.Cluster.http2_protocol_options>` are present, HTTP2 will be used, otherwise HTTP1.1 will be used.
USE_CONFIGURED_PROTOCOL = 0;public static final int USE_DOWNSTREAM_PROTOCOL_VALUE
Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
USE_DOWNSTREAM_PROTOCOL = 1;public static Cluster.ClusterProtocolSelection[] values()
for (Cluster.ClusterProtocolSelection c : Cluster.ClusterProtocolSelection.values()) System.out.println(c);
public static Cluster.ClusterProtocolSelection 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 Cluster.ClusterProtocolSelection valueOf(int value)
forNumber(int) instead.public static Cluster.ClusterProtocolSelection forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.ClusterProtocolSelection> 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 Cluster.ClusterProtocolSelection valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.