Interface UuidRequestIdConfigOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.BoolValue getPackTraceReason()
      Whether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.
      com.google.protobuf.BoolValueOrBuilder getPackTraceReasonOrBuilder()
      Whether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.
      com.google.protobuf.BoolValue getUseRequestIdForTraceSampling()
      Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
      com.google.protobuf.BoolValueOrBuilder getUseRequestIdForTraceSamplingOrBuilder()
      Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
      boolean hasPackTraceReason()
      Whether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.
      boolean hasUseRequestIdForTraceSampling()
      Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
      • 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

      • hasPackTraceReason

        boolean hasPackTraceReason()
         Whether the implementation alters the UUID to contain the trace sampling decision as per the
         ``UuidRequestIdConfig`` message documentation. This defaults to true. If disabled no
         modification to the UUID will be performed. It is important to note that if disabled,
         stable sampling of traces, access logs, etc. will no longer work and only random sampling will
         be possible.
         
        .google.protobuf.BoolValue pack_trace_reason = 1;
        Returns:
        Whether the packTraceReason field is set.
      • getPackTraceReason

        com.google.protobuf.BoolValue getPackTraceReason()
         Whether the implementation alters the UUID to contain the trace sampling decision as per the
         ``UuidRequestIdConfig`` message documentation. This defaults to true. If disabled no
         modification to the UUID will be performed. It is important to note that if disabled,
         stable sampling of traces, access logs, etc. will no longer work and only random sampling will
         be possible.
         
        .google.protobuf.BoolValue pack_trace_reason = 1;
        Returns:
        The packTraceReason.
      • getPackTraceReasonOrBuilder

        com.google.protobuf.BoolValueOrBuilder getPackTraceReasonOrBuilder()
         Whether the implementation alters the UUID to contain the trace sampling decision as per the
         ``UuidRequestIdConfig`` message documentation. This defaults to true. If disabled no
         modification to the UUID will be performed. It is important to note that if disabled,
         stable sampling of traces, access logs, etc. will no longer work and only random sampling will
         be possible.
         
        .google.protobuf.BoolValue pack_trace_reason = 1;
      • hasUseRequestIdForTraceSampling

        boolean hasUseRequestIdForTraceSampling()
         Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
         This defaults to true. See the :ref:`context propagation <arch_overview_tracing_context_propagation>`
         overview for more information.
         
        .google.protobuf.BoolValue use_request_id_for_trace_sampling = 2;
        Returns:
        Whether the useRequestIdForTraceSampling field is set.
      • getUseRequestIdForTraceSampling

        com.google.protobuf.BoolValue getUseRequestIdForTraceSampling()
         Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
         This defaults to true. See the :ref:`context propagation <arch_overview_tracing_context_propagation>`
         overview for more information.
         
        .google.protobuf.BoolValue use_request_id_for_trace_sampling = 2;
        Returns:
        The useRequestIdForTraceSampling.
      • getUseRequestIdForTraceSamplingOrBuilder

        com.google.protobuf.BoolValueOrBuilder getUseRequestIdForTraceSamplingOrBuilder()
         Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
         This defaults to true. See the :ref:`context propagation <arch_overview_tracing_context_propagation>`
         overview for more information.
         
        .google.protobuf.BoolValue use_request_id_for_trace_sampling = 2;