Interface ParentBasedSamplerConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ParentBasedSamplerConfig, ParentBasedSamplerConfig.Builder

public interface ParentBasedSamplerConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies the sampler to be used by this sampler.
    Specifies the sampler to be used by this sampler.
    boolean
    Specifies the sampler to be used by this sampler.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasWrappedSampler

      boolean hasWrappedSampler()
       Specifies the sampler to be used by this sampler.
       The configured sampler will be used if the parent trace ID is not passed to Envoy
      
       required
       [#extension-category: envoy.tracers.opentelemetry.samplers]
       
      .envoy.config.core.v3.TypedExtensionConfig wrapped_sampler = 1;
      Returns:
      Whether the wrappedSampler field is set.
    • getWrappedSampler

      TypedExtensionConfig getWrappedSampler()
       Specifies the sampler to be used by this sampler.
       The configured sampler will be used if the parent trace ID is not passed to Envoy
      
       required
       [#extension-category: envoy.tracers.opentelemetry.samplers]
       
      .envoy.config.core.v3.TypedExtensionConfig wrapped_sampler = 1;
      Returns:
      The wrappedSampler.
    • getWrappedSamplerOrBuilder

      TypedExtensionConfigOrBuilder getWrappedSamplerOrBuilder()
       Specifies the sampler to be used by this sampler.
       The configured sampler will be used if the parent trace ID is not passed to Envoy
      
       required
       [#extension-category: envoy.tracers.opentelemetry.samplers]
       
      .envoy.config.core.v3.TypedExtensionConfig wrapped_sampler = 1;