1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934 |
- /*
- * 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.Protocol {
- public class MessageBody : PBJ.IMessage {
- protected _PBJ_Internal.MessageBody super;
- public _PBJ_Internal.MessageBody _PBJSuper{ get { return super;} }
- public MessageBody() {
- super=new _PBJ_Internal.MessageBody();
- }
- public MessageBody(_PBJ_Internal.MessageBody reference) {
- super=reference;
- }
- public static MessageBody defaultInstance= new MessageBody (_PBJ_Internal.MessageBody.DefaultInstance);
- public static MessageBody DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.MessageBody.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 MessageNamesFieldTag=9;
- public int MessageNamesCount { get { return super.MessageNamesCount;} }
- public bool HasMessageNames(int index) {return PBJ._PBJ.ValidateString(super.GetMessageNames(index));}
- public string MessageNames(int index) {
- return (string)PBJ._PBJ.CastString(super.GetMessageNames(index));
- }
- public const int MessageArgumentsFieldTag=10;
- public int MessageArgumentsCount { get { return super.MessageArgumentsCount;} }
- public bool HasMessageArguments(int index) {return PBJ._PBJ.ValidateBytes(super.GetMessageArguments(index));}
- public pb::ByteString MessageArguments(int index) {
- return (pb::ByteString)PBJ._PBJ.CastBytes(super.GetMessageArguments(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(MessageBody prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static MessageBody ParseFrom(pb::ByteString data) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data));
- }
- public static MessageBody ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data,er));
- }
- public static MessageBody ParseFrom(byte[] data) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data));
- }
- public static MessageBody ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data,er));
- }
- public static MessageBody ParseFrom(global::System.IO.Stream data) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data));
- }
- public static MessageBody ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data,er));
- }
- public static MessageBody ParseFrom(pb::CodedInputStream data) {
- return new MessageBody(_PBJ_Internal.MessageBody.ParseFrom(data));
- }
- public static MessageBody ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new MessageBody(_PBJ_Internal.MessageBody.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.MessageBody.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.MessageBody.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.MessageBody.Builder();}
- public Builder(_PBJ_Internal.MessageBody.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(MessageBody prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public MessageBody BuildPartial() {return new MessageBody(super.BuildPartial());}
- public MessageBody Build() {if (_HasAllPBJFields) return new MessageBody(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return MessageBody.Descriptor; } }
- public Builder ClearMessageNames() { super.ClearMessageNames();return this;}
- public Builder SetMessageNames(int index, string value) {
- super.SetMessageNames(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int MessageNamesFieldTag=9;
- public int MessageNamesCount { get { return super.MessageNamesCount;} }
- public bool HasMessageNames(int index) {return PBJ._PBJ.ValidateString(super.GetMessageNames(index));}
- public string MessageNames(int index) {
- return (string)PBJ._PBJ.CastString(super.GetMessageNames(index));
- }
- public Builder AddMessageNames(string value) {
- super.AddMessageNames(PBJ._PBJ.Construct(value));
- return this;
- }
- public Builder ClearMessageArguments() { super.ClearMessageArguments();return this;}
- public Builder SetMessageArguments(int index, pb::ByteString value) {
- super.SetMessageArguments(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int MessageArgumentsFieldTag=10;
- public int MessageArgumentsCount { get { return super.MessageArgumentsCount;} }
- public bool HasMessageArguments(int index) {return PBJ._PBJ.ValidateBytes(super.GetMessageArguments(index));}
- public pb::ByteString MessageArguments(int index) {
- return (pb::ByteString)PBJ._PBJ.CastBytes(super.GetMessageArguments(index));
- }
- public Builder AddMessageArguments(pb::ByteString value) {
- super.AddMessageArguments(PBJ._PBJ.Construct(value));
- return this;
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class ReadOnlyMessage : PBJ.IMessage {
- protected _PBJ_Internal.ReadOnlyMessage super;
- public _PBJ_Internal.ReadOnlyMessage _PBJSuper{ get { return super;} }
- public ReadOnlyMessage() {
- super=new _PBJ_Internal.ReadOnlyMessage();
- }
- public ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage reference) {
- super=reference;
- }
- public static ReadOnlyMessage defaultInstance= new ReadOnlyMessage (_PBJ_Internal.ReadOnlyMessage.DefaultInstance);
- public static ReadOnlyMessage DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ReadOnlyMessage.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- SUCCESS=_PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.SUCCESS,
- NETWORK_FAILURE=_PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.NETWORK_FAILURE,
- TIMEOUT_FAILURE=_PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.TIMEOUT_FAILURE,
- PROTOCOL_ERROR=_PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.PROTOCOL_ERROR,
- PORT_FAILURE=_PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.PORT_FAILURE
- };
- }
- 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 SourceObjectFieldTag=1;
- public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
- public PBJ.UUID SourceObject{ get {
- if (HasSourceObject) {
- return PBJ._PBJ.CastUuid(super.SourceObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int SourcePortFieldTag=3;
- public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
- public uint SourcePort{ get {
- if (HasSourcePort) {
- return PBJ._PBJ.CastUint32(super.SourcePort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int SourceSpaceFieldTag=1536;
- public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
- public PBJ.UUID SourceSpace{ get {
- if (HasSourceSpace) {
- return PBJ._PBJ.CastUuid(super.SourceSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int DestinationObjectFieldTag=2;
- public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
- public PBJ.UUID DestinationObject{ get {
- if (HasDestinationObject) {
- return PBJ._PBJ.CastUuid(super.DestinationObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int DestinationPortFieldTag=4;
- public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
- public uint DestinationPort{ get {
- if (HasDestinationPort) {
- return PBJ._PBJ.CastUint32(super.DestinationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int DestinationSpaceFieldTag=1537;
- public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
- public PBJ.UUID DestinationSpace{ get {
- if (HasDestinationSpace) {
- return PBJ._PBJ.CastUuid(super.DestinationSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int IdFieldTag=7;
- public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
- public long Id{ get {
- if (HasId) {
- return PBJ._PBJ.CastInt64(super.Id);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- }
- public const int ReplyIdFieldTag=8;
- public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
- public long ReplyId{ get {
- if (HasReplyId) {
- return PBJ._PBJ.CastInt64(super.ReplyId);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- }
- public const int ReturnStatusFieldTag=1792;
- 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 const int MessageNamesFieldTag=9;
- public int MessageNamesCount { get { return super.MessageNamesCount;} }
- public bool HasMessageNames(int index) {return PBJ._PBJ.ValidateString(super.GetMessageNames(index));}
- public string MessageNames(int index) {
- return (string)PBJ._PBJ.CastString(super.GetMessageNames(index));
- }
- public const int MessageArgumentsFieldTag=10;
- public int MessageArgumentsCount { get { return super.MessageArgumentsCount;} }
- public bool HasMessageArguments(int index) {return PBJ._PBJ.ValidateBytes(super.GetMessageArguments(index));}
- public pb::ByteString MessageArguments(int index) {
- return (pb::ByteString)PBJ._PBJ.CastBytes(super.GetMessageArguments(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(ReadOnlyMessage prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ReadOnlyMessage ParseFrom(pb::ByteString data) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data));
- }
- public static ReadOnlyMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data,er));
- }
- public static ReadOnlyMessage ParseFrom(byte[] data) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data));
- }
- public static ReadOnlyMessage ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data,er));
- }
- public static ReadOnlyMessage ParseFrom(global::System.IO.Stream data) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data));
- }
- public static ReadOnlyMessage ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data,er));
- }
- public static ReadOnlyMessage ParseFrom(pb::CodedInputStream data) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.ParseFrom(data));
- }
- public static ReadOnlyMessage ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ReadOnlyMessage(_PBJ_Internal.ReadOnlyMessage.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.ReadOnlyMessage.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ReadOnlyMessage.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ReadOnlyMessage.Builder();}
- public Builder(_PBJ_Internal.ReadOnlyMessage.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ReadOnlyMessage prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ReadOnlyMessage BuildPartial() {return new ReadOnlyMessage(super.BuildPartial());}
- public ReadOnlyMessage Build() {if (_HasAllPBJFields) return new ReadOnlyMessage(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ReadOnlyMessage.Descriptor; } }
- public Builder ClearSourceObject() { super.ClearSourceObject();return this;}
- public const int SourceObjectFieldTag=1;
- public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
- public PBJ.UUID SourceObject{ get {
- if (HasSourceObject) {
- return PBJ._PBJ.CastUuid(super.SourceObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.SourceObject=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearSourcePort() { super.ClearSourcePort();return this;}
- public const int SourcePortFieldTag=3;
- public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
- public uint SourcePort{ get {
- if (HasSourcePort) {
- return PBJ._PBJ.CastUint32(super.SourcePort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.SourcePort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearSourceSpace() { super.ClearSourceSpace();return this;}
- public const int SourceSpaceFieldTag=1536;
- public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
- public PBJ.UUID SourceSpace{ get {
- if (HasSourceSpace) {
- return PBJ._PBJ.CastUuid(super.SourceSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.SourceSpace=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationObject() { super.ClearDestinationObject();return this;}
- public const int DestinationObjectFieldTag=2;
- public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
- public PBJ.UUID DestinationObject{ get {
- if (HasDestinationObject) {
- return PBJ._PBJ.CastUuid(super.DestinationObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.DestinationObject=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationPort() { super.ClearDestinationPort();return this;}
- public const int DestinationPortFieldTag=4;
- public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
- public uint DestinationPort{ get {
- if (HasDestinationPort) {
- return PBJ._PBJ.CastUint32(super.DestinationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.DestinationPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationSpace() { super.ClearDestinationSpace();return this;}
- public const int DestinationSpaceFieldTag=1537;
- public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
- public PBJ.UUID DestinationSpace{ get {
- if (HasDestinationSpace) {
- return PBJ._PBJ.CastUuid(super.DestinationSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.DestinationSpace=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearId() { super.ClearId();return this;}
- public const int IdFieldTag=7;
- public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
- public long Id{ get {
- if (HasId) {
- return PBJ._PBJ.CastInt64(super.Id);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- set {
- super.Id=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReplyId() { super.ClearReplyId();return this;}
- public const int ReplyIdFieldTag=8;
- public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
- public long ReplyId{ get {
- if (HasReplyId) {
- return PBJ._PBJ.CastInt64(super.ReplyId);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- set {
- super.ReplyId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=1792;
- 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.ReadOnlyMessage.Types.ReturnStatus)value);
- }
- }
- public Builder ClearMessageNames() { super.ClearMessageNames();return this;}
- public Builder SetMessageNames(int index, string value) {
- super.SetMessageNames(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int MessageNamesFieldTag=9;
- public int MessageNamesCount { get { return super.MessageNamesCount;} }
- public bool HasMessageNames(int index) {return PBJ._PBJ.ValidateString(super.GetMessageNames(index));}
- public string MessageNames(int index) {
- return (string)PBJ._PBJ.CastString(super.GetMessageNames(index));
- }
- public Builder AddMessageNames(string value) {
- super.AddMessageNames(PBJ._PBJ.Construct(value));
- return this;
- }
- public Builder ClearMessageArguments() { super.ClearMessageArguments();return this;}
- public Builder SetMessageArguments(int index, pb::ByteString value) {
- super.SetMessageArguments(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int MessageArgumentsFieldTag=10;
- public int MessageArgumentsCount { get { return super.MessageArgumentsCount;} }
- public bool HasMessageArguments(int index) {return PBJ._PBJ.ValidateBytes(super.GetMessageArguments(index));}
- public pb::ByteString MessageArguments(int index) {
- return (pb::ByteString)PBJ._PBJ.CastBytes(super.GetMessageArguments(index));
- }
- public Builder AddMessageArguments(pb::ByteString value) {
- super.AddMessageArguments(PBJ._PBJ.Construct(value));
- return this;
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class SpaceServices : PBJ.IMessage {
- protected _PBJ_Internal.SpaceServices super;
- public _PBJ_Internal.SpaceServices _PBJSuper{ get { return super;} }
- public SpaceServices() {
- super=new _PBJ_Internal.SpaceServices();
- }
- public SpaceServices(_PBJ_Internal.SpaceServices reference) {
- super=reference;
- }
- public static SpaceServices defaultInstance= new SpaceServices (_PBJ_Internal.SpaceServices.DefaultInstance);
- public static SpaceServices DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.SpaceServices.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int RegistrationPortFieldTag=33;
- public bool HasRegistrationPort{ get {return super.HasRegistrationPort&&PBJ._PBJ.ValidateUint32(super.RegistrationPort);} }
- public uint RegistrationPort{ get {
- if (HasRegistrationPort) {
- return PBJ._PBJ.CastUint32(super.RegistrationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int LocPortFieldTag=34;
- public bool HasLocPort{ get {return super.HasLocPort&&PBJ._PBJ.ValidateUint32(super.LocPort);} }
- public uint LocPort{ get {
- if (HasLocPort) {
- return PBJ._PBJ.CastUint32(super.LocPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int GeomPortFieldTag=35;
- public bool HasGeomPort{ get {return super.HasGeomPort&&PBJ._PBJ.ValidateUint32(super.GeomPort);} }
- public uint GeomPort{ get {
- if (HasGeomPort) {
- return PBJ._PBJ.CastUint32(super.GeomPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int OsegPortFieldTag=36;
- public bool HasOsegPort{ get {return super.HasOsegPort&&PBJ._PBJ.ValidateUint32(super.OsegPort);} }
- public uint OsegPort{ get {
- if (HasOsegPort) {
- return PBJ._PBJ.CastUint32(super.OsegPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int CsegPortFieldTag=37;
- public bool HasCsegPort{ get {return super.HasCsegPort&&PBJ._PBJ.ValidateUint32(super.CsegPort);} }
- public uint CsegPort{ get {
- if (HasCsegPort) {
- return PBJ._PBJ.CastUint32(super.CsegPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int RouterPortFieldTag=38;
- public bool HasRouterPort{ get {return super.HasRouterPort&&PBJ._PBJ.ValidateUint32(super.RouterPort);} }
- public uint RouterPort{ get {
- if (HasRouterPort) {
- return PBJ._PBJ.CastUint32(super.RouterPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int PreConnectionBufferFieldTag=64;
- public bool HasPreConnectionBuffer{ get {return super.HasPreConnectionBuffer&&PBJ._PBJ.ValidateUint64(super.PreConnectionBuffer);} }
- public ulong PreConnectionBuffer{ get {
- if (HasPreConnectionBuffer) {
- return PBJ._PBJ.CastUint64(super.PreConnectionBuffer);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int MaxPreConnectionMessagesFieldTag=65;
- public bool HasMaxPreConnectionMessages{ get {return super.HasMaxPreConnectionMessages&&PBJ._PBJ.ValidateUint64(super.MaxPreConnectionMessages);} }
- public ulong MaxPreConnectionMessages{ get {
- if (HasMaxPreConnectionMessages) {
- return PBJ._PBJ.CastUint64(super.MaxPreConnectionMessages);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- 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(SpaceServices prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static SpaceServices ParseFrom(pb::ByteString data) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data));
- }
- public static SpaceServices ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data,er));
- }
- public static SpaceServices ParseFrom(byte[] data) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data));
- }
- public static SpaceServices ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data,er));
- }
- public static SpaceServices ParseFrom(global::System.IO.Stream data) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data));
- }
- public static SpaceServices ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data,er));
- }
- public static SpaceServices ParseFrom(pb::CodedInputStream data) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.ParseFrom(data));
- }
- public static SpaceServices ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new SpaceServices(_PBJ_Internal.SpaceServices.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.SpaceServices.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.SpaceServices.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.SpaceServices.Builder();}
- public Builder(_PBJ_Internal.SpaceServices.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(SpaceServices prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public SpaceServices BuildPartial() {return new SpaceServices(super.BuildPartial());}
- public SpaceServices Build() {if (_HasAllPBJFields) return new SpaceServices(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return SpaceServices.Descriptor; } }
- public Builder ClearRegistrationPort() { super.ClearRegistrationPort();return this;}
- public const int RegistrationPortFieldTag=33;
- public bool HasRegistrationPort{ get {return super.HasRegistrationPort&&PBJ._PBJ.ValidateUint32(super.RegistrationPort);} }
- public uint RegistrationPort{ get {
- if (HasRegistrationPort) {
- return PBJ._PBJ.CastUint32(super.RegistrationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.RegistrationPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearLocPort() { super.ClearLocPort();return this;}
- public const int LocPortFieldTag=34;
- public bool HasLocPort{ get {return super.HasLocPort&&PBJ._PBJ.ValidateUint32(super.LocPort);} }
- public uint LocPort{ get {
- if (HasLocPort) {
- return PBJ._PBJ.CastUint32(super.LocPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.LocPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearGeomPort() { super.ClearGeomPort();return this;}
- public const int GeomPortFieldTag=35;
- public bool HasGeomPort{ get {return super.HasGeomPort&&PBJ._PBJ.ValidateUint32(super.GeomPort);} }
- public uint GeomPort{ get {
- if (HasGeomPort) {
- return PBJ._PBJ.CastUint32(super.GeomPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.GeomPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearOsegPort() { super.ClearOsegPort();return this;}
- public const int OsegPortFieldTag=36;
- public bool HasOsegPort{ get {return super.HasOsegPort&&PBJ._PBJ.ValidateUint32(super.OsegPort);} }
- public uint OsegPort{ get {
- if (HasOsegPort) {
- return PBJ._PBJ.CastUint32(super.OsegPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.OsegPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearCsegPort() { super.ClearCsegPort();return this;}
- public const int CsegPortFieldTag=37;
- public bool HasCsegPort{ get {return super.HasCsegPort&&PBJ._PBJ.ValidateUint32(super.CsegPort);} }
- public uint CsegPort{ get {
- if (HasCsegPort) {
- return PBJ._PBJ.CastUint32(super.CsegPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.CsegPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearRouterPort() { super.ClearRouterPort();return this;}
- public const int RouterPortFieldTag=38;
- public bool HasRouterPort{ get {return super.HasRouterPort&&PBJ._PBJ.ValidateUint32(super.RouterPort);} }
- public uint RouterPort{ get {
- if (HasRouterPort) {
- return PBJ._PBJ.CastUint32(super.RouterPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.RouterPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearPreConnectionBuffer() { super.ClearPreConnectionBuffer();return this;}
- public const int PreConnectionBufferFieldTag=64;
- public bool HasPreConnectionBuffer{ get {return super.HasPreConnectionBuffer&&PBJ._PBJ.ValidateUint64(super.PreConnectionBuffer);} }
- public ulong PreConnectionBuffer{ get {
- if (HasPreConnectionBuffer) {
- return PBJ._PBJ.CastUint64(super.PreConnectionBuffer);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.PreConnectionBuffer=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearMaxPreConnectionMessages() { super.ClearMaxPreConnectionMessages();return this;}
- public const int MaxPreConnectionMessagesFieldTag=65;
- public bool HasMaxPreConnectionMessages{ get {return super.HasMaxPreConnectionMessages&&PBJ._PBJ.ValidateUint64(super.MaxPreConnectionMessages);} }
- public ulong MaxPreConnectionMessages{ get {
- if (HasMaxPreConnectionMessages) {
- return PBJ._PBJ.CastUint64(super.MaxPreConnectionMessages);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.MaxPreConnectionMessages=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class ObjLoc : PBJ.IMessage {
- protected _PBJ_Internal.ObjLoc super;
- public _PBJ_Internal.ObjLoc _PBJSuper{ get { return super;} }
- public ObjLoc() {
- super=new _PBJ_Internal.ObjLoc();
- }
- public ObjLoc(_PBJ_Internal.ObjLoc reference) {
- super=reference;
- }
- public static ObjLoc defaultInstance= new ObjLoc (_PBJ_Internal.ObjLoc.DefaultInstance);
- public static ObjLoc DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ObjLoc.Descriptor; } }
- public static class Types {
- public enum UpdateFlags {
- FORCE=_PBJ_Internal.ObjLoc.Types.UpdateFlags.FORCE
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- }
- public const int PositionFieldTag=3;
- public bool HasPosition{ get {return super.PositionCount>=3;} }
- public PBJ.Vector3d Position{ get {
- int index=0;
- if (HasPosition) {
- return PBJ._PBJ.CastVector3d(super.GetPosition(index*3+0),super.GetPosition(index*3+1),super.GetPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- }
- public const int OrientationFieldTag=4;
- public bool HasOrientation{ get {return super.OrientationCount>=3;} }
- public PBJ.Quaternion Orientation{ get {
- int index=0;
- if (HasOrientation) {
- return PBJ._PBJ.CastQuaternion(super.GetOrientation(index*3+0),super.GetOrientation(index*3+1),super.GetOrientation(index*3+2));
- } else {
- return PBJ._PBJ.CastQuaternion();
- }
- }
- }
- public const int VelocityFieldTag=5;
- public bool HasVelocity{ get {return super.VelocityCount>=3;} }
- public PBJ.Vector3f Velocity{ get {
- int index=0;
- if (HasVelocity) {
- return PBJ._PBJ.CastVector3f(super.GetVelocity(index*3+0),super.GetVelocity(index*3+1),super.GetVelocity(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int RotationalAxisFieldTag=7;
- public bool HasRotationalAxis{ get {return super.RotationalAxisCount>=2;} }
- public PBJ.Vector3f RotationalAxis{ get {
- int index=0;
- if (HasRotationalAxis) {
- return PBJ._PBJ.CastNormal(super.GetRotationalAxis(index*2+0),super.GetRotationalAxis(index*2+1));
- } else {
- return PBJ._PBJ.CastNormal();
- }
- }
- }
- public const int AngularSpeedFieldTag=8;
- public bool HasAngularSpeed{ get {return super.HasAngularSpeed&&PBJ._PBJ.ValidateFloat(super.AngularSpeed);} }
- public float AngularSpeed{ get {
- if (HasAngularSpeed) {
- return PBJ._PBJ.CastFloat(super.AngularSpeed);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int UpdateFlagsFieldTag=6;
- public bool HasUpdateFlags { get {
- if (!super.HasUpdateFlags) return false;
- return PBJ._PBJ.ValidateFlags(super.UpdateFlags,(ulong)Types.UpdateFlags.FORCE);
- } }
- public byte UpdateFlags{ get {
- if (HasUpdateFlags) {
- return (byte)PBJ._PBJ.CastFlags(super.UpdateFlags,(ulong)Types.UpdateFlags.FORCE);
- } else {
- return (byte)PBJ._PBJ.CastFlags((ulong)Types.UpdateFlags.FORCE);
- }
- }
- }
- 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(ObjLoc prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ObjLoc ParseFrom(pb::ByteString data) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data));
- }
- public static ObjLoc ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data,er));
- }
- public static ObjLoc ParseFrom(byte[] data) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data));
- }
- public static ObjLoc ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data,er));
- }
- public static ObjLoc ParseFrom(global::System.IO.Stream data) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data));
- }
- public static ObjLoc ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data,er));
- }
- public static ObjLoc ParseFrom(pb::CodedInputStream data) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.ParseFrom(data));
- }
- public static ObjLoc ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ObjLoc(_PBJ_Internal.ObjLoc.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.ObjLoc.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ObjLoc.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ObjLoc.Builder();}
- public Builder(_PBJ_Internal.ObjLoc.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ObjLoc prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ObjLoc BuildPartial() {return new ObjLoc(super.BuildPartial());}
- public ObjLoc Build() {if (_HasAllPBJFields) return new ObjLoc(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ObjLoc.Descriptor; } }
- public Builder ClearTimestamp() { super.ClearTimestamp();return this;}
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- set {
- super.Timestamp=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearPosition() { super.ClearPosition();return this;}
- public const int PositionFieldTag=3;
- public bool HasPosition{ get {return super.PositionCount>=3;} }
- public PBJ.Vector3d Position{ get {
- int index=0;
- if (HasPosition) {
- return PBJ._PBJ.CastVector3d(super.GetPosition(index*3+0),super.GetPosition(index*3+1),super.GetPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- set {
- super.ClearPosition();
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.AddPosition(_PBJtempArray[0]);
- super.AddPosition(_PBJtempArray[1]);
- super.AddPosition(_PBJtempArray[2]);
- }
- }
- public Builder ClearOrientation() { super.ClearOrientation();return this;}
- public const int OrientationFieldTag=4;
- public bool HasOrientation{ get {return super.OrientationCount>=3;} }
- public PBJ.Quaternion Orientation{ get {
- int index=0;
- if (HasOrientation) {
- return PBJ._PBJ.CastQuaternion(super.GetOrientation(index*3+0),super.GetOrientation(index*3+1),super.GetOrientation(index*3+2));
- } else {
- return PBJ._PBJ.CastQuaternion();
- }
- }
- set {
- super.ClearOrientation();
- float[] _PBJtempArray=PBJ._PBJ.ConstructQuaternion(value);
- super.AddOrientation(_PBJtempArray[0]);
- super.AddOrientation(_PBJtempArray[1]);
- super.AddOrientation(_PBJtempArray[2]);
- }
- }
- public Builder ClearVelocity() { super.ClearVelocity();return this;}
- public const int VelocityFieldTag=5;
- public bool HasVelocity{ get {return super.VelocityCount>=3;} }
- public PBJ.Vector3f Velocity{ get {
- int index=0;
- if (HasVelocity) {
- return PBJ._PBJ.CastVector3f(super.GetVelocity(index*3+0),super.GetVelocity(index*3+1),super.GetVelocity(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearVelocity();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddVelocity(_PBJtempArray[0]);
- super.AddVelocity(_PBJtempArray[1]);
- super.AddVelocity(_PBJtempArray[2]);
- }
- }
- public Builder ClearRotationalAxis() { super.ClearRotationalAxis();return this;}
- public const int RotationalAxisFieldTag=7;
- public bool HasRotationalAxis{ get {return super.RotationalAxisCount>=2;} }
- public PBJ.Vector3f RotationalAxis{ get {
- int index=0;
- if (HasRotationalAxis) {
- return PBJ._PBJ.CastNormal(super.GetRotationalAxis(index*2+0),super.GetRotationalAxis(index*2+1));
- } else {
- return PBJ._PBJ.CastNormal();
- }
- }
- set {
- super.ClearRotationalAxis();
- float[] _PBJtempArray=PBJ._PBJ.ConstructNormal(value);
- super.AddRotationalAxis(_PBJtempArray[0]);
- super.AddRotationalAxis(_PBJtempArray[1]);
- }
- }
- public Builder ClearAngularSpeed() { super.ClearAngularSpeed();return this;}
- public const int AngularSpeedFieldTag=8;
- public bool HasAngularSpeed{ get {return super.HasAngularSpeed&&PBJ._PBJ.ValidateFloat(super.AngularSpeed);} }
- public float AngularSpeed{ get {
- if (HasAngularSpeed) {
- return PBJ._PBJ.CastFloat(super.AngularSpeed);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.AngularSpeed=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearUpdateFlags() { super.ClearUpdateFlags();return this;}
- public const int UpdateFlagsFieldTag=6;
- public bool HasUpdateFlags { get {
- if (!super.HasUpdateFlags) return false;
- return PBJ._PBJ.ValidateFlags(super.UpdateFlags,(ulong)Types.UpdateFlags.FORCE);
- } }
- public byte UpdateFlags{ get {
- if (HasUpdateFlags) {
- return (byte)PBJ._PBJ.CastFlags(super.UpdateFlags,(ulong)Types.UpdateFlags.FORCE);
- } else {
- return (byte)PBJ._PBJ.CastFlags((ulong)Types.UpdateFlags.FORCE);
- }
- }
- set {
- super.UpdateFlags=((value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class LocRequest : PBJ.IMessage {
- protected _PBJ_Internal.LocRequest super;
- public _PBJ_Internal.LocRequest _PBJSuper{ get { return super;} }
- public LocRequest() {
- super=new _PBJ_Internal.LocRequest();
- }
- public LocRequest(_PBJ_Internal.LocRequest reference) {
- super=reference;
- }
- public static LocRequest defaultInstance= new LocRequest (_PBJ_Internal.LocRequest.DefaultInstance);
- public static LocRequest DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.LocRequest.Descriptor; } }
- public static class Types {
- public enum Fields {
- POSITION=_PBJ_Internal.LocRequest.Types.Fields.POSITION,
- ORIENTATION=_PBJ_Internal.LocRequest.Types.Fields.ORIENTATION,
- VELOCITY=_PBJ_Internal.LocRequest.Types.Fields.VELOCITY,
- ROTATIONAL_AXIS=_PBJ_Internal.LocRequest.Types.Fields.ROTATIONAL_AXIS,
- ANGULAR_SPEED=_PBJ_Internal.LocRequest.Types.Fields.ANGULAR_SPEED
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int RequestedFieldsFieldTag=2;
- public bool HasRequestedFields { get {
- if (!super.HasRequestedFields) return false;
- return PBJ._PBJ.ValidateFlags(super.RequestedFields,(ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- } }
- public uint RequestedFields{ get {
- if (HasRequestedFields) {
- return (uint)PBJ._PBJ.CastFlags(super.RequestedFields,(ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- } else {
- return (uint)PBJ._PBJ.CastFlags((ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- }
- }
- }
- 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(LocRequest prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static LocRequest ParseFrom(pb::ByteString data) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data));
- }
- public static LocRequest ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data,er));
- }
- public static LocRequest ParseFrom(byte[] data) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data));
- }
- public static LocRequest ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data,er));
- }
- public static LocRequest ParseFrom(global::System.IO.Stream data) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data));
- }
- public static LocRequest ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data,er));
- }
- public static LocRequest ParseFrom(pb::CodedInputStream data) {
- return new LocRequest(_PBJ_Internal.LocRequest.ParseFrom(data));
- }
- public static LocRequest ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new LocRequest(_PBJ_Internal.LocRequest.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.LocRequest.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.LocRequest.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.LocRequest.Builder();}
- public Builder(_PBJ_Internal.LocRequest.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(LocRequest prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public LocRequest BuildPartial() {return new LocRequest(super.BuildPartial());}
- public LocRequest Build() {if (_HasAllPBJFields) return new LocRequest(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return LocRequest.Descriptor; } }
- public Builder ClearRequestedFields() { super.ClearRequestedFields();return this;}
- public const int RequestedFieldsFieldTag=2;
- public bool HasRequestedFields { get {
- if (!super.HasRequestedFields) return false;
- return PBJ._PBJ.ValidateFlags(super.RequestedFields,(ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- } }
- public uint RequestedFields{ get {
- if (HasRequestedFields) {
- return (uint)PBJ._PBJ.CastFlags(super.RequestedFields,(ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- } else {
- return (uint)PBJ._PBJ.CastFlags((ulong)Types.Fields.POSITION|(ulong)Types.Fields.ORIENTATION|(ulong)Types.Fields.VELOCITY|(ulong)Types.Fields.ROTATIONAL_AXIS|(ulong)Types.Fields.ANGULAR_SPEED);
- }
- }
- set {
- super.RequestedFields=((value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class NewObj : PBJ.IMessage {
- protected _PBJ_Internal.NewObj super;
- public _PBJ_Internal.NewObj _PBJSuper{ get { return super;} }
- public NewObj() {
- super=new _PBJ_Internal.NewObj();
- }
- public NewObj(_PBJ_Internal.NewObj reference) {
- super=reference;
- }
- public static NewObj defaultInstance= new NewObj (_PBJ_Internal.NewObj.DefaultInstance);
- public static NewObj DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.NewObj.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidEvidenceFieldTag=2;
- public bool HasObjectUuidEvidence{ get {return super.HasObjectUuidEvidence&&PBJ._PBJ.ValidateUuid(super.ObjectUuidEvidence);} }
- public PBJ.UUID ObjectUuidEvidence{ get {
- if (HasObjectUuidEvidence) {
- return PBJ._PBJ.CastUuid(super.ObjectUuidEvidence);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int RequestedObjectLocFieldTag=3;
- public bool HasRequestedObjectLoc{ get {return super.HasRequestedObjectLoc;} }
- public ObjLoc RequestedObjectLoc{ get {
- if (HasRequestedObjectLoc) {
- return new ObjLoc(super.RequestedObjectLoc);
- } else {
- return new ObjLoc();
- }
- }
- }
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- }
- 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(NewObj prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static NewObj ParseFrom(pb::ByteString data) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data));
- }
- public static NewObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data,er));
- }
- public static NewObj ParseFrom(byte[] data) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data));
- }
- public static NewObj ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data,er));
- }
- public static NewObj ParseFrom(global::System.IO.Stream data) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data));
- }
- public static NewObj ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data,er));
- }
- public static NewObj ParseFrom(pb::CodedInputStream data) {
- return new NewObj(_PBJ_Internal.NewObj.ParseFrom(data));
- }
- public static NewObj ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new NewObj(_PBJ_Internal.NewObj.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.NewObj.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.NewObj.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.NewObj.Builder();}
- public Builder(_PBJ_Internal.NewObj.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(NewObj prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public NewObj BuildPartial() {return new NewObj(super.BuildPartial());}
- public NewObj Build() {if (_HasAllPBJFields) return new NewObj(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return NewObj.Descriptor; } }
- public Builder ClearObjectUuidEvidence() { super.ClearObjectUuidEvidence();return this;}
- public const int ObjectUuidEvidenceFieldTag=2;
- public bool HasObjectUuidEvidence{ get {return super.HasObjectUuidEvidence&&PBJ._PBJ.ValidateUuid(super.ObjectUuidEvidence);} }
- public PBJ.UUID ObjectUuidEvidence{ get {
- if (HasObjectUuidEvidence) {
- return PBJ._PBJ.CastUuid(super.ObjectUuidEvidence);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuidEvidence=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearRequestedObjectLoc() { super.ClearRequestedObjectLoc();return this;}
- public const int RequestedObjectLocFieldTag=3;
- public bool HasRequestedObjectLoc{ get {return super.HasRequestedObjectLoc;} }
- public ObjLoc RequestedObjectLoc{ get {
- if (HasRequestedObjectLoc) {
- return new ObjLoc(super.RequestedObjectLoc);
- } else {
- return new ObjLoc();
- }
- }
- set {
- super.RequestedObjectLoc=value._PBJSuper;
- }
- }
- public Builder ClearBoundingSphere() { super.ClearBoundingSphere();return this;}
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- set {
- super.ClearBoundingSphere();
- float[] _PBJtempArray=PBJ._PBJ.ConstructBoundingsphere3f(value);
- super.AddBoundingSphere(_PBJtempArray[0]);
- super.AddBoundingSphere(_PBJtempArray[1]);
- super.AddBoundingSphere(_PBJtempArray[2]);
- super.AddBoundingSphere(_PBJtempArray[3]);
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class RetObj : PBJ.IMessage {
- protected _PBJ_Internal.RetObj super;
- public _PBJ_Internal.RetObj _PBJSuper{ get { return super;} }
- public RetObj() {
- super=new _PBJ_Internal.RetObj();
- }
- public RetObj(_PBJ_Internal.RetObj reference) {
- super=reference;
- }
- public static RetObj defaultInstance= new RetObj (_PBJ_Internal.RetObj.DefaultInstance);
- public static RetObj DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.RetObj.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectReferenceFieldTag=2;
- public bool HasObjectReference{ get {return super.HasObjectReference&&PBJ._PBJ.ValidateUuid(super.ObjectReference);} }
- public PBJ.UUID ObjectReference{ get {
- if (HasObjectReference) {
- return PBJ._PBJ.CastUuid(super.ObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int LocationFieldTag=3;
- public bool HasLocation{ get {return super.HasLocation;} }
- public ObjLoc Location{ get {
- if (HasLocation) {
- return new ObjLoc(super.Location);
- } else {
- return new ObjLoc();
- }
- }
- }
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- }
- 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(RetObj prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static RetObj ParseFrom(pb::ByteString data) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data));
- }
- public static RetObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data,er));
- }
- public static RetObj ParseFrom(byte[] data) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data));
- }
- public static RetObj ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data,er));
- }
- public static RetObj ParseFrom(global::System.IO.Stream data) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data));
- }
- public static RetObj ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data,er));
- }
- public static RetObj ParseFrom(pb::CodedInputStream data) {
- return new RetObj(_PBJ_Internal.RetObj.ParseFrom(data));
- }
- public static RetObj ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new RetObj(_PBJ_Internal.RetObj.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.RetObj.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.RetObj.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.RetObj.Builder();}
- public Builder(_PBJ_Internal.RetObj.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(RetObj prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public RetObj BuildPartial() {return new RetObj(super.BuildPartial());}
- public RetObj Build() {if (_HasAllPBJFields) return new RetObj(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return RetObj.Descriptor; } }
- public Builder ClearObjectReference() { super.ClearObjectReference();return this;}
- public const int ObjectReferenceFieldTag=2;
- public bool HasObjectReference{ get {return super.HasObjectReference&&PBJ._PBJ.ValidateUuid(super.ObjectReference);} }
- public PBJ.UUID ObjectReference{ get {
- if (HasObjectReference) {
- return PBJ._PBJ.CastUuid(super.ObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectReference=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearLocation() { super.ClearLocation();return this;}
- public const int LocationFieldTag=3;
- public bool HasLocation{ get {return super.HasLocation;} }
- public ObjLoc Location{ get {
- if (HasLocation) {
- return new ObjLoc(super.Location);
- } else {
- return new ObjLoc();
- }
- }
- set {
- super.Location=value._PBJSuper;
- }
- }
- public Builder ClearBoundingSphere() { super.ClearBoundingSphere();return this;}
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- set {
- super.ClearBoundingSphere();
- float[] _PBJtempArray=PBJ._PBJ.ConstructBoundingsphere3f(value);
- super.AddBoundingSphere(_PBJtempArray[0]);
- super.AddBoundingSphere(_PBJtempArray[1]);
- super.AddBoundingSphere(_PBJtempArray[2]);
- super.AddBoundingSphere(_PBJtempArray[3]);
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class DelObj : PBJ.IMessage {
- protected _PBJ_Internal.DelObj super;
- public _PBJ_Internal.DelObj _PBJSuper{ get { return super;} }
- public DelObj() {
- super=new _PBJ_Internal.DelObj();
- }
- public DelObj(_PBJ_Internal.DelObj reference) {
- super=reference;
- }
- public static DelObj defaultInstance= new DelObj (_PBJ_Internal.DelObj.DefaultInstance);
- public static DelObj DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.DelObj.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectReferenceFieldTag=2;
- public bool HasObjectReference{ get {return super.HasObjectReference&&PBJ._PBJ.ValidateUuid(super.ObjectReference);} }
- public PBJ.UUID ObjectReference{ get {
- if (HasObjectReference) {
- return PBJ._PBJ.CastUuid(super.ObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- 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(DelObj prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static DelObj ParseFrom(pb::ByteString data) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data));
- }
- public static DelObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data,er));
- }
- public static DelObj ParseFrom(byte[] data) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data));
- }
- public static DelObj ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data,er));
- }
- public static DelObj ParseFrom(global::System.IO.Stream data) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data));
- }
- public static DelObj ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data,er));
- }
- public static DelObj ParseFrom(pb::CodedInputStream data) {
- return new DelObj(_PBJ_Internal.DelObj.ParseFrom(data));
- }
- public static DelObj ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new DelObj(_PBJ_Internal.DelObj.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.DelObj.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.DelObj.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.DelObj.Builder();}
- public Builder(_PBJ_Internal.DelObj.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(DelObj prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public DelObj BuildPartial() {return new DelObj(super.BuildPartial());}
- public DelObj Build() {if (_HasAllPBJFields) return new DelObj(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return DelObj.Descriptor; } }
- public Builder ClearObjectReference() { super.ClearObjectReference();return this;}
- public const int ObjectReferenceFieldTag=2;
- public bool HasObjectReference{ get {return super.HasObjectReference&&PBJ._PBJ.ValidateUuid(super.ObjectReference);} }
- public PBJ.UUID ObjectReference{ get {
- if (HasObjectReference) {
- return PBJ._PBJ.CastUuid(super.ObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectReference=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class NewProxQuery : PBJ.IMessage {
- protected _PBJ_Internal.NewProxQuery super;
- public _PBJ_Internal.NewProxQuery _PBJSuper{ get { return super;} }
- public NewProxQuery() {
- super=new _PBJ_Internal.NewProxQuery();
- }
- public NewProxQuery(_PBJ_Internal.NewProxQuery reference) {
- super=reference;
- }
- public static NewProxQuery defaultInstance= new NewProxQuery (_PBJ_Internal.NewProxQuery.DefaultInstance);
- public static NewProxQuery DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.NewProxQuery.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int StatelessFieldTag=3;
- public bool HasStateless{ get {return super.HasStateless&&PBJ._PBJ.ValidateBool(super.Stateless);} }
- public bool Stateless{ get {
- if (HasStateless) {
- return PBJ._PBJ.CastBool(super.Stateless);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- }
- public const int RelativeCenterFieldTag=4;
- public bool HasRelativeCenter{ get {return super.RelativeCenterCount>=3;} }
- public PBJ.Vector3f RelativeCenter{ get {
- int index=0;
- if (HasRelativeCenter) {
- return PBJ._PBJ.CastVector3f(super.GetRelativeCenter(index*3+0),super.GetRelativeCenter(index*3+1),super.GetRelativeCenter(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int AbsoluteCenterFieldTag=5;
- public bool HasAbsoluteCenter{ get {return super.AbsoluteCenterCount>=3;} }
- public PBJ.Vector3d AbsoluteCenter{ get {
- int index=0;
- if (HasAbsoluteCenter) {
- return PBJ._PBJ.CastVector3d(super.GetAbsoluteCenter(index*3+0),super.GetAbsoluteCenter(index*3+1),super.GetAbsoluteCenter(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- }
- public const int MaxRadiusFieldTag=6;
- public bool HasMaxRadius{ get {return super.HasMaxRadius&&PBJ._PBJ.ValidateFloat(super.MaxRadius);} }
- public float MaxRadius{ get {
- if (HasMaxRadius) {
- return PBJ._PBJ.CastFloat(super.MaxRadius);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int MinSolidAngleFieldTag=7;
- public bool HasMinSolidAngle{ get {return super.HasMinSolidAngle&&PBJ._PBJ.ValidateAngle(super.MinSolidAngle);} }
- public float MinSolidAngle{ get {
- if (HasMinSolidAngle) {
- return PBJ._PBJ.CastAngle(super.MinSolidAngle);
- } else {
- return PBJ._PBJ.CastAngle();
- }
- }
- }
- 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(NewProxQuery prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static NewProxQuery ParseFrom(pb::ByteString data) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data));
- }
- public static NewProxQuery ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data,er));
- }
- public static NewProxQuery ParseFrom(byte[] data) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data));
- }
- public static NewProxQuery ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data,er));
- }
- public static NewProxQuery ParseFrom(global::System.IO.Stream data) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data));
- }
- public static NewProxQuery ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data,er));
- }
- public static NewProxQuery ParseFrom(pb::CodedInputStream data) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.ParseFrom(data));
- }
- public static NewProxQuery ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new NewProxQuery(_PBJ_Internal.NewProxQuery.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.NewProxQuery.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.NewProxQuery.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.NewProxQuery.Builder();}
- public Builder(_PBJ_Internal.NewProxQuery.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(NewProxQuery prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public NewProxQuery BuildPartial() {return new NewProxQuery(super.BuildPartial());}
- public NewProxQuery Build() {if (_HasAllPBJFields) return new NewProxQuery(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return NewProxQuery.Descriptor; } }
- public Builder ClearQueryId() { super.ClearQueryId();return this;}
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.QueryId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearStateless() { super.ClearStateless();return this;}
- public const int StatelessFieldTag=3;
- public bool HasStateless{ get {return super.HasStateless&&PBJ._PBJ.ValidateBool(super.Stateless);} }
- public bool Stateless{ get {
- if (HasStateless) {
- return PBJ._PBJ.CastBool(super.Stateless);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- set {
- super.Stateless=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearRelativeCenter() { super.ClearRelativeCenter();return this;}
- public const int RelativeCenterFieldTag=4;
- public bool HasRelativeCenter{ get {return super.RelativeCenterCount>=3;} }
- public PBJ.Vector3f RelativeCenter{ get {
- int index=0;
- if (HasRelativeCenter) {
- return PBJ._PBJ.CastVector3f(super.GetRelativeCenter(index*3+0),super.GetRelativeCenter(index*3+1),super.GetRelativeCenter(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearRelativeCenter();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddRelativeCenter(_PBJtempArray[0]);
- super.AddRelativeCenter(_PBJtempArray[1]);
- super.AddRelativeCenter(_PBJtempArray[2]);
- }
- }
- public Builder ClearAbsoluteCenter() { super.ClearAbsoluteCenter();return this;}
- public const int AbsoluteCenterFieldTag=5;
- public bool HasAbsoluteCenter{ get {return super.AbsoluteCenterCount>=3;} }
- public PBJ.Vector3d AbsoluteCenter{ get {
- int index=0;
- if (HasAbsoluteCenter) {
- return PBJ._PBJ.CastVector3d(super.GetAbsoluteCenter(index*3+0),super.GetAbsoluteCenter(index*3+1),super.GetAbsoluteCenter(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- set {
- super.ClearAbsoluteCenter();
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.AddAbsoluteCenter(_PBJtempArray[0]);
- super.AddAbsoluteCenter(_PBJtempArray[1]);
- super.AddAbsoluteCenter(_PBJtempArray[2]);
- }
- }
- public Builder ClearMaxRadius() { super.ClearMaxRadius();return this;}
- public const int MaxRadiusFieldTag=6;
- public bool HasMaxRadius{ get {return super.HasMaxRadius&&PBJ._PBJ.ValidateFloat(super.MaxRadius);} }
- public float MaxRadius{ get {
- if (HasMaxRadius) {
- return PBJ._PBJ.CastFloat(super.MaxRadius);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.MaxRadius=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearMinSolidAngle() { super.ClearMinSolidAngle();return this;}
- public const int MinSolidAngleFieldTag=7;
- public bool HasMinSolidAngle{ get {return super.HasMinSolidAngle&&PBJ._PBJ.ValidateAngle(super.MinSolidAngle);} }
- public float MinSolidAngle{ get {
- if (HasMinSolidAngle) {
- return PBJ._PBJ.CastAngle(super.MinSolidAngle);
- } else {
- return PBJ._PBJ.CastAngle();
- }
- }
- set {
- super.MinSolidAngle=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class ProxCall : PBJ.IMessage {
- protected _PBJ_Internal.ProxCall super;
- public _PBJ_Internal.ProxCall _PBJSuper{ get { return super;} }
- public ProxCall() {
- super=new _PBJ_Internal.ProxCall();
- }
- public ProxCall(_PBJ_Internal.ProxCall reference) {
- super=reference;
- }
- public static ProxCall defaultInstance= new ProxCall (_PBJ_Internal.ProxCall.DefaultInstance);
- public static ProxCall DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ProxCall.Descriptor; } }
- public static class Types {
- public enum ProximityEvent {
- EXITED_PROXIMITY=_PBJ_Internal.ProxCall.Types.ProximityEvent.EXITED_PROXIMITY,
- ENTERED_PROXIMITY=_PBJ_Internal.ProxCall.Types.ProximityEvent.ENTERED_PROXIMITY,
- STATELESS_PROXIMITY=_PBJ_Internal.ProxCall.Types.ProximityEvent.STATELESS_PROXIMITY
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int ProximateObjectFieldTag=3;
- public bool HasProximateObject{ get {return super.HasProximateObject&&PBJ._PBJ.ValidateUuid(super.ProximateObject);} }
- public PBJ.UUID ProximateObject{ get {
- if (HasProximateObject) {
- return PBJ._PBJ.CastUuid(super.ProximateObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int ProximityEventFieldTag=4;
- public bool HasProximityEvent{ get {return super.HasProximityEvent;} }
- public Types.ProximityEvent ProximityEvent{ get {
- if (HasProximityEvent) {
- return (Types.ProximityEvent)super.ProximityEvent;
- } else {
- return new Types.ProximityEvent();
- }
- }
- }
- 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(ProxCall prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ProxCall ParseFrom(pb::ByteString data) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data));
- }
- public static ProxCall ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data,er));
- }
- public static ProxCall ParseFrom(byte[] data) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data));
- }
- public static ProxCall ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data,er));
- }
- public static ProxCall ParseFrom(global::System.IO.Stream data) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data));
- }
- public static ProxCall ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data,er));
- }
- public static ProxCall ParseFrom(pb::CodedInputStream data) {
- return new ProxCall(_PBJ_Internal.ProxCall.ParseFrom(data));
- }
- public static ProxCall ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ProxCall(_PBJ_Internal.ProxCall.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.ProxCall.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ProxCall.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ProxCall.Builder();}
- public Builder(_PBJ_Internal.ProxCall.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ProxCall prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ProxCall BuildPartial() {return new ProxCall(super.BuildPartial());}
- public ProxCall Build() {if (_HasAllPBJFields) return new ProxCall(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ProxCall.Descriptor; } }
- public Builder ClearQueryId() { super.ClearQueryId();return this;}
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.QueryId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearProximateObject() { super.ClearProximateObject();return this;}
- public const int ProximateObjectFieldTag=3;
- public bool HasProximateObject{ get {return super.HasProximateObject&&PBJ._PBJ.ValidateUuid(super.ProximateObject);} }
- public PBJ.UUID ProximateObject{ get {
- if (HasProximateObject) {
- return PBJ._PBJ.CastUuid(super.ProximateObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ProximateObject=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearProximityEvent() { super.ClearProximityEvent();return this;}
- public const int ProximityEventFieldTag=4;
- public bool HasProximityEvent{ get {return super.HasProximityEvent;} }
- public Types.ProximityEvent ProximityEvent{ get {
- if (HasProximityEvent) {
- return (Types.ProximityEvent)super.ProximityEvent;
- } else {
- return new Types.ProximityEvent();
- }
- }
- set {
- super.ProximityEvent=((_PBJ_Internal.ProxCall.Types.ProximityEvent)value);
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class DelProxQuery : PBJ.IMessage {
- protected _PBJ_Internal.DelProxQuery super;
- public _PBJ_Internal.DelProxQuery _PBJSuper{ get { return super;} }
- public DelProxQuery() {
- super=new _PBJ_Internal.DelProxQuery();
- }
- public DelProxQuery(_PBJ_Internal.DelProxQuery reference) {
- super=reference;
- }
- public static DelProxQuery defaultInstance= new DelProxQuery (_PBJ_Internal.DelProxQuery.DefaultInstance);
- public static DelProxQuery DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.DelProxQuery.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- 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(DelProxQuery prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static DelProxQuery ParseFrom(pb::ByteString data) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data));
- }
- public static DelProxQuery ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data,er));
- }
- public static DelProxQuery ParseFrom(byte[] data) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data));
- }
- public static DelProxQuery ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data,er));
- }
- public static DelProxQuery ParseFrom(global::System.IO.Stream data) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data));
- }
- public static DelProxQuery ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data,er));
- }
- public static DelProxQuery ParseFrom(pb::CodedInputStream data) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.ParseFrom(data));
- }
- public static DelProxQuery ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new DelProxQuery(_PBJ_Internal.DelProxQuery.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.DelProxQuery.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.DelProxQuery.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.DelProxQuery.Builder();}
- public Builder(_PBJ_Internal.DelProxQuery.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(DelProxQuery prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public DelProxQuery BuildPartial() {return new DelProxQuery(super.BuildPartial());}
- public DelProxQuery Build() {if (_HasAllPBJFields) return new DelProxQuery(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return DelProxQuery.Descriptor; } }
- public Builder ClearQueryId() { super.ClearQueryId();return this;}
- public const int QueryIdFieldTag=2;
- public bool HasQueryId{ get {return super.HasQueryId&&PBJ._PBJ.ValidateUint32(super.QueryId);} }
- public uint QueryId{ get {
- if (HasQueryId) {
- return PBJ._PBJ.CastUint32(super.QueryId);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.QueryId=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class Vector3fProperty : PBJ.IMessage {
- protected _PBJ_Internal.Vector3fProperty super;
- public _PBJ_Internal.Vector3fProperty _PBJSuper{ get { return super;} }
- public Vector3fProperty() {
- super=new _PBJ_Internal.Vector3fProperty();
- }
- public Vector3fProperty(_PBJ_Internal.Vector3fProperty reference) {
- super=reference;
- }
- public static Vector3fProperty defaultInstance= new Vector3fProperty (_PBJ_Internal.Vector3fProperty.DefaultInstance);
- public static Vector3fProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Vector3fProperty.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.ValueCount>=3;} }
- public PBJ.Vector3f Value{ get {
- int index=0;
- if (HasValue) {
- return PBJ._PBJ.CastVector3f(super.GetValue(index*3+0),super.GetValue(index*3+1),super.GetValue(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- 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(Vector3fProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Vector3fProperty ParseFrom(pb::ByteString data) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data));
- }
- public static Vector3fProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data,er));
- }
- public static Vector3fProperty ParseFrom(byte[] data) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data));
- }
- public static Vector3fProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data,er));
- }
- public static Vector3fProperty ParseFrom(global::System.IO.Stream data) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data));
- }
- public static Vector3fProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data,er));
- }
- public static Vector3fProperty ParseFrom(pb::CodedInputStream data) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.ParseFrom(data));
- }
- public static Vector3fProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Vector3fProperty(_PBJ_Internal.Vector3fProperty.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.Vector3fProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Vector3fProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Vector3fProperty.Builder();}
- public Builder(_PBJ_Internal.Vector3fProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Vector3fProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Vector3fProperty BuildPartial() {return new Vector3fProperty(super.BuildPartial());}
- public Vector3fProperty Build() {if (_HasAllPBJFields) return new Vector3fProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Vector3fProperty.Descriptor; } }
- public Builder ClearValue() { super.ClearValue();return this;}
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.ValueCount>=3;} }
- public PBJ.Vector3f Value{ get {
- int index=0;
- if (HasValue) {
- return PBJ._PBJ.CastVector3f(super.GetValue(index*3+0),super.GetValue(index*3+1),super.GetValue(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearValue();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddValue(_PBJtempArray[0]);
- super.AddValue(_PBJtempArray[1]);
- super.AddValue(_PBJtempArray[2]);
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class StringProperty : PBJ.IMessage {
- protected _PBJ_Internal.StringProperty super;
- public _PBJ_Internal.StringProperty _PBJSuper{ get { return super;} }
- public StringProperty() {
- super=new _PBJ_Internal.StringProperty();
- }
- public StringProperty(_PBJ_Internal.StringProperty reference) {
- super=reference;
- }
- public static StringProperty defaultInstance= new StringProperty (_PBJ_Internal.StringProperty.DefaultInstance);
- public static StringProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StringProperty.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.HasValue&&PBJ._PBJ.ValidateString(super.Value);} }
- public string Value{ get {
- if (HasValue) {
- return PBJ._PBJ.CastString(super.Value);
- } 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(StringProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StringProperty ParseFrom(pb::ByteString data) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data));
- }
- public static StringProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data,er));
- }
- public static StringProperty ParseFrom(byte[] data) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data));
- }
- public static StringProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data,er));
- }
- public static StringProperty ParseFrom(global::System.IO.Stream data) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data));
- }
- public static StringProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data,er));
- }
- public static StringProperty ParseFrom(pb::CodedInputStream data) {
- return new StringProperty(_PBJ_Internal.StringProperty.ParseFrom(data));
- }
- public static StringProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StringProperty(_PBJ_Internal.StringProperty.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.StringProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StringProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StringProperty.Builder();}
- public Builder(_PBJ_Internal.StringProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StringProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StringProperty BuildPartial() {return new StringProperty(super.BuildPartial());}
- public StringProperty Build() {if (_HasAllPBJFields) return new StringProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StringProperty.Descriptor; } }
- public Builder ClearValue() { super.ClearValue();return this;}
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.HasValue&&PBJ._PBJ.ValidateString(super.Value);} }
- public string Value{ get {
- if (HasValue) {
- return PBJ._PBJ.CastString(super.Value);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.Value=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class StringMapProperty : PBJ.IMessage {
- protected _PBJ_Internal.StringMapProperty super;
- public _PBJ_Internal.StringMapProperty _PBJSuper{ get { return super;} }
- public StringMapProperty() {
- super=new _PBJ_Internal.StringMapProperty();
- }
- public StringMapProperty(_PBJ_Internal.StringMapProperty reference) {
- super=reference;
- }
- public static StringMapProperty defaultInstance= new StringMapProperty (_PBJ_Internal.StringMapProperty.DefaultInstance);
- public static StringMapProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StringMapProperty.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int KeysFieldTag=2;
- public int KeysCount { get { return super.KeysCount;} }
- public bool HasKeys(int index) {return PBJ._PBJ.ValidateString(super.GetKeys(index));}
- public string Keys(int index) {
- return (string)PBJ._PBJ.CastString(super.GetKeys(index));
- }
- public const int ValuesFieldTag=3;
- public int ValuesCount { get { return super.ValuesCount;} }
- public bool HasValues(int index) {return PBJ._PBJ.ValidateString(super.GetValues(index));}
- public string Values(int index) {
- return (string)PBJ._PBJ.CastString(super.GetValues(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(StringMapProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StringMapProperty ParseFrom(pb::ByteString data) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data));
- }
- public static StringMapProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data,er));
- }
- public static StringMapProperty ParseFrom(byte[] data) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data));
- }
- public static StringMapProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data,er));
- }
- public static StringMapProperty ParseFrom(global::System.IO.Stream data) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data));
- }
- public static StringMapProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data,er));
- }
- public static StringMapProperty ParseFrom(pb::CodedInputStream data) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.ParseFrom(data));
- }
- public static StringMapProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StringMapProperty(_PBJ_Internal.StringMapProperty.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.StringMapProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StringMapProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StringMapProperty.Builder();}
- public Builder(_PBJ_Internal.StringMapProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StringMapProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StringMapProperty BuildPartial() {return new StringMapProperty(super.BuildPartial());}
- public StringMapProperty Build() {if (_HasAllPBJFields) return new StringMapProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StringMapProperty.Descriptor; } }
- public Builder ClearKeys() { super.ClearKeys();return this;}
- public Builder SetKeys(int index, string value) {
- super.SetKeys(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int KeysFieldTag=2;
- public int KeysCount { get { return super.KeysCount;} }
- public bool HasKeys(int index) {return PBJ._PBJ.ValidateString(super.GetKeys(index));}
- public string Keys(int index) {
- return (string)PBJ._PBJ.CastString(super.GetKeys(index));
- }
- public Builder AddKeys(string value) {
- super.AddKeys(PBJ._PBJ.Construct(value));
- return this;
- }
- public Builder ClearValues() { super.ClearValues();return this;}
- public Builder SetValues(int index, string value) {
- super.SetValues(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int ValuesFieldTag=3;
- public int ValuesCount { get { return super.ValuesCount;} }
- public bool HasValues(int index) {return PBJ._PBJ.ValidateString(super.GetValues(index));}
- public string Values(int index) {
- return (string)PBJ._PBJ.CastString(super.GetValues(index));
- }
- public Builder AddValues(string value) {
- super.AddValues(PBJ._PBJ.Construct(value));
- return this;
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class PhysicalParameters : PBJ.IMessage {
- protected _PBJ_Internal.PhysicalParameters super;
- public _PBJ_Internal.PhysicalParameters _PBJSuper{ get { return super;} }
- public PhysicalParameters() {
- super=new _PBJ_Internal.PhysicalParameters();
- }
- public PhysicalParameters(_PBJ_Internal.PhysicalParameters reference) {
- super=reference;
- }
- public static PhysicalParameters defaultInstance= new PhysicalParameters (_PBJ_Internal.PhysicalParameters.DefaultInstance);
- public static PhysicalParameters DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.PhysicalParameters.Descriptor; } }
- public static class Types {
- public enum Mode {
- NONPHYSICAL=_PBJ_Internal.PhysicalParameters.Types.Mode.NONPHYSICAL,
- STATIC=_PBJ_Internal.PhysicalParameters.Types.Mode.STATIC,
- DYNAMICBOX=_PBJ_Internal.PhysicalParameters.Types.Mode.DYNAMICBOX,
- DYNAMICSPHERE=_PBJ_Internal.PhysicalParameters.Types.Mode.DYNAMICSPHERE,
- DYNAMICCYLINDER=_PBJ_Internal.PhysicalParameters.Types.Mode.DYNAMICCYLINDER,
- CHARACTER=_PBJ_Internal.PhysicalParameters.Types.Mode.CHARACTER
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ModeFieldTag=2;
- public bool HasMode{ get {return super.HasMode;} }
- public Types.Mode Mode{ get {
- if (HasMode) {
- return (Types.Mode)super.Mode;
- } else {
- return new Types.Mode();
- }
- }
- }
- public const int DensityFieldTag=3;
- public bool HasDensity{ get {return super.HasDensity&&PBJ._PBJ.ValidateFloat(super.Density);} }
- public float Density{ get {
- if (HasDensity) {
- return PBJ._PBJ.CastFloat(super.Density);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int FrictionFieldTag=4;
- public bool HasFriction{ get {return super.HasFriction&&PBJ._PBJ.ValidateFloat(super.Friction);} }
- public float Friction{ get {
- if (HasFriction) {
- return PBJ._PBJ.CastFloat(super.Friction);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int BounceFieldTag=5;
- public bool HasBounce{ get {return super.HasBounce&&PBJ._PBJ.ValidateFloat(super.Bounce);} }
- public float Bounce{ get {
- if (HasBounce) {
- return PBJ._PBJ.CastFloat(super.Bounce);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int HullFieldTag=6;
- public bool HasHull{ get {return super.HullCount>=3;} }
- public PBJ.Vector3f Hull{ get {
- int index=0;
- if (HasHull) {
- return PBJ._PBJ.CastVector3f(super.GetHull(index*3+0),super.GetHull(index*3+1),super.GetHull(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int CollideMsgFieldTag=16;
- public bool HasCollideMsg{ get {return super.HasCollideMsg&&PBJ._PBJ.ValidateUint32(super.CollideMsg);} }
- public uint CollideMsg{ get {
- if (HasCollideMsg) {
- return PBJ._PBJ.CastUint32(super.CollideMsg);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int CollideMaskFieldTag=17;
- public bool HasCollideMask{ get {return super.HasCollideMask&&PBJ._PBJ.ValidateUint32(super.CollideMask);} }
- public uint CollideMask{ get {
- if (HasCollideMask) {
- return PBJ._PBJ.CastUint32(super.CollideMask);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int GravityFieldTag=18;
- public bool HasGravity{ get {return super.HasGravity&&PBJ._PBJ.ValidateFloat(super.Gravity);} }
- public float Gravity{ get {
- if (HasGravity) {
- return PBJ._PBJ.CastFloat(super.Gravity);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- 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(PhysicalParameters prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static PhysicalParameters ParseFrom(pb::ByteString data) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data));
- }
- public static PhysicalParameters ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data,er));
- }
- public static PhysicalParameters ParseFrom(byte[] data) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data));
- }
- public static PhysicalParameters ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data,er));
- }
- public static PhysicalParameters ParseFrom(global::System.IO.Stream data) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data));
- }
- public static PhysicalParameters ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data,er));
- }
- public static PhysicalParameters ParseFrom(pb::CodedInputStream data) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.ParseFrom(data));
- }
- public static PhysicalParameters ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new PhysicalParameters(_PBJ_Internal.PhysicalParameters.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.PhysicalParameters.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.PhysicalParameters.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.PhysicalParameters.Builder();}
- public Builder(_PBJ_Internal.PhysicalParameters.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(PhysicalParameters prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public PhysicalParameters BuildPartial() {return new PhysicalParameters(super.BuildPartial());}
- public PhysicalParameters Build() {if (_HasAllPBJFields) return new PhysicalParameters(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return PhysicalParameters.Descriptor; } }
- public Builder ClearMode() { super.ClearMode();return this;}
- public const int ModeFieldTag=2;
- public bool HasMode{ get {return super.HasMode;} }
- public Types.Mode Mode{ get {
- if (HasMode) {
- return (Types.Mode)super.Mode;
- } else {
- return new Types.Mode();
- }
- }
- set {
- super.Mode=((_PBJ_Internal.PhysicalParameters.Types.Mode)value);
- }
- }
- public Builder ClearDensity() { super.ClearDensity();return this;}
- public const int DensityFieldTag=3;
- public bool HasDensity{ get {return super.HasDensity&&PBJ._PBJ.ValidateFloat(super.Density);} }
- public float Density{ get {
- if (HasDensity) {
- return PBJ._PBJ.CastFloat(super.Density);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.Density=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFriction() { super.ClearFriction();return this;}
- public const int FrictionFieldTag=4;
- public bool HasFriction{ get {return super.HasFriction&&PBJ._PBJ.ValidateFloat(super.Friction);} }
- public float Friction{ get {
- if (HasFriction) {
- return PBJ._PBJ.CastFloat(super.Friction);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.Friction=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearBounce() { super.ClearBounce();return this;}
- public const int BounceFieldTag=5;
- public bool HasBounce{ get {return super.HasBounce&&PBJ._PBJ.ValidateFloat(super.Bounce);} }
- public float Bounce{ get {
- if (HasBounce) {
- return PBJ._PBJ.CastFloat(super.Bounce);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.Bounce=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearHull() { super.ClearHull();return this;}
- public const int HullFieldTag=6;
- public bool HasHull{ get {return super.HullCount>=3;} }
- public PBJ.Vector3f Hull{ get {
- int index=0;
- if (HasHull) {
- return PBJ._PBJ.CastVector3f(super.GetHull(index*3+0),super.GetHull(index*3+1),super.GetHull(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearHull();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddHull(_PBJtempArray[0]);
- super.AddHull(_PBJtempArray[1]);
- super.AddHull(_PBJtempArray[2]);
- }
- }
- public Builder ClearCollideMsg() { super.ClearCollideMsg();return this;}
- public const int CollideMsgFieldTag=16;
- public bool HasCollideMsg{ get {return super.HasCollideMsg&&PBJ._PBJ.ValidateUint32(super.CollideMsg);} }
- public uint CollideMsg{ get {
- if (HasCollideMsg) {
- return PBJ._PBJ.CastUint32(super.CollideMsg);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.CollideMsg=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearCollideMask() { super.ClearCollideMask();return this;}
- public const int CollideMaskFieldTag=17;
- public bool HasCollideMask{ get {return super.HasCollideMask&&PBJ._PBJ.ValidateUint32(super.CollideMask);} }
- public uint CollideMask{ get {
- if (HasCollideMask) {
- return PBJ._PBJ.CastUint32(super.CollideMask);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.CollideMask=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearGravity() { super.ClearGravity();return this;}
- public const int GravityFieldTag=18;
- public bool HasGravity{ get {return super.HasGravity&&PBJ._PBJ.ValidateFloat(super.Gravity);} }
- public float Gravity{ get {
- if (HasGravity) {
- return PBJ._PBJ.CastFloat(super.Gravity);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.Gravity=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class LightInfoProperty : PBJ.IMessage {
- protected _PBJ_Internal.LightInfoProperty super;
- public _PBJ_Internal.LightInfoProperty _PBJSuper{ get { return super;} }
- public LightInfoProperty() {
- super=new _PBJ_Internal.LightInfoProperty();
- }
- public LightInfoProperty(_PBJ_Internal.LightInfoProperty reference) {
- super=reference;
- }
- public static LightInfoProperty defaultInstance= new LightInfoProperty (_PBJ_Internal.LightInfoProperty.DefaultInstance);
- public static LightInfoProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.LightInfoProperty.Descriptor; } }
- public static class Types {
- public enum LightTypes {
- POINT=_PBJ_Internal.LightInfoProperty.Types.LightTypes.POINT,
- SPOTLIGHT=_PBJ_Internal.LightInfoProperty.Types.LightTypes.SPOTLIGHT,
- DIRECTIONAL=_PBJ_Internal.LightInfoProperty.Types.LightTypes.DIRECTIONAL
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int DiffuseColorFieldTag=3;
- public bool HasDiffuseColor{ get {return super.DiffuseColorCount>=3;} }
- public PBJ.Vector3f DiffuseColor{ get {
- int index=0;
- if (HasDiffuseColor) {
- return PBJ._PBJ.CastVector3f(super.GetDiffuseColor(index*3+0),super.GetDiffuseColor(index*3+1),super.GetDiffuseColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int SpecularColorFieldTag=4;
- public bool HasSpecularColor{ get {return super.SpecularColorCount>=3;} }
- public PBJ.Vector3f SpecularColor{ get {
- int index=0;
- if (HasSpecularColor) {
- return PBJ._PBJ.CastVector3f(super.GetSpecularColor(index*3+0),super.GetSpecularColor(index*3+1),super.GetSpecularColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int PowerFieldTag=5;
- public bool HasPower{ get {return super.HasPower&&PBJ._PBJ.ValidateFloat(super.Power);} }
- public float Power{ get {
- if (HasPower) {
- return PBJ._PBJ.CastFloat(super.Power);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int AmbientColorFieldTag=6;
- public bool HasAmbientColor{ get {return super.AmbientColorCount>=3;} }
- public PBJ.Vector3f AmbientColor{ get {
- int index=0;
- if (HasAmbientColor) {
- return PBJ._PBJ.CastVector3f(super.GetAmbientColor(index*3+0),super.GetAmbientColor(index*3+1),super.GetAmbientColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int ShadowColorFieldTag=7;
- public bool HasShadowColor{ get {return super.ShadowColorCount>=3;} }
- public PBJ.Vector3f ShadowColor{ get {
- int index=0;
- if (HasShadowColor) {
- return PBJ._PBJ.CastVector3f(super.GetShadowColor(index*3+0),super.GetShadowColor(index*3+1),super.GetShadowColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int LightRangeFieldTag=8;
- public bool HasLightRange{ get {return super.HasLightRange&&PBJ._PBJ.ValidateDouble(super.LightRange);} }
- public double LightRange{ get {
- if (HasLightRange) {
- return PBJ._PBJ.CastDouble(super.LightRange);
- } else {
- return PBJ._PBJ.CastDouble();
- }
- }
- }
- public const int ConstantFalloffFieldTag=9;
- public bool HasConstantFalloff{ get {return super.HasConstantFalloff&&PBJ._PBJ.ValidateFloat(super.ConstantFalloff);} }
- public float ConstantFalloff{ get {
- if (HasConstantFalloff) {
- return PBJ._PBJ.CastFloat(super.ConstantFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int LinearFalloffFieldTag=10;
- public bool HasLinearFalloff{ get {return super.HasLinearFalloff&&PBJ._PBJ.ValidateFloat(super.LinearFalloff);} }
- public float LinearFalloff{ get {
- if (HasLinearFalloff) {
- return PBJ._PBJ.CastFloat(super.LinearFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int QuadraticFalloffFieldTag=11;
- public bool HasQuadraticFalloff{ get {return super.HasQuadraticFalloff&&PBJ._PBJ.ValidateFloat(super.QuadraticFalloff);} }
- public float QuadraticFalloff{ get {
- if (HasQuadraticFalloff) {
- return PBJ._PBJ.CastFloat(super.QuadraticFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int ConeInnerRadiansFieldTag=12;
- public bool HasConeInnerRadians{ get {return super.HasConeInnerRadians&&PBJ._PBJ.ValidateFloat(super.ConeInnerRadians);} }
- public float ConeInnerRadians{ get {
- if (HasConeInnerRadians) {
- return PBJ._PBJ.CastFloat(super.ConeInnerRadians);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int ConeOuterRadiansFieldTag=13;
- public bool HasConeOuterRadians{ get {return super.HasConeOuterRadians&&PBJ._PBJ.ValidateFloat(super.ConeOuterRadians);} }
- public float ConeOuterRadians{ get {
- if (HasConeOuterRadians) {
- return PBJ._PBJ.CastFloat(super.ConeOuterRadians);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int ConeFalloffFieldTag=14;
- public bool HasConeFalloff{ get {return super.HasConeFalloff&&PBJ._PBJ.ValidateFloat(super.ConeFalloff);} }
- public float ConeFalloff{ get {
- if (HasConeFalloff) {
- return PBJ._PBJ.CastFloat(super.ConeFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- }
- public const int TypeFieldTag=15;
- public bool HasType{ get {return super.HasType;} }
- public Types.LightTypes Type{ get {
- if (HasType) {
- return (Types.LightTypes)super.Type;
- } else {
- return new Types.LightTypes();
- }
- }
- }
- public const int CastsShadowFieldTag=16;
- public bool HasCastsShadow{ get {return super.HasCastsShadow&&PBJ._PBJ.ValidateBool(super.CastsShadow);} }
- public bool CastsShadow{ get {
- if (HasCastsShadow) {
- return PBJ._PBJ.CastBool(super.CastsShadow);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- }
- 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(LightInfoProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static LightInfoProperty ParseFrom(pb::ByteString data) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data));
- }
- public static LightInfoProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data,er));
- }
- public static LightInfoProperty ParseFrom(byte[] data) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data));
- }
- public static LightInfoProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data,er));
- }
- public static LightInfoProperty ParseFrom(global::System.IO.Stream data) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data));
- }
- public static LightInfoProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data,er));
- }
- public static LightInfoProperty ParseFrom(pb::CodedInputStream data) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.ParseFrom(data));
- }
- public static LightInfoProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new LightInfoProperty(_PBJ_Internal.LightInfoProperty.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.LightInfoProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.LightInfoProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.LightInfoProperty.Builder();}
- public Builder(_PBJ_Internal.LightInfoProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(LightInfoProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public LightInfoProperty BuildPartial() {return new LightInfoProperty(super.BuildPartial());}
- public LightInfoProperty Build() {if (_HasAllPBJFields) return new LightInfoProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return LightInfoProperty.Descriptor; } }
- public Builder ClearDiffuseColor() { super.ClearDiffuseColor();return this;}
- public const int DiffuseColorFieldTag=3;
- public bool HasDiffuseColor{ get {return super.DiffuseColorCount>=3;} }
- public PBJ.Vector3f DiffuseColor{ get {
- int index=0;
- if (HasDiffuseColor) {
- return PBJ._PBJ.CastVector3f(super.GetDiffuseColor(index*3+0),super.GetDiffuseColor(index*3+1),super.GetDiffuseColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearDiffuseColor();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddDiffuseColor(_PBJtempArray[0]);
- super.AddDiffuseColor(_PBJtempArray[1]);
- super.AddDiffuseColor(_PBJtempArray[2]);
- }
- }
- public Builder ClearSpecularColor() { super.ClearSpecularColor();return this;}
- public const int SpecularColorFieldTag=4;
- public bool HasSpecularColor{ get {return super.SpecularColorCount>=3;} }
- public PBJ.Vector3f SpecularColor{ get {
- int index=0;
- if (HasSpecularColor) {
- return PBJ._PBJ.CastVector3f(super.GetSpecularColor(index*3+0),super.GetSpecularColor(index*3+1),super.GetSpecularColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearSpecularColor();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddSpecularColor(_PBJtempArray[0]);
- super.AddSpecularColor(_PBJtempArray[1]);
- super.AddSpecularColor(_PBJtempArray[2]);
- }
- }
- public Builder ClearPower() { super.ClearPower();return this;}
- public const int PowerFieldTag=5;
- public bool HasPower{ get {return super.HasPower&&PBJ._PBJ.ValidateFloat(super.Power);} }
- public float Power{ get {
- if (HasPower) {
- return PBJ._PBJ.CastFloat(super.Power);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.Power=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearAmbientColor() { super.ClearAmbientColor();return this;}
- public const int AmbientColorFieldTag=6;
- public bool HasAmbientColor{ get {return super.AmbientColorCount>=3;} }
- public PBJ.Vector3f AmbientColor{ get {
- int index=0;
- if (HasAmbientColor) {
- return PBJ._PBJ.CastVector3f(super.GetAmbientColor(index*3+0),super.GetAmbientColor(index*3+1),super.GetAmbientColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearAmbientColor();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddAmbientColor(_PBJtempArray[0]);
- super.AddAmbientColor(_PBJtempArray[1]);
- super.AddAmbientColor(_PBJtempArray[2]);
- }
- }
- public Builder ClearShadowColor() { super.ClearShadowColor();return this;}
- public const int ShadowColorFieldTag=7;
- public bool HasShadowColor{ get {return super.ShadowColorCount>=3;} }
- public PBJ.Vector3f ShadowColor{ get {
- int index=0;
- if (HasShadowColor) {
- return PBJ._PBJ.CastVector3f(super.GetShadowColor(index*3+0),super.GetShadowColor(index*3+1),super.GetShadowColor(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearShadowColor();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddShadowColor(_PBJtempArray[0]);
- super.AddShadowColor(_PBJtempArray[1]);
- super.AddShadowColor(_PBJtempArray[2]);
- }
- }
- public Builder ClearLightRange() { super.ClearLightRange();return this;}
- public const int LightRangeFieldTag=8;
- public bool HasLightRange{ get {return super.HasLightRange&&PBJ._PBJ.ValidateDouble(super.LightRange);} }
- public double LightRange{ get {
- if (HasLightRange) {
- return PBJ._PBJ.CastDouble(super.LightRange);
- } else {
- return PBJ._PBJ.CastDouble();
- }
- }
- set {
- super.LightRange=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearConstantFalloff() { super.ClearConstantFalloff();return this;}
- public const int ConstantFalloffFieldTag=9;
- public bool HasConstantFalloff{ get {return super.HasConstantFalloff&&PBJ._PBJ.ValidateFloat(super.ConstantFalloff);} }
- public float ConstantFalloff{ get {
- if (HasConstantFalloff) {
- return PBJ._PBJ.CastFloat(super.ConstantFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.ConstantFalloff=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearLinearFalloff() { super.ClearLinearFalloff();return this;}
- public const int LinearFalloffFieldTag=10;
- public bool HasLinearFalloff{ get {return super.HasLinearFalloff&&PBJ._PBJ.ValidateFloat(super.LinearFalloff);} }
- public float LinearFalloff{ get {
- if (HasLinearFalloff) {
- return PBJ._PBJ.CastFloat(super.LinearFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.LinearFalloff=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearQuadraticFalloff() { super.ClearQuadraticFalloff();return this;}
- public const int QuadraticFalloffFieldTag=11;
- public bool HasQuadraticFalloff{ get {return super.HasQuadraticFalloff&&PBJ._PBJ.ValidateFloat(super.QuadraticFalloff);} }
- public float QuadraticFalloff{ get {
- if (HasQuadraticFalloff) {
- return PBJ._PBJ.CastFloat(super.QuadraticFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.QuadraticFalloff=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearConeInnerRadians() { super.ClearConeInnerRadians();return this;}
- public const int ConeInnerRadiansFieldTag=12;
- public bool HasConeInnerRadians{ get {return super.HasConeInnerRadians&&PBJ._PBJ.ValidateFloat(super.ConeInnerRadians);} }
- public float ConeInnerRadians{ get {
- if (HasConeInnerRadians) {
- return PBJ._PBJ.CastFloat(super.ConeInnerRadians);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.ConeInnerRadians=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearConeOuterRadians() { super.ClearConeOuterRadians();return this;}
- public const int ConeOuterRadiansFieldTag=13;
- public bool HasConeOuterRadians{ get {return super.HasConeOuterRadians&&PBJ._PBJ.ValidateFloat(super.ConeOuterRadians);} }
- public float ConeOuterRadians{ get {
- if (HasConeOuterRadians) {
- return PBJ._PBJ.CastFloat(super.ConeOuterRadians);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.ConeOuterRadians=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearConeFalloff() { super.ClearConeFalloff();return this;}
- public const int ConeFalloffFieldTag=14;
- public bool HasConeFalloff{ get {return super.HasConeFalloff&&PBJ._PBJ.ValidateFloat(super.ConeFalloff);} }
- public float ConeFalloff{ get {
- if (HasConeFalloff) {
- return PBJ._PBJ.CastFloat(super.ConeFalloff);
- } else {
- return PBJ._PBJ.CastFloat();
- }
- }
- set {
- super.ConeFalloff=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearType() { super.ClearType();return this;}
- public const int TypeFieldTag=15;
- public bool HasType{ get {return super.HasType;} }
- public Types.LightTypes Type{ get {
- if (HasType) {
- return (Types.LightTypes)super.Type;
- } else {
- return new Types.LightTypes();
- }
- }
- set {
- super.Type=((_PBJ_Internal.LightInfoProperty.Types.LightTypes)value);
- }
- }
- public Builder ClearCastsShadow() { super.ClearCastsShadow();return this;}
- public const int CastsShadowFieldTag=16;
- public bool HasCastsShadow{ get {return super.HasCastsShadow&&PBJ._PBJ.ValidateBool(super.CastsShadow);} }
- public bool CastsShadow{ get {
- if (HasCastsShadow) {
- return PBJ._PBJ.CastBool(super.CastsShadow);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- set {
- super.CastsShadow=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class ParentProperty : PBJ.IMessage {
- protected _PBJ_Internal.ParentProperty super;
- public _PBJ_Internal.ParentProperty _PBJSuper{ get { return super;} }
- public ParentProperty() {
- super=new _PBJ_Internal.ParentProperty();
- }
- public ParentProperty(_PBJ_Internal.ParentProperty reference) {
- super=reference;
- }
- public static ParentProperty defaultInstance= new ParentProperty (_PBJ_Internal.ParentProperty.DefaultInstance);
- public static ParentProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ParentProperty.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.HasValue&&PBJ._PBJ.ValidateUuid(super.Value);} }
- public PBJ.UUID Value{ get {
- if (HasValue) {
- return PBJ._PBJ.CastUuid(super.Value);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- 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(ParentProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ParentProperty ParseFrom(pb::ByteString data) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data));
- }
- public static ParentProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data,er));
- }
- public static ParentProperty ParseFrom(byte[] data) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data));
- }
- public static ParentProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data,er));
- }
- public static ParentProperty ParseFrom(global::System.IO.Stream data) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data));
- }
- public static ParentProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data,er));
- }
- public static ParentProperty ParseFrom(pb::CodedInputStream data) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.ParseFrom(data));
- }
- public static ParentProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ParentProperty(_PBJ_Internal.ParentProperty.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.ParentProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ParentProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ParentProperty.Builder();}
- public Builder(_PBJ_Internal.ParentProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ParentProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ParentProperty BuildPartial() {return new ParentProperty(super.BuildPartial());}
- public ParentProperty Build() {if (_HasAllPBJFields) return new ParentProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ParentProperty.Descriptor; } }
- public Builder ClearValue() { super.ClearValue();return this;}
- public const int ValueFieldTag=10;
- public bool HasValue{ get {return super.HasValue&&PBJ._PBJ.ValidateUuid(super.Value);} }
- public PBJ.UUID Value{ get {
- if (HasValue) {
- return PBJ._PBJ.CastUuid(super.Value);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.Value=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class UUIDListProperty : PBJ.IMessage {
- protected _PBJ_Internal.UUIDListProperty super;
- public _PBJ_Internal.UUIDListProperty _PBJSuper{ get { return super;} }
- public UUIDListProperty() {
- super=new _PBJ_Internal.UUIDListProperty();
- }
- public UUIDListProperty(_PBJ_Internal.UUIDListProperty reference) {
- super=reference;
- }
- public static UUIDListProperty defaultInstance= new UUIDListProperty (_PBJ_Internal.UUIDListProperty.DefaultInstance);
- public static UUIDListProperty DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.UUIDListProperty.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ValueFieldTag=10;
- public int ValueCount { get { return super.ValueCount;} }
- public bool HasValue(int index) {return PBJ._PBJ.ValidateUuid(super.GetValue(index));}
- public PBJ.UUID Value(int index) {
- return (PBJ.UUID)PBJ._PBJ.CastUuid(super.GetValue(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(UUIDListProperty prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static UUIDListProperty ParseFrom(pb::ByteString data) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data));
- }
- public static UUIDListProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data,er));
- }
- public static UUIDListProperty ParseFrom(byte[] data) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data));
- }
- public static UUIDListProperty ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data,er));
- }
- public static UUIDListProperty ParseFrom(global::System.IO.Stream data) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data));
- }
- public static UUIDListProperty ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data,er));
- }
- public static UUIDListProperty ParseFrom(pb::CodedInputStream data) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.ParseFrom(data));
- }
- public static UUIDListProperty ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new UUIDListProperty(_PBJ_Internal.UUIDListProperty.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.UUIDListProperty.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.UUIDListProperty.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.UUIDListProperty.Builder();}
- public Builder(_PBJ_Internal.UUIDListProperty.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(UUIDListProperty prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public UUIDListProperty BuildPartial() {return new UUIDListProperty(super.BuildPartial());}
- public UUIDListProperty Build() {if (_HasAllPBJFields) return new UUIDListProperty(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return UUIDListProperty.Descriptor; } }
- public Builder ClearValue() { super.ClearValue();return this;}
- public Builder SetValue(int index, PBJ.UUID value) {
- super.SetValue(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int ValueFieldTag=10;
- public int ValueCount { get { return super.ValueCount;} }
- public bool HasValue(int index) {return PBJ._PBJ.ValidateUuid(super.GetValue(index));}
- public PBJ.UUID Value(int index) {
- return (PBJ.UUID)PBJ._PBJ.CastUuid(super.GetValue(index));
- }
- public Builder AddValue(PBJ.UUID value) {
- super.AddValue(PBJ._PBJ.Construct(value));
- return this;
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class ConnectToSpace : PBJ.IMessage {
- protected _PBJ_Internal.ConnectToSpace super;
- public _PBJ_Internal.ConnectToSpace _PBJSuper{ get { return super;} }
- public ConnectToSpace() {
- super=new _PBJ_Internal.ConnectToSpace();
- }
- public ConnectToSpace(_PBJ_Internal.ConnectToSpace reference) {
- super=reference;
- }
- public static ConnectToSpace defaultInstance= new ConnectToSpace (_PBJ_Internal.ConnectToSpace.DefaultInstance);
- public static ConnectToSpace DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ConnectToSpace.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int SpaceIdFieldTag=1;
- public bool HasSpaceId{ get {return super.HasSpaceId&&PBJ._PBJ.ValidateUuid(super.SpaceId);} }
- public PBJ.UUID SpaceId{ get {
- if (HasSpaceId) {
- return PBJ._PBJ.CastUuid(super.SpaceId);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int ObjectUuidEvidenceFieldTag=2;
- public bool HasObjectUuidEvidence{ get {return super.HasObjectUuidEvidence&&PBJ._PBJ.ValidateUuid(super.ObjectUuidEvidence);} }
- public PBJ.UUID ObjectUuidEvidence{ get {
- if (HasObjectUuidEvidence) {
- return PBJ._PBJ.CastUuid(super.ObjectUuidEvidence);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int RequestedObjectLocFieldTag=3;
- public bool HasRequestedObjectLoc{ get {return super.HasRequestedObjectLoc;} }
- public ObjLoc RequestedObjectLoc{ get {
- if (HasRequestedObjectLoc) {
- return new ObjLoc(super.RequestedObjectLoc);
- } else {
- return new ObjLoc();
- }
- }
- }
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- }
- 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(ConnectToSpace prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ConnectToSpace ParseFrom(pb::ByteString data) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data));
- }
- public static ConnectToSpace ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data,er));
- }
- public static ConnectToSpace ParseFrom(byte[] data) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data));
- }
- public static ConnectToSpace ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data,er));
- }
- public static ConnectToSpace ParseFrom(global::System.IO.Stream data) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data));
- }
- public static ConnectToSpace ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data,er));
- }
- public static ConnectToSpace ParseFrom(pb::CodedInputStream data) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.ParseFrom(data));
- }
- public static ConnectToSpace ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ConnectToSpace(_PBJ_Internal.ConnectToSpace.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.ConnectToSpace.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ConnectToSpace.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ConnectToSpace.Builder();}
- public Builder(_PBJ_Internal.ConnectToSpace.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ConnectToSpace prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ConnectToSpace BuildPartial() {return new ConnectToSpace(super.BuildPartial());}
- public ConnectToSpace Build() {if (_HasAllPBJFields) return new ConnectToSpace(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ConnectToSpace.Descriptor; } }
- public Builder ClearSpaceId() { super.ClearSpaceId();return this;}
- public const int SpaceIdFieldTag=1;
- public bool HasSpaceId{ get {return super.HasSpaceId&&PBJ._PBJ.ValidateUuid(super.SpaceId);} }
- public PBJ.UUID SpaceId{ get {
- if (HasSpaceId) {
- return PBJ._PBJ.CastUuid(super.SpaceId);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.SpaceId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearObjectUuidEvidence() { super.ClearObjectUuidEvidence();return this;}
- public const int ObjectUuidEvidenceFieldTag=2;
- public bool HasObjectUuidEvidence{ get {return super.HasObjectUuidEvidence&&PBJ._PBJ.ValidateUuid(super.ObjectUuidEvidence);} }
- public PBJ.UUID ObjectUuidEvidence{ get {
- if (HasObjectUuidEvidence) {
- return PBJ._PBJ.CastUuid(super.ObjectUuidEvidence);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuidEvidence=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearRequestedObjectLoc() { super.ClearRequestedObjectLoc();return this;}
- public const int RequestedObjectLocFieldTag=3;
- public bool HasRequestedObjectLoc{ get {return super.HasRequestedObjectLoc;} }
- public ObjLoc RequestedObjectLoc{ get {
- if (HasRequestedObjectLoc) {
- return new ObjLoc(super.RequestedObjectLoc);
- } else {
- return new ObjLoc();
- }
- }
- set {
- super.RequestedObjectLoc=value._PBJSuper;
- }
- }
- public Builder ClearBoundingSphere() { super.ClearBoundingSphere();return this;}
- public const int BoundingSphereFieldTag=4;
- public bool HasBoundingSphere{ get {return super.BoundingSphereCount>=4;} }
- public PBJ.BoundingSphere3f BoundingSphere{ get {
- int index=0;
- if (HasBoundingSphere) {
- return PBJ._PBJ.CastBoundingsphere3f(super.GetBoundingSphere(index*4+0),super.GetBoundingSphere(index*4+1),super.GetBoundingSphere(index*4+2),super.GetBoundingSphere(index*4+3));
- } else {
- return PBJ._PBJ.CastBoundingsphere3f();
- }
- }
- set {
- super.ClearBoundingSphere();
- float[] _PBJtempArray=PBJ._PBJ.ConstructBoundingsphere3f(value);
- super.AddBoundingSphere(_PBJtempArray[0]);
- super.AddBoundingSphere(_PBJtempArray[1]);
- super.AddBoundingSphere(_PBJtempArray[2]);
- super.AddBoundingSphere(_PBJtempArray[3]);
- }
- }
- }
- }
- }
- namespace Sirikata.Protocol {
- public class CreateObject : PBJ.IMessage {
- protected _PBJ_Internal.CreateObject super;
- public _PBJ_Internal.CreateObject _PBJSuper{ get { return super;} }
- public CreateObject() {
- super=new _PBJ_Internal.CreateObject();
- }
- public CreateObject(_PBJ_Internal.CreateObject reference) {
- super=reference;
- }
- public static CreateObject defaultInstance= new CreateObject (_PBJ_Internal.CreateObject.DefaultInstance);
- public static CreateObject DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.CreateObject.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=1;
- 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 SpacePropertiesFieldTag=2;
- public int SpacePropertiesCount { get { return super.SpacePropertiesCount;} }
- public bool HasSpaceProperties(int index) {return true;}
- public ConnectToSpace SpaceProperties(int index) {
- return new ConnectToSpace(super.GetSpaceProperties(index));
- }
- public const int MeshFieldTag=3;
- public bool HasMesh{ get {return super.HasMesh&&PBJ._PBJ.ValidateString(super.Mesh);} }
- public string Mesh{ get {
- if (HasMesh) {
- return PBJ._PBJ.CastString(super.Mesh);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int ScaleFieldTag=4;
- public bool HasScale{ get {return super.ScaleCount>=3;} }
- public PBJ.Vector3f Scale{ get {
- int index=0;
- if (HasScale) {
- return PBJ._PBJ.CastVector3f(super.GetScale(index*3+0),super.GetScale(index*3+1),super.GetScale(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- }
- public const int WeburlFieldTag=5;
- public bool HasWeburl{ get {return super.HasWeburl&&PBJ._PBJ.ValidateString(super.Weburl);} }
- public string Weburl{ get {
- if (HasWeburl) {
- return PBJ._PBJ.CastString(super.Weburl);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int LightInfoFieldTag=6;
- public bool HasLightInfo{ get {return super.HasLightInfo;} }
- public LightInfoProperty LightInfo{ get {
- if (HasLightInfo) {
- return new LightInfoProperty(super.LightInfo);
- } else {
- return new LightInfoProperty();
- }
- }
- }
- public const int CameraFieldTag=7;
- public bool HasCamera{ get {return super.HasCamera&&PBJ._PBJ.ValidateBool(super.Camera);} }
- public bool Camera{ get {
- if (HasCamera) {
- return PBJ._PBJ.CastBool(super.Camera);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- }
- public const int PhysicalFieldTag=8;
- public bool HasPhysical{ get {return super.HasPhysical;} }
- public PhysicalParameters Physical{ get {
- if (HasPhysical) {
- return new PhysicalParameters(super.Physical);
- } else {
- return new PhysicalParameters();
- }
- }
- }
- 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(CreateObject prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static CreateObject ParseFrom(pb::ByteString data) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data));
- }
- public static CreateObject ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data,er));
- }
- public static CreateObject ParseFrom(byte[] data) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data));
- }
- public static CreateObject ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data,er));
- }
- public static CreateObject ParseFrom(global::System.IO.Stream data) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data));
- }
- public static CreateObject ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data,er));
- }
- public static CreateObject ParseFrom(pb::CodedInputStream data) {
- return new CreateObject(_PBJ_Internal.CreateObject.ParseFrom(data));
- }
- public static CreateObject ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new CreateObject(_PBJ_Internal.CreateObject.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.CreateObject.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.CreateObject.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.CreateObject.Builder();}
- public Builder(_PBJ_Internal.CreateObject.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(CreateObject prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public CreateObject BuildPartial() {return new CreateObject(super.BuildPartial());}
- public CreateObject Build() {if (_HasAllPBJFields) return new CreateObject(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return CreateObject.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=1;
- 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 ClearSpaceProperties() { super.ClearSpaceProperties();return this;}
- public Builder SetSpaceProperties(int index,ConnectToSpace value) {
- super.SetSpaceProperties(index,value._PBJSuper);
- return this;
- }
- public const int SpacePropertiesFieldTag=2;
- public int SpacePropertiesCount { get { return super.SpacePropertiesCount;} }
- public bool HasSpaceProperties(int index) {return true;}
- public ConnectToSpace SpaceProperties(int index) {
- return new ConnectToSpace(super.GetSpaceProperties(index));
- }
- public Builder AddSpaceProperties(ConnectToSpace value) {
- super.AddSpaceProperties(value._PBJSuper);
- return this;
- }
- public Builder ClearMesh() { super.ClearMesh();return this;}
- public const int MeshFieldTag=3;
- public bool HasMesh{ get {return super.HasMesh&&PBJ._PBJ.ValidateString(super.Mesh);} }
- public string Mesh{ get {
- if (HasMesh) {
- return PBJ._PBJ.CastString(super.Mesh);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.Mesh=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearScale() { super.ClearScale();return this;}
- public const int ScaleFieldTag=4;
- public bool HasScale{ get {return super.ScaleCount>=3;} }
- public PBJ.Vector3f Scale{ get {
- int index=0;
- if (HasScale) {
- return PBJ._PBJ.CastVector3f(super.GetScale(index*3+0),super.GetScale(index*3+1),super.GetScale(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3f();
- }
- }
- set {
- super.ClearScale();
- float[] _PBJtempArray=PBJ._PBJ.ConstructVector3f(value);
- super.AddScale(_PBJtempArray[0]);
- super.AddScale(_PBJtempArray[1]);
- super.AddScale(_PBJtempArray[2]);
- }
- }
- public Builder ClearWeburl() { super.ClearWeburl();return this;}
- public const int WeburlFieldTag=5;
- public bool HasWeburl{ get {return super.HasWeburl&&PBJ._PBJ.ValidateString(super.Weburl);} }
- public string Weburl{ get {
- if (HasWeburl) {
- return PBJ._PBJ.CastString(super.Weburl);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.Weburl=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearLightInfo() { super.ClearLightInfo();return this;}
- public const int LightInfoFieldTag=6;
- public bool HasLightInfo{ get {return super.HasLightInfo;} }
- public LightInfoProperty LightInfo{ get {
- if (HasLightInfo) {
- return new LightInfoProperty(super.LightInfo);
- } else {
- return new LightInfoProperty();
- }
- }
- set {
- super.LightInfo=value._PBJSuper;
- }
- }
- public Builder ClearCamera() { super.ClearCamera();return this;}
- public const int CameraFieldTag=7;
- public bool HasCamera{ get {return super.HasCamera&&PBJ._PBJ.ValidateBool(super.Camera);} }
- public bool Camera{ get {
- if (HasCamera) {
- return PBJ._PBJ.CastBool(super.Camera);
- } else {
- return PBJ._PBJ.CastBool();
- }
- }
- set {
- super.Camera=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearPhysical() { super.ClearPhysical();return this;}
- public const int PhysicalFieldTag=8;
- public bool HasPhysical{ get {return super.HasPhysical;} }
- public PhysicalParameters Physical{ get {
- if (HasPhysical) {
- return new PhysicalParameters(super.Physical);
- } else {
- return new PhysicalParameters();
- }
- }
- set {
- super.Physical=value._PBJSuper;
- }
- }
- }
- }
- }
|