~alinuxninja/nginx-edge/trunk

« back to all changes in this revision

Viewing changes to debian/modules/ngx_pagespeed/psol/include/out/Debug/obj/gen/protoc_out/instaweb/net/instaweb/rewriter/critical_line_info.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/rewriter/critical_line_info.proto
3
 
 
4
 
#ifndef PROTOBUF_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto__INCLUDED
5
 
#define PROTOBUF_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_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_2frewriter_2fcritical_5fline_5finfo_2eproto();
32
 
void protobuf_AssignDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
33
 
void protobuf_ShutdownFile_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
34
 
 
35
 
class CriticalLineInfo;
36
 
class Panel;
37
 
 
38
 
// ===================================================================
39
 
 
40
 
class CriticalLineInfo : public ::google::protobuf::MessageLite {
41
 
 public:
42
 
  CriticalLineInfo();
43
 
  virtual ~CriticalLineInfo();
44
 
 
45
 
  CriticalLineInfo(const CriticalLineInfo& from);
46
 
 
47
 
  inline CriticalLineInfo& operator=(const CriticalLineInfo& from) {
48
 
    CopyFrom(from);
49
 
    return *this;
50
 
  }
51
 
 
52
 
  static const CriticalLineInfo& 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 CriticalLineInfo* internal_default_instance() {
60
 
    return default_instance_;
61
 
  }
62
 
  #endif
63
 
 
64
 
  void Swap(CriticalLineInfo* other);
65
 
 
66
 
  // implements Message ----------------------------------------------
67
 
 
68
 
  CriticalLineInfo* New() const;
69
 
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
70
 
  void CopyFrom(const CriticalLineInfo& from);
71
 
  void MergeFrom(const CriticalLineInfo& 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
 
  // repeated .net_instaweb.Panel panels = 1;
94
 
  inline int panels_size() const;
95
 
  inline void clear_panels();
96
 
  static const int kPanelsFieldNumber = 1;
97
 
  inline const ::net_instaweb::Panel& panels(int index) const;
98
 
  inline ::net_instaweb::Panel* mutable_panels(int index);
99
 
  inline ::net_instaweb::Panel* add_panels();
100
 
  inline const ::google::protobuf::RepeatedPtrField< ::net_instaweb::Panel >&
101
 
      panels() const;
102
 
  inline ::google::protobuf::RepeatedPtrField< ::net_instaweb::Panel >*
103
 
      mutable_panels();
104
 
 
105
 
  // @@protoc_insertion_point(class_scope:net_instaweb.CriticalLineInfo)
106
 
 private:
107
 
 
108
 
  ::google::protobuf::RepeatedPtrField< ::net_instaweb::Panel > panels_;
109
 
 
110
 
  mutable int _cached_size_;
111
 
  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
112
 
 
113
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
114
 
  friend void  protobuf_AddDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto_impl();
115
 
  #else
116
 
  friend void  protobuf_AddDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
117
 
  #endif
118
 
  friend void protobuf_AssignDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
119
 
  friend void protobuf_ShutdownFile_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
120
 
 
121
 
  void InitAsDefaultInstance();
122
 
  static CriticalLineInfo* default_instance_;
123
 
};
124
 
// -------------------------------------------------------------------
125
 
 
126
 
class Panel : public ::google::protobuf::MessageLite {
127
 
 public:
128
 
  Panel();
129
 
  virtual ~Panel();
130
 
 
131
 
  Panel(const Panel& from);
132
 
 
133
 
  inline Panel& operator=(const Panel& from) {
134
 
    CopyFrom(from);
135
 
    return *this;
136
 
  }
137
 
 
138
 
  static const Panel& default_instance();
139
 
 
140
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
141
 
  // Returns the internal default instance pointer. This function can
142
 
  // return NULL thus should not be used by the user. This is intended
143
 
  // for Protobuf internal code. Please use default_instance() declared
144
 
  // above instead.
145
 
  static inline const Panel* internal_default_instance() {
146
 
    return default_instance_;
147
 
  }
148
 
  #endif
149
 
 
150
 
  void Swap(Panel* other);
151
 
 
152
 
  // implements Message ----------------------------------------------
153
 
 
154
 
  Panel* New() const;
155
 
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
156
 
  void CopyFrom(const Panel& from);
157
 
  void MergeFrom(const Panel& from);
158
 
  void Clear();
159
 
  bool IsInitialized() const;
160
 
 
161
 
  int ByteSize() const;
162
 
  bool MergePartialFromCodedStream(
163
 
      ::google::protobuf::io::CodedInputStream* input);
164
 
  void SerializeWithCachedSizes(
165
 
      ::google::protobuf::io::CodedOutputStream* output) const;
166
 
  int GetCachedSize() const { return _cached_size_; }
167
 
  private:
168
 
  void SharedCtor();
169
 
  void SharedDtor();
170
 
  void SetCachedSize(int size) const;
171
 
  public:
172
 
 
173
 
  ::std::string GetTypeName() const;
174
 
 
175
 
  // nested types ----------------------------------------------------
176
 
 
177
 
  // accessors -------------------------------------------------------
178
 
 
179
 
