Stay organized with collections Save and categorize content based on your preferences.
The configuration parameters for RPC/protobuf tracing.
The default options are: single_line_mode=on use_short_repeated_primitives=on truncate_string_field_longer_than=128
Constructors TracingOptions TracingOptions Parameter Name Description
TracingOptions const &
TracingOptions &&
TracingOptions const &
TracingOptions &
operator= Parameter Name Description
TracingOptions &&
TracingOptions &
Functions SetOptions
Override the default options with values from str
.
str
std::string const &
TracingOptions &
single_line_mode
The entire message will be output on a single line with no line breaks.
Returns Type Descriptionbool
use_short_repeated_primitives
Print repeated primitives in a compact format instead of each value on its own line.
Returns Type Descriptionbool
truncate_string_field_longer_than
If non-zero, truncate all string/bytes fields longer than this.
Returns Type Descriptionstd::int64_t
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This page details the `TracingOptions` class for RPC/protobuf tracing, including configuration parameters and functionalities."],["The latest version of `TracingOptions` is 2.37.0-rc, and a history of versions dating back to 2.10.1 is documented."],["Default tracing options are set to `single_line_mode=on`, `use_short_repeated_primitives=on`, and `truncate_string_field_longer_than=128`."],["The `TracingOptions` class provides constructors and assignment operators for creating and managing tracing configurations."],["Users can utilize functions like `SetOptions` to customize the tracing output and adjust parameters like `single_line_mode`, `use_short_repeated_primitives`, and `truncate_string_field_longer_than`."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4