15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_TRACING_OPTIONS_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_TRACING_OPTIONS_H
18#include "google/cloud/version.h"
26
27
28
29
30
31
32
55 return use_short_repeated_primitives_;
60 return truncate_string_field_longer_than_;
64 bool single_line_mode_ =
true;
65 bool use_short_repeated_primitives_ =
true;
66 std::int64_t truncate_string_field_longer_than_ = 128;
The configuration parameters for RPC/protobuf tracing.
Definition: tracing_options.h:33
friend bool operator==(TracingOptions const &a, TracingOptions const &b)
TracingOptions(TracingOptions const &)=default
std::int64_t truncate_string_field_longer_than() const
If non-zero, truncate all string/bytes fields longer than this.
Definition: tracing_options.h:59
bool single_line_mode() const
The entire message will be output on a single line with no line breaks.
Definition: tracing_options.h:50
friend bool operator!=(TracingOptions const &a, TracingOptions const &b)
Definition: tracing_options.h:42
bool use_short_repeated_primitives() const
Print repeated primitives in a compact format instead of each value on its own line.
Definition: tracing_options.h:54
TracingOptions & SetOptions(std::string const &str)
Override the default options with values from `str`.
TracingOptions & operator=(TracingOptions const &)=default
TracingOptions(TracingOptions &&)=default
TracingOptions & operator=(TracingOptions &&)=default
Contains all the Google Cloud C++ Library APIs.
Definition: async_operation.h:23
Definition: async_operation.h:22
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Definition: version.h:45
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
Definition: version.h:43