~alinuxninja/nginx-edge/trunk

« back to all changes in this revision

Viewing changes to debian/modules/ngx_pagespeed/psol/include/out/Release/obj/gen/protoc_out/instaweb/net/instaweb/util/property_cache.pb.h

  • Committer: Vivian
  • Date: 2015-12-04 18:20:11 UTC
  • Revision ID: git-v1:a36f2bc32e884f7473b3a47040e5411306144d7d
* Do not extract psol.tar.gz

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
 
// source: net/instaweb/util/property_cache.proto
3
 
 
4
 
#ifndef PROTOBUF_net_2finstaweb_2futil_2fproperty_5fcache_2eproto__INCLUDED
5
 
#define PROTOBUF_net_2finstaweb_2futil_2fproperty_5fcache_2eproto__INCLUDED
6
 
 
7
 
#include <string>
8
 
 
9
 
#include <google/protobuf/stubs/common.h>
10
 
 
11
 
#if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < 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/generated_message_util.h>
23
 
#include <google/protobuf/message_lite.h>
24
 
#include <google/protobuf/repeated_field.h>
25
 
#include <google/protobuf/extension_set.h>
26
 
// @@protoc_insertion_point(includes)
27
 
 
28
 
namespace net_instaweb {
29
 
 
30
 
// Internal implementation detail -- do not call these.
31
 
void  protobuf_AddDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
32
 
void protobuf_AssignDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
33
 
void protobuf_ShutdownFile_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
34
 
 
35
 
class PropertyValueProtobuf;
36
 
class PropertyCacheValues;
37
 
 
38
 
// ===================================================================
39
 
 
40
 
class PropertyValueProtobuf : public ::google::protobuf::MessageLite {
41
 
 public:
42
 
  PropertyValueProtobuf();
43
 
  virtual ~PropertyValueProtobuf();
44
 
 
45
 
  PropertyValueProtobuf(const PropertyValueProtobuf& from);
46
 
 
47
 
  inline PropertyValueProtobuf& operator=(const PropertyValueProtobuf& from) {
48
 
    CopyFrom(from);
49
 
    return *this;
50
 
  }
51
 
 
52
 
  static const PropertyValueProtobuf& default_instance();
53
 
 
54
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
55
 
  // Returns the internal default instance pointer. This function can
56
 
  // return NULL thus should not be used by the user. This is intended
57
 
  // for Protobuf internal code. Please use default_instance() declared
58
 
  // above instead.
59
 
  static inline const PropertyValueProtobuf* internal_default_instance() {
60
 
    return default_instance_;
61
 
  }
62
 
  #endif
63
 
 
64
 
  void Swap(PropertyValueProtobuf* other);
65
 
 
66
 
  // implements Message ----------------------------------------------
67
 
 
68
 
  PropertyValueProtobuf* New() const;
69
 
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
70
 
  void CopyFrom(const PropertyValueProtobuf& from);
71
 
  void MergeFrom(const PropertyValueProtobuf& from);
72
 
  void Clear();
73
 
  bool IsInitialized() const;
74
 
 
75
 
  int ByteSize() const;
76
 
  bool MergePartialFromCodedStream(
77
 
      ::google::protobuf::io::CodedInputStream* input);
78
 
  void SerializeWithCachedSizes(
79
 
      ::google::protobuf::io::CodedOutputStream* output) const;
80
 
  int GetCachedSize() const { return _cached_size_; }
81
 
  private:
82
 
  void SharedCtor();
83
 
  void SharedDtor();
84
 
  void SetCachedSize(int size) const;
85
 
  public:
86
 
 
87
 
  ::std::string GetTypeName() const;
88
 
 
89
 
  // nested types ----------------------------------------------------
90
 
 
91
 
  // accessors -------------------------------------------------------
92
 
 
93
 
  // optional string name = 1;
94
 
  inline bool has_name() const;
95
 
  inline void clear_name();
96
 
  static const int kNameFieldNumber = 1;
97
 
  inline const ::std::string& name() const;
98
 
  inline void set_name(const ::std::string& value);
99
 
  inline void set_name(const char* value);
100
 
  inline void set_name(const char* value, size_t size);
101
 
  inline ::std::string* mutable_name();
102
 
  inline ::std::string* release_name();
103
 
  inline void set_allocated_name(::std::string* name);
104
 
 
105
 
  // optional bytes body = 2;
106
 
  inline bool has_body() const;
107
 
  inline void clear_body();
108
 
