class MetricDefinition
Defined at line 1026 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
-------------------------------------------------------------------
Public Members
static const int kIndexInFileMessages
static MetricDefinition_MetricType UNSET
static MetricDefinition_MetricType OCCURRENCE
static MetricDefinition_MetricType INTEGER
static MetricDefinition_MetricType INTEGER_HISTOGRAM
static MetricDefinition_MetricType STRING
static MetricDefinition_MetricType STRUCT
static MetricDefinition_MetricType MetricType_MIN
static MetricDefinition_MetricType MetricType_MAX
static const int MetricType_ARRAYSIZE
static MetricDefinition_TimeZonePolicy UTC
static MetricDefinition_TimeZonePolicy LOCAL
static MetricDefinition_TimeZonePolicy OTHER_TIME_ZONE
static MetricDefinition_TimeZonePolicy TimeZonePolicy_MIN
static MetricDefinition_TimeZonePolicy TimeZonePolicy_MAX
static const int TimeZonePolicy_ARRAYSIZE
Public Methods
void CopyFrom (const MetricDefinition & from)
void Clear ()
::size_t ByteSizeLong ()
void MetricDefinition ()
Defined at line 1029 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void MetricDefinition (const MetricDefinition & from)
Defined at line 1044 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void MetricDefinition (MetricDefinition && from)
Defined at line 1045 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
MetricDefinition & operator= (const MetricDefinition & from)
Defined at line 1046 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
MetricDefinition & operator= (MetricDefinition && from)
Defined at line 1050 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::std::string & unknown_fields ()
Defined at line 1060 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * mutable_unknown_fields ()
Defined at line 1064 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const MetricDefinition & default_instance ()
Defined at line 1069 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void Swap (MetricDefinition * other)
Defined at line 1074 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void UnsafeArenaSwap (MetricDefinition * other)
Defined at line 1082 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
MetricDefinition * New (::google::protobuf::Arena * arena)
implements Message ----------------------------------------------
Defined at line 1090 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void MergeFrom (const MetricDefinition & from)
Defined at line 1095 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool IsInitialized ()
Defined at line 1102 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int GetCachedSize ()
Defined at line 1126 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename T>
const ::std::string & MetricType_Name (T value)
Defined at line 1175 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool MetricType_Parse (::absl::string_view name, MetricType * value)
Defined at line 1178 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool TimeZonePolicy_IsValid (int value)
Defined at line 1186 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename T>
const ::std::string & TimeZonePolicy_Name (T value)
Defined at line 1193 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool TimeZonePolicy_Parse (::absl::string_view name, TimeZonePolicy * value)
Defined at line 1196 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void ~MetricDefinition ()
template <typename = void>
void MetricDefinition (::google::protobuf::internal::ConstantInitialized , const ::google::protobuf::internal::ClassData * class_data)
::uint8_t * _InternalSerialize (::uint8_t * target, ::google::protobuf::io::EpsCopyOutputStream * stream)
auto InternalGenerateClassData_ (const MessageLite & prototype, const ::google::protobuf::internal::TcParseTableBase * tc_table)
bool MetricType_IsValid (int value)
Defined at line 1168 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int reports_size ()
repeated .cobalt.ReportDefinition reports = 12;
Defined at line 2739 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_reports ()
const ::cobalt::ReportDefinition & reports (int index)
Defined at line 2742 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::ReportDefinition * mutable_reports (int index)
Defined at line 2747 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::ReportDefinition * add_reports ()
Defined at line 2752 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::google::protobuf::RepeatedPtrField< ::cobalt::ReportDefinition> & reports ()
Defined at line 2762 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::google::protobuf::RepeatedPtrField< ::cobalt::ReportDefinition> * mutable_reports ()
Defined at line 2767 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int metric_dimensions_size ()
repeated .cobalt.MetricDefinition.MetricDimension metric_dimensions = 16;
Defined at line 2202 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_dimensions ()
Defined at line 2205 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::cobalt::MetricDefinition_MetricDimension & metric_dimensions (int index)
Defined at line 2210 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_MetricDimension * mutable_metric_dimensions (int index)
Defined at line 2215 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_MetricDimension * add_metric_dimensions ()
Defined at line 2220 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::google::protobuf::RepeatedPtrField< ::cobalt::MetricDefinition_MetricDimension> & metric_dimensions ()
Defined at line 2230 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::google::protobuf::RepeatedPtrField< ::cobalt::MetricDefinition_MetricDimension> * mutable_metric_dimensions ()
Defined at line 2235 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int metric_semantics_size ()
repeated .cobalt.MetricSemantics metric_semantics = 20;
Defined at line 2345 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_semantics ()
Defined at line 2348 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricSemantics metric_semantics (int index)
Defined at line 2353 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_metric_semantics (int index, ::cobalt::MetricSemantics value)
Defined at line 2357 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void add_metric_semantics (::cobalt::MetricSemantics value)
Defined at line 2361 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::google::protobuf::RepeatedField<int> & metric_semantics ()
Defined at line 2369 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::google::protobuf::RepeatedField<int> * mutable_metric_semantics ()
Defined at line 2374 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int deleted_report_ids_size ()
repeated uint32 deleted_report_ids = 26;
Defined at line 2789 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_deleted_report_ids ()
Defined at line 2792 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::uint32_t deleted_report_ids (int index)
Defined at line 2797 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_deleted_report_ids (int index, ::uint32_t value)
Defined at line 2801 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void add_deleted_report_ids (::uint32_t value)
Defined at line 2805 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::google::protobuf::RepeatedField< ::uint32_t> & deleted_report_ids ()
Defined at line 2813 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::google::protobuf::RepeatedField< ::uint32_t> * mutable_deleted_report_ids ()
Defined at line 2818 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
int struct_fields_size ()
repeated .cobalt.MetricDefinition.StructField struct_fields = 27;
Defined at line 2840 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_struct_fields ()
Defined at line 2843 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::cobalt::MetricDefinition_StructField & struct_fields (int index)
Defined at line 2848 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_StructField * mutable_struct_fields (int index)
Defined at line 2853 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_StructField * add_struct_fields ()
Defined at line 2858 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::google::protobuf::RepeatedPtrField< ::cobalt::MetricDefinition_StructField> & struct_fields ()
Defined at line 2868 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::google::protobuf::RepeatedPtrField< ::cobalt::MetricDefinition_StructField> * mutable_struct_fields ()
Defined at line 2873 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_name ()
string metric_name = 1;
Defined at line 2039 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::std::string & metric_name ()
Defined at line 2044 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_metric_name (Arg_ && arg, Args_... args)
Defined at line 2050 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * mutable_metric_name ()
Defined at line 2056 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * release_metric_name ()
Defined at line 2075 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_metric_name (::std::string * value)
Defined at line 2088 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_units_other ()
string metric_units_other = 19;
Defined at line 2278 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::std::string & metric_units_other ()
Defined at line 2283 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_metric_units_other (Arg_ && arg, Args_... args)
Defined at line 2289 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * mutable_metric_units_other ()
Defined at line 2295 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * release_metric_units_other ()
Defined at line 2314 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_metric_units_other (::std::string * value)
Defined at line 2327 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_string_candidate_file ()
string string_candidate_file = 22;
Defined at line 2393 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::std::string & string_candidate_file ()
Defined at line 2398 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_string_candidate_file (Arg_ && arg, Args_... args)
Defined at line 2404 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * mutable_string_candidate_file ()
Defined at line 2410 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * release_string_candidate_file ()
Defined at line 2429 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_string_candidate_file (::std::string * value)
Defined at line 2442 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_other_time_zone ()
string other_time_zone = 25;
Defined at line 2574 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::std::string & other_time_zone ()
Defined at line 2579 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_other_time_zone (Arg_ && arg, Args_... args)
Defined at line 2585 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * mutable_other_time_zone ()
Defined at line 2591 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::std::string * release_other_time_zone ()
Defined at line 2610 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_other_time_zone (::std::string * value)
Defined at line 2623 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool has_int_buckets ()
.cobalt.IntegerBuckets int_buckets = 8;
Defined at line 2457 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_int_buckets ()
const ::cobalt::IntegerBuckets & int_buckets ()
Defined at line 2467 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::IntegerBuckets * release_int_buckets ()
Defined at line 2485 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::IntegerBuckets * mutable_int_buckets ()
Defined at line 2521 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_int_buckets (::cobalt::IntegerBuckets * value)
Defined at line 2528 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void unsafe_arena_set_allocated_int_buckets (::cobalt::IntegerBuckets * value)
Defined at line 2471 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::IntegerBuckets * unsafe_arena_release_int_buckets ()
Defined at line 2504 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
bool has_meta_data ()
.cobalt.MetricDefinition.Metadata meta_data = 11;
Defined at line 2638 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_meta_data ()
Defined at line 2643 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
const ::cobalt::MetricDefinition_Metadata & meta_data ()
Defined at line 2653 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_Metadata * release_meta_data ()
Defined at line 2671 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_Metadata * mutable_meta_data ()
Defined at line 2707 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_allocated_meta_data (::cobalt::MetricDefinition_Metadata * value)
Defined at line 2714 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void unsafe_arena_set_allocated_meta_data (::cobalt::MetricDefinition_Metadata * value)
Defined at line 2657 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_Metadata * unsafe_arena_release_meta_data ()
Defined at line 2690 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_customer_id ()
uint32 customer_id = 2;
Defined at line 2103 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::uint32_t customer_id ()
Defined at line 2108 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_customer_id (::uint32_t value)
Defined at line 2112 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_project_id ()
uint32 project_id = 3;
Defined at line 2127 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::uint32_t project_id ()
Defined at line 2132 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_project_id (::uint32_t value)
Defined at line 2136 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_id ()
uint32 id = 4;
Defined at line 2151 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::uint32_t id ()
Defined at line 2156 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_id (::uint32_t value)
Defined at line 2160 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_type ()
.cobalt.MetricDefinition.MetricType metric_type = 5;
Defined at line 2175 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_MetricType metric_type ()
Defined at line 2180 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_metric_type (::cobalt::MetricDefinition_MetricType value)
Defined at line 2184 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_time_zone_policy ()
.cobalt.MetricDefinition.TimeZonePolicy time_zone_policy = 10;
Defined at line 2550 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricDefinition_TimeZonePolicy time_zone_policy ()
Defined at line 2555 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_time_zone_policy (::cobalt::MetricDefinition_TimeZonePolicy value)
Defined at line 2559 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void clear_metric_units ()
.cobalt.MetricUnits metric_units = 18;
Defined at line 2254 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
::cobalt::MetricUnits metric_units ()
Defined at line 2259 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
void set_metric_units (::cobalt::MetricUnits value)
Defined at line 2263 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
Enumerations
enum (unnamed) : int
| Name | Value |
|---|---|
| kReportsFieldNumber | 12 |
| kMetricDimensionsFieldNumber | 16 |
| kMetricSemanticsFieldNumber | 20 |
| kDeletedReportIdsFieldNumber | 26 |
| kStructFieldsFieldNumber | 27 |
| kMetricNameFieldNumber | 1 |
| kMetricUnitsOtherFieldNumber | 19 |
| kStringCandidateFileFieldNumber | 22 |
| kOtherTimeZoneFieldNumber | 25 |
| kIntBucketsFieldNumber | 8 |
| kMetaDataFieldNumber | 11 |
| kCustomerIdFieldNumber | 2 |
| kProjectIdFieldNumber | 3 |
| kIdFieldNumber | 4 |
| kMetricTypeFieldNumber | 5 |
| kTimeZonePolicyFieldNumber | 10 |
| kMetricUnitsFieldNumber | 18 |
accessors -------------------------------------------------------
Defined at line 1202 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h
Friends
class TableStruct_src_2fregistry_2fmetric_5fdefinition_2eproto
template <typename T>
class InternalHelper
class PrivateAccess
class Arena
class MessageLite
class TcParser
template <typename T>
basic_string_view MetricDefinition ()
void MetricDefinition (MetricDefinition & aMetricDefinition & b)