1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543 |
- /*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
- using pbd = global::Google.ProtocolBuffers.Descriptors;
- using pb = global::Google.ProtocolBuffers;
- namespace Sirikata.Persistence.Protocol {
- public class StorageKey : PBJ.IMessage {
- protected _PBJ_Internal.StorageKey super;
- public _PBJ_Internal.StorageKey _PBJSuper{ get { return super;} }
- public StorageKey() {
- super=new _PBJ_Internal.StorageKey();
- }
- public StorageKey(_PBJ_Internal.StorageKey reference) {
- super=reference;
- }
- public static StorageKey defaultInstance= new StorageKey (_PBJ_Internal.StorageKey.DefaultInstance);
- public static StorageKey DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageKey.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageKey prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageKey ParseFrom(pb::ByteString data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(byte[] data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(global::System.IO.Stream data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(pb::CodedInputStream data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageKey.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageKey.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageKey.Builder();}
- public Builder(_PBJ_Internal.StorageKey.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageKey prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageKey BuildPartial() {return new StorageKey(super.BuildPartial());}
- public StorageKey Build() {if (_HasAllPBJFields) return new StorageKey(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageKey.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class StorageValue : PBJ.IMessage {
- protected _PBJ_Internal.StorageValue super;
- public _PBJ_Internal.StorageValue _PBJSuper{ get { return super;} }
- public StorageValue() {
- super=new _PBJ_Internal.StorageValue();
- }
- public StorageValue(_PBJ_Internal.StorageValue reference) {
- super=reference;
- }
- public static StorageValue defaultInstance= new StorageValue (_PBJ_Internal.StorageValue.DefaultInstance);
- public static StorageValue DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageValue.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageValue prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageValue ParseFrom(pb::ByteString data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(byte[] data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(global::System.IO.Stream data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(pb::CodedInputStream data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageValue.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageValue.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageValue.Builder();}
- public Builder(_PBJ_Internal.StorageValue.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageValue prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageValue BuildPartial() {return new StorageValue(super.BuildPartial());}
- public StorageValue Build() {if (_HasAllPBJFields) return new StorageValue(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageValue.Descriptor; } }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class StorageElement : PBJ.IMessage {
- protected _PBJ_Internal.StorageElement super;
- public _PBJ_Internal.StorageElement _PBJSuper{ get { return super;} }
- public StorageElement() {
- super=new _PBJ_Internal.StorageElement();
- }
- public StorageElement(_PBJ_Internal.StorageElement reference) {
- super=reference;
- }
- public static StorageElement defaultInstance= new StorageElement (_PBJ_Internal.StorageElement.DefaultInstance);
- public static StorageElement DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageElement.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- KEY_MISSING=_PBJ_Internal.StorageElement.Types.ReturnStatus.KEY_MISSING,
- INTERNAL_ERROR=_PBJ_Internal.StorageElement.Types.ReturnStatus.INTERNAL_ERROR
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public const int IndexFieldTag=13;
- public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
- public int Index{ get {
- if (HasIndex) {
- return PBJ._PBJ.CastInt32(super.Index);
- } else {
- return PBJ._PBJ.CastInt32();
- }
- }
- }
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageElement prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageElement ParseFrom(pb::ByteString data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(byte[] data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(global::System.IO.Stream data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(pb::CodedInputStream data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageElement.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageElement.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageElement.Builder();}
- public Builder(_PBJ_Internal.StorageElement.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageElement BuildPartial() {return new StorageElement(super.BuildPartial());}
- public StorageElement Build() {if (_HasAllPBJFields) return new StorageElement(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageElement.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearIndex() { super.ClearIndex();return this;}
- public const int IndexFieldTag=13;
- public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
- public int Index{ get {
- if (HasIndex) {
- return PBJ._PBJ.CastInt32(super.Index);
- } else {
- return PBJ._PBJ.CastInt32();
- }
- }
- set {
- super.Index=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- set {
- super.ReturnStatus=((_PBJ_Internal.StorageElement.Types.ReturnStatus)value);
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class CompareElement : PBJ.IMessage {
- protected _PBJ_Internal.CompareElement super;
- public _PBJ_Internal.CompareElement _PBJSuper{ get { return super;} }
- public CompareElement() {
- super=new _PBJ_Internal.CompareElement();
- }
- public CompareElement(_PBJ_Internal.CompareElement reference) {
- super=reference;
- }
- public static CompareElement defaultInstance= new CompareElement (_PBJ_Internal.CompareElement.DefaultInstance);
- public static CompareElement DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.CompareElement.Descriptor; } }
- public static class Types {
- public enum COMPARATOR {
- EQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.EQUAL,
- NEQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.NEQUAL
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public const int ComparatorFieldTag=14;
- public bool HasComparator{ get {return super.HasComparator;} }
- public Types.COMPARATOR Comparator{ get {
- if (HasComparator) {
- return (Types.COMPARATOR)super.Comparator;
- } else {
- return new Types.COMPARATOR();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(CompareElement prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static CompareElement ParseFrom(pb::ByteString data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(byte[] data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(global::System.IO.Stream data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(pb::CodedInputStream data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.CompareElement.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.CompareElement.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.CompareElement.Builder();}
- public Builder(_PBJ_Internal.CompareElement.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(CompareElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public CompareElement BuildPartial() {return new CompareElement(super.BuildPartial());}
- public CompareElement Build() {if (_HasAllPBJFields) return new CompareElement(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return CompareElement.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearComparator() { super.ClearComparator();return this;}
- public const int ComparatorFieldTag=14;
- public bool HasComparator{ get {return super.HasComparator;} }
- public Types.COMPARATOR Comparator{ get {
- if (HasComparator) {
- return (Types.COMPARATOR)super.Comparator;
- } else {
- return new Types.COMPARATOR();
- }
- }
- set {
- super.Comparator=((_PBJ_Internal.CompareElement.Types.COMPARATOR)value);
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class StorageSet : PBJ.IMessage {
- protected _PBJ_Internal.StorageSet super;
- public _PBJ_Internal.StorageSet _PBJSuper{ get { return super;} }
- public StorageSet() {
- super=new _PBJ_Internal.StorageSet();
- }
- public StorageSet(_PBJ_Internal.StorageSet reference) {
- super=reference;
- }
- public static StorageSet defaultInstance= new StorageSet (_PBJ_Internal.StorageSet.DefaultInstance);
- public static StorageSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageSet ParseFrom(pb::ByteString data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(byte[] data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(global::System.IO.Stream data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(pb::CodedInputStream data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageSet.Builder();}
- public Builder(_PBJ_Internal.StorageSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageSet BuildPartial() {return new StorageSet(super.BuildPartial());}
- public StorageSet Build() {if (_HasAllPBJFields) return new StorageSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class ReadSet : PBJ.IMessage {
- protected _PBJ_Internal.ReadSet super;
- public _PBJ_Internal.ReadSet _PBJSuper{ get { return super;} }
- public ReadSet() {
- super=new _PBJ_Internal.ReadSet();
- }
- public ReadSet(_PBJ_Internal.ReadSet reference) {
- super=reference;
- }
- public static ReadSet defaultInstance= new ReadSet (_PBJ_Internal.ReadSet.DefaultInstance);
- public static ReadSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ReadSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(ReadSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ReadSet ParseFrom(pb::ByteString data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(byte[] data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(global::System.IO.Stream data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(pb::CodedInputStream data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.ReadSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ReadSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ReadSet.Builder();}
- public Builder(_PBJ_Internal.ReadSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ReadSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ReadSet BuildPartial() {return new ReadSet(super.BuildPartial());}
- public ReadSet Build() {if (_HasAllPBJFields) return new ReadSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ReadSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class WriteSet : PBJ.IMessage {
- protected _PBJ_Internal.WriteSet super;
- public _PBJ_Internal.WriteSet _PBJSuper{ get { return super;} }
- public WriteSet() {
- super=new _PBJ_Internal.WriteSet();
- }
- public WriteSet(_PBJ_Internal.WriteSet reference) {
- super=reference;
- }
- public static WriteSet defaultInstance= new WriteSet (_PBJ_Internal.WriteSet.DefaultInstance);
- public static WriteSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.WriteSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(WriteSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static WriteSet ParseFrom(pb::ByteString data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(byte[] data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(global::System.IO.Stream data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(pb::CodedInputStream data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.WriteSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.WriteSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.WriteSet.Builder();}
- public Builder(_PBJ_Internal.WriteSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(WriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public WriteSet BuildPartial() {return new WriteSet(super.BuildPartial());}
- public WriteSet Build() {if (_HasAllPBJFields) return new WriteSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return WriteSet.Descriptor; } }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class ReadWriteSet : PBJ.IMessage {
- protected _PBJ_Internal.ReadWriteSet super;
- public _PBJ_Internal.ReadWriteSet _PBJSuper{ get { return super;} }
- public ReadWriteSet() {
- super=new _PBJ_Internal.ReadWriteSet();
- }
- public ReadWriteSet(_PBJ_Internal.ReadWriteSet reference) {
- super=reference;
- }
- public static ReadWriteSet defaultInstance= new ReadWriteSet (_PBJ_Internal.ReadWriteSet.DefaultInstance);
- public static ReadWriteSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ReadWriteSet.Descriptor; } }
- public static class Types {
- public enum ReadWriteSetOptions {
- RETURN_READ_NAMES=_PBJ_Internal.ReadWriteSet.Types.ReadWriteSetOptions.RETURN_READ_NAMES
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(ReadWriteSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ReadWriteSet ParseFrom(pb::ByteString data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(byte[] data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.ReadWriteSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ReadWriteSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ReadWriteSet.Builder();}
- public Builder(_PBJ_Internal.ReadWriteSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ReadWriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ReadWriteSet BuildPartial() {return new ReadWriteSet(super.BuildPartial());}
- public ReadWriteSet Build() {if (_HasAllPBJFields) return new ReadWriteSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ReadWriteSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- public Builder ClearOptions() { super.ClearOptions();return this;}
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- }
- }
- set {
- super.Options=((value));
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class Minitransaction : PBJ.IMessage {
- protected _PBJ_Internal.Minitransaction super;
- public _PBJ_Internal.Minitransaction _PBJSuper{ get { return super;} }
- public Minitransaction() {
- super=new _PBJ_Internal.Minitransaction();
- }
- public Minitransaction(_PBJ_Internal.Minitransaction reference) {
- super=reference;
- }
- public static Minitransaction defaultInstance= new Minitransaction (_PBJ_Internal.Minitransaction.DefaultInstance);
- public static Minitransaction DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Minitransaction.Descriptor; } }
- public static class Types {
- public enum TransactionOptions {
- RETURN_READ_NAMES=_PBJ_Internal.Minitransaction.Types.TransactionOptions.RETURN_READ_NAMES
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public const int ComparesFieldTag=11;
- public int ComparesCount { get { return super.ComparesCount;} }
- public bool HasCompares(int index) {return true;}
- public CompareElement Compares(int index) {
- return new CompareElement(super.GetCompares(index));
- }
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(Minitransaction prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Minitransaction ParseFrom(pb::ByteString data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(byte[] data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.Minitransaction.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Minitransaction.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Minitransaction.Builder();}
- public Builder(_PBJ_Internal.Minitransaction.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Minitransaction prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Minitransaction BuildPartial() {return new Minitransaction(super.BuildPartial());}
- public Minitransaction Build() {if (_HasAllPBJFields) return new Minitransaction(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Minitransaction.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- public Builder ClearCompares() { super.ClearCompares();return this;}
- public Builder SetCompares(int index,CompareElement value) {
- super.SetCompares(index,value._PBJSuper);
- return this;
- }
- public const int ComparesFieldTag=11;
- public int ComparesCount { get { return super.ComparesCount;} }
- public bool HasCompares(int index) {return true;}
- public CompareElement Compares(int index) {
- return new CompareElement(super.GetCompares(index));
- }
- public Builder AddCompares(CompareElement value) {
- super.AddCompares(value._PBJSuper);
- return this;
- }
- public Builder ClearOptions() { super.ClearOptions();return this;}
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- }
- }
- set {
- super.Options=((value));
- }
- }
- }
- }
- }
- namespace Sirikata.Persistence.Protocol {
- public class Response : PBJ.IMessage {
- protected _PBJ_Internal.Response super;
- public _PBJ_Internal.Response _PBJSuper{ get { return super;} }
- public Response() {
- super=new _PBJ_Internal.Response();
- }
- public Response(_PBJ_Internal.Response reference) {
- super=reference;
- }
- public static Response defaultInstance= new Response (_PBJ_Internal.Response.DefaultInstance);
- public static Response DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Response.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- SUCCESS=_PBJ_Internal.Response.Types.ReturnStatus.SUCCESS,
- DATABASE_LOCKED=_PBJ_Internal.Response.Types.ReturnStatus.DATABASE_LOCKED,
- KEY_MISSING=_PBJ_Internal.Response.Types.ReturnStatus.KEY_MISSING,
- COMPARISON_FAILED=_PBJ_Internal.Response.Types.ReturnStatus.COMPARISON_FAILED,
- INTERNAL_ERROR=_PBJ_Internal.Response.Types.ReturnStatus.INTERNAL_ERROR
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(Response prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Response ParseFrom(pb::ByteString data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(byte[] data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(global::System.IO.Stream data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(pb::CodedInputStream data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.Response.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Response.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Response.Builder();}
- public Builder(_PBJ_Internal.Response.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Response prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Response BuildPartial() {return new Response(super.BuildPartial());}
- public Response Build() {if (_HasAllPBJFields) return new Response(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Response.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- set {
- super.ReturnStatus=((_PBJ_Internal.Response.Types.ReturnStatus)value);
- }
- }
- }
- }
- }
|