Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class TracingOptions (2.39.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.39.0keyboard_arrow_down
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 &&)
Parameter
Name
Description
TracingOptions &&
Operators
operator=(TracingOptions const &)
Parameter
Name
Description
TracingOptions const &
Returns
Type
Description
TracingOptions &
operator=(TracingOptions &&)
Parameter
Name
Description
TracingOptions &&
Returns
Type
Description
TracingOptions &
Functions
SetOptions(std::string const &)
Override the default options with values from str
.
Parameter
Name
Description
str
std::string const &
Returns
Type
Description
TracingOptions &
single_line_mode() const
The entire message will be output on a single line with no line breaks.
Returns
Type
Description
bool
use_short_repeated_primitives() const
Print repeated primitives in a compact format instead of each value on its own line.
Returns
Type
Description
bool
truncate_string_field_longer_than() const
If non-zero, truncate all string/bytes fields longer than this.
Returns
Type
Description
std::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-07-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]