Interface TraceIdRatioBasedOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getSamplingRatio()
      The desired ratio of sampling.
      • 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 Detail

      • getSamplingRatio

        double getSamplingRatio()
         The desired ratio of sampling. Must be within [0.0, 1.0].
         
        double samplingRatio = 1;
        Returns:
        The samplingRatio.