  static const int kBodyFieldNumber = 2;
109
 
  inline const ::std::string& body() const;
110
 
  inline void set_body(const ::std::string& value);
111
 
  inline void set_body(const char* value);
112
 
  inline void set_body(const void* value, size_t size);
113
 
  inline ::std::string* mutable_body();
114
 
  inline ::std::string* release_body();
115
 
  inline void set_allocated_body(::std::string* body);
116
 
 
117
 
  // optional int64 write_timestamp_ms = 3;
118
 
  inline bool has_write_timestamp_ms() const;
119
 
  inline void clear_write_timestamp_ms();
120
 
  static const int kWriteTimestampMsFieldNumber = 3;
121
 
  inline ::google::protobuf::int64 write_timestamp_ms() const;
122
 
  inline void set_write_timestamp_ms(::google::protobuf::int64 value);
123
 
 
124
 
  // optional uint64 update_mask = 4 [default = 0];
125
 
  inline bool has_update_mask() const;
126
 
  inline void clear_update_mask();
127
 
  static const int kUpdateMaskFieldNumber = 4;
128
 
  inline ::google::protobuf::uint64 update_mask() const;
129
 
  inline void set_update_mask(::google::protobuf::uint64 value);
130
 
 
131
 
  // optional int64 num_writes = 5 [default = 0];
132
 
  inline bool has_num_writes() const;
133
 
  inline void clear_num_writes();
134
 
  static const int kNumWritesFieldNumber = 5;
135
 
  inline ::google::protobuf::int64 num_writes() const;
136
 
  inline void set_num_writes(::google::protobuf::int64 value);
137
 
 
138
 
  // @@protoc_insertion_point(class_scope:net_instaweb.PropertyValueProtobuf)
139
 
 private:
140
 
  inline void set_has_name();
141
 
  inline void clear_has_name();
142
 
  inline void set_has_body();
143
 
  inline void clear_has_body();
144
 
  inline void set_has_write_timestamp_ms();
145
 
  inline void clear_has_write_timestamp_ms();
146
 
  inline void set_has_update_mask();
147
 
  inline void clear_has_update_mask();
148
 
  inline void set_has_num_writes();
149
 
  inline void clear_has_num_writes();
150
 
 
151
 
  ::std::string* name_;
152
 
  ::std::string* body_;
153
 
  ::google::protobuf::int64 write_timestamp_ms_;
154
 
  ::google::protobuf::uint64 update_mask_;
155
 
  ::google::protobuf::int64 num_writes_;
156
 
 
157
 
  mutable int _cached_size_;
158
 
  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
159
 
 
160
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
161
 
  friend void  protobuf_AddDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto_impl();
162
 
  #else
163
 
  friend void  protobuf_AddDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
164
 
  #endif
165
 
  friend void protobuf_AssignDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
166
 
  friend void protobuf_ShutdownFile_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
167
 
 
168
 
  void InitAsDefaultInstance();
169
 
  static PropertyValueProtobuf* default_instance_;
170
 
};
171
 
// -------------------------------------------------------------------
172
 
 
173
 
class PropertyCacheValues : public ::google::protobuf::MessageLite {
174
 
 public:
175
 
  PropertyCacheValues();
176
 
  virtual ~PropertyCacheValues();
177
 
 
178
 
  PropertyCacheValues(const PropertyCacheValues& from);
179
 
 
180
 
  inline PropertyCacheValues& operator=(const PropertyCacheValues& from) {
181
 
    CopyFrom(from);
182
 
    return *this;
183
 
  }
184
 
 
185
 
  static const PropertyCacheValues& default_instance();
186
 
 
187
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
188
 
  // Returns the internal default instance pointer. This function can
189
 
  // return NULL thus should not be used by the user. This is intended
190
 
  // for Protobuf internal code. Please use default_instance() declared
191
 
  // above instead.
192
 
  static inline const PropertyCacheValues* internal_default_instance() {
193
 
    return default_instance_;
194
 
  }
195
 
  #endif
196
 
 
197
 
  void Swap(PropertyCacheValues* other);
198
 
 
199
 
  // implements Message ----------------------------------------------
200
 
 
201
 
  PropertyCacheValues* New() const;
202
 
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
203
 
  void CopyFrom(const PropertyCacheValues& from);
204
 
  void MergeFrom(const PropertyCacheValues& from);
205
 
  void Clear();
206
 
  bool IsInitialized() const;
207
 
 
208
 
  int ByteSize() const;
209
 
