public final class ZipkinConfig extends com.google.protobuf.GeneratedMessageV3 implements ZipkinConfigOrBuilder
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 6]Protobuf type
envoy.config.trace.v2.ZipkinConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ZipkinConfig.Builder
Configuration for the Zipkin tracer.
|
static class |
ZipkinConfig.CollectorEndpointVersion
Available Zipkin collector endpoint versions.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COLLECTOR_CLUSTER_FIELD_NUMBER |
static int |
COLLECTOR_ENDPOINT_FIELD_NUMBER |
static int |
COLLECTOR_ENDPOINT_VERSION_FIELD_NUMBER |
static int |
SHARED_SPAN_CONTEXT_FIELD_NUMBER |
static int |
TRACE_ID_128BIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCollectorCluster()
The cluster manager cluster that hosts the Zipkin collectors.
|
com.google.protobuf.ByteString |
getCollectorClusterBytes()
The cluster manager cluster that hosts the Zipkin collectors.
|
String |
getCollectorEndpoint()
The API endpoint of the Zipkin service where the spans will be sent.
|
com.google.protobuf.ByteString |
getCollectorEndpointBytes()
The API endpoint of the Zipkin service where the spans will be sent.
|
ZipkinConfig.CollectorEndpointVersion |
getCollectorEndpointVersion()
Determines the selected collector endpoint version.
|
int |
getCollectorEndpointVersionValue()
Determines the selected collector endpoint version.
|
static ZipkinConfig |
getDefaultInstance() |
ZipkinConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ZipkinConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.BoolValue |
getSharedSpanContext()
Determines whether client and server spans will share the same span context.
|
com.google.protobuf.BoolValueOrBuilder |
getSharedSpanContextOrBuilder()
Determines whether client and server spans will share the same span context.
|
boolean |
getTraceId128Bit()
Determines whether a 128bit trace id will be used when creating a new
trace instance.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSharedSpanContext()
Determines whether client and server spans will share the same span context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ZipkinConfig.Builder |
newBuilder() |
static ZipkinConfig.Builder |
newBuilder(ZipkinConfig prototype) |
ZipkinConfig.Builder |
newBuilderForType() |
protected ZipkinConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ZipkinConfig |
parseDelimitedFrom(InputStream input) |
static ZipkinConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZipkinConfig |
parseFrom(byte[] data) |
static ZipkinConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZipkinConfig |
parseFrom(ByteBuffer data) |
static ZipkinConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZipkinConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ZipkinConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZipkinConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZipkinConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZipkinConfig |
parseFrom(InputStream input) |
static ZipkinConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ZipkinConfig> |
parser() |
ZipkinConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COLLECTOR_CLUSTER_FIELD_NUMBER
public static final int COLLECTOR_ENDPOINT_FIELD_NUMBER
public static final int TRACE_ID_128BIT_FIELD_NUMBER
public static final int SHARED_SPAN_CONTEXT_FIELD_NUMBER
public static final int COLLECTOR_ENDPOINT_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCollectorCluster()
The cluster manager cluster that hosts the Zipkin collectors. Note that the Zipkin cluster must be defined in the :ref:`Bootstrap static cluster resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`.
string collector_cluster = 1 [(.validate.rules) = { ... }getCollectorCluster in interface ZipkinConfigOrBuilderpublic com.google.protobuf.ByteString getCollectorClusterBytes()
The cluster manager cluster that hosts the Zipkin collectors. Note that the Zipkin cluster must be defined in the :ref:`Bootstrap static cluster resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`.
string collector_cluster = 1 [(.validate.rules) = { ... }getCollectorClusterBytes in interface ZipkinConfigOrBuilderpublic String getCollectorEndpoint()
The API endpoint of the Zipkin service where the spans will be sent. When using a standard Zipkin installation, the API endpoint is typically /api/v1/spans, which is the default value.
string collector_endpoint = 2 [(.validate.rules) = { ... }getCollectorEndpoint in interface ZipkinConfigOrBuilderpublic com.google.protobuf.ByteString getCollectorEndpointBytes()
The API endpoint of the Zipkin service where the spans will be sent. When using a standard Zipkin installation, the API endpoint is typically /api/v1/spans, which is the default value.
string collector_endpoint = 2 [(.validate.rules) = { ... }getCollectorEndpointBytes in interface ZipkinConfigOrBuilderpublic boolean getTraceId128Bit()
Determines whether a 128bit trace id will be used when creating a new trace instance. The default value is false, which will result in a 64 bit trace id being used.
bool trace_id_128bit = 3;getTraceId128Bit in interface ZipkinConfigOrBuilderpublic boolean hasSharedSpanContext()
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;hasSharedSpanContext in interface ZipkinConfigOrBuilderpublic com.google.protobuf.BoolValue getSharedSpanContext()
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;getSharedSpanContext in interface ZipkinConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getSharedSpanContextOrBuilder()
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;getSharedSpanContextOrBuilder in interface ZipkinConfigOrBuilderpublic int getCollectorEndpointVersionValue()
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.config.trace.v2.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;getCollectorEndpointVersionValue in interface ZipkinConfigOrBuilderpublic ZipkinConfig.CollectorEndpointVersion getCollectorEndpointVersion()
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.config.trace.v2.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;getCollectorEndpointVersion in interface ZipkinConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ZipkinConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZipkinConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZipkinConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZipkinConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZipkinConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZipkinConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZipkinConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ZipkinConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ZipkinConfig.Builder newBuilder()
public static ZipkinConfig.Builder newBuilder(ZipkinConfig prototype)
public ZipkinConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ZipkinConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ZipkinConfig getDefaultInstance()
public static com.google.protobuf.Parser<ZipkinConfig> parser()
public com.google.protobuf.Parser<ZipkinConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ZipkinConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.