Class OpenTelemetryConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>
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
,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 type
envoy.config.trace.v3.OpenTelemetryConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private GrpcService
private com.google.protobuf.SingleFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> private HttpService
private com.google.protobuf.SingleFieldBuilder
<HttpService, HttpService.Builder, HttpServiceOrBuilder> private List
<TypedExtensionConfig> private com.google.protobuf.RepeatedFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private TypedExtensionConfig
private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceDetectors
(Iterable<? extends TypedExtensionConfig> values) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectors
(int index, TypedExtensionConfig value) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectors
(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectors
(TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectorsBuilder
(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]build()
private void
buildPartial0
(OpenTelemetryConfig result) private void
clear()
The upstream gRPC cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]Specifies the sampler to be used by the OpenTelemetry tracer.The name for the service.private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The upstream gRPC cluster that will receive OTLP traces.The upstream gRPC cluster that will receive OTLP traces.private com.google.protobuf.SingleFieldBuilder
<GrpcService, GrpcService.Builder, GrpcServiceOrBuilder> The upstream gRPC cluster that will receive OTLP traces.The upstream gRPC cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.private com.google.protobuf.SingleFieldBuilder
<HttpService, HttpService.Builder, HttpServiceOrBuilder> The upstream HTTP cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.getResourceDetectors
(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]getResourceDetectorsBuilder
(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]int
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]private com.google.protobuf.RepeatedFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]getResourceDetectorsOrBuilder
(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]List
<? extends TypedExtensionConfigOrBuilder> An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]Specifies the sampler to be used by the OpenTelemetry tracer.Specifies the sampler to be used by the OpenTelemetry tracer.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Specifies the sampler to be used by the OpenTelemetry tracer.Specifies the sampler to be used by the OpenTelemetry tracer.The name for the service.com.google.protobuf.ByteString
The name for the service.boolean
The upstream gRPC cluster that will receive OTLP traces.boolean
The upstream HTTP cluster that will receive OTLP traces.boolean
Specifies the sampler to be used by the OpenTelemetry tracer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(OpenTelemetryConfig other) mergeGrpcService
(GrpcService value) The upstream gRPC cluster that will receive OTLP traces.mergeHttpService
(HttpService value) The upstream HTTP cluster that will receive OTLP traces.mergeSampler
(TypedExtensionConfig value) Specifies the sampler to be used by the OpenTelemetry tracer.removeResourceDetectors
(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setGrpcService
(GrpcService value) The upstream gRPC cluster that will receive OTLP traces.setGrpcService
(GrpcService.Builder builderForValue) The upstream gRPC cluster that will receive OTLP traces.setHttpService
(HttpService value) The upstream HTTP cluster that will receive OTLP traces.setHttpService
(HttpService.Builder builderForValue) The upstream HTTP cluster that will receive OTLP traces.setResourceDetectors
(int index, TypedExtensionConfig value) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setResourceDetectors
(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setSampler
(TypedExtensionConfig value) Specifies the sampler to be used by the OpenTelemetry tracer.setSampler
(TypedExtensionConfig.Builder builderForValue) Specifies the sampler to be used by the OpenTelemetry tracer.setServiceName
(String value) The name for the service.setServiceNameBytes
(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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
grpcService_
-
grpcServiceBuilder_
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder, grpcServiceBuilder_GrpcServiceOrBuilder> -
httpService_
-
httpServiceBuilder_
private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder, httpServiceBuilder_HttpServiceOrBuilder> -
serviceName_
-
resourceDetectors_
-
resourceDetectorsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, resourceDetectorsBuilder_TypedExtensionConfigOrBuilder> -
sampler_
-
samplerBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, samplerBuilder_TypedExtensionConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
public OpenTelemetryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>
- Throws:
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:
hasGrpcService
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- Whether the grpcService field is set.
-
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:
getGrpcService
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- The grpcService.
-
setGrpcService
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
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
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
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
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
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:
getGrpcServiceOrBuilder
in interfaceOpenTelemetryConfigOrBuilder
-
getGrpcServiceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<GrpcService,GrpcService.Builder, getGrpcServiceFieldBuilder()GrpcServiceOrBuilder> 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:
hasHttpService
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- Whether the httpService field is set.
-
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:
getHttpService
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- The httpService.
-
setHttpService
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
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
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
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
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
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:
getHttpServiceOrBuilder
in interfaceOpenTelemetryConfigOrBuilder
-
getHttpServiceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HttpService,HttpService.Builder, getHttpServiceFieldBuilder()HttpServiceOrBuilder> 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
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:
getServiceName
in 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:
getServiceNameBytes
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- The bytes for serviceName.
-
setServiceName
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
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
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
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
- Specified by:
getResourceDetectorsList
in 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:
getResourceDetectorsCount
in interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
- Specified by:
getResourceDetectors
in interfaceOpenTelemetryConfigOrBuilder
-
setResourceDetectors
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
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectors
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(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
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
removeResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
getResourceDetectorsOrBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
- Specified by:
getResourceDetectorsOrBuilder
in interfaceOpenTelemetryConfigOrBuilder
-
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:
getResourceDetectorsOrBuilderList
in interfaceOpenTelemetryConfigOrBuilder
-
addResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
addResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
-
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, getResourceDetectorsFieldBuilder()TypedExtensionConfigOrBuilder> -
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:
hasSampler
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- Whether the sampler field is set.
-
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:
getSampler
in interfaceOpenTelemetryConfigOrBuilder
- Returns:
- The sampler.
-
setSampler
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
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
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
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
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
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:
getSamplerOrBuilder
in interfaceOpenTelemetryConfigOrBuilder
-
getSamplerFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, getSamplerFieldBuilder()TypedExtensionConfigOrBuilder> 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;
-