public static final class ZipkinConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder> implements ZipkinConfigOrBuilder
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 7]Protobuf type
envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig| Modifier and Type | Method and Description |
|---|---|
ZipkinConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ZipkinConfig |
build() |
ZipkinConfig |
buildPartial() |
ZipkinConfig.Builder |
clear() |
ZipkinConfig.Builder |
clearCollectorCluster()
The cluster manager cluster that hosts the Zipkin collectors.
|
ZipkinConfig.Builder |
clearCollectorEndpoint()
The API endpoint of the Zipkin service where the spans will be sent.
|
ZipkinConfig.Builder |
clearCollectorEndpointVersion()
Determines the selected collector endpoint version.
|
ZipkinConfig.Builder |
clearCollectorHostname()
Optional hostname to use when sending spans to the collector_cluster.
|
ZipkinConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ZipkinConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ZipkinConfig.Builder |
clearSharedSpanContext()
Determines whether client and server spans will share the same span context.
|
ZipkinConfig.Builder |
clearTraceId128Bit()
Determines whether a 128bit trace id will be used when creating a new
trace instance.
|
ZipkinConfig.Builder |
clone() |
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.
|
String |
getCollectorHostname()
Optional hostname to use when sending spans to the collector_cluster.
|
com.google.protobuf.ByteString |
getCollectorHostnameBytes()
Optional hostname to use when sending spans to the collector_cluster.
|
ZipkinConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getSharedSpanContext()
Determines whether client and server spans will share the same span context.
|
com.google.protobuf.BoolValue.Builder |
getSharedSpanContextBuilder()
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.
|
boolean |
hasSharedSpanContext()
Determines whether client and server spans will share the same span context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZipkinConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZipkinConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZipkinConfig.Builder |
mergeFrom(ZipkinConfig other) |
ZipkinConfig.Builder |
mergeSharedSpanContext(com.google.protobuf.BoolValue value)
Determines whether client and server spans will share the same span context.
|
ZipkinConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ZipkinConfig.Builder |
setCollectorCluster(String value)
The cluster manager cluster that hosts the Zipkin collectors.
|
ZipkinConfig.Builder |
setCollectorClusterBytes(com.google.protobuf.ByteString value)
The cluster manager cluster that hosts the Zipkin collectors.
|
ZipkinConfig.Builder |
setCollectorEndpoint(String value)
The API endpoint of the Zipkin service where the spans will be sent.
|
ZipkinConfig.Builder |
setCollectorEndpointBytes(com.google.protobuf.ByteString value)
The API endpoint of the Zipkin service where the spans will be sent.
|
ZipkinConfig.Builder |
setCollectorEndpointVersion(ZipkinConfig.CollectorEndpointVersion value)
Determines the selected collector endpoint version.
|
ZipkinConfig.Builder |
setCollectorEndpointVersionValue(int value)
Determines the selected collector endpoint version.
|
ZipkinConfig.Builder |
setCollectorHostname(String value)
Optional hostname to use when sending spans to the collector_cluster.
|
ZipkinConfig.Builder |
setCollectorHostnameBytes(com.google.protobuf.ByteString value)
Optional hostname to use when sending spans to the collector_cluster.
|
ZipkinConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ZipkinConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ZipkinConfig.Builder |
setSharedSpanContext(com.google.protobuf.BoolValue.Builder builderForValue)
Determines whether client and server spans will share the same span context.
|
ZipkinConfig.Builder |
setSharedSpanContext(com.google.protobuf.BoolValue value)
Determines whether client and server spans will share the same span context.
|
ZipkinConfig.Builder |
setTraceId128Bit(boolean value)
Determines whether a 128bit trace id will be used when creating a new
trace instance.
|
ZipkinConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ZipkinConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ZipkinConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ZipkinConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder mergeFrom(ZipkinConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public ZipkinConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ZipkinConfig.Builder>IOExceptionpublic String getCollectorCluster()
The cluster manager cluster that hosts the Zipkin collectors.
string collector_cluster = 1 [(.validate.rules) = { ... }getCollectorCluster in interface ZipkinConfigOrBuilderpublic com.google.protobuf.ByteString getCollectorClusterBytes()
The cluster manager cluster that hosts the Zipkin collectors.
string collector_cluster = 1 [(.validate.rules) = { ... }getCollectorClusterBytes in interface ZipkinConfigOrBuilderpublic ZipkinConfig.Builder setCollectorCluster(String value)
The cluster manager cluster that hosts the Zipkin collectors.
string collector_cluster = 1 [(.validate.rules) = { ... }public ZipkinConfig.Builder clearCollectorCluster()
The cluster manager cluster that hosts the Zipkin collectors.
string collector_cluster = 1 [(.validate.rules) = { ... }public ZipkinConfig.Builder setCollectorClusterBytes(com.google.protobuf.ByteString value)
The cluster manager cluster that hosts the Zipkin collectors.
string collector_cluster = 1 [(.validate.rules) = { ... }public 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 ZipkinConfig.Builder setCollectorEndpoint(String value)
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) = { ... }public ZipkinConfig.Builder clearCollectorEndpoint()
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) = { ... }public ZipkinConfig.Builder setCollectorEndpointBytes(com.google.protobuf.ByteString value)
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) = { ... }public 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 ZipkinConfig.Builder setTraceId128Bit(boolean value)
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;public ZipkinConfig.Builder clearTraceId128Bit()
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;public 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 ZipkinConfig.Builder setSharedSpanContext(com.google.protobuf.BoolValue value)
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;public ZipkinConfig.Builder setSharedSpanContext(com.google.protobuf.BoolValue.Builder builderForValue)
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;public ZipkinConfig.Builder mergeSharedSpanContext(com.google.protobuf.BoolValue value)
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;public ZipkinConfig.Builder clearSharedSpanContext()
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;public com.google.protobuf.BoolValue.Builder getSharedSpanContextBuilder()
Determines whether client and server spans will share the same span context. The default value is true.
.google.protobuf.BoolValue shared_span_context = 4;public 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.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;getCollectorEndpointVersionValue in interface ZipkinConfigOrBuilderpublic ZipkinConfig.Builder setCollectorEndpointVersionValue(int value)
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;public ZipkinConfig.CollectorEndpointVersion getCollectorEndpointVersion()
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;getCollectorEndpointVersion in interface ZipkinConfigOrBuilderpublic ZipkinConfig.Builder setCollectorEndpointVersion(ZipkinConfig.CollectorEndpointVersion value)
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;public ZipkinConfig.Builder clearCollectorEndpointVersion()
Determines the selected collector endpoint version. By default, the ``HTTP_JSON_V1`` will be used.
.envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig.CollectorEndpointVersion collector_endpoint_version = 5;public String getCollectorHostname()
Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above.
string collector_hostname = 6;getCollectorHostname in interface ZipkinConfigOrBuilderpublic com.google.protobuf.ByteString getCollectorHostnameBytes()
Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above.
string collector_hostname = 6;getCollectorHostnameBytes in interface ZipkinConfigOrBuilderpublic ZipkinConfig.Builder setCollectorHostname(String value)
Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above.
string collector_hostname = 6;public ZipkinConfig.Builder clearCollectorHostname()
Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above.
string collector_hostname = 6;public ZipkinConfig.Builder setCollectorHostnameBytes(com.google.protobuf.ByteString value)
Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above.
string collector_hostname = 6;public final ZipkinConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>public final ZipkinConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ZipkinConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.