Class OpenTelemetryConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
- io.envoyproxy.envoy.config.trace.v3.OpenTelemetryConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OpenTelemetryConfigOrBuilder,java.lang.Cloneable
- Enclosing class:
- OpenTelemetryConfig
public static final class OpenTelemetryConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder> implements OpenTelemetryConfigOrBuilder
Configuration for the OpenTelemetry tracer. [#extension: envoy.tracers.opentelemetry] [#next-free-field: 6]
Protobuf typeenvoy.config.trace.v3.OpenTelemetryConfig
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private GrpcServicegrpcService_private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder,GrpcServiceOrBuilder>grpcServiceBuilder_private HttpServicehttpService_private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder,HttpServiceOrBuilder>httpServiceBuilder_private java.util.List<TypedExtensionConfig>resourceDetectors_private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>resourceDetectorsBuilder_private TypedExtensionConfigsampler_private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>samplerBuilder_private java.lang.ObjectserviceName_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenTelemetryConfig.BuilderaddAllResourceDetectors(java.lang.Iterable<? extends TypedExtensionConfig> values)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuilderaddResourceDetectors(int index, TypedExtensionConfig value)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuilderaddResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuilderaddResourceDetectors(TypedExtensionConfig value)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuilderaddResourceDetectors(TypedExtensionConfig.Builder builderForValue)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]TypedExtensionConfig.BuilderaddResourceDetectorsBuilder()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]TypedExtensionConfig.BuilderaddResourceDetectorsBuilder(int index)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfigbuild()OpenTelemetryConfigbuildPartial()private voidbuildPartial0(OpenTelemetryConfig result)private voidbuildPartialRepeatedFields(OpenTelemetryConfig result)OpenTelemetryConfig.Builderclear()OpenTelemetryConfig.BuilderclearGrpcService()The upstream gRPC cluster that will receive OTLP traces.OpenTelemetryConfig.BuilderclearHttpService()The upstream HTTP cluster that will receive OTLP traces.OpenTelemetryConfig.BuilderclearResourceDetectors()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuilderclearSampler()Specifies the sampler to be used by the OpenTelemetry tracer.OpenTelemetryConfig.BuilderclearServiceName()The name for the service.private voidensureResourceDetectorsIsMutable()OpenTelemetryConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GrpcServicegetGrpcService()The upstream gRPC cluster that will receive OTLP traces.GrpcService.BuildergetGrpcServiceBuilder()The upstream gRPC cluster that will receive OTLP traces.private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder,GrpcServiceOrBuilder>getGrpcServiceFieldBuilder()The upstream gRPC cluster that will receive OTLP traces.GrpcServiceOrBuildergetGrpcServiceOrBuilder()The upstream gRPC cluster that will receive OTLP traces.HttpServicegetHttpService()The upstream HTTP cluster that will receive OTLP traces.HttpService.BuildergetHttpServiceBuilder()The upstream HTTP cluster that will receive OTLP traces.private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder,HttpServiceOrBuilder>getHttpServiceFieldBuilder()The upstream HTTP cluster that will receive OTLP traces.HttpServiceOrBuildergetHttpServiceOrBuilder()The upstream HTTP cluster that will receive OTLP traces.TypedExtensionConfiggetResourceDetectors(int index)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]TypedExtensionConfig.BuildergetResourceDetectorsBuilder(int index)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]java.util.List<TypedExtensionConfig.Builder>getResourceDetectorsBuilderList()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]intgetResourceDetectorsCount()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>getResourceDetectorsFieldBuilder()java.util.List<TypedExtensionConfig>getResourceDetectorsList()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]TypedExtensionConfigOrBuildergetResourceDetectorsOrBuilder(int index)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]java.util.List<? extends TypedExtensionConfigOrBuilder>getResourceDetectorsOrBuilderList()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]TypedExtensionConfiggetSampler()Specifies the sampler to be used by the OpenTelemetry tracer.TypedExtensionConfig.BuildergetSamplerBuilder()Specifies the sampler to be used by the OpenTelemetry tracer.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>getSamplerFieldBuilder()Specifies the sampler to be used by the OpenTelemetry tracer.TypedExtensionConfigOrBuildergetSamplerOrBuilder()Specifies the sampler to be used by the OpenTelemetry tracer.java.lang.StringgetServiceName()The name for the service.com.google.protobuf.ByteStringgetServiceNameBytes()The name for the service.booleanhasGrpcService()The upstream gRPC cluster that will receive OTLP traces.booleanhasHttpService()The upstream HTTP cluster that will receive OTLP traces.booleanhasSampler()Specifies the sampler to be used by the OpenTelemetry tracer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()OpenTelemetryConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenTelemetryConfig.BuildermergeFrom(com.google.protobuf.Message other)OpenTelemetryConfig.BuildermergeFrom(OpenTelemetryConfig other)OpenTelemetryConfig.BuildermergeGrpcService(GrpcService value)The upstream gRPC cluster that will receive OTLP traces.OpenTelemetryConfig.BuildermergeHttpService(HttpService value)The upstream HTTP cluster that will receive OTLP traces.OpenTelemetryConfig.BuildermergeSampler(TypedExtensionConfig value)Specifies the sampler to be used by the OpenTelemetry tracer.OpenTelemetryConfig.BuilderremoveResourceDetectors(int index)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuildersetGrpcService(GrpcService value)The upstream gRPC cluster that will receive OTLP traces.OpenTelemetryConfig.BuildersetGrpcService(GrpcService.Builder builderForValue)The upstream gRPC cluster that will receive OTLP traces.OpenTelemetryConfig.BuildersetHttpService(HttpService value)The upstream HTTP cluster that will receive OTLP traces.OpenTelemetryConfig.BuildersetHttpService(HttpService.Builder builderForValue)The upstream HTTP cluster that will receive OTLP traces.OpenTelemetryConfig.BuildersetResourceDetectors(int index, TypedExtensionConfig value)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuildersetResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue)An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]OpenTelemetryConfig.BuildersetSampler(TypedExtensionConfig value)Specifies the sampler to be used by the OpenTelemetry tracer.OpenTelemetryConfig.BuildersetSampler(TypedExtensionConfig.Builder builderForValue)Specifies the sampler to be used by the OpenTelemetry tracer.OpenTelemetryConfig.BuildersetServiceName(java.lang.String value)The name for the service.OpenTelemetryConfig.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)The name for the service.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
grpcService_
private GrpcService grpcService_
-
grpcServiceBuilder_
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder,GrpcServiceOrBuilder> grpcServiceBuilder_
-
httpService_
private HttpService httpService_
-
httpServiceBuilder_
private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder,HttpServiceOrBuilder> httpServiceBuilder_
-
serviceName_
private java.lang.Object serviceName_
-
resourceDetectors_
private java.util.List<TypedExtensionConfig> resourceDetectors_
-
resourceDetectorsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> resourceDetectorsBuilder_
-
sampler_
private TypedExtensionConfig sampler_
-
samplerBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> samplerBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public OpenTelemetryConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
getDefaultInstanceForType
public OpenTelemetryConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenTelemetryConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenTelemetryConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(OpenTelemetryConfig result)
-
buildPartial0
private void buildPartial0(OpenTelemetryConfig result)
-
mergeFrom
public OpenTelemetryConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
public OpenTelemetryConfig.Builder mergeFrom(OpenTelemetryConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
public OpenTelemetryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>- Throws:
java.io.IOException
-
hasGrpcService
public boolean hasGrpcService()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasGrpcServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the grpcService field is set.
-
getGrpcService
public GrpcService getGrpcService()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getGrpcServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The grpcService.
-
setGrpcService
public OpenTelemetryConfig.Builder setGrpcService(GrpcService value)
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
setGrpcService
public OpenTelemetryConfig.Builder setGrpcService(GrpcService.Builder builderForValue)
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
mergeGrpcService
public OpenTelemetryConfig.Builder mergeGrpcService(GrpcService value)
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
clearGrpcService
public OpenTelemetryConfig.Builder clearGrpcService()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
getGrpcServiceBuilder
public GrpcService.Builder getGrpcServiceBuilder()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
getGrpcServiceOrBuilder
public GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getGrpcServiceOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getGrpcServiceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder,GrpcServiceOrBuilder> getGrpcServiceFieldBuilder()
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }
-
hasHttpService
public boolean hasHttpService()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasHttpServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the httpService field is set.
-
getHttpService
public HttpService getHttpService()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getHttpServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The httpService.
-
setHttpService
public OpenTelemetryConfig.Builder setHttpService(HttpService value)
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
setHttpService
public OpenTelemetryConfig.Builder setHttpService(HttpService.Builder builderForValue)
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
mergeHttpService
public OpenTelemetryConfig.Builder mergeHttpService(HttpService value)
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
clearHttpService
public OpenTelemetryConfig.Builder clearHttpService()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
getHttpServiceBuilder
public HttpService.Builder getHttpServiceBuilder()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
getHttpServiceOrBuilder
public HttpServiceOrBuilder getHttpServiceOrBuilder()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getHttpServiceOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getHttpServiceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder,HttpServiceOrBuilder> getHttpServiceFieldBuilder()
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }
-
getServiceName
public java.lang.String getServiceName()
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Specified by:
getServiceNamein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Specified by:
getServiceNameBytesin interfaceOpenTelemetryConfigOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
public OpenTelemetryConfig.Builder setServiceName(java.lang.String value)
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public OpenTelemetryConfig.Builder clearServiceName()
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Returns:
- This builder for chaining.
-
setServiceNameBytes
public OpenTelemetryConfig.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
ensureResourceDetectorsIsMutable
private void ensureResourceDetectorsIsMutable()
-
getResourceDetectorsList
public java.util.List<TypedExtensionConfig> getResourceDetectorsList()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsListin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectorsCount
public int getResourceDetectorsCount()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsCountin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectors
public TypedExtensionConfig getResourceDetectors(int index)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsin interfaceOpenTelemetryConfigOrBuilder
-
setResourceDetectors
public OpenTelemetryConfig.Builder setResourceDetectors(int index, TypedExtensionConfig value)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
setResourceDetectors
public OpenTelemetryConfig.Builder setResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(TypedExtensionConfig value)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(int index, TypedExtensionConfig value)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(TypedExtensionConfig.Builder builderForValue)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addAllResourceDetectors
public OpenTelemetryConfig.Builder addAllResourceDetectors(java.lang.Iterable<? extends TypedExtensionConfig> values)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
clearResourceDetectors
public OpenTelemetryConfig.Builder clearResourceDetectors()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
removeResourceDetectors
public OpenTelemetryConfig.Builder removeResourceDetectors(int index)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsBuilder
public TypedExtensionConfig.Builder getResourceDetectorsBuilder(int index)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsOrBuilder
public TypedExtensionConfigOrBuilder getResourceDetectorsOrBuilder(int index)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectorsOrBuilderList
public java.util.List<? extends TypedExtensionConfigOrBuilder> getResourceDetectorsOrBuilderList()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsOrBuilderListin interfaceOpenTelemetryConfigOrBuilder
-
addResourceDetectorsBuilder
public TypedExtensionConfig.Builder addResourceDetectorsBuilder()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectorsBuilder
public TypedExtensionConfig.Builder addResourceDetectorsBuilder(int index)
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsBuilderList
public java.util.List<TypedExtensionConfig.Builder> getResourceDetectorsBuilderList()
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getResourceDetectorsFieldBuilder()
-
hasSampler
public boolean hasSampler()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
hasSamplerin interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the sampler field is set.
-
getSampler
public TypedExtensionConfig getSampler()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
getSamplerin interfaceOpenTelemetryConfigOrBuilder- Returns:
- The sampler.
-
setSampler
public OpenTelemetryConfig.Builder setSampler(TypedExtensionConfig value)
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
setSampler
public OpenTelemetryConfig.Builder setSampler(TypedExtensionConfig.Builder builderForValue)
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
mergeSampler
public OpenTelemetryConfig.Builder mergeSampler(TypedExtensionConfig value)
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
clearSampler
public OpenTelemetryConfig.Builder clearSampler()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
getSamplerBuilder
public TypedExtensionConfig.Builder getSamplerBuilder()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
getSamplerOrBuilder
public TypedExtensionConfigOrBuilder getSamplerOrBuilder()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
getSamplerOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getSamplerFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getSamplerFieldBuilder()
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;
-
-