  // required string start_xpath = 1;
180
 
  inline bool has_start_xpath() const;
181
 
  inline void clear_start_xpath();
182
 
  static const int kStartXpathFieldNumber = 1;
183
 
  inline const ::std::string& start_xpath() const;
184
 
  inline void set_start_xpath(const ::std::string& value);
185
 
  inline void set_start_xpath(const char* value);
186
 
  inline void set_start_xpath(const char* value, size_t size);
187
 
  inline ::std::string* mutable_start_xpath();
188
 
  inline ::std::string* release_start_xpath();
189
 
  inline void set_allocated_start_xpath(::std::string* start_xpath);
190
 
 
191
 
  // optional string end_marker_xpath = 2;
192
 
  inline bool has_end_marker_xpath() const;
193
 
  inline void clear_end_marker_xpath();
194
 
  static const int kEndMarkerXpathFieldNumber = 2;
195
 
  inline const ::std::string& end_marker_xpath() const;
196
 
  inline void set_end_marker_xpath(const ::std::string& value);
197
 
  inline void set_end_marker_xpath(const char* value);
198
 
  inline void set_end_marker_xpath(const char* value, size_t size);
199
 
  inline ::std::string* mutable_end_marker_xpath();
200
 
  inline ::std::string* release_end_marker_xpath();
201
 
  inline void set_allocated_end_marker_xpath(::std::string* end_marker_xpath);
202
 
 
203
 
  // @@protoc_insertion_point(class_scope:net_instaweb.Panel)
204
 
 private:
205
 
  inline void set_has_start_xpath();
206
 
  inline void clear_has_start_xpath();
207
 
  inline void set_has_end_marker_xpath();
208
 
  inline void clear_has_end_marker_xpath();
209
 
 
210
 
  ::std::string* start_xpath_;
211
 
  ::std::string* end_marker_xpath_;
212
 
 
213
 
  mutable int _cached_size_;
214
 
  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
215
 
 
216
 
  #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
217
 
  friend void  protobuf_AddDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto_impl();
218
 
  #else
219
 
  friend void  protobuf_AddDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
220
 
  #endif
221
 
  friend void protobuf_AssignDesc_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
222
 
  friend void protobuf_ShutdownFile_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto();
223
 
 
224
 
  void InitAsDefaultInstance();
225
 