  bool MergePartialFromCodedStream(
210
 
      ::google::protobuf::io::CodedInputStream* input);
211
 
  void SerializeWithCachedSizes(
212
 
      ::google::protobuf::io::CodedOutputStream* output) const;
213
 
  int GetCachedSize() const { return _cached_size_; }
214
 
  private:
215
 
  void SharedCtor();
216
 
  void SharedDtor();
217
 
  void SetCachedSize(int size) const;
218
 
  public:
219
 
 
220
 
  ::std::string GetTypeName() const;
221
 
 
222
 
  // nested types ----------------------------------------------------
223
 
 
224
 
  // accessors -------------------------------------------------------
225
 
 
226
 
  // repeated .net_instaweb.PropertyValueProtobuf value = 1;
227
 
  inline int value_size() const;
228
 
  inline void clear_value();
229
 
  static const int kValueFieldNumber = 1;
230
 
  inline const ::net_instaweb::PropertyValueProtobuf& value(int index) const;
231
 
  inline ::net_instaweb::PropertyValueProtobuf* mutable_value(int index);
232
 
  inline ::net_instaweb::PropertyValueProtobuf* add_value();
233
 
  inline const ::google::protobuf::RepeatedPtrField< ::net_instaweb::PropertyValueProtobuf >&
234
 
      value() const;
235
 
  inline ::google::protobuf::RepeatedPtrField< ::net_instaweb::PropertyValueProtobuf >*
236
 
      mutable_value();
237
 
 
238
 
  // @@protoc_insertion_point(class_scope:net_instaweb.PropertyCacheValues)
239
 
 private:
240
 
 
241
 
  ::google::protobuf::RepeatedPtrField< ::net_instaweb::PropertyValueProtobuf > value_;
242
 
 
243
 
  mutable int _cached_size_;
244
 
  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
245
 
 
246
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
247
 
  friend void  protobuf_AddDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto_impl();
248
 
  #else
249
 
  friend void  protobuf_AddDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
250
 
  #endif
251
 
  friend void protobuf_AssignDesc_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
252
 
  friend void protobuf_ShutdownFile_net_2finstaweb_2futil_2fproperty_5fcache_2eproto();
253
 
 
254
 
  void InitAsDefaultInstance();
255
 
