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(TracingOptions const &) Parameter Name Description
TracingOptions const &
TracingOptions &&
TracingOptions const &
TracingOptions &
operator=(TracingOptions &&) Parameter Name Description
TracingOptions &&
TracingOptions &
Functions SetOptions(std::string const &)
Override the default options with values from str
.
str
std::string const &
TracingOptions &
single_line_mode() const
The entire message will be output on a single line with no line breaks.
Returns Type Descriptionbool
use_short_repeated_primitives() const
Print repeated primitives in a compact format instead of each value on its own line.
Returns Type Descriptionbool
truncate_string_field_longer_than() const
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 configuring RPC/protobuf tracing, including its constructors, operators, and functions."],["The default tracing options are `single_line_mode=on`, `use_short_repeated_primitives=on`, and `truncate_string_field_longer_than=128`."],["The `SetOptions` function allows users to override the default tracing options with custom string-based configurations."],["The page provides information about the various versions of the class, ranging from the latest `2.37.0-rc` down to `2.10.1`."],["The `single_line_mode`, `use_short_repeated_primitives`, and `truncate_string_field_longer_than` functions allow for retrieving the currently set values for each of these tracing settings."]]],[]]
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