Google Cloud C++ Client
2.7.0
C++ Client Library for Google Cloud Platform
|
The configuration parameters for RPC/protobuf tracing. More...
#include <google/cloud/tracing_options.h>
Public Member Functions | |
TracingOptions ()=default | |
TracingOptions (TracingOptions const &)=default | |
TracingOptions & | operator= (TracingOptions const &)=default |
TracingOptions (TracingOptions &&)=default | |
TracingOptions & | operator= (TracingOptions &&)=default |
TracingOptions & | SetOptions (std::string const &str) |
Override the default options with values from . More... | |
bool | single_line_mode () const |
The entire message will be output on a single line with no line breaks. More... | |
bool | use_short_repeated_primitives () const |
Print repeated primitives in a compact format instead of each value on its own line. More... | |
std::int64_t | truncate_string_field_longer_than () const |
If non-zero, truncate all string/bytes fields longer than this. More... | |
Friends | |
bool | operator== (TracingOptions const &a, TracingOptions const &b) |
bool | operator!= (TracingOptions const &a, TracingOptions const &b) |
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
Definition at line 33 of file tracing_options.h.
|
default |
|
default |
|
default |
|
default |
|
default |
TracingOptions& google::cloud::TracingOptions::SetOptions | ( | std::string const & | str | ) |
Override the default options with values from
. str
|
inline |
The entire message will be output on a single line with no line breaks.
Definition at line 50 of file tracing_options.h.
|
inline |
If non-zero, truncate all string/bytes fields longer than this.
Definition at line 59 of file tracing_options.h.
|
inline |
Print repeated primitives in a compact format instead of each value on its own line.
Definition at line 54 of file tracing_options.h.
|
friend |
Definition at line 42 of file tracing_options.h.
|
friend |