github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protos/roachpb/internal.pb.h (about) 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: roachpb/internal.proto 3 4 #ifndef PROTOBUF_INCLUDED_roachpb_2finternal_2eproto 5 #define PROTOBUF_INCLUDED_roachpb_2finternal_2eproto 6 7 #include <string> 8 9 #include <google/protobuf/stubs/common.h> 10 11 #if GOOGLE_PROTOBUF_VERSION < 3006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 14 #error your headers. 15 #endif 16 #if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 20 #endif 21 22 #include <google/protobuf/io/coded_stream.h> 23 #include <google/protobuf/arena.h> 24 #include <google/protobuf/arenastring.h> 25 #include <google/protobuf/generated_message_table_driven.h> 26 #include <google/protobuf/generated_message_util.h> 27 #include <google/protobuf/inlined_string_field.h> 28 #include <google/protobuf/metadata_lite.h> 29 #include <google/protobuf/message_lite.h> 30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export 31 #include <google/protobuf/extension_set.h> // IWYU pragma: export 32 // @@protoc_insertion_point(includes) 33 #define PROTOBUF_INTERNAL_EXPORT_protobuf_roachpb_2finternal_2eproto 34 35 namespace protobuf_roachpb_2finternal_2eproto { 36 // Internal implementation detail -- do not use these members. 37 struct TableStruct { 38 static const ::google::protobuf::internal::ParseTableField entries[]; 39 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; 40 static const ::google::protobuf::internal::ParseTable schema[2]; 41 static const ::google::protobuf::internal::FieldMetadata field_metadata[]; 42 static const ::google::protobuf::internal::SerializationTable serialization_table[]; 43 static const ::google::protobuf::uint32 offsets[]; 44 }; 45 } // namespace protobuf_roachpb_2finternal_2eproto 46 namespace cockroach { 47 namespace roachpb { 48 class InternalTimeSeriesData; 49 class InternalTimeSeriesDataDefaultTypeInternal; 50 extern InternalTimeSeriesDataDefaultTypeInternal _InternalTimeSeriesData_default_instance_; 51 class InternalTimeSeriesSample; 52 class InternalTimeSeriesSampleDefaultTypeInternal; 53 extern InternalTimeSeriesSampleDefaultTypeInternal _InternalTimeSeriesSample_default_instance_; 54 } // namespace roachpb 55 } // namespace cockroach 56 namespace google { 57 namespace protobuf { 58 template<> ::cockroach::roachpb::InternalTimeSeriesData* Arena::CreateMaybeMessage<::cockroach::roachpb::InternalTimeSeriesData>(Arena*); 59 template<> ::cockroach::roachpb::InternalTimeSeriesSample* Arena::CreateMaybeMessage<::cockroach::roachpb::InternalTimeSeriesSample>(Arena*); 60 } // namespace protobuf 61 } // namespace google 62 namespace cockroach { 63 namespace roachpb { 64 65 // =================================================================== 66 67 class InternalTimeSeriesData : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.roachpb.InternalTimeSeriesData) */ { 68 public: 69 InternalTimeSeriesData(); 70 virtual ~InternalTimeSeriesData(); 71 72 InternalTimeSeriesData(const InternalTimeSeriesData& from); 73 74 inline InternalTimeSeriesData& operator=(const InternalTimeSeriesData& from) { 75 CopyFrom(from); 76 return *this; 77 } 78 #if LANG_CXX11 79 InternalTimeSeriesData(InternalTimeSeriesData&& from) noexcept 80 : InternalTimeSeriesData() { 81 *this = ::std::move(from); 82 } 83 84 inline InternalTimeSeriesData& operator=(InternalTimeSeriesData&& from) noexcept { 85 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 86 if (this != &from) InternalSwap(&from); 87 } else { 88 CopyFrom(from); 89 } 90 return *this; 91 } 92 #endif 93 inline const ::std::string& unknown_fields() const { 94 return _internal_metadata_.unknown_fields(); 95 } 96 inline ::std::string* mutable_unknown_fields() { 97 return _internal_metadata_.mutable_unknown_fields(); 98 } 99 100 static const InternalTimeSeriesData& default_instance(); 101 102 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 103 static inline const InternalTimeSeriesData* internal_default_instance() { 104 return reinterpret_cast<const InternalTimeSeriesData*>( 105 &_InternalTimeSeriesData_default_instance_); 106 } 107 static constexpr int kIndexInFileMessages = 108 0; 109 110 void Swap(InternalTimeSeriesData* other); 111 friend void swap(InternalTimeSeriesData& a, InternalTimeSeriesData& b) { 112 a.Swap(&b); 113 } 114 115 // implements Message ---------------------------------------------- 116 117 inline InternalTimeSeriesData* New() const final { 118 return CreateMaybeMessage<InternalTimeSeriesData>(NULL); 119 } 120 121 InternalTimeSeriesData* New(::google::protobuf::Arena* arena) const final { 122 return CreateMaybeMessage<InternalTimeSeriesData>(arena); 123 } 124 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 125 final; 126 void CopyFrom(const InternalTimeSeriesData& from); 127 void MergeFrom(const InternalTimeSeriesData& from); 128 void Clear() final; 129 bool IsInitialized() const final; 130 131 size_t ByteSizeLong() const final; 132 bool MergePartialFromCodedStream( 133 ::google::protobuf::io::CodedInputStream* input) final; 134 void SerializeWithCachedSizes( 135 ::google::protobuf::io::CodedOutputStream* output) const final; 136 void DiscardUnknownFields(); 137 int GetCachedSize() const final { return _cached_size_.Get(); } 138 139 private: 140 void SharedCtor(); 141 void SharedDtor(); 142 void SetCachedSize(int size) const; 143 void InternalSwap(InternalTimeSeriesData* other); 144 private: 145 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 146 return NULL; 147 } 148 inline void* MaybeArenaPtr() const { 149 return NULL; 150 } 151 public: 152 153 ::std::string GetTypeName() const final; 154 155 // nested types ---------------------------------------------------- 156 157 // accessors ------------------------------------------------------- 158 159 GOOGLE_PROTOBUF_DEPRECATED_ATTR int samples_size() const; 160 GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_samples(); 161 GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kSamplesFieldNumber = 3; 162 GOOGLE_PROTOBUF_DEPRECATED_ATTR ::cockroach::roachpb::InternalTimeSeriesSample* mutable_samples(int index); 163 GOOGLE_PROTOBUF_DEPRECATED_ATTR ::google::protobuf::RepeatedPtrField< ::cockroach::roachpb::InternalTimeSeriesSample >* 164 mutable_samples(); 165 GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::cockroach::roachpb::InternalTimeSeriesSample& samples(int index) const; 166 GOOGLE_PROTOBUF_DEPRECATED_ATTR ::cockroach::roachpb::InternalTimeSeriesSample* add_samples(); 167 GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::google::protobuf::RepeatedPtrField< ::cockroach::roachpb::InternalTimeSeriesSample >& 168 samples() const; 169 170 // repeated int32 offset = 4 [packed = true]; 171 int offset_size() const; 172 void clear_offset(); 173 static const int kOffsetFieldNumber = 4; 174 ::google::protobuf::int32 offset(int index) const; 175 void set_offset(int index, ::google::protobuf::int32 value); 176 void add_offset(::google::protobuf::int32 value); 177 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& 178 offset() const; 179 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 180 mutable_offset(); 181 182 // repeated double last = 5 [packed = true]; 183 int last_size() const; 184 void clear_last(); 185 static const int kLastFieldNumber = 5; 186 double last(int index) const; 187 void set_last(int index, double value); 188 void add_last(double value); 189 const ::google::protobuf::RepeatedField< double >& 190 last() const; 191 ::google::protobuf::RepeatedField< double >* 192 mutable_last(); 193 194 // repeated uint32 count = 6 [packed = true]; 195 int count_size() const; 196 void clear_count(); 197 static const int kCountFieldNumber = 6; 198 ::google::protobuf::uint32 count(int index) const; 199 void set_count(int index, ::google::protobuf::uint32 value); 200 void add_count(::google::protobuf::uint32 value); 201 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 202 count() const; 203 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 204 mutable_count(); 205 206 // repeated double sum = 7 [packed = true]; 207 int sum_size() const; 208 void clear_sum(); 209 static const int kSumFieldNumber = 7; 210 double sum(int index) const; 211 void set_sum(int index, double value); 212 void add_sum(double value); 213 const ::google::protobuf::RepeatedField< double >& 214 sum() const; 215 ::google::protobuf::RepeatedField< double >* 216 mutable_sum(); 217 218 // repeated double max = 8 [packed = true]; 219 int max_size() const; 220 void clear_max(); 221 static const int kMaxFieldNumber = 8; 222 double max(int index) const; 223 void set_max(int index, double value); 224 void add_max(double value); 225 const ::google::protobuf::RepeatedField< double >& 226 max() const; 227 ::google::protobuf::RepeatedField< double >* 228 mutable_max(); 229 230 // repeated double min = 9 [packed = true]; 231 int min_size() const; 232 void clear_min(); 233 static const int kMinFieldNumber = 9; 234 double min(int index) const; 235 void set_min(int index, double value); 236 void add_min(double value); 237 const ::google::protobuf::RepeatedField< double >& 238 min() const; 239 ::google::protobuf::RepeatedField< double >* 240 mutable_min(); 241 242 // repeated double first = 10 [packed = true]; 243 int first_size() const; 244 void clear_first(); 245 static const int kFirstFieldNumber = 10; 246 double first(int index) const; 247 void set_first(int index, double value); 248 void add_first(double value); 249 const ::google::protobuf::RepeatedField< double >& 250 first() const; 251 ::google::protobuf::RepeatedField< double >* 252 mutable_first(); 253 254 // repeated double variance = 11 [packed = true]; 255 int variance_size() const; 256 void clear_variance(); 257 static const int kVarianceFieldNumber = 11; 258 double variance(int index) const; 259 void set_variance(int index, double value); 260 void add_variance(double value); 261 const ::google::protobuf::RepeatedField< double >& 262 variance() const; 263 ::google::protobuf::RepeatedField< double >* 264 mutable_variance(); 265 266 bool has_start_timestamp_nanos() const; 267 void clear_start_timestamp_nanos(); 268 static const int kStartTimestampNanosFieldNumber = 1; 269 ::google::protobuf::int64 start_timestamp_nanos() const; 270 void set_start_timestamp_nanos(::google::protobuf::int64 value); 271 272 bool has_sample_duration_nanos() const; 273 void clear_sample_duration_nanos(); 274 static const int kSampleDurationNanosFieldNumber = 2; 275 ::google::protobuf::int64 sample_duration_nanos() const; 276 void set_sample_duration_nanos(::google::protobuf::int64 value); 277 278 // @@protoc_insertion_point(class_scope:cockroach.roachpb.InternalTimeSeriesData) 279 private: 280 void set_has_start_timestamp_nanos(); 281 void clear_has_start_timestamp_nanos(); 282 void set_has_sample_duration_nanos(); 283 void clear_has_sample_duration_nanos(); 284 285 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 286 ::google::protobuf::internal::HasBits<1> _has_bits_; 287 mutable ::google::protobuf::internal::CachedSize _cached_size_; 288 ::google::protobuf::RepeatedPtrField< ::cockroach::roachpb::InternalTimeSeriesSample > samples_; 289 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > offset_; 290 mutable int _offset_cached_byte_size_; 291 ::google::protobuf::RepeatedField< double > last_; 292 mutable int _last_cached_byte_size_; 293 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > count_; 294 mutable int _count_cached_byte_size_; 295 ::google::protobuf::RepeatedField< double > sum_; 296 mutable int _sum_cached_byte_size_; 297 ::google::protobuf::RepeatedField< double > max_; 298 mutable int _max_cached_byte_size_; 299 ::google::protobuf::RepeatedField< double > min_; 300 mutable int _min_cached_byte_size_; 301 ::google::protobuf::RepeatedField< double > first_; 302 mutable int _first_cached_byte_size_; 303 ::google::protobuf::RepeatedField< double > variance_; 304 mutable int _variance_cached_byte_size_; 305 ::google::protobuf::int64 start_timestamp_nanos_; 306 ::google::protobuf::int64 sample_duration_nanos_; 307 friend struct ::protobuf_roachpb_2finternal_2eproto::TableStruct; 308 }; 309 // ------------------------------------------------------------------- 310 311 class InternalTimeSeriesSample : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.roachpb.InternalTimeSeriesSample) */ { 312 public: 313 InternalTimeSeriesSample(); 314 virtual ~InternalTimeSeriesSample(); 315 316 InternalTimeSeriesSample(const InternalTimeSeriesSample& from); 317 318 inline InternalTimeSeriesSample& operator=(const InternalTimeSeriesSample& from) { 319 CopyFrom(from); 320 return *this; 321 } 322 #if LANG_CXX11 323 InternalTimeSeriesSample(InternalTimeSeriesSample&& from) noexcept 324 : InternalTimeSeriesSample() { 325 *this = ::std::move(from); 326 } 327 328 inline InternalTimeSeriesSample& operator=(InternalTimeSeriesSample&& from) noexcept { 329 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 330 if (this != &from) InternalSwap(&from); 331 } else { 332 CopyFrom(from); 333 } 334 return *this; 335 } 336 #endif 337 inline const ::std::string& unknown_fields() const { 338 return _internal_metadata_.unknown_fields(); 339 } 340 inline ::std::string* mutable_unknown_fields() { 341 return _internal_metadata_.mutable_unknown_fields(); 342 } 343 344 static const InternalTimeSeriesSample& default_instance(); 345 346 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 347 static inline const InternalTimeSeriesSample* internal_default_instance() { 348 return reinterpret_cast<const InternalTimeSeriesSample*>( 349 &_InternalTimeSeriesSample_default_instance_); 350 } 351 static constexpr int kIndexInFileMessages = 352 1; 353 354 void Swap(InternalTimeSeriesSample* other); 355 friend void swap(InternalTimeSeriesSample& a, InternalTimeSeriesSample& b) { 356 a.Swap(&b); 357 } 358 359 // implements Message ---------------------------------------------- 360 361 inline InternalTimeSeriesSample* New() const final { 362 return CreateMaybeMessage<InternalTimeSeriesSample>(NULL); 363 } 364 365 InternalTimeSeriesSample* New(::google::protobuf::Arena* arena) const final { 366 return CreateMaybeMessage<InternalTimeSeriesSample>(arena); 367 } 368 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 369 final; 370 void CopyFrom(const InternalTimeSeriesSample& from); 371 void MergeFrom(const InternalTimeSeriesSample& from); 372 void Clear() final; 373 bool IsInitialized() const final; 374 375 size_t ByteSizeLong() const final; 376 bool MergePartialFromCodedStream( 377 ::google::protobuf::io::CodedInputStream* input) final; 378 void SerializeWithCachedSizes( 379 ::google::protobuf::io::CodedOutputStream* output) const final; 380 void DiscardUnknownFields(); 381 int GetCachedSize() const final { return _cached_size_.Get(); } 382 383 private: 384 void SharedCtor(); 385 void SharedDtor(); 386 void SetCachedSize(int size) const; 387 void InternalSwap(InternalTimeSeriesSample* other); 388 private: 389 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 390 return NULL; 391 } 392 inline void* MaybeArenaPtr() const { 393 return NULL; 394 } 395 public: 396 397 ::std::string GetTypeName() const final; 398 399 // nested types ---------------------------------------------------- 400 401 // accessors ------------------------------------------------------- 402 403 bool has_offset() const; 404 void clear_offset(); 405 static const int kOffsetFieldNumber = 1; 406 ::google::protobuf::int32 offset() const; 407 void set_offset(::google::protobuf::int32 value); 408 409 bool has_count() const; 410 void clear_count(); 411 static const int kCountFieldNumber = 6; 412 ::google::protobuf::uint32 count() const; 413 void set_count(::google::protobuf::uint32 value); 414 415 bool has_sum() const; 416 void clear_sum(); 417 static const int kSumFieldNumber = 7; 418 double sum() const; 419 void set_sum(double value); 420 421 // optional double max = 8; 422 bool has_max() const; 423 void clear_max(); 424 static const int kMaxFieldNumber = 8; 425 double max() const; 426 void set_max(double value); 427 428 // optional double min = 9; 429 bool has_min() const; 430 void clear_min(); 431 static const int kMinFieldNumber = 9; 432 double min() const; 433 void set_min(double value); 434 435 // @@protoc_insertion_point(class_scope:cockroach.roachpb.InternalTimeSeriesSample) 436 private: 437 void set_has_offset(); 438 void clear_has_offset(); 439 void set_has_sum(); 440 void clear_has_sum(); 441 void set_has_count(); 442 void clear_has_count(); 443 void set_has_max(); 444 void clear_has_max(); 445 void set_has_min(); 446 void clear_has_min(); 447 448 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 449 ::google::protobuf::internal::HasBits<1> _has_bits_; 450 mutable ::google::protobuf::internal::CachedSize _cached_size_; 451 ::google::protobuf::int32 offset_; 452 ::google::protobuf::uint32 count_; 453 double sum_; 454 double max_; 455 double min_; 456 friend struct ::protobuf_roachpb_2finternal_2eproto::TableStruct; 457 }; 458 // =================================================================== 459 460 461 // =================================================================== 462 463 #ifdef __GNUC__ 464 #pragma GCC diagnostic push 465 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 466 #endif // __GNUC__ 467 // InternalTimeSeriesData 468 469 inline bool InternalTimeSeriesData::has_start_timestamp_nanos() const { 470 return (_has_bits_[0] & 0x00000001u) != 0; 471 } 472 inline void InternalTimeSeriesData::set_has_start_timestamp_nanos() { 473 _has_bits_[0] |= 0x00000001u; 474 } 475 inline void InternalTimeSeriesData::clear_has_start_timestamp_nanos() { 476 _has_bits_[0] &= ~0x00000001u; 477 } 478 inline void InternalTimeSeriesData::clear_start_timestamp_nanos() { 479 start_timestamp_nanos_ = GOOGLE_LONGLONG(0); 480 clear_has_start_timestamp_nanos(); 481 } 482 inline ::google::protobuf::int64 InternalTimeSeriesData::start_timestamp_nanos() const { 483 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.start_timestamp_nanos) 484 return start_timestamp_nanos_; 485 } 486 inline void InternalTimeSeriesData::set_start_timestamp_nanos(::google::protobuf::int64 value) { 487 set_has_start_timestamp_nanos(); 488 start_timestamp_nanos_ = value; 489 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.start_timestamp_nanos) 490 } 491 492 inline bool InternalTimeSeriesData::has_sample_duration_nanos() const { 493 return (_has_bits_[0] & 0x00000002u) != 0; 494 } 495 inline void InternalTimeSeriesData::set_has_sample_duration_nanos() { 496 _has_bits_[0] |= 0x00000002u; 497 } 498 inline void InternalTimeSeriesData::clear_has_sample_duration_nanos() { 499 _has_bits_[0] &= ~0x00000002u; 500 } 501 inline void InternalTimeSeriesData::clear_sample_duration_nanos() { 502 sample_duration_nanos_ = GOOGLE_LONGLONG(0); 503 clear_has_sample_duration_nanos(); 504 } 505 inline ::google::protobuf::int64 InternalTimeSeriesData::sample_duration_nanos() const { 506 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.sample_duration_nanos) 507 return sample_duration_nanos_; 508 } 509 inline void InternalTimeSeriesData::set_sample_duration_nanos(::google::protobuf::int64 value) { 510 set_has_sample_duration_nanos(); 511 sample_duration_nanos_ = value; 512 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.sample_duration_nanos) 513 } 514 515 inline int InternalTimeSeriesData::samples_size() const { 516 return samples_.size(); 517 } 518 inline void InternalTimeSeriesData::clear_samples() { 519 samples_.Clear(); 520 } 521 inline ::cockroach::roachpb::InternalTimeSeriesSample* InternalTimeSeriesData::mutable_samples(int index) { 522 // @@protoc_insertion_point(field_mutable:cockroach.roachpb.InternalTimeSeriesData.samples) 523 return samples_.Mutable(index); 524 } 525 inline ::google::protobuf::RepeatedPtrField< ::cockroach::roachpb::InternalTimeSeriesSample >* 526 InternalTimeSeriesData::mutable_samples() { 527 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.samples) 528 return &samples_; 529 } 530 inline const ::cockroach::roachpb::InternalTimeSeriesSample& InternalTimeSeriesData::samples(int index) const { 531 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.samples) 532 return samples_.Get(index); 533 } 534 inline ::cockroach::roachpb::InternalTimeSeriesSample* InternalTimeSeriesData::add_samples() { 535 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.samples) 536 return samples_.Add(); 537 } 538 inline const ::google::protobuf::RepeatedPtrField< ::cockroach::roachpb::InternalTimeSeriesSample >& 539 InternalTimeSeriesData::samples() const { 540 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.samples) 541 return samples_; 542 } 543 544 // repeated int32 offset = 4 [packed = true]; 545 inline int InternalTimeSeriesData::offset_size() const { 546 return offset_.size(); 547 } 548 inline void InternalTimeSeriesData::clear_offset() { 549 offset_.Clear(); 550 } 551 inline ::google::protobuf::int32 InternalTimeSeriesData::offset(int index) const { 552 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.offset) 553 return offset_.Get(index); 554 } 555 inline void InternalTimeSeriesData::set_offset(int index, ::google::protobuf::int32 value) { 556 offset_.Set(index, value); 557 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.offset) 558 } 559 inline void InternalTimeSeriesData::add_offset(::google::protobuf::int32 value) { 560 offset_.Add(value); 561 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.offset) 562 } 563 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& 564 InternalTimeSeriesData::offset() const { 565 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.offset) 566 return offset_; 567 } 568 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 569 InternalTimeSeriesData::mutable_offset() { 570 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.offset) 571 return &offset_; 572 } 573 574 // repeated double last = 5 [packed = true]; 575 inline int InternalTimeSeriesData::last_size() const { 576 return last_.size(); 577 } 578 inline void InternalTimeSeriesData::clear_last() { 579 last_.Clear(); 580 } 581 inline double InternalTimeSeriesData::last(int index) const { 582 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.last) 583 return last_.Get(index); 584 } 585 inline void InternalTimeSeriesData::set_last(int index, double value) { 586 last_.Set(index, value); 587 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.last) 588 } 589 inline void InternalTimeSeriesData::add_last(double value) { 590 last_.Add(value); 591 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.last) 592 } 593 inline const ::google::protobuf::RepeatedField< double >& 594 InternalTimeSeriesData::last() const { 595 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.last) 596 return last_; 597 } 598 inline ::google::protobuf::RepeatedField< double >* 599 InternalTimeSeriesData::mutable_last() { 600 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.last) 601 return &last_; 602 } 603 604 // repeated uint32 count = 6 [packed = true]; 605 inline int InternalTimeSeriesData::count_size() const { 606 return count_.size(); 607 } 608 inline void InternalTimeSeriesData::clear_count() { 609 count_.Clear(); 610 } 611 inline ::google::protobuf::uint32 InternalTimeSeriesData::count(int index) const { 612 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.count) 613 return count_.Get(index); 614 } 615 inline void InternalTimeSeriesData::set_count(int index, ::google::protobuf::uint32 value) { 616 count_.Set(index, value); 617 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.count) 618 } 619 inline void InternalTimeSeriesData::add_count(::google::protobuf::uint32 value) { 620 count_.Add(value); 621 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.count) 622 } 623 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 624 InternalTimeSeriesData::count() const { 625 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.count) 626 return count_; 627 } 628 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 629 InternalTimeSeriesData::mutable_count() { 630 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.count) 631 return &count_; 632 } 633 634 // repeated double sum = 7 [packed = true]; 635 inline int InternalTimeSeriesData::sum_size() const { 636 return sum_.size(); 637 } 638 inline void InternalTimeSeriesData::clear_sum() { 639 sum_.Clear(); 640 } 641 inline double InternalTimeSeriesData::sum(int index) const { 642 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.sum) 643 return sum_.Get(index); 644 } 645 inline void InternalTimeSeriesData::set_sum(int index, double value) { 646 sum_.Set(index, value); 647 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.sum) 648 } 649 inline void InternalTimeSeriesData::add_sum(double value) { 650 sum_.Add(value); 651 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.sum) 652 } 653 inline const ::google::protobuf::RepeatedField< double >& 654 InternalTimeSeriesData::sum() const { 655 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.sum) 656 return sum_; 657 } 658 inline ::google::protobuf::RepeatedField< double >* 659 InternalTimeSeriesData::mutable_sum() { 660 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.sum) 661 return &sum_; 662 } 663 664 // repeated double max = 8 [packed = true]; 665 inline int InternalTimeSeriesData::max_size() const { 666 return max_.size(); 667 } 668 inline void InternalTimeSeriesData::clear_max() { 669 max_.Clear(); 670 } 671 inline double InternalTimeSeriesData::max(int index) const { 672 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.max) 673 return max_.Get(index); 674 } 675 inline void InternalTimeSeriesData::set_max(int index, double value) { 676 max_.Set(index, value); 677 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.max) 678 } 679 inline void InternalTimeSeriesData::add_max(double value) { 680 max_.Add(value); 681 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.max) 682 } 683 inline const ::google::protobuf::RepeatedField< double >& 684 InternalTimeSeriesData::max() const { 685 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.max) 686 return max_; 687 } 688 inline ::google::protobuf::RepeatedField< double >* 689 InternalTimeSeriesData::mutable_max() { 690 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.max) 691 return &max_; 692 } 693 694 // repeated double min = 9 [packed = true]; 695 inline int InternalTimeSeriesData::min_size() const { 696 return min_.size(); 697 } 698 inline void InternalTimeSeriesData::clear_min() { 699 min_.Clear(); 700 } 701 inline double InternalTimeSeriesData::min(int index) const { 702 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.min) 703 return min_.Get(index); 704 } 705 inline void InternalTimeSeriesData::set_min(int index, double value) { 706 min_.Set(index, value); 707 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.min) 708 } 709 inline void InternalTimeSeriesData::add_min(double value) { 710 min_.Add(value); 711 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.min) 712 } 713 inline const ::google::protobuf::RepeatedField< double >& 714 InternalTimeSeriesData::min() const { 715 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.min) 716 return min_; 717 } 718 inline ::google::protobuf::RepeatedField< double >* 719 InternalTimeSeriesData::mutable_min() { 720 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.min) 721 return &min_; 722 } 723 724 // repeated double first = 10 [packed = true]; 725 inline int InternalTimeSeriesData::first_size() const { 726 return first_.size(); 727 } 728 inline void InternalTimeSeriesData::clear_first() { 729 first_.Clear(); 730 } 731 inline double InternalTimeSeriesData::first(int index) const { 732 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.first) 733 return first_.Get(index); 734 } 735 inline void InternalTimeSeriesData::set_first(int index, double value) { 736 first_.Set(index, value); 737 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.first) 738 } 739 inline void InternalTimeSeriesData::add_first(double value) { 740 first_.Add(value); 741 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.first) 742 } 743 inline const ::google::protobuf::RepeatedField< double >& 744 InternalTimeSeriesData::first() const { 745 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.first) 746 return first_; 747 } 748 inline ::google::protobuf::RepeatedField< double >* 749 InternalTimeSeriesData::mutable_first() { 750 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.first) 751 return &first_; 752 } 753 754 // repeated double variance = 11 [packed = true]; 755 inline int InternalTimeSeriesData::variance_size() const { 756 return variance_.size(); 757 } 758 inline void InternalTimeSeriesData::clear_variance() { 759 variance_.Clear(); 760 } 761 inline double InternalTimeSeriesData::variance(int index) const { 762 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesData.variance) 763 return variance_.Get(index); 764 } 765 inline void InternalTimeSeriesData::set_variance(int index, double value) { 766 variance_.Set(index, value); 767 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesData.variance) 768 } 769 inline void InternalTimeSeriesData::add_variance(double value) { 770 variance_.Add(value); 771 // @@protoc_insertion_point(field_add:cockroach.roachpb.InternalTimeSeriesData.variance) 772 } 773 inline const ::google::protobuf::RepeatedField< double >& 774 InternalTimeSeriesData::variance() const { 775 // @@protoc_insertion_point(field_list:cockroach.roachpb.InternalTimeSeriesData.variance) 776 return variance_; 777 } 778 inline ::google::protobuf::RepeatedField< double >* 779 InternalTimeSeriesData::mutable_variance() { 780 // @@protoc_insertion_point(field_mutable_list:cockroach.roachpb.InternalTimeSeriesData.variance) 781 return &variance_; 782 } 783 784 // ------------------------------------------------------------------- 785 786 // InternalTimeSeriesSample 787 788 inline bool InternalTimeSeriesSample::has_offset() const { 789 return (_has_bits_[0] & 0x00000001u) != 0; 790 } 791 inline void InternalTimeSeriesSample::set_has_offset() { 792 _has_bits_[0] |= 0x00000001u; 793 } 794 inline void InternalTimeSeriesSample::clear_has_offset() { 795 _has_bits_[0] &= ~0x00000001u; 796 } 797 inline void InternalTimeSeriesSample::clear_offset() { 798 offset_ = 0; 799 clear_has_offset(); 800 } 801 inline ::google::protobuf::int32 InternalTimeSeriesSample::offset() const { 802 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesSample.offset) 803 return offset_; 804 } 805 inline void InternalTimeSeriesSample::set_offset(::google::protobuf::int32 value) { 806 set_has_offset(); 807 offset_ = value; 808 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesSample.offset) 809 } 810 811 inline bool InternalTimeSeriesSample::has_sum() const { 812 return (_has_bits_[0] & 0x00000004u) != 0; 813 } 814 inline void InternalTimeSeriesSample::set_has_sum() { 815 _has_bits_[0] |= 0x00000004u; 816 } 817 inline void InternalTimeSeriesSample::clear_has_sum() { 818 _has_bits_[0] &= ~0x00000004u; 819 } 820 inline void InternalTimeSeriesSample::clear_sum() { 821 sum_ = 0; 822 clear_has_sum(); 823 } 824 inline double InternalTimeSeriesSample::sum() const { 825 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesSample.sum) 826 return sum_; 827 } 828 inline void InternalTimeSeriesSample::set_sum(double value) { 829 set_has_sum(); 830 sum_ = value; 831 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesSample.sum) 832 } 833 834 inline bool InternalTimeSeriesSample::has_count() const { 835 return (_has_bits_[0] & 0x00000002u) != 0; 836 } 837 inline void InternalTimeSeriesSample::set_has_count() { 838 _has_bits_[0] |= 0x00000002u; 839 } 840 inline void InternalTimeSeriesSample::clear_has_count() { 841 _has_bits_[0] &= ~0x00000002u; 842 } 843 inline void InternalTimeSeriesSample::clear_count() { 844 count_ = 0u; 845 clear_has_count(); 846 } 847 inline ::google::protobuf::uint32 InternalTimeSeriesSample::count() const { 848 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesSample.count) 849 return count_; 850 } 851 inline void InternalTimeSeriesSample::set_count(::google::protobuf::uint32 value) { 852 set_has_count(); 853 count_ = value; 854 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesSample.count) 855 } 856 857 // optional double max = 8; 858 inline bool InternalTimeSeriesSample::has_max() const { 859 return (_has_bits_[0] & 0x00000008u) != 0; 860 } 861 inline void InternalTimeSeriesSample::set_has_max() { 862 _has_bits_[0] |= 0x00000008u; 863 } 864 inline void InternalTimeSeriesSample::clear_has_max() { 865 _has_bits_[0] &= ~0x00000008u; 866 } 867 inline void InternalTimeSeriesSample::clear_max() { 868 max_ = 0; 869 clear_has_max(); 870 } 871 inline double InternalTimeSeriesSample::max() const { 872 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesSample.max) 873 return max_; 874 } 875 inline void InternalTimeSeriesSample::set_max(double value) { 876 set_has_max(); 877 max_ = value; 878 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesSample.max) 879 } 880 881 // optional double min = 9; 882 inline bool InternalTimeSeriesSample::has_min() const { 883 return (_has_bits_[0] & 0x00000010u) != 0; 884 } 885 inline void InternalTimeSeriesSample::set_has_min() { 886 _has_bits_[0] |= 0x00000010u; 887 } 888 inline void InternalTimeSeriesSample::clear_has_min() { 889 _has_bits_[0] &= ~0x00000010u; 890 } 891 inline void InternalTimeSeriesSample::clear_min() { 892 min_ = 0; 893 clear_has_min(); 894 } 895 inline double InternalTimeSeriesSample::min() const { 896 // @@protoc_insertion_point(field_get:cockroach.roachpb.InternalTimeSeriesSample.min) 897 return min_; 898 } 899 inline void InternalTimeSeriesSample::set_min(double value) { 900 set_has_min(); 901 min_ = value; 902 // @@protoc_insertion_point(field_set:cockroach.roachpb.InternalTimeSeriesSample.min) 903 } 904 905 #ifdef __GNUC__ 906 #pragma GCC diagnostic pop 907 #endif // __GNUC__ 908 // ------------------------------------------------------------------- 909 910 911 // @@protoc_insertion_point(namespace_scope) 912 913 } // namespace roachpb 914 } // namespace cockroach 915 916 // @@protoc_insertion_point(global_scope) 917 918 #endif // PROTOBUF_INCLUDED_roachpb_2finternal_2eproto