  static Panel* default_instance_;
226
 
};
227
 
// ===================================================================
228
 
 
229
 
 
230
 
// ===================================================================
231
 
 
232
 
// CriticalLineInfo
233
 
 
234
 
// repeated .net_instaweb.Panel panels = 1;
235
 
inline int CriticalLineInfo::panels_size() const {
236
 
  return panels_.size();
237
 
}
238
 
inline void CriticalLineInfo::clear_panels() {
239
 
  panels_.Clear();
240
 
}
241
 
inline const ::net_instaweb::Panel& CriticalLineInfo::panels(int index) const {
242
 
  return panels_.Get(index);
243
 
}
244
 
inline ::net_instaweb::Panel* CriticalLineInfo::mutable_panels(int index) {
245
 
  return panels_.Mutable(index);
246
 
}
247
 
inline ::net_instaweb::Panel* CriticalLineInfo::add_panels() {
248
 
  return panels_.Add();
249
 
}
250
 
inline const ::google::protobuf::RepeatedPtrField< ::net_instaweb::Panel >&
251
 
CriticalLineInfo::panels() const {
252
 
  return panels_;
253
 
}
254
 
inline ::google::protobuf::RepeatedPtrField< ::net_instaweb::Panel >*
255
 
CriticalLineInfo::mutable_panels() {
256
 
  return &panels_;
257
 
}
258
 
 
259
 
// -------------------------------------------------------------------
260
 
 
261
 
// Panel
262
 
 
263
 
// required string start_xpath = 1;
264
 
inline bool Panel::has_start_xpath() const {
265
 
  return (_has_bits_[0] & 0x00000001u) != 0;
266
 
}
267
 
inline void Panel::set_has_start_xpath() {
268
 
  _has_bits_[0] |= 0x00000001u;
269
 
}
270
 
inline void Panel::clear_has_start_xpath() {
271
 
  _has_bits_[0] &= ~0x00000001u;
272
 
}
273
 
inline void Panel::clear_start_xpath() {
274
 
  if (start_xpath_ != &::google::protobuf::internal::GetEmptyString()) {
275
 
    start_xpath_->clear();
276
 
  }
277
 
  clear_has_start_xpath();
278
 
}
279
 
inline const ::std::string& Panel::start_xpath() const {
280
 
  return *start_xpath_;
281
 
}
282
 
inline void Panel::set_start_xpath(const ::std::string& value) {
283
 
  set_has_start_xpath();
284
 
  if (start_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
285
 
    start_xpath_ = new ::std::string;
286
 
  }
287
 
  start_xpath_->assign(value);
288
 
}
289
 
inline void Panel::set_start_xpath(const char* value) {
290
 
  set_has_start_xpath();
291
 
  if (start_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
292
 
    start_xpath_ = new ::std::string;
293
 
  }
294
 
  start_xpath_->assign(value);
295
 
}
296
 
inline void Panel::set_start_xpath(const char* value, size_t size) {
297
 
  set_has_start_xpath();
298
 
  if (start_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
299
 
    start_xpath_ = new ::std::string;
300
 
  }
301
 
  start_xpath_->assign(reinterpret_cast<const char*>(value), size);
302
 
}
303
 
inline ::std::string* Panel::mutable_start_xpath() {
304
 
  set_has_start_xpath();
305
 
  if (start_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
306
 
    start_xpath_ = new ::std::string;
307
 
  }
308
 
  return start_xpath_;
309
 
}
310
 
inline ::std::string* Panel::release_start_xpath() {
311
 
  clear_has_start_xpath();
312
 
  if (start_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
313
 
    return NULL;
314
 
  } else {
315
 
    ::std::string* temp = start_xpath_;
316
 
    start_xpath_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
317
 
    return temp;
318
 
  }
319
 
}
320
 
inline void Panel::set_allocated_start_xpath(::std::string* start_xpath) {
321
 
  if (start_xpath_ != &::google::protobuf::internal::GetEmptyString()) {
322
 
    delete start_xpath_;
323
 
  }
324
 
  if (start_xpath) {
325
 
    set_has_start_xpath();
326
 
    start_xpath_ = start_xpath;
327
 
  } else {
328
 
    clear_has_start_xpath();
329
 
    start_xpath_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
330
 
  }
331
 
}
332
 
 
333
 
// optional string end_marker_xpath = 2;
334
 
inline bool Panel::has_end_marker_xpath() const {
335
 
  return (_has_bits_[0] & 0x00000002u) != 0;
336
 
}
337
 
inline void Panel::set_has_end_marker_xpath() {
338
 
  _has_bits_[0] |= 0x00000002u;
339
 
}
340
 
inline void Panel::clear_has_end_marker_xpath() {
341
 
  _has_bits_[0] &= ~0x00000002u;
342
 
}
343
 
inline void Panel::clear_end_marker_xpath() {
344
 
  if (end_marker_xpath_ != &::google::protobuf::internal::GetEmptyString()) {
345
 
    end_marker_xpath_->clear();
346
 
  }
347
 
  clear_has_end_marker_xpath();
348
 
}
349
 
inline const ::std::string& Panel::end_marker_xpath() const {
350
 
  return *end_marker_xpath_;
351
 
}
352
 
inline void Panel::set_end_marker_xpath(const ::std::string& value) {
353
 
  set_has_end_marker_xpath();
354
 
  if (end_marker_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
355
 
    end_marker_xpath_ = new ::std::string;
356
 
  }
357
 
  end_marker_xpath_->assign(value);
358
 
}
359
 
inline void Panel::set_end_marker_xpath(const char* value) {
360
 
  set_has_end_marker_xpath();
361
 
  if (end_marker_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
362
 
    end_marker_xpath_ = new ::std::string;
363
 
  }
364
 
  end_marker_xpath_->assign(value);
365
 
}
366
 
inline void Panel::set_end_marker_xpath(const char* value, size_t size) {
367
 
  set_has_end_marker_xpath();
368
 
  if (end_marker_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
369
 
    end_marker_xpath_ = new ::std::string;
370
 
  }
371
 
  end_marker_xpath_->assign(reinterpret_cast<const char*>(value), size);
372
 
}
373
 
inline ::std::string* Panel::mutable_end_marker_xpath() {
374
 
  set_has_end_marker_xpath();
375
 
  if (end_marker_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
376
 
    end_marker_xpath_ = new ::std::string;
377
 
  }
378
 
  return end_marker_xpath_;
379
 
}
380
 
inline ::std::string* Panel::release_end_marker_xpath() {
381
 
  clear_has_end_marker_xpath();
382
 
  if (end_marker_xpath_ == &::google::protobuf::internal::GetEmptyString()) {
383
 
    return NULL;
384
 
  } else {
385
 
    ::std::string* temp = end_marker_xpath_;
386
 
    end_marker_xpath_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
387
 
    return temp;
388
 
  }
389
 
}
390
 
inline void Panel::set_allocated_end_marker_xpath(::std::string* end_marker_xpath) {
391
 
  if (end_marker_xpath_ != &::google::protobuf::internal::GetEmptyString()) {
392
 
    delete end_marker_xpath_;
393
 
  }
394
 
  if (end_marker_xpath) {
395
 
    set_has_end_marker_xpath();
396
 
    end_marker_xpath_ = end_marker_xpath;
397
 
  } else {
398
 
    clear_has_end_marker_xpath();
399
 
    end_marker_xpath_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyString());
400
 
  }
401
 
}
402
 
 
403
 
 
404
 
// @@protoc_insertion_point(namespace_scope)
405
 
 
406
 
}  // namespace net_instaweb
407
 
 
408
 
// @@protoc_insertion_point(global_scope)
409
 
 
410
 
#endif  // PROTOBUF_net_2finstaweb_2frewriter_2fcritical_5fline_5finfo_2eproto__INCLUDED