  static PropertyCacheValues* default_instance_;
256
 
};
257
 
// ===================================================================
258
 
 
259
 
 
260
 
// ===================================================================
261
 
 
262
 
// PropertyValueProtobuf
263
 
 
264
 
// optional string name = 1;
265
 
inline bool PropertyValueProtobuf::has_name() const {
266
 
  return (_has_bits_[0] & 0x00000001u) != 0;
267
 
}
268
 
inline void PropertyValueProtobuf::set_has_name() {
269
 
  _has_bits_[0] |= 0x00000001u;
270
 
}
271
 
inline void PropertyValueProtobuf::clear_has_name() {
272
 
  _has_bits_[0] &= ~0x00000001u;
273
 
}
274
 
inline void PropertyValueProtobuf::clear_name() {
275
 
  if (name_ != &::google::protobuf::internal::GetEmptyString()) {
276
 
    name_->clear();
277
 
  }
278
 
  clear_has_name();
279
 
}
280
 
inline const ::std::string& PropertyValueProtobuf::name() const {
281
 
  return *name_;
282
 
}
283
 
inline void PropertyValueProtobuf::set_name(const ::std::string& value) {
284
 
  set_has_name();
285
 
  if (name_ == &::google::protobuf::internal::GetEmptyString()) {
286
 
    name_ = new ::std::string;
287
 
  }
288
 
  name_->assign(value);
289
 
}
290
 
inline void PropertyValueProtobuf::set_name(const char* value) {
291
 
  set_has_name();
292
 
  if (name_ == &::google::protobuf::internal::GetEmptyString()) {
293
 
    name_ = new ::std::string;
294
 
  }
295
 
  name_->assign(value);
296
 
}
297
 
inline void PropertyValueProtobuf::set_name(const char* value, size_t size) {
298
 
  set_has_name();
299
 
  if (name_ == &::google::protobuf::internal::GetEmptyString()) {
300
 
    name_ = new ::std::string;
301
 
  }
302
 
  name_->assign(reinterpret_cast<const char*>(value), size);
303
 
}
304
 
inline ::std::string* PropertyValueProtobuf::mutable_name() {
305
 
  set_has_name();
306
 
  if (name_ == &::google::protobuf::internal::GetEmptyString()) {
307
 
    name_ = new ::std::string;
308
 
  }
309
 
  return name_;
310
 
}
311
 
inline ::std::string* PropertyValueProtobuf::release_name() {
312
 
  clear_has_name();
313
 
  if (name_ == &::google::protobuf::internal::GetEmptyString()) {
314
 
    return NULL;
315
 
  } else {
316
 
    ::std::string* temp = name_;
317
 
    name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
318
 
    return temp;
319
 
  }
320
 
}
321
 
inline void PropertyValueProtobuf::set_allocated_name(::std::string* name) {
322
 
  if (name_ != &::google::protobuf::internal::GetEmptyString()) {
323
 
    delete name_;
324
 
  }
325
 
  if (name) {
326
 
    set_has_name();
327
 
    name_ = name;
328
 
  } else {
329
 
    clear_has_name();
330
 
    name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
331
 
  }
332
 
}
333
 
 
334
 
// optional bytes body = 2;
335
 
inline bool PropertyValueProtobuf::has_body() const {
336
 
  return (_has_bits_[0] & 0x00000002u) != 0;
337
 
}
338
 
inline void PropertyValueProtobuf::set_has_body() {
339
 
  _has_bits_[0] |= 0x00000002u;
340
 
}
341
 
inline void PropertyValueProtobuf::clear_has_body() {
342
 
  _has_bits_[0] &= ~0x00000002u;
343
 
}
344
 
inline void PropertyValueProtobuf::clear_body() {
345
 
  if (body_ != &::google::protobuf::internal::GetEmptyString()) {
346
 
    body_->clear();
347
 
  }
348
 
  clear_has_body();
349
 
}
350
 
inline const ::std::string& PropertyValueProtobuf::body() const {
351
 
  return *body_;
352
 
}
353
 
inline void PropertyValueProtobuf::set_body(const ::std::string& value) {
354
 
  set_has_body();
355
 
  if (body_ == &::google::protobuf::internal::GetEmptyString()) {
356
 
    body_ = new ::std::string;
357
 
  }
358
 
  body_->assign(value);
359
 
}
360
 
inline void PropertyValueProtobuf::set_body(const char* value) {
361
 
  set_has_body();
362
 
  if (body_ == &::google::protobuf::internal::GetEmptyString()) {
363
 
    body_ = new ::std::string;
364
 
  }
365
 
  body_->assign(value);
366
 
}
367
 
inline void PropertyValueProtobuf::set_body(const void* value, size_t size) {
368
 
  set_has_body();
369
 
  if (body_ == &::google::protobuf::internal::GetEmptyString()) {
370
 
    body_ = new ::std::string;
371
 
  }
372
 
  body_->assign(reinterpret_cast<const char*>(value), size);
373
 
}
374
 
inline ::std::string* PropertyValueProtobuf::mutable_body() {
375
 
  set_has_body();
376
 
  if (body_ == &::google::protobuf::internal::GetEmptyString()) {
377
 
    body_ = new ::std::string;
378
 
  }
379
 
  return body_;
380
 
}
381
 
inline ::std::string* PropertyValueProtobuf::release_body() {
382
 
  clear_has_body();
383
 
  if (body_ == &::google::protobuf::internal::GetEmptyString()) {
384
 
    return NULL;
385
 
  } else {
386
 
    ::std::string* temp = body_;
387
 
    body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
388
 
    return temp;
389
 
  }
390
 
}
391
 
inline void PropertyValueProtobuf::set_allocated_body(::std::string* body) {
392
 
  if (body_ != &::google::protobuf::internal::GetEmptyString()) {
393
 
    delete body_;
394
 
  }
395
 
  if (body) {
396
 
    set_has_body();
397
 
    body_ = body;
398
 
  } else {
399
 
    clear_has_body();
400
 
    body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
401
 
  }
402
 
}
403
 
 
404
 
// optional int64 write_timestamp_ms = 3;
405
 
inline bool PropertyValueProtobuf::has_write_timestamp_ms() const {
406
 
  return (_has_bits_[0] & 0x00000004u) != 0;
407
 
}
408
 
inline void PropertyValueProtobuf::set_has_write_timestamp_ms() {
409
 
  _has_bits_[0] |= 0x00000004u;
410
 
}
411
 
inline void PropertyValueProtobuf::clear_has_write_timestamp_ms() {
412
 
  _has_bits_[0] &= ~0x00000004u;
413
 
}
414
 
inline void PropertyValueProtobuf::clear_write_timestamp_ms() {
415
 
  write_timestamp_ms_ = GOOGLE_LONGLONG(0);
416
 
  clear_has_write_timestamp_ms();
417
 
}
418
 
inline ::google::protobuf::int64 PropertyValueProtobuf::write_timestamp_ms() const {
419
 
  return write_timestamp_ms_;
420
 
}
421
 
inline void PropertyValueProtobuf::set_write_timestamp_ms(::google::protobuf::int64 value) {
422
 
  set_has_write_timestamp_ms();
423
 
  write_timestamp_ms_ = value;
424
 
}
425
 
 
426
 
// optional uint64 update_mask = 4 [default = 0];
427
 
inline bool PropertyValueProtobuf::has_update_mask() const {
428
 
  return (_has_bits_[0] & 0x00000008u) != 0;
429
 
}
430
 
inline void PropertyValueProtobuf::set_has_update_mask() {
431
 
  _has_bits_[0] |= 0x00000008u;
432
 
}
433
 
inline void PropertyValueProtobuf::clear_has_update_mask() {
434
 
  _has_bits_[0] &= ~0x00000008u;
435
 
}
436
 
inline void PropertyValueProtobuf::clear_update_mask() {
437
 
  update_mask_ = GOOGLE_ULONGLONG(0);
438
 
  clear_has_update_mask();
439
 
}
440
 
inline ::google::protobuf::uint64 PropertyValueProtobuf::update_mask() const {
441
 
  return update_mask_;
442
 
}
443
 
inline void PropertyValueProtobuf::set_update_mask(::google::protobuf::uint64 value) {
444
 
  set_has_update_mask();
445
 
  update_mask_ = value;
446
 
}
447
 
 
448
 
// optional int64 num_writes = 5 [default = 0];
449
 
inline bool PropertyValueProtobuf::has_num_writes() const {
450
 
  return (_has_bits_[0] & 0x00000010u) != 0;
451
 
}
452
 
inline void PropertyValueProtobuf::set_has_num_writes() {
453
 
  _has_bits_[0] |= 0x00000010u;
454
 
}
455
 
inline void PropertyValueProtobuf::clear_has_num_writes() {
456
 
  _has_bits_[0] &= ~0x00000010u;
457
 
}
458
 
inline void PropertyValueProtobuf::clear_num_writes() {
459
 
  num_writes_ = GOOGLE_LONGLONG(0);
460
 
  clear_has_num_writes();
461
 
}
462
 
inline ::google::protobuf::int64 PropertyValueProtobuf::num_writes() const {
463
 
  return num_writes_;
464
 
}
465
 
inline void PropertyValueProtobuf::set_num_writes(::google::protobuf::int64 value) {
466
 
  set_has_num_writes();
467
 
  num_writes_ = value;
468
 
}
469
 
 
470
 
// -------------------------------------------------------------------
471
 
 
472
 
// PropertyCacheValues
473
 
 
474
 
// repeated .net_instaweb.PropertyValueProtobuf value = 1;
475
 
inline int PropertyCacheValues::value_size() const {
476
 
  return value_.size();
477
 
}
478
 
inline void PropertyCacheValues::clear_value() {
479
 
  value_.Clear();
480
 
}
481
 
inline const ::net_instaweb::PropertyValueProtobuf& PropertyCacheValues::value(int index) const {
482
 
  return value_.Get(index);
483
 
}
484
 
inline ::net_instaweb::PropertyValueProtobuf* PropertyCacheValues::mutable_value(int index) {
485
 
  return value_.Mutable(index);
486
 
}
487
 
inline ::net_instaweb::PropertyValueProtobuf* PropertyCacheValues::add_value() {
488
 
  return value_.Add();
489
 
}
490
 
inline const ::google::protobuf::RepeatedPtrField< ::net_instaweb::PropertyValueProtobuf >&
491
 
PropertyCacheValues::value() const {
492
 
  return value_;
493
 
}
494
 
inline ::google::protobuf::RepeatedPtrField< ::net_instaweb::PropertyValueProtobuf >*
495
 
PropertyCacheValues::mutable_value() {
496
 
  return &value_;
497
 
}
498
 
 
499
 
 
500
 
// @@protoc_insertion_point(namespace_scope)
501
 
 
502
 
}  // namespace net_instaweb
503
 
 
504
 
// @@protoc_insertion_point(global_scope)
505
 
 
506
 
#endif  // PROTOBUF_net_2finstaweb_2futil_2fproperty_5fcache_2eproto__INCLUDED