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
Modifier and TypeMethodDescriptioncom.google.protobuf.BoolValueWhether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.com.google.protobuf.BoolValueOrBuilderWhether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.com.google.protobuf.BoolValueSet whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.com.google.protobuf.BoolValueOrBuilderSet whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.booleanWhether the implementation alters the UUID to contain the trace sampling decision as per the ``UuidRequestIdConfig`` message documentation.booleanSet 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-