public static enum ZipkinConfig.CollectorEndpointVersion extends Enum<ZipkinConfig.CollectorEndpointVersion> implements com.google.protobuf.ProtocolMessageEnum
Available Zipkin collector endpoint versions.Protobuf enum
envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion| Enum Constant and Description |
|---|
DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE
Deprecated.
|
GRPC
[#not-implemented-hide:]
GRPC = 3; |
HTTP_JSON
Zipkin API v2, JSON over HTTP.
|
HTTP_PROTO
Zipkin API v2, protobuf over HTTP.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE_VALUE
Zipkin API v1, JSON over HTTP.
|
static int |
GRPC_VALUE
[#not-implemented-hide:]
GRPC = 3; |
static int |
HTTP_JSON_VALUE
Zipkin API v2, JSON over HTTP.
|
static int |
HTTP_PROTO_VALUE
Zipkin API v2, protobuf over HTTP.
|
| Modifier and Type | Method and Description |
|---|---|
static ZipkinConfig.CollectorEndpointVersion |
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<ZipkinConfig.CollectorEndpointVersion> |
internalGetValueMap() |
static ZipkinConfig.CollectorEndpointVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ZipkinConfig.CollectorEndpointVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ZipkinConfig.CollectorEndpointVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipkinConfig.CollectorEndpointVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ZipkinConfig.CollectorEndpointVersion DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE
Zipkin API v1, JSON over HTTP. [#comment: The default implementation of Zipkin client before this field is added was only v1 and the way user configure this was by not explicitly specifying the version. Consequently, before this is added, the corresponding Zipkin collector expected to receive v1 payload. Hence the motivation of adding HTTP_JSON_V1 as the default is to avoid a breaking change when user upgrading Envoy with this change. Furthermore, we also immediately deprecate this field, since in Zipkin realm this v1 version is considered to be not preferable anymore.]
DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE = 0 [deprecated = true, (.envoy.annotations.disallowed_by_default_enum) = true];public static final ZipkinConfig.CollectorEndpointVersion HTTP_JSON
Zipkin API v2, JSON over HTTP.
HTTP_JSON = 1;public static final ZipkinConfig.CollectorEndpointVersion HTTP_PROTO
Zipkin API v2, protobuf over HTTP.
HTTP_PROTO = 2;public static final ZipkinConfig.CollectorEndpointVersion GRPC
[#not-implemented-hide:]
GRPC = 3;public static final ZipkinConfig.CollectorEndpointVersion UNRECOGNIZED
public static final int DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE_VALUE
Zipkin API v1, JSON over HTTP. [#comment: The default implementation of Zipkin client before this field is added was only v1 and the way user configure this was by not explicitly specifying the version. Consequently, before this is added, the corresponding Zipkin collector expected to receive v1 payload. Hence the motivation of adding HTTP_JSON_V1 as the default is to avoid a breaking change when user upgrading Envoy with this change. Furthermore, we also immediately deprecate this field, since in Zipkin realm this v1 version is considered to be not preferable anymore.]
DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE = 0 [deprecated = true, (.envoy.annotations.disallowed_by_default_enum) = true];public static final int HTTP_JSON_VALUE
Zipkin API v2, JSON over HTTP.
HTTP_JSON = 1;public static final int HTTP_PROTO_VALUE
Zipkin API v2, protobuf over HTTP.
HTTP_PROTO = 2;public static final int GRPC_VALUE
[#not-implemented-hide:]
GRPC = 3;public static ZipkinConfig.CollectorEndpointVersion[] values()
for (ZipkinConfig.CollectorEndpointVersion c : ZipkinConfig.CollectorEndpointVersion.values()) System.out.println(c);
public static ZipkinConfig.CollectorEndpointVersion 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 ZipkinConfig.CollectorEndpointVersion valueOf(int value)
forNumber(int) instead.public static ZipkinConfig.CollectorEndpointVersion forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ZipkinConfig.CollectorEndpointVersion> 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 ZipkinConfig.CollectorEndpointVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.