aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs')
-rw-r--r--OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs1516
1 files changed, 1516 insertions, 0 deletions
diff --git a/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs b/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
new file mode 100644
index 0000000..54ca1f4
--- /dev/null
+++ b/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
@@ -0,0 +1,1516 @@
1using pbd = global::Google.ProtocolBuffers.Descriptors;
2using pb = global::Google.ProtocolBuffers;
3namespace Sirikata.Persistence.Protocol {
4 public class StorageKey : PBJ.IMessage {
5 protected _PBJ_Internal.StorageKey super;
6 public _PBJ_Internal.StorageKey _PBJSuper{ get { return super;} }
7 public StorageKey() {
8 super=new _PBJ_Internal.StorageKey();
9 }
10 public StorageKey(_PBJ_Internal.StorageKey reference) {
11 super=reference;
12 }
13 public static StorageKey defaultInstance= new StorageKey (_PBJ_Internal.StorageKey.DefaultInstance);
14 public static StorageKey DefaultInstance{
15 get {return defaultInstance;}
16 }
17 public static pbd.MessageDescriptor Descriptor {
18 get { return _PBJ_Internal.StorageKey.Descriptor; } }
19 public static class Types {
20 }
21 public static bool WithinReservedFieldTagRange(int field_tag) {
22 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
23 }
24 public static bool WithinExtensionFieldTagRange(int field_tag) {
25 return false;
26 }
27 public const int ObjectUuidFieldTag=9;
28 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
29 public PBJ.UUID ObjectUuid{ get {
30 if (HasObjectUuid) {
31 return PBJ._PBJ.CastUuid(super.ObjectUuid);
32 } else {
33 return PBJ._PBJ.CastUuid();
34 }
35 }
36 }
37 public const int FieldIdFieldTag=10;
38 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
39 public ulong FieldId{ get {
40 if (HasFieldId) {
41 return PBJ._PBJ.CastUint64(super.FieldId);
42 } else {
43 return PBJ._PBJ.CastUint64();
44 }
45 }
46 }
47 public const int FieldNameFieldTag=11;
48 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
49 public string FieldName{ get {
50 if (HasFieldName) {
51 return PBJ._PBJ.CastString(super.FieldName);
52 } else {
53 return PBJ._PBJ.CastString();
54 }
55 }
56 }
57 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
58 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
59 public static Builder CreateBuilder() { return new Builder(); }
60 public static Builder CreateBuilder(StorageKey prototype) {
61 return (Builder)new Builder().MergeFrom(prototype);
62 }
63 public static StorageKey ParseFrom(pb::ByteString data) {
64 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
65 }
66 public static StorageKey ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
67 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
68 }
69 public static StorageKey ParseFrom(byte[] data) {
70 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
71 }
72 public static StorageKey ParseFrom(byte[] data, pb::ExtensionRegistry er) {
73 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
74 }
75 public static StorageKey ParseFrom(global::System.IO.Stream data) {
76 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
77 }
78 public static StorageKey ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
79 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
80 }
81 public static StorageKey ParseFrom(pb::CodedInputStream data) {
82 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
83 }
84 public static StorageKey ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
85 return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
86 }
87 protected override bool _HasAllPBJFields{ get {
88 return true
89 ;
90 } }
91 public bool IsInitialized { get {
92 return super.IsInitialized&&_HasAllPBJFields;
93 } }
94 public class Builder : global::PBJ.IMessage.IBuilder{
95 protected override bool _HasAllPBJFields{ get {
96 return true
97 ;
98 } }
99 public bool IsInitialized { get {
100 return super.IsInitialized&&_HasAllPBJFields;
101 } }
102 protected _PBJ_Internal.StorageKey.Builder super;
103 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
104 public _PBJ_Internal.StorageKey.Builder _PBJSuper{ get { return super;} }
105 public Builder() {super = new _PBJ_Internal.StorageKey.Builder();}
106 public Builder(_PBJ_Internal.StorageKey.Builder other) {
107 super=other;
108 }
109 public Builder Clone() {return new Builder(super.Clone());}
110 public Builder MergeFrom(StorageKey prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
111 public Builder Clear() {super.Clear();return this;}
112 public StorageKey BuildPartial() {return new StorageKey(super.BuildPartial());}
113 public StorageKey Build() {if (_HasAllPBJFields) return new StorageKey(super.Build());return null;}
114 public pbd::MessageDescriptor DescriptorForType {
115 get { return StorageKey.Descriptor; } }
116 public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
117 public const int ObjectUuidFieldTag=9;
118 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
119 public PBJ.UUID ObjectUuid{ get {
120 if (HasObjectUuid) {
121 return PBJ._PBJ.CastUuid(super.ObjectUuid);
122 } else {
123 return PBJ._PBJ.CastUuid();
124 }
125 }
126 set {
127 super.ObjectUuid=(PBJ._PBJ.Construct(value));
128 }
129 }
130 public Builder ClearFieldId() { super.ClearFieldId();return this;}
131 public const int FieldIdFieldTag=10;
132 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
133 public ulong FieldId{ get {
134 if (HasFieldId) {
135 return PBJ._PBJ.CastUint64(super.FieldId);
136 } else {
137 return PBJ._PBJ.CastUint64();
138 }
139 }
140 set {
141 super.FieldId=(PBJ._PBJ.Construct(value));
142 }
143 }
144 public Builder ClearFieldName() { super.ClearFieldName();return this;}
145 public const int FieldNameFieldTag=11;
146 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
147 public string FieldName{ get {
148 if (HasFieldName) {
149 return PBJ._PBJ.CastString(super.FieldName);
150 } else {
151 return PBJ._PBJ.CastString();
152 }
153 }
154 set {
155 super.FieldName=(PBJ._PBJ.Construct(value));
156 }
157 }
158 }
159 }
160}
161namespace Sirikata.Persistence.Protocol {
162 public class StorageValue : PBJ.IMessage {
163 protected _PBJ_Internal.StorageValue super;
164 public _PBJ_Internal.StorageValue _PBJSuper{ get { return super;} }
165 public StorageValue() {
166 super=new _PBJ_Internal.StorageValue();
167 }
168 public StorageValue(_PBJ_Internal.StorageValue reference) {
169 super=reference;
170 }
171 public static StorageValue defaultInstance= new StorageValue (_PBJ_Internal.StorageValue.DefaultInstance);
172 public static StorageValue DefaultInstance{
173 get {return defaultInstance;}
174 }
175 public static pbd.MessageDescriptor Descriptor {
176 get { return _PBJ_Internal.StorageValue.Descriptor; } }
177 public static class Types {
178 }
179 public static bool WithinReservedFieldTagRange(int field_tag) {
180 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
181 }
182 public static bool WithinExtensionFieldTagRange(int field_tag) {
183 return false;
184 }
185 public const int DataFieldTag=12;
186 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
187 public pb::ByteString Data{ get {
188 if (HasData) {
189 return PBJ._PBJ.CastBytes(super.Data);
190 } else {
191 return PBJ._PBJ.CastBytes();
192 }
193 }
194 }
195 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
196 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
197 public static Builder CreateBuilder() { return new Builder(); }
198 public static Builder CreateBuilder(StorageValue prototype) {
199 return (Builder)new Builder().MergeFrom(prototype);
200 }
201 public static StorageValue ParseFrom(pb::ByteString data) {
202 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
203 }
204 public static StorageValue ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
205 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
206 }
207 public static StorageValue ParseFrom(byte[] data) {
208 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
209 }
210 public static StorageValue ParseFrom(byte[] data, pb::ExtensionRegistry er) {
211 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
212 }
213 public static StorageValue ParseFrom(global::System.IO.Stream data) {
214 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
215 }
216 public static StorageValue ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
217 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
218 }
219 public static StorageValue ParseFrom(pb::CodedInputStream data) {
220 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
221 }
222 public static StorageValue ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
223 return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
224 }
225 protected override bool _HasAllPBJFields{ get {
226 return true
227 ;
228 } }
229 public bool IsInitialized { get {
230 return super.IsInitialized&&_HasAllPBJFields;
231 } }
232 public class Builder : global::PBJ.IMessage.IBuilder{
233 protected override bool _HasAllPBJFields{ get {
234 return true
235 ;
236 } }
237 public bool IsInitialized { get {
238 return super.IsInitialized&&_HasAllPBJFields;
239 } }
240 protected _PBJ_Internal.StorageValue.Builder super;
241 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
242 public _PBJ_Internal.StorageValue.Builder _PBJSuper{ get { return super;} }
243 public Builder() {super = new _PBJ_Internal.StorageValue.Builder();}
244 public Builder(_PBJ_Internal.StorageValue.Builder other) {
245 super=other;
246 }
247 public Builder Clone() {return new Builder(super.Clone());}
248 public Builder MergeFrom(StorageValue prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
249 public Builder Clear() {super.Clear();return this;}
250 public StorageValue BuildPartial() {return new StorageValue(super.BuildPartial());}
251 public StorageValue Build() {if (_HasAllPBJFields) return new StorageValue(super.Build());return null;}
252 public pbd::MessageDescriptor DescriptorForType {
253 get { return StorageValue.Descriptor; } }
254 public Builder ClearData() { super.ClearData();return this;}
255 public const int DataFieldTag=12;
256 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
257 public pb::ByteString Data{ get {
258 if (HasData) {
259 return PBJ._PBJ.CastBytes(super.Data);
260 } else {
261 return PBJ._PBJ.CastBytes();
262 }
263 }
264 set {
265 super.Data=(PBJ._PBJ.Construct(value));
266 }
267 }
268 }
269 }
270}
271namespace Sirikata.Persistence.Protocol {
272 public class StorageElement : PBJ.IMessage {
273 protected _PBJ_Internal.StorageElement super;
274 public _PBJ_Internal.StorageElement _PBJSuper{ get { return super;} }
275 public StorageElement() {
276 super=new _PBJ_Internal.StorageElement();
277 }
278 public StorageElement(_PBJ_Internal.StorageElement reference) {
279 super=reference;
280 }
281 public static StorageElement defaultInstance= new StorageElement (_PBJ_Internal.StorageElement.DefaultInstance);
282 public static StorageElement DefaultInstance{
283 get {return defaultInstance;}
284 }
285 public static pbd.MessageDescriptor Descriptor {
286 get { return _PBJ_Internal.StorageElement.Descriptor; } }
287 public static class Types {
288 public enum ReturnStatus {
289 KEY_MISSING=_PBJ_Internal.StorageElement.Types.ReturnStatus.KEY_MISSING,
290 INTERNAL_ERROR=_PBJ_Internal.StorageElement.Types.ReturnStatus.INTERNAL_ERROR
291 };
292 }
293 public static bool WithinReservedFieldTagRange(int field_tag) {
294 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
295 }
296 public static bool WithinExtensionFieldTagRange(int field_tag) {
297 return false;
298 }
299 public const int ObjectUuidFieldTag=9;
300 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
301 public PBJ.UUID ObjectUuid{ get {
302 if (HasObjectUuid) {
303 return PBJ._PBJ.CastUuid(super.ObjectUuid);
304 } else {
305 return PBJ._PBJ.CastUuid();
306 }
307 }
308 }
309 public const int FieldIdFieldTag=10;
310 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
311 public ulong FieldId{ get {
312 if (HasFieldId) {
313 return PBJ._PBJ.CastUint64(super.FieldId);
314 } else {
315 return PBJ._PBJ.CastUint64();
316 }
317 }
318 }
319 public const int FieldNameFieldTag=11;
320 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
321 public string FieldName{ get {
322 if (HasFieldName) {
323 return PBJ._PBJ.CastString(super.FieldName);
324 } else {
325 return PBJ._PBJ.CastString();
326 }
327 }
328 }
329 public const int DataFieldTag=12;
330 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
331 public pb::ByteString Data{ get {
332 if (HasData) {
333 return PBJ._PBJ.CastBytes(super.Data);
334 } else {
335 return PBJ._PBJ.CastBytes();
336 }
337 }
338 }
339 public const int IndexFieldTag=13;
340 public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
341 public int Index{ get {
342 if (HasIndex) {
343 return PBJ._PBJ.CastInt32(super.Index);
344 } else {
345 return PBJ._PBJ.CastInt32();
346 }
347 }
348 }
349 public const int ReturnStatusFieldTag=15;
350 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
351 public Types.ReturnStatus ReturnStatus{ get {
352 if (HasReturnStatus) {
353 return (Types.ReturnStatus)super.ReturnStatus;
354 } else {
355 return new Types.ReturnStatus();
356 }
357 }
358 }
359 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
360 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
361 public static Builder CreateBuilder() { return new Builder(); }
362 public static Builder CreateBuilder(StorageElement prototype) {
363 return (Builder)new Builder().MergeFrom(prototype);
364 }
365 public static StorageElement ParseFrom(pb::ByteString data) {
366 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
367 }
368 public static StorageElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
369 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
370 }
371 public static StorageElement ParseFrom(byte[] data) {
372 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
373 }
374 public static StorageElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
375 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
376 }
377 public static StorageElement ParseFrom(global::System.IO.Stream data) {
378 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
379 }
380 public static StorageElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
381 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
382 }
383 public static StorageElement ParseFrom(pb::CodedInputStream data) {
384 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
385 }
386 public static StorageElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
387 return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
388 }
389 protected override bool _HasAllPBJFields{ get {
390 return true
391 ;
392 } }
393 public bool IsInitialized { get {
394 return super.IsInitialized&&_HasAllPBJFields;
395 } }
396 public class Builder : global::PBJ.IMessage.IBuilder{
397 protected override bool _HasAllPBJFields{ get {
398 return true
399 ;
400 } }
401 public bool IsInitialized { get {
402 return super.IsInitialized&&_HasAllPBJFields;
403 } }
404 protected _PBJ_Internal.StorageElement.Builder super;
405 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
406 public _PBJ_Internal.StorageElement.Builder _PBJSuper{ get { return super;} }
407 public Builder() {super = new _PBJ_Internal.StorageElement.Builder();}
408 public Builder(_PBJ_Internal.StorageElement.Builder other) {
409 super=other;
410 }
411 public Builder Clone() {return new Builder(super.Clone());}
412 public Builder MergeFrom(StorageElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
413 public Builder Clear() {super.Clear();return this;}
414 public StorageElement BuildPartial() {return new StorageElement(super.BuildPartial());}
415 public StorageElement Build() {if (_HasAllPBJFields) return new StorageElement(super.Build());return null;}
416 public pbd::MessageDescriptor DescriptorForType {
417 get { return StorageElement.Descriptor; } }
418 public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
419 public const int ObjectUuidFieldTag=9;
420 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
421 public PBJ.UUID ObjectUuid{ get {
422 if (HasObjectUuid) {
423 return PBJ._PBJ.CastUuid(super.ObjectUuid);
424 } else {
425 return PBJ._PBJ.CastUuid();
426 }
427 }
428 set {
429 super.ObjectUuid=(PBJ._PBJ.Construct(value));
430 }
431 }
432 public Builder ClearFieldId() { super.ClearFieldId();return this;}
433 public const int FieldIdFieldTag=10;
434 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
435 public ulong FieldId{ get {
436 if (HasFieldId) {
437 return PBJ._PBJ.CastUint64(super.FieldId);
438 } else {
439 return PBJ._PBJ.CastUint64();
440 }
441 }
442 set {
443 super.FieldId=(PBJ._PBJ.Construct(value));
444 }
445 }
446 public Builder ClearFieldName() { super.ClearFieldName();return this;}
447 public const int FieldNameFieldTag=11;
448 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
449 public string FieldName{ get {
450 if (HasFieldName) {
451 return PBJ._PBJ.CastString(super.FieldName);
452 } else {
453 return PBJ._PBJ.CastString();
454 }
455 }
456 set {
457 super.FieldName=(PBJ._PBJ.Construct(value));
458 }
459 }
460 public Builder ClearData() { super.ClearData();return this;}
461 public const int DataFieldTag=12;
462 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
463 public pb::ByteString Data{ get {
464 if (HasData) {
465 return PBJ._PBJ.CastBytes(super.Data);
466 } else {
467 return PBJ._PBJ.CastBytes();
468 }
469 }
470 set {
471 super.Data=(PBJ._PBJ.Construct(value));
472 }
473 }
474 public Builder ClearIndex() { super.ClearIndex();return this;}
475 public const int IndexFieldTag=13;
476 public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
477 public int Index{ get {
478 if (HasIndex) {
479 return PBJ._PBJ.CastInt32(super.Index);
480 } else {
481 return PBJ._PBJ.CastInt32();
482 }
483 }
484 set {
485 super.Index=(PBJ._PBJ.Construct(value));
486 }
487 }
488 public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
489 public const int ReturnStatusFieldTag=15;
490 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
491 public Types.ReturnStatus ReturnStatus{ get {
492 if (HasReturnStatus) {
493 return (Types.ReturnStatus)super.ReturnStatus;
494 } else {
495 return new Types.ReturnStatus();
496 }
497 }
498 set {
499 super.ReturnStatus=((_PBJ_Internal.StorageElement.Types.ReturnStatus)value);
500 }
501 }
502 }
503 }
504}
505namespace Sirikata.Persistence.Protocol {
506 public class CompareElement : PBJ.IMessage {
507 protected _PBJ_Internal.CompareElement super;
508 public _PBJ_Internal.CompareElement _PBJSuper{ get { return super;} }
509 public CompareElement() {
510 super=new _PBJ_Internal.CompareElement();
511 }
512 public CompareElement(_PBJ_Internal.CompareElement reference) {
513 super=reference;
514 }
515 public static CompareElement defaultInstance= new CompareElement (_PBJ_Internal.CompareElement.DefaultInstance);
516 public static CompareElement DefaultInstance{
517 get {return defaultInstance;}
518 }
519 public static pbd.MessageDescriptor Descriptor {
520 get { return _PBJ_Internal.CompareElement.Descriptor; } }
521 public static class Types {
522 public enum COMPARATOR {
523 EQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.EQUAL,
524 NEQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.NEQUAL
525 };
526 }
527 public static bool WithinReservedFieldTagRange(int field_tag) {
528 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
529 }
530 public static bool WithinExtensionFieldTagRange(int field_tag) {
531 return false;
532 }
533 public const int ObjectUuidFieldTag=9;
534 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
535 public PBJ.UUID ObjectUuid{ get {
536 if (HasObjectUuid) {
537 return PBJ._PBJ.CastUuid(super.ObjectUuid);
538 } else {
539 return PBJ._PBJ.CastUuid();
540 }
541 }
542 }
543 public const int FieldIdFieldTag=10;
544 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
545 public ulong FieldId{ get {
546 if (HasFieldId) {
547 return PBJ._PBJ.CastUint64(super.FieldId);
548 } else {
549 return PBJ._PBJ.CastUint64();
550 }
551 }
552 }
553 public const int FieldNameFieldTag=11;
554 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
555 public string FieldName{ get {
556 if (HasFieldName) {
557 return PBJ._PBJ.CastString(super.FieldName);
558 } else {
559 return PBJ._PBJ.CastString();
560 }
561 }
562 }
563 public const int DataFieldTag=12;
564 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
565 public pb::ByteString Data{ get {
566 if (HasData) {
567 return PBJ._PBJ.CastBytes(super.Data);
568 } else {
569 return PBJ._PBJ.CastBytes();
570 }
571 }
572 }
573 public const int ComparatorFieldTag=14;
574 public bool HasComparator{ get {return super.HasComparator;} }
575 public Types.COMPARATOR Comparator{ get {
576 if (HasComparator) {
577 return (Types.COMPARATOR)super.Comparator;
578 } else {
579 return new Types.COMPARATOR();
580 }
581 }
582 }
583 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
584 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
585 public static Builder CreateBuilder() { return new Builder(); }
586 public static Builder CreateBuilder(CompareElement prototype) {
587 return (Builder)new Builder().MergeFrom(prototype);
588 }
589 public static CompareElement ParseFrom(pb::ByteString data) {
590 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
591 }
592 public static CompareElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
593 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
594 }
595 public static CompareElement ParseFrom(byte[] data) {
596 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
597 }
598 public static CompareElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
599 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
600 }
601 public static CompareElement ParseFrom(global::System.IO.Stream data) {
602 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
603 }
604 public static CompareElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
605 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
606 }
607 public static CompareElement ParseFrom(pb::CodedInputStream data) {
608 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
609 }
610 public static CompareElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
611 return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
612 }
613 protected override bool _HasAllPBJFields{ get {
614 return true
615 ;
616 } }
617 public bool IsInitialized { get {
618 return super.IsInitialized&&_HasAllPBJFields;
619 } }
620 public class Builder : global::PBJ.IMessage.IBuilder{
621 protected override bool _HasAllPBJFields{ get {
622 return true
623 ;
624 } }
625 public bool IsInitialized { get {
626 return super.IsInitialized&&_HasAllPBJFields;
627 } }
628 protected _PBJ_Internal.CompareElement.Builder super;
629 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
630 public _PBJ_Internal.CompareElement.Builder _PBJSuper{ get { return super;} }
631 public Builder() {super = new _PBJ_Internal.CompareElement.Builder();}
632 public Builder(_PBJ_Internal.CompareElement.Builder other) {
633 super=other;
634 }
635 public Builder Clone() {return new Builder(super.Clone());}
636 public Builder MergeFrom(CompareElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
637 public Builder Clear() {super.Clear();return this;}
638 public CompareElement BuildPartial() {return new CompareElement(super.BuildPartial());}
639 public CompareElement Build() {if (_HasAllPBJFields) return new CompareElement(super.Build());return null;}
640 public pbd::MessageDescriptor DescriptorForType {
641 get { return CompareElement.Descriptor; } }
642 public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
643 public const int ObjectUuidFieldTag=9;
644 public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
645 public PBJ.UUID ObjectUuid{ get {
646 if (HasObjectUuid) {
647 return PBJ._PBJ.CastUuid(super.ObjectUuid);
648 } else {
649 return PBJ._PBJ.CastUuid();
650 }
651 }
652 set {
653 super.ObjectUuid=(PBJ._PBJ.Construct(value));
654 }
655 }
656 public Builder ClearFieldId() { super.ClearFieldId();return this;}
657 public const int FieldIdFieldTag=10;
658 public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
659 public ulong FieldId{ get {
660 if (HasFieldId) {
661 return PBJ._PBJ.CastUint64(super.FieldId);
662 } else {
663 return PBJ._PBJ.CastUint64();
664 }
665 }
666 set {
667 super.FieldId=(PBJ._PBJ.Construct(value));
668 }
669 }
670 public Builder ClearFieldName() { super.ClearFieldName();return this;}
671 public const int FieldNameFieldTag=11;
672 public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
673 public string FieldName{ get {
674 if (HasFieldName) {
675 return PBJ._PBJ.CastString(super.FieldName);
676 } else {
677 return PBJ._PBJ.CastString();
678 }
679 }
680 set {
681 super.FieldName=(PBJ._PBJ.Construct(value));
682 }
683 }
684 public Builder ClearData() { super.ClearData();return this;}
685 public const int DataFieldTag=12;
686 public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
687 public pb::ByteString Data{ get {
688 if (HasData) {
689 return PBJ._PBJ.CastBytes(super.Data);
690 } else {
691 return PBJ._PBJ.CastBytes();
692 }
693 }
694 set {
695 super.Data=(PBJ._PBJ.Construct(value));
696 }
697 }
698 public Builder ClearComparator() { super.ClearComparator();return this;}
699 public const int ComparatorFieldTag=14;
700 public bool HasComparator{ get {return super.HasComparator;} }
701 public Types.COMPARATOR Comparator{ get {
702 if (HasComparator) {
703 return (Types.COMPARATOR)super.Comparator;
704 } else {
705 return new Types.COMPARATOR();
706 }
707 }
708 set {
709 super.Comparator=((_PBJ_Internal.CompareElement.Types.COMPARATOR)value);
710 }
711 }
712 }
713 }
714}
715namespace Sirikata.Persistence.Protocol {
716 public class StorageSet : PBJ.IMessage {
717 protected _PBJ_Internal.StorageSet super;
718 public _PBJ_Internal.StorageSet _PBJSuper{ get { return super;} }
719 public StorageSet() {
720 super=new _PBJ_Internal.StorageSet();
721 }
722 public StorageSet(_PBJ_Internal.StorageSet reference) {
723 super=reference;
724 }
725 public static StorageSet defaultInstance= new StorageSet (_PBJ_Internal.StorageSet.DefaultInstance);
726 public static StorageSet DefaultInstance{
727 get {return defaultInstance;}
728 }
729 public static pbd.MessageDescriptor Descriptor {
730 get { return _PBJ_Internal.StorageSet.Descriptor; } }
731 public static class Types {
732 }
733 public static bool WithinReservedFieldTagRange(int field_tag) {
734 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
735 }
736 public static bool WithinExtensionFieldTagRange(int field_tag) {
737 return false;
738 }
739 public const int ReadsFieldTag=9;
740 public int ReadsCount { get { return super.ReadsCount;} }
741 public bool HasReads(int index) {return true;}
742 public StorageElement Reads(int index) {
743 return new StorageElement(super.GetReads(index));
744 }
745 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
746 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
747 public static Builder CreateBuilder() { return new Builder(); }
748 public static Builder CreateBuilder(StorageSet prototype) {
749 return (Builder)new Builder().MergeFrom(prototype);
750 }
751 public static StorageSet ParseFrom(pb::ByteString data) {
752 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
753 }
754 public static StorageSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
755 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
756 }
757 public static StorageSet ParseFrom(byte[] data) {
758 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
759 }
760 public static StorageSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
761 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
762 }
763 public static StorageSet ParseFrom(global::System.IO.Stream data) {
764 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
765 }
766 public static StorageSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
767 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
768 }
769 public static StorageSet ParseFrom(pb::CodedInputStream data) {
770 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
771 }
772 public static StorageSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
773 return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
774 }
775 protected override bool _HasAllPBJFields{ get {
776 return true
777 ;
778 } }
779 public bool IsInitialized { get {
780 return super.IsInitialized&&_HasAllPBJFields;
781 } }
782 public class Builder : global::PBJ.IMessage.IBuilder{
783 protected override bool _HasAllPBJFields{ get {
784 return true
785 ;
786 } }
787 public bool IsInitialized { get {
788 return super.IsInitialized&&_HasAllPBJFields;
789 } }
790 protected _PBJ_Internal.StorageSet.Builder super;
791 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
792 public _PBJ_Internal.StorageSet.Builder _PBJSuper{ get { return super;} }
793 public Builder() {super = new _PBJ_Internal.StorageSet.Builder();}
794 public Builder(_PBJ_Internal.StorageSet.Builder other) {
795 super=other;
796 }
797 public Builder Clone() {return new Builder(super.Clone());}
798 public Builder MergeFrom(StorageSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
799 public Builder Clear() {super.Clear();return this;}
800 public StorageSet BuildPartial() {return new StorageSet(super.BuildPartial());}
801 public StorageSet Build() {if (_HasAllPBJFields) return new StorageSet(super.Build());return null;}
802 public pbd::MessageDescriptor DescriptorForType {
803 get { return StorageSet.Descriptor; } }
804 public Builder ClearReads() { super.ClearReads();return this;}
805 public Builder SetReads(int index,StorageElement value) {
806 super.SetReads(index,value._PBJSuper);
807 return this;
808 }
809 public const int ReadsFieldTag=9;
810 public int ReadsCount { get { return super.ReadsCount;} }
811 public bool HasReads(int index) {return true;}
812 public StorageElement Reads(int index) {
813 return new StorageElement(super.GetReads(index));
814 }
815 public Builder AddReads(StorageElement value ) {
816 super.AddReads(value._PBJSuper);
817 return this;
818 }
819 }
820 }
821}
822namespace Sirikata.Persistence.Protocol {
823 public class ReadSet : PBJ.IMessage {
824 protected _PBJ_Internal.ReadSet super;
825 public _PBJ_Internal.ReadSet _PBJSuper{ get { return super;} }
826 public ReadSet() {
827 super=new _PBJ_Internal.ReadSet();
828 }
829 public ReadSet(_PBJ_Internal.ReadSet reference) {
830 super=reference;
831 }
832 public static ReadSet defaultInstance= new ReadSet (_PBJ_Internal.ReadSet.DefaultInstance);
833 public static ReadSet DefaultInstance{
834 get {return defaultInstance;}
835 }
836 public static pbd.MessageDescriptor Descriptor {
837 get { return _PBJ_Internal.ReadSet.Descriptor; } }
838 public static class Types {
839 }
840 public static bool WithinReservedFieldTagRange(int field_tag) {
841 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
842 }
843 public static bool WithinExtensionFieldTagRange(int field_tag) {
844 return false;
845 }
846 public const int ReadsFieldTag=9;
847 public int ReadsCount { get { return super.ReadsCount;} }
848 public bool HasReads(int index) {return true;}
849 public StorageElement Reads(int index) {
850 return new StorageElement(super.GetReads(index));
851 }
852 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
853 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
854 public static Builder CreateBuilder() { return new Builder(); }
855 public static Builder CreateBuilder(ReadSet prototype) {
856 return (Builder)new Builder().MergeFrom(prototype);
857 }
858 public static ReadSet ParseFrom(pb::ByteString data) {
859 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
860 }
861 public static ReadSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
862 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
863 }
864 public static ReadSet ParseFrom(byte[] data) {
865 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
866 }
867 public static ReadSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
868 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
869 }
870 public static ReadSet ParseFrom(global::System.IO.Stream data) {
871 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
872 }
873 public static ReadSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
874 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
875 }
876 public static ReadSet ParseFrom(pb::CodedInputStream data) {
877 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
878 }
879 public static ReadSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
880 return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
881 }
882 protected override bool _HasAllPBJFields{ get {
883 return true
884 ;
885 } }
886 public bool IsInitialized { get {
887 return super.IsInitialized&&_HasAllPBJFields;
888 } }
889 public class Builder : global::PBJ.IMessage.IBuilder{
890 protected override bool _HasAllPBJFields{ get {
891 return true
892 ;
893 } }
894 public bool IsInitialized { get {
895 return super.IsInitialized&&_HasAllPBJFields;
896 } }
897 protected _PBJ_Internal.ReadSet.Builder super;
898 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
899 public _PBJ_Internal.ReadSet.Builder _PBJSuper{ get { return super;} }
900 public Builder() {super = new _PBJ_Internal.ReadSet.Builder();}
901 public Builder(_PBJ_Internal.ReadSet.Builder other) {
902 super=other;
903 }
904 public Builder Clone() {return new Builder(super.Clone());}
905 public Builder MergeFrom(ReadSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
906 public Builder Clear() {super.Clear();return this;}
907 public ReadSet BuildPartial() {return new ReadSet(super.BuildPartial());}
908 public ReadSet Build() {if (_HasAllPBJFields) return new ReadSet(super.Build());return null;}
909 public pbd::MessageDescriptor DescriptorForType {
910 get { return ReadSet.Descriptor; } }
911 public Builder ClearReads() { super.ClearReads();return this;}
912 public Builder SetReads(int index,StorageElement value) {
913 super.SetReads(index,value._PBJSuper);
914 return this;
915 }
916 public const int ReadsFieldTag=9;
917 public int ReadsCount { get { return super.ReadsCount;} }
918 public bool HasReads(int index) {return true;}
919 public StorageElement Reads(int index) {
920 return new StorageElement(super.GetReads(index));
921 }
922 public Builder AddReads(StorageElement value ) {
923 super.AddReads(value._PBJSuper);
924 return this;
925 }
926 }
927 }
928}
929namespace Sirikata.Persistence.Protocol {
930 public class WriteSet : PBJ.IMessage {
931 protected _PBJ_Internal.WriteSet super;
932 public _PBJ_Internal.WriteSet _PBJSuper{ get { return super;} }
933 public WriteSet() {
934 super=new _PBJ_Internal.WriteSet();
935 }
936 public WriteSet(_PBJ_Internal.WriteSet reference) {
937 super=reference;
938 }
939 public static WriteSet defaultInstance= new WriteSet (_PBJ_Internal.WriteSet.DefaultInstance);
940 public static WriteSet DefaultInstance{
941 get {return defaultInstance;}
942 }
943 public static pbd.MessageDescriptor Descriptor {
944 get { return _PBJ_Internal.WriteSet.Descriptor; } }
945 public static class Types {
946 }
947 public static bool WithinReservedFieldTagRange(int field_tag) {
948 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
949 }
950 public static bool WithinExtensionFieldTagRange(int field_tag) {
951 return false;
952 }
953 public const int WritesFieldTag=10;
954 public int WritesCount { get { return super.WritesCount;} }
955 public bool HasWrites(int index) {return true;}
956 public StorageElement Writes(int index) {
957 return new StorageElement(super.GetWrites(index));
958 }
959 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
960 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
961 public static Builder CreateBuilder() { return new Builder(); }
962 public static Builder CreateBuilder(WriteSet prototype) {
963 return (Builder)new Builder().MergeFrom(prototype);
964 }
965 public static WriteSet ParseFrom(pb::ByteString data) {
966 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
967 }
968 public static WriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
969 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
970 }
971 public static WriteSet ParseFrom(byte[] data) {
972 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
973 }
974 public static WriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
975 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
976 }
977 public static WriteSet ParseFrom(global::System.IO.Stream data) {
978 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
979 }
980 public static WriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
981 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
982 }
983 public static WriteSet ParseFrom(pb::CodedInputStream data) {
984 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
985 }
986 public static WriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
987 return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
988 }
989 protected override bool _HasAllPBJFields{ get {
990 return true
991 ;
992 } }
993 public bool IsInitialized { get {
994 return super.IsInitialized&&_HasAllPBJFields;
995 } }
996 public class Builder : global::PBJ.IMessage.IBuilder{
997 protected override bool _HasAllPBJFields{ get {
998 return true
999 ;
1000 } }
1001 public bool IsInitialized { get {
1002 return super.IsInitialized&&_HasAllPBJFields;
1003 } }
1004 protected _PBJ_Internal.WriteSet.Builder super;
1005 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
1006 public _PBJ_Internal.WriteSet.Builder _PBJSuper{ get { return super;} }
1007 public Builder() {super = new _PBJ_Internal.WriteSet.Builder();}
1008 public Builder(_PBJ_Internal.WriteSet.Builder other) {
1009 super=other;
1010 }
1011 public Builder Clone() {return new Builder(super.Clone());}
1012 public Builder MergeFrom(WriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
1013 public Builder Clear() {super.Clear();return this;}
1014 public WriteSet BuildPartial() {return new WriteSet(super.BuildPartial());}
1015 public WriteSet Build() {if (_HasAllPBJFields) return new WriteSet(super.Build());return null;}
1016 public pbd::MessageDescriptor DescriptorForType {
1017 get { return WriteSet.Descriptor; } }
1018 public Builder ClearWrites() { super.ClearWrites();return this;}
1019 public Builder SetWrites(int index,StorageElement value) {
1020 super.SetWrites(index,value._PBJSuper);
1021 return this;
1022 }
1023 public const int WritesFieldTag=10;
1024 public int WritesCount { get { return super.WritesCount;} }
1025 public bool HasWrites(int index) {return true;}
1026 public StorageElement Writes(int index) {
1027 return new StorageElement(super.GetWrites(index));
1028 }
1029 public Builder AddWrites(StorageElement value ) {
1030 super.AddWrites(value._PBJSuper);
1031 return this;
1032 }
1033 }
1034 }
1035}
1036namespace Sirikata.Persistence.Protocol {
1037 public class ReadWriteSet : PBJ.IMessage {
1038 protected _PBJ_Internal.ReadWriteSet super;
1039 public _PBJ_Internal.ReadWriteSet _PBJSuper{ get { return super;} }
1040 public ReadWriteSet() {
1041 super=new _PBJ_Internal.ReadWriteSet();
1042 }
1043 public ReadWriteSet(_PBJ_Internal.ReadWriteSet reference) {
1044 super=reference;
1045 }
1046 public static ReadWriteSet defaultInstance= new ReadWriteSet (_PBJ_Internal.ReadWriteSet.DefaultInstance);
1047 public static ReadWriteSet DefaultInstance{
1048 get {return defaultInstance;}
1049 }
1050 public static pbd.MessageDescriptor Descriptor {
1051 get { return _PBJ_Internal.ReadWriteSet.Descriptor; } }
1052 public static class Types {
1053 public enum ReadWriteSetOptions {
1054 RETURN_READ_NAMES=_PBJ_Internal.ReadWriteSet.Types.ReadWriteSetOptions.RETURN_READ_NAMES
1055 };
1056 }
1057 public static bool WithinReservedFieldTagRange(int field_tag) {
1058 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
1059 }
1060 public static bool WithinExtensionFieldTagRange(int field_tag) {
1061 return false;
1062 }
1063 public const int ReadsFieldTag=9;
1064 public int ReadsCount { get { return super.ReadsCount;} }
1065 public bool HasReads(int index) {return true;}
1066 public StorageElement Reads(int index) {
1067 return new StorageElement(super.GetReads(index));
1068 }
1069 public const int WritesFieldTag=10;
1070 public int WritesCount { get { return super.WritesCount;} }
1071 public bool HasWrites(int index) {return true;}
1072 public StorageElement Writes(int index) {
1073 return new StorageElement(super.GetWrites(index));
1074 }
1075 public const int OptionsFieldTag=14;
1076 public bool HasOptions { get {
1077 if (!super.HasOptions) return false;
1078 return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1079 } }
1080 public ulong Options{ get {
1081 if (HasOptions) {
1082 return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1083 } else {
1084 return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1085 }
1086 }
1087 }
1088 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
1089 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
1090 public static Builder CreateBuilder() { return new Builder(); }
1091 public static Builder CreateBuilder(ReadWriteSet prototype) {
1092 return (Builder)new Builder().MergeFrom(prototype);
1093 }
1094 public static ReadWriteSet ParseFrom(pb::ByteString data) {
1095 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
1096 }
1097 public static ReadWriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
1098 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
1099 }
1100 public static ReadWriteSet ParseFrom(byte[] data) {
1101 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
1102 }
1103 public static ReadWriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
1104 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
1105 }
1106 public static ReadWriteSet ParseFrom(global::System.IO.Stream data) {
1107 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
1108 }
1109 public static ReadWriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
1110 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
1111 }
1112 public static ReadWriteSet ParseFrom(pb::CodedInputStream data) {
1113 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
1114 }
1115 public static ReadWriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
1116 return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
1117 }
1118 protected override bool _HasAllPBJFields{ get {
1119 return true
1120 ;
1121 } }
1122 public bool IsInitialized { get {
1123 return super.IsInitialized&&_HasAllPBJFields;
1124 } }
1125 public class Builder : global::PBJ.IMessage.IBuilder{
1126 protected override bool _HasAllPBJFields{ get {
1127 return true
1128 ;
1129 } }
1130 public bool IsInitialized { get {
1131 return super.IsInitialized&&_HasAllPBJFields;
1132 } }
1133 protected _PBJ_Internal.ReadWriteSet.Builder super;
1134 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
1135 public _PBJ_Internal.ReadWriteSet.Builder _PBJSuper{ get { return super;} }
1136 public Builder() {super = new _PBJ_Internal.ReadWriteSet.Builder();}
1137 public Builder(_PBJ_Internal.ReadWriteSet.Builder other) {
1138 super=other;
1139 }
1140 public Builder Clone() {return new Builder(super.Clone());}
1141 public Builder MergeFrom(ReadWriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
1142 public Builder Clear() {super.Clear();return this;}
1143 public ReadWriteSet BuildPartial() {return new ReadWriteSet(super.BuildPartial());}
1144 public ReadWriteSet Build() {if (_HasAllPBJFields) return new ReadWriteSet(super.Build());return null;}
1145 public pbd::MessageDescriptor DescriptorForType {
1146 get { return ReadWriteSet.Descriptor; } }
1147 public Builder ClearReads() { super.ClearReads();return this;}
1148 public Builder SetReads(int index,StorageElement value) {
1149 super.SetReads(index,value._PBJSuper);
1150 return this;
1151 }
1152 public const int ReadsFieldTag=9;
1153 public int ReadsCount { get { return super.ReadsCount;} }
1154 public bool HasReads(int index) {return true;}
1155 public StorageElement Reads(int index) {
1156 return new StorageElement(super.GetReads(index));
1157 }
1158 public Builder AddReads(StorageElement value ) {
1159 super.AddReads(value._PBJSuper);
1160 return this;
1161 }
1162 public Builder ClearWrites() { super.ClearWrites();return this;}
1163 public Builder SetWrites(int index,StorageElement value) {
1164 super.SetWrites(index,value._PBJSuper);
1165 return this;
1166 }
1167 public const int WritesFieldTag=10;
1168 public int WritesCount { get { return super.WritesCount;} }
1169 public bool HasWrites(int index) {return true;}
1170 public StorageElement Writes(int index) {
1171 return new StorageElement(super.GetWrites(index));
1172 }
1173 public Builder AddWrites(StorageElement value ) {
1174 super.AddWrites(value._PBJSuper);
1175 return this;
1176 }
1177 public Builder ClearOptions() { super.ClearOptions();return this;}
1178 public const int OptionsFieldTag=14;
1179 public bool HasOptions { get {
1180 if (!super.HasOptions) return false;
1181 return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1182 } }
1183 public ulong Options{ get {
1184 if (HasOptions) {
1185 return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1186 } else {
1187 return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
1188 }
1189 }
1190 set {
1191 super.Options=((value));
1192 }
1193 }
1194 }
1195 }
1196}
1197namespace Sirikata.Persistence.Protocol {
1198 public class Minitransaction : PBJ.IMessage {
1199 protected _PBJ_Internal.Minitransaction super;
1200 public _PBJ_Internal.Minitransaction _PBJSuper{ get { return super;} }
1201 public Minitransaction() {
1202 super=new _PBJ_Internal.Minitransaction();
1203 }
1204 public Minitransaction(_PBJ_Internal.Minitransaction reference) {
1205 super=reference;
1206 }
1207 public static Minitransaction defaultInstance= new Minitransaction (_PBJ_Internal.Minitransaction.DefaultInstance);
1208 public static Minitransaction DefaultInstance{
1209 get {return defaultInstance;}
1210 }
1211 public static pbd.MessageDescriptor Descriptor {
1212 get { return _PBJ_Internal.Minitransaction.Descriptor; } }
1213 public static class Types {
1214 public enum TransactionOptions {
1215 RETURN_READ_NAMES=_PBJ_Internal.Minitransaction.Types.TransactionOptions.RETURN_READ_NAMES
1216 };
1217 }
1218 public static bool WithinReservedFieldTagRange(int field_tag) {
1219 return false;
1220 }
1221 public static bool WithinExtensionFieldTagRange(int field_tag) {
1222 return false;
1223 }
1224 public const int ReadsFieldTag=9;
1225 public int ReadsCount { get { return super.ReadsCount;} }
1226 public bool HasReads(int index) {return true;}
1227 public StorageElement Reads(int index) {
1228 return new StorageElement(super.GetReads(index));
1229 }
1230 public const int WritesFieldTag=10;
1231 public int WritesCount { get { return super.WritesCount;} }
1232 public bool HasWrites(int index) {return true;}
1233 public StorageElement Writes(int index) {
1234 return new StorageElement(super.GetWrites(index));
1235 }
1236 public const int ComparesFieldTag=11;
1237 public int ComparesCount { get { return super.ComparesCount;} }
1238 public bool HasCompares(int index) {return true;}
1239 public CompareElement Compares(int index) {
1240 return new CompareElement(super.GetCompares(index));
1241 }
1242 public const int OptionsFieldTag=14;
1243 public bool HasOptions { get {
1244 if (!super.HasOptions) return false;
1245 return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1246 } }
1247 public ulong Options{ get {
1248 if (HasOptions) {
1249 return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1250 } else {
1251 return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1252 }
1253 }
1254 }
1255 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
1256 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
1257 public static Builder CreateBuilder() { return new Builder(); }
1258 public static Builder CreateBuilder(Minitransaction prototype) {
1259 return (Builder)new Builder().MergeFrom(prototype);
1260 }
1261 public static Minitransaction ParseFrom(pb::ByteString data) {
1262 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
1263 }
1264 public static Minitransaction ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
1265 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
1266 }
1267 public static Minitransaction ParseFrom(byte[] data) {
1268 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
1269 }
1270 public static Minitransaction ParseFrom(byte[] data, pb::ExtensionRegistry er) {
1271 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
1272 }
1273 public static Minitransaction ParseFrom(global::System.IO.Stream data) {
1274 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
1275 }
1276 public static Minitransaction ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
1277 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
1278 }
1279 public static Minitransaction ParseFrom(pb::CodedInputStream data) {
1280 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
1281 }
1282 public static Minitransaction ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
1283 return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
1284 }
1285 protected override bool _HasAllPBJFields{ get {
1286 return true
1287 ;
1288 } }
1289 public bool IsInitialized { get {
1290 return super.IsInitialized&&_HasAllPBJFields;
1291 } }
1292 public class Builder : global::PBJ.IMessage.IBuilder{
1293 protected override bool _HasAllPBJFields{ get {
1294 return true
1295 ;
1296 } }
1297 public bool IsInitialized { get {
1298 return super.IsInitialized&&_HasAllPBJFields;
1299 } }
1300 protected _PBJ_Internal.Minitransaction.Builder super;
1301 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
1302 public _PBJ_Internal.Minitransaction.Builder _PBJSuper{ get { return super;} }
1303 public Builder() {super = new _PBJ_Internal.Minitransaction.Builder();}
1304 public Builder(_PBJ_Internal.Minitransaction.Builder other) {
1305 super=other;
1306 }
1307 public Builder Clone() {return new Builder(super.Clone());}
1308 public Builder MergeFrom(Minitransaction prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
1309 public Builder Clear() {super.Clear();return this;}
1310 public Minitransaction BuildPartial() {return new Minitransaction(super.BuildPartial());}
1311 public Minitransaction Build() {if (_HasAllPBJFields) return new Minitransaction(super.Build());return null;}
1312 public pbd::MessageDescriptor DescriptorForType {
1313 get { return Minitransaction.Descriptor; } }
1314 public Builder ClearReads() { super.ClearReads();return this;}
1315 public Builder SetReads(int index,StorageElement value) {
1316 super.SetReads(index,value._PBJSuper);
1317 return this;
1318 }
1319 public const int ReadsFieldTag=9;
1320 public int ReadsCount { get { return super.ReadsCount;} }
1321 public bool HasReads(int index) {return true;}
1322 public StorageElement Reads(int index) {
1323 return new StorageElement(super.GetReads(index));
1324 }
1325 public Builder AddReads(StorageElement value ) {
1326 super.AddReads(value._PBJSuper);
1327 return this;
1328 }
1329 public Builder ClearWrites() { super.ClearWrites();return this;}
1330 public Builder SetWrites(int index,StorageElement value) {
1331 super.SetWrites(index,value._PBJSuper);
1332 return this;
1333 }
1334 public const int WritesFieldTag=10;
1335 public int WritesCount { get { return super.WritesCount;} }
1336 public bool HasWrites(int index) {return true;}
1337 public StorageElement Writes(int index) {
1338 return new StorageElement(super.GetWrites(index));
1339 }
1340 public Builder AddWrites(StorageElement value ) {
1341 super.AddWrites(value._PBJSuper);
1342 return this;
1343 }
1344 public Builder ClearCompares() { super.ClearCompares();return this;}
1345 public Builder SetCompares(int index,CompareElement value) {
1346 super.SetCompares(index,value._PBJSuper);
1347 return this;
1348 }
1349 public const int ComparesFieldTag=11;
1350 public int ComparesCount { get { return super.ComparesCount;} }
1351 public bool HasCompares(int index) {return true;}
1352 public CompareElement Compares(int index) {
1353 return new CompareElement(super.GetCompares(index));
1354 }
1355 public Builder AddCompares(CompareElement value ) {
1356 super.AddCompares(value._PBJSuper);
1357 return this;
1358 }
1359 public Builder ClearOptions() { super.ClearOptions();return this;}
1360 public const int OptionsFieldTag=14;
1361 public bool HasOptions { get {
1362 if (!super.HasOptions) return false;
1363 return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1364 } }
1365 public ulong Options{ get {
1366 if (HasOptions) {
1367 return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1368 } else {
1369 return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
1370 }
1371 }
1372 set {
1373 super.Options=((value));
1374 }
1375 }
1376 }
1377 }
1378}
1379namespace Sirikata.Persistence.Protocol {
1380 public class Response : PBJ.IMessage {
1381 protected _PBJ_Internal.Response super;
1382 public _PBJ_Internal.Response _PBJSuper{ get { return super;} }
1383 public Response() {
1384 super=new _PBJ_Internal.Response();
1385 }
1386 public Response(_PBJ_Internal.Response reference) {
1387 super=reference;
1388 }
1389 public static Response defaultInstance= new Response (_PBJ_Internal.Response.DefaultInstance);
1390 public static Response DefaultInstance{
1391 get {return defaultInstance;}
1392 }
1393 public static pbd.MessageDescriptor Descriptor {
1394 get { return _PBJ_Internal.Response.Descriptor; } }
1395 public static class Types {
1396 public enum ReturnStatus {
1397 SUCCESS=_PBJ_Internal.Response.Types.ReturnStatus.SUCCESS,
1398 DATABASE_LOCKED=_PBJ_Internal.Response.Types.ReturnStatus.DATABASE_LOCKED,
1399 KEY_MISSING=_PBJ_Internal.Response.Types.ReturnStatus.KEY_MISSING,
1400 COMPARISON_FAILED=_PBJ_Internal.Response.Types.ReturnStatus.COMPARISON_FAILED,
1401 INTERNAL_ERROR=_PBJ_Internal.Response.Types.ReturnStatus.INTERNAL_ERROR
1402 };
1403 }
1404 public static bool WithinReservedFieldTagRange(int field_tag) {
1405 return false||(field_tag>=1&&field_tag<=8);
1406 }
1407 public static bool WithinExtensionFieldTagRange(int field_tag) {
1408 return false;
1409 }
1410 public const int ReadsFieldTag=9;
1411 public int ReadsCount { get { return super.ReadsCount;} }
1412 public bool HasReads(int index) {return true;}
1413 public StorageElement Reads(int index) {
1414 return new StorageElement(super.GetReads(index));
1415 }
1416 public const int ReturnStatusFieldTag=15;
1417 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
1418 public Types.ReturnStatus ReturnStatus{ get {
1419 if (HasReturnStatus) {
1420 return (Types.ReturnStatus)super.ReturnStatus;
1421 } else {
1422 return new Types.ReturnStatus();
1423 }
1424 }
1425 }
1426 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
1427 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
1428 public static Builder CreateBuilder() { return new Builder(); }
1429 public static Builder CreateBuilder(Response prototype) {
1430 return (Builder)new Builder().MergeFrom(prototype);
1431 }
1432 public static Response ParseFrom(pb::ByteString data) {
1433 return new Response(_PBJ_Internal.Response.ParseFrom(data));
1434 }
1435 public static Response ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
1436 return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
1437 }
1438 public static Response ParseFrom(byte[] data) {
1439 return new Response(_PBJ_Internal.Response.ParseFrom(data));
1440 }
1441 public static Response ParseFrom(byte[] data, pb::ExtensionRegistry er) {
1442 return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
1443 }
1444 public static Response ParseFrom(global::System.IO.Stream data) {
1445 return new Response(_PBJ_Internal.Response.ParseFrom(data));
1446 }
1447 public static Response ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
1448 return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
1449 }
1450 public static Response ParseFrom(pb::CodedInputStream data) {
1451 return new Response(_PBJ_Internal.Response.ParseFrom(data));
1452 }
1453 public static Response ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
1454 return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
1455 }
1456 protected override bool _HasAllPBJFields{ get {
1457 return true
1458 ;
1459 } }
1460 public bool IsInitialized { get {
1461 return super.IsInitialized&&_HasAllPBJFields;
1462 } }
1463 public class Builder : global::PBJ.IMessage.IBuilder{
1464 protected override bool _HasAllPBJFields{ get {
1465 return true
1466 ;
1467 } }
1468 public bool IsInitialized { get {
1469 return super.IsInitialized&&_HasAllPBJFields;
1470 } }
1471 protected _PBJ_Internal.Response.Builder super;
1472 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
1473 public _PBJ_Internal.Response.Builder _PBJSuper{ get { return super;} }
1474 public Builder() {super = new _PBJ_Internal.Response.Builder();}
1475 public Builder(_PBJ_Internal.Response.Builder other) {
1476 super=other;
1477 }
1478 public Builder Clone() {return new Builder(super.Clone());}
1479 public Builder MergeFrom(Response prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
1480 public Builder Clear() {super.Clear();return this;}
1481 public Response BuildPartial() {return new Response(super.BuildPartial());}
1482 public Response Build() {if (_HasAllPBJFields) return new Response(super.Build());return null;}
1483 public pbd::MessageDescriptor DescriptorForType {
1484 get { return Response.Descriptor; } }
1485 public Builder ClearReads() { super.ClearReads();return this;}
1486 public Builder SetReads(int index,StorageElement value) {
1487 super.SetReads(index,value._PBJSuper);
1488 return this;
1489 }
1490 public const int ReadsFieldTag=9;
1491 public int ReadsCount { get { return super.ReadsCount;} }
1492 public bool HasReads(int index) {return true;}
1493 public StorageElement Reads(int index) {
1494 return new StorageElement(super.GetReads(index));
1495 }
1496 public Builder AddReads(StorageElement value ) {
1497 super.AddReads(value._PBJSuper);
1498 return this;
1499 }
1500 public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
1501 public const int ReturnStatusFieldTag=15;
1502 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
1503 public Types.ReturnStatus ReturnStatus{ get {
1504 if (HasReturnStatus) {
1505 return (Types.ReturnStatus)super.ReturnStatus;
1506 } else {
1507 return new Types.ReturnStatus();
1508 }
1509 }
1510 set {
1511 super.ReturnStatus=((_PBJ_Internal.Response.Types.ReturnStatus)value);
1512 }
1513 }
1514 }
1515 }
1516}