aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/Sirikata/Protocol/Sirikata.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Client/Sirikata/Protocol/Sirikata.cs')
-rw-r--r--OpenSim/Client/Sirikata/Protocol/Sirikata.cs8074
1 files changed, 0 insertions, 8074 deletions
diff --git a/OpenSim/Client/Sirikata/Protocol/Sirikata.cs b/OpenSim/Client/Sirikata/Protocol/Sirikata.cs
deleted file mode 100644
index 9283086..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Sirikata.cs
+++ /dev/null
@@ -1,8074 +0,0 @@
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2
3using pb = global::Google.ProtocolBuffers;
4using pbc = global::Google.ProtocolBuffers.Collections;
5using pbd = global::Google.ProtocolBuffers.Descriptors;
6using scg = global::System.Collections.Generic;
7namespace Sirikata.Protocol._PBJ_Internal {
8
9 public static partial class Sirikata {
10
11 #region Extension registration
12 public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
13 }
14 #endregion
15 #region Static variables
16 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor;
17 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.MessageBody, global::Sirikata.Protocol._PBJ_Internal.MessageBody.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable;
18 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor;
19 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage, global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable;
20 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor;
21 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.SpaceServices, global::Sirikata.Protocol._PBJ_Internal.SpaceServices.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable;
22 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor;
23 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ObjLoc, global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable;
24 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor;
25 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.LocRequest, global::Sirikata.Protocol._PBJ_Internal.LocRequest.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__FieldAccessorTable;
26 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor;
27 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.NewObj, global::Sirikata.Protocol._PBJ_Internal.NewObj.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__FieldAccessorTable;
28 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor;
29 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.RetObj, global::Sirikata.Protocol._PBJ_Internal.RetObj.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__FieldAccessorTable;
30 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor;
31 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.DelObj, global::Sirikata.Protocol._PBJ_Internal.DelObj.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__FieldAccessorTable;
32 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor;
33 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.NewProxQuery, global::Sirikata.Protocol._PBJ_Internal.NewProxQuery.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__FieldAccessorTable;
34 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor;
35 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ProxCall, global::Sirikata.Protocol._PBJ_Internal.ProxCall.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__FieldAccessorTable;
36 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor;
37 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.DelProxQuery, global::Sirikata.Protocol._PBJ_Internal.DelProxQuery.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__FieldAccessorTable;
38 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor;
39 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty, global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__FieldAccessorTable;
40 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor;
41 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.StringProperty, global::Sirikata.Protocol._PBJ_Internal.StringProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__FieldAccessorTable;
42 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor;
43 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.StringMapProperty, global::Sirikata.Protocol._PBJ_Internal.StringMapProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__FieldAccessorTable;
44 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor;
45 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters, global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__FieldAccessorTable;
46 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor;
47 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty, global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__FieldAccessorTable;
48 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor;
49 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ParentProperty, global::Sirikata.Protocol._PBJ_Internal.ParentProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__FieldAccessorTable;
50 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor;
51 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty, global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__FieldAccessorTable;
52 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor;
53 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace, global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__FieldAccessorTable;
54 internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor;
55 internal static pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.CreateObject, global::Sirikata.Protocol._PBJ_Internal.CreateObject.Builder> internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__FieldAccessorTable;
56 #endregion
57 #region Descriptor
58 public static pbd::FileDescriptor Descriptor {
59 get { return descriptor; }
60 }
61 private static pbd::FileDescriptor descriptor;
62
63 static Sirikata() {
64 byte[] descriptorData = global::System.Convert.FromBase64String(
65 "Cg5TaXJpa2F0YS5wcm90bxIfU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRl" +
66 "cm5hbCI/CgtNZXNzYWdlQm9keRIVCg1tZXNzYWdlX25hbWVzGAkgAygJEhkK" +
67 "EW1lc3NhZ2VfYXJndW1lbnRzGAogAygMIroDCg9SZWFkT25seU1lc3NhZ2US" +
68 "FQoNc291cmNlX29iamVjdBgBIAEoDBITCgtzb3VyY2VfcG9ydBgDIAEoDRIV" +
69 "Cgxzb3VyY2Vfc3BhY2UYgAwgASgMEhoKEmRlc3RpbmF0aW9uX29iamVjdBgC" +
70 "IAEoDBIYChBkZXN0aW5hdGlvbl9wb3J0GAQgASgNEhoKEWRlc3RpbmF0aW9u" +
71 "X3NwYWNlGIEMIAEoDBIKCgJpZBgHIAEoAxIQCghyZXBseV9pZBgIIAEoAxJV" +
72 "Cg1yZXR1cm5fc3RhdHVzGIAOIAEoDjI9LlNpcmlrYXRhLlByb3RvY29sLl9Q" +
73 "QkpfSW50ZXJuYWwuUmVhZE9ubHlNZXNzYWdlLlJldHVyblN0YXR1cxIVCg1t" +
74 "ZXNzYWdlX25hbWVzGAkgAygJEhkKEW1lc3NhZ2VfYXJndW1lbnRzGAogAygM" +
75 "ImsKDFJldHVyblN0YXR1cxILCgdTVUNDRVNTEAASEwoPTkVUV09SS19GQUlM" +
76 "VVJFEAESEwoPVElNRU9VVF9GQUlMVVJFEAMSEgoOUFJPVE9DT0xfRVJST1IQ" +
77 "BBIQCgxQT1JUX0ZBSUxVUkUQBSLOAQoNU3BhY2VTZXJ2aWNlcxIZChFyZWdp" +
78 "c3RyYXRpb25fcG9ydBghIAEoDRIQCghsb2NfcG9ydBgiIAEoDRIRCglnZW9t" +
79 "X3BvcnQYIyABKA0SEQoJb3NlZ19wb3J0GCQgASgNEhEKCWNzZWdfcG9ydBgl" +
80 "IAEoDRITCgtyb3V0ZXJfcG9ydBgmIAEoDRIdChVwcmVfY29ubmVjdGlvbl9i" +
81 "dWZmZXIYQCABKAQSIwobbWF4X3ByZV9jb25uZWN0aW9uX21lc3NhZ2VzGEEg" +
82 "ASgEIsQBCgZPYmpMb2MSEQoJdGltZXN0YW1wGAIgASgGEhQKCHBvc2l0aW9u" +
83 "GAMgAygBQgIQARIXCgtvcmllbnRhdGlvbhgEIAMoAkICEAESFAoIdmVsb2Np" +
84 "dHkYBSADKAJCAhABEhsKD3JvdGF0aW9uYWxfYXhpcxgHIAMoAkICEAESFQoN" +
85 "YW5ndWxhcl9zcGVlZBgIIAEoAhIUCgx1cGRhdGVfZmxhZ3MYBiABKA0iGAoL" +
86 "VXBkYXRlRmxhZ3MSCQoFRk9SQ0UQASKFAQoKTG9jUmVxdWVzdBIYChByZXF1" +
87 "ZXN0ZWRfZmllbGRzGAIgASgNIl0KBkZpZWxkcxIMCghQT1NJVElPThABEg8K" +
88 "C09SSUVOVEFUSU9OEAISDAoIVkVMT0NJVFkQBBITCg9ST1RBVElPTkFMX0FY" +
89 "SVMQCBIRCg1BTkdVTEFSX1NQRUVEEBAiigEKBk5ld09iahIcChRvYmplY3Rf" +
90 "dXVpZF9ldmlkZW5jZRgCIAEoDBJFChRyZXF1ZXN0ZWRfb2JqZWN0X2xvYxgD" +
91 "IAEoCzInLlNpcmlrYXRhLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuT2JqTG9j" +
92 "EhsKD2JvdW5kaW5nX3NwaGVyZRgEIAMoAkICEAEiegoGUmV0T2JqEhgKEG9i" +
93 "amVjdF9yZWZlcmVuY2UYAiABKAwSOQoIbG9jYXRpb24YAyABKAsyJy5TaXJp" +
94 "a2F0YS5Qcm90b2NvbC5fUEJKX0ludGVybmFsLk9iakxvYxIbCg9ib3VuZGlu" +
95 "Z19zcGhlcmUYBCADKAJCAhABIiIKBkRlbE9iahIYChBvYmplY3RfcmVmZXJl" +
96 "bmNlGAIgASgMIpoBCgxOZXdQcm94UXVlcnkSEAoIcXVlcnlfaWQYAiABKA0S" +
97 "EQoJc3RhdGVsZXNzGAMgASgIEhsKD3JlbGF0aXZlX2NlbnRlchgEIAMoAkIC" +
98 "EAESGwoPYWJzb2x1dGVfY2VudGVyGAUgAygBQgIQARISCgptYXhfcmFkaXVz" +
99 "GAYgASgCEhcKD21pbl9zb2xpZF9hbmdsZRgHIAEoAiLhAQoIUHJveENhbGwS" +
100 "EAoIcXVlcnlfaWQYAiACKA0SGAoQcHJveGltYXRlX29iamVjdBgDIAIoDBJR" +
101 "Cg9wcm94aW1pdHlfZXZlbnQYBCACKA4yOC5TaXJpa2F0YS5Qcm90b2NvbC5f" +
102 "UEJKX0ludGVybmFsLlByb3hDYWxsLlByb3hpbWl0eUV2ZW50IlYKDlByb3hp" +
103 "bWl0eUV2ZW50EhQKEEVYSVRFRF9QUk9YSU1JVFkQABIVChFFTlRFUkVEX1BS" +
104 "T1hJTUlUWRABEhcKE1NUQVRFTEVTU19QUk9YSU1JVFkQAiIgCgxEZWxQcm94" +
105 "UXVlcnkSEAoIcXVlcnlfaWQYAiABKA0iJQoQVmVjdG9yM2ZQcm9wZXJ0eRIR" +
106 "CgV2YWx1ZRgKIAMoAkICEAEiHwoOU3RyaW5nUHJvcGVydHkSDQoFdmFsdWUY" +
107 "CiABKAkiMQoRU3RyaW5nTWFwUHJvcGVydHkSDAoEa2V5cxgCIAMoCRIOCgZ2" +
108 "YWx1ZXMYAyADKAkiyQIKElBoeXNpY2FsUGFyYW1ldGVycxJGCgRtb2RlGAIg" +
109 "ASgOMjguU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5QaHlzaWNh" +
110 "bFBhcmFtZXRlcnMuTW9kZRIPCgdkZW5zaXR5GAMgASgCEhAKCGZyaWN0aW9u" +
111 "GAQgASgCEg4KBmJvdW5jZRgFIAEoAhIQCgRodWxsGAYgAygCQgIQARITCgtj" +
112 "b2xsaWRlX21zZxgQIAEoDRIUCgxjb2xsaWRlX21hc2sYESABKA0SDwoHZ3Jh" +
113 "dml0eRgSIAEoAiJqCgRNb2RlEg8KC05PTlBIWVNJQ0FMEAASCgoGU1RBVElD" +
114 "EAESDgoKRFlOQU1JQ0JPWBACEhEKDURZTkFNSUNTUEhFUkUQAxITCg9EWU5B" +
115 "TUlDQ1lMSU5ERVIQBBINCglDSEFSQUNURVIQBSLaAwoRTGlnaHRJbmZvUHJv" +
116 "cGVydHkSGQoNZGlmZnVzZV9jb2xvchgDIAMoAkICEAESGgoOc3BlY3VsYXJf" +
117 "Y29sb3IYBCADKAJCAhABEg0KBXBvd2VyGAUgASgCEhkKDWFtYmllbnRfY29s" +
118 "b3IYBiADKAJCAhABEhgKDHNoYWRvd19jb2xvchgHIAMoAkICEAESEwoLbGln" +
119 "aHRfcmFuZ2UYCCABKAESGAoQY29uc3RhbnRfZmFsbG9mZhgJIAEoAhIWCg5s" +
120 "aW5lYXJfZmFsbG9mZhgKIAEoAhIZChFxdWFkcmF0aWNfZmFsbG9mZhgLIAEo" +
121 "AhIaChJjb25lX2lubmVyX3JhZGlhbnMYDCABKAISGgoSY29uZV9vdXRlcl9y" +
122 "YWRpYW5zGA0gASgCEhQKDGNvbmVfZmFsbG9mZhgOIAEoAhJLCgR0eXBlGA8g" +
123 "ASgOMj0uU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5MaWdodElu" +
124 "Zm9Qcm9wZXJ0eS5MaWdodFR5cGVzEhQKDGNhc3RzX3NoYWRvdxgQIAEoCCI3" +
125 "CgpMaWdodFR5cGVzEgkKBVBPSU5UEAASDQoJU1BPVExJR0hUEAESDwoLRElS" +
126 "RUNUSU9OQUwQAiIfCg5QYXJlbnRQcm9wZXJ0eRINCgV2YWx1ZRgKIAEoDCIh" +
127 "ChBVVUlETGlzdFByb3BlcnR5Eg0KBXZhbHVlGAogAygMIqQBCg5Db25uZWN0" +
128 "VG9TcGFjZRIQCghzcGFjZV9pZBgBIAEoDBIcChRvYmplY3RfdXVpZF9ldmlk" +
129 "ZW5jZRgCIAEoDBJFChRyZXF1ZXN0ZWRfb2JqZWN0X2xvYxgDIAEoCzInLlNp" +
130 "cmlrYXRhLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuT2JqTG9jEhsKD2JvdW5k" +
131 "aW5nX3NwaGVyZRgEIAMoAkICEAEivgIKDENyZWF0ZU9iamVjdBITCgtvYmpl" +
132 "Y3RfdXVpZBgBIAEoDBJJChBzcGFjZV9wcm9wZXJ0aWVzGAIgAygLMi8uU2ly" +
133 "aWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5Db25uZWN0VG9TcGFjZRIM" +
134 "CgRtZXNoGAMgASgJEhEKBXNjYWxlGAQgAygCQgIQARIOCgZ3ZWJ1cmwYBSAB" +
135 "KAkSRgoKbGlnaHRfaW5mbxgGIAEoCzIyLlNpcmlrYXRhLlByb3RvY29sLl9Q" +
136 "QkpfSW50ZXJuYWwuTGlnaHRJbmZvUHJvcGVydHkSDgoGY2FtZXJhGAcgASgI" +
137 "EkUKCHBoeXNpY2FsGAggASgLMjMuU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9J" +
138 "bnRlcm5hbC5QaHlzaWNhbFBhcmFtZXRlcnM=");
139 pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
140 descriptor = root;
141 internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor = Descriptor.MessageTypes[0];
142 internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable =
143 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.MessageBody, global::Sirikata.Protocol._PBJ_Internal.MessageBody.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor,
144 new string[] { "MessageNames", "MessageArguments", });
145 internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor = Descriptor.MessageTypes[1];
146 internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable =
147 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage, global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor,
148 new string[] { "SourceObject", "SourcePort", "SourceSpace", "DestinationObject", "DestinationPort", "DestinationSpace", "Id", "ReplyId", "ReturnStatus", "MessageNames", "MessageArguments", });
149 internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor = Descriptor.MessageTypes[2];
150 internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable =
151 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.SpaceServices, global::Sirikata.Protocol._PBJ_Internal.SpaceServices.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor,
152 new string[] { "RegistrationPort", "LocPort", "GeomPort", "OsegPort", "CsegPort", "RouterPort", "PreConnectionBuffer", "MaxPreConnectionMessages", });
153 internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor = Descriptor.MessageTypes[3];
154 internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable =
155 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ObjLoc, global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor,
156 new string[] { "Timestamp", "Position", "Orientation", "Velocity", "RotationalAxis", "AngularSpeed", "UpdateFlags", });
157 internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor = Descriptor.MessageTypes[4];
158 internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__FieldAccessorTable =
159 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.LocRequest, global::Sirikata.Protocol._PBJ_Internal.LocRequest.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor,
160 new string[] { "RequestedFields", });
161 internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor = Descriptor.MessageTypes[5];
162 internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__FieldAccessorTable =
163 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.NewObj, global::Sirikata.Protocol._PBJ_Internal.NewObj.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor,
164 new string[] { "ObjectUuidEvidence", "RequestedObjectLoc", "BoundingSphere", });
165 internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor = Descriptor.MessageTypes[6];
166 internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__FieldAccessorTable =
167 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.RetObj, global::Sirikata.Protocol._PBJ_Internal.RetObj.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor,
168 new string[] { "ObjectReference", "Location", "BoundingSphere", });
169 internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor = Descriptor.MessageTypes[7];
170 internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__FieldAccessorTable =
171 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.DelObj, global::Sirikata.Protocol._PBJ_Internal.DelObj.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor,
172 new string[] { "ObjectReference", });
173 internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor = Descriptor.MessageTypes[8];
174 internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__FieldAccessorTable =
175 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.NewProxQuery, global::Sirikata.Protocol._PBJ_Internal.NewProxQuery.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor,
176 new string[] { "QueryId", "Stateless", "RelativeCenter", "AbsoluteCenter", "MaxRadius", "MinSolidAngle", });
177 internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor = Descriptor.MessageTypes[9];
178 internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__FieldAccessorTable =
179 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ProxCall, global::Sirikata.Protocol._PBJ_Internal.ProxCall.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor,
180 new string[] { "QueryId", "ProximateObject", "ProximityEvent", });
181 internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor = Descriptor.MessageTypes[10];
182 internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__FieldAccessorTable =
183 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.DelProxQuery, global::Sirikata.Protocol._PBJ_Internal.DelProxQuery.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor,
184 new string[] { "QueryId", });
185 internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor = Descriptor.MessageTypes[11];
186 internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__FieldAccessorTable =
187 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty, global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor,
188 new string[] { "Value", });
189 internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor = Descriptor.MessageTypes[12];
190 internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__FieldAccessorTable =
191 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.StringProperty, global::Sirikata.Protocol._PBJ_Internal.StringProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor,
192 new string[] { "Value", });
193 internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor = Descriptor.MessageTypes[13];
194 internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__FieldAccessorTable =
195 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.StringMapProperty, global::Sirikata.Protocol._PBJ_Internal.StringMapProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor,
196 new string[] { "Keys", "Values", });
197 internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor = Descriptor.MessageTypes[14];
198 internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__FieldAccessorTable =
199 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters, global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor,
200 new string[] { "Mode", "Density", "Friction", "Bounce", "Hull", "CollideMsg", "CollideMask", "Gravity", });
201 internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor = Descriptor.MessageTypes[15];
202 internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__FieldAccessorTable =
203 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty, global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor,
204 new string[] { "DiffuseColor", "SpecularColor", "Power", "AmbientColor", "ShadowColor", "LightRange", "ConstantFalloff", "LinearFalloff", "QuadraticFalloff", "ConeInnerRadians", "ConeOuterRadians", "ConeFalloff", "Type", "CastsShadow", });
205 internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor = Descriptor.MessageTypes[16];
206 internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__FieldAccessorTable =
207 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ParentProperty, global::Sirikata.Protocol._PBJ_Internal.ParentProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor,
208 new string[] { "Value", });
209 internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor = Descriptor.MessageTypes[17];
210 internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__FieldAccessorTable =
211 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty, global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor,
212 new string[] { "Value", });
213 internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor = Descriptor.MessageTypes[18];
214 internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__FieldAccessorTable =
215 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace, global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor,
216 new string[] { "SpaceId", "ObjectUuidEvidence", "RequestedObjectLoc", "BoundingSphere", });
217 internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor = Descriptor.MessageTypes[19];
218 internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__FieldAccessorTable =
219 new pb::FieldAccess.FieldAccessorTable<global::Sirikata.Protocol._PBJ_Internal.CreateObject, global::Sirikata.Protocol._PBJ_Internal.CreateObject.Builder>(internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor,
220 new string[] { "ObjectUuid", "SpaceProperties", "Mesh", "Scale", "Weburl", "LightInfo", "Camera", "Physical", });
221 return null;
222 };
223 pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
224 new pbd::FileDescriptor[] {
225 }, assigner);
226 }
227 #endregion
228
229 }
230 #region Messages
231 public sealed partial class MessageBody : pb::GeneratedMessage<MessageBody, MessageBody.Builder> {
232 private static readonly MessageBody defaultInstance = new Builder().BuildPartial();
233 public static MessageBody DefaultInstance {
234 get { return defaultInstance; }
235 }
236
237 public override MessageBody DefaultInstanceForType {
238 get { return defaultInstance; }
239 }
240
241 protected override MessageBody ThisMessage {
242 get { return this; }
243 }
244
245 public static pbd::MessageDescriptor Descriptor {
246 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor; }
247 }
248
249 protected override pb::FieldAccess.FieldAccessorTable<MessageBody, MessageBody.Builder> InternalFieldAccessors {
250 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable; }
251 }
252
253 public const int MessageNamesFieldNumber = 9;
254 private pbc::PopsicleList<string> messageNames_ = new pbc::PopsicleList<string>();
255 public scg::IList<string> MessageNamesList {
256 get { return pbc::Lists.AsReadOnly(messageNames_); }
257 }
258 public int MessageNamesCount {
259 get { return messageNames_.Count; }
260 }
261 public string GetMessageNames(int index) {
262 return messageNames_[index];
263 }
264
265 public const int MessageArgumentsFieldNumber = 10;
266 private pbc::PopsicleList<pb::ByteString> messageArguments_ = new pbc::PopsicleList<pb::ByteString>();
267 public scg::IList<pb::ByteString> MessageArgumentsList {
268 get { return pbc::Lists.AsReadOnly(messageArguments_); }
269 }
270 public int MessageArgumentsCount {
271 get { return messageArguments_.Count; }
272 }
273 public pb::ByteString GetMessageArguments(int index) {
274 return messageArguments_[index];
275 }
276
277 public override bool IsInitialized {
278 get {
279 return true;
280 }
281 }
282
283 public override void WriteTo(pb::CodedOutputStream output) {
284 if (messageNames_.Count > 0) {
285 foreach (string element in messageNames_) {
286 output.WriteString(9, element);
287 }
288 }
289 if (messageArguments_.Count > 0) {
290 foreach (pb::ByteString element in messageArguments_) {
291 output.WriteBytes(10, element);
292 }
293 }
294 UnknownFields.WriteTo(output);
295 }
296
297 private int memoizedSerializedSize = -1;
298 public override int SerializedSize {
299 get {
300 int size = memoizedSerializedSize;
301 if (size != -1) return size;
302
303 size = 0;
304 {
305 int dataSize = 0;
306 foreach (string element in MessageNamesList) {
307 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
308 }
309 size += dataSize;
310 size += 1 * messageNames_.Count;
311 }
312 {
313 int dataSize = 0;
314 foreach (pb::ByteString element in MessageArgumentsList) {
315 dataSize += pb::CodedOutputStream.ComputeBytesSizeNoTag(element);
316 }
317 size += dataSize;
318 size += 1 * messageArguments_.Count;
319 }
320 size += UnknownFields.SerializedSize;
321 memoizedSerializedSize = size;
322 return size;
323 }
324 }
325
326 public static MessageBody ParseFrom(pb::ByteString data) {
327 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
328 }
329 public static MessageBody ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
330 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
331 }
332 public static MessageBody ParseFrom(byte[] data) {
333 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
334 }
335 public static MessageBody ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
336 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
337 }
338 public static MessageBody ParseFrom(global::System.IO.Stream input) {
339 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
340 }
341 public static MessageBody ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
342 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
343 }
344 public static MessageBody ParseDelimitedFrom(global::System.IO.Stream input) {
345 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
346 }
347 public static MessageBody ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
348 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
349 }
350 public static MessageBody ParseFrom(pb::CodedInputStream input) {
351 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
352 }
353 public static MessageBody ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
354 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
355 }
356 public static Builder CreateBuilder() { return new Builder(); }
357 public override Builder ToBuilder() { return CreateBuilder(this); }
358 public override Builder CreateBuilderForType() { return new Builder(); }
359 public static Builder CreateBuilder(MessageBody prototype) {
360 return (Builder) new Builder().MergeFrom(prototype);
361 }
362
363 public sealed partial class Builder : pb::GeneratedBuilder<MessageBody, Builder> {
364 protected override Builder ThisBuilder {
365 get { return this; }
366 }
367 public Builder() {}
368
369 MessageBody result = new MessageBody();
370
371 protected override MessageBody MessageBeingBuilt {
372 get { return result; }
373 }
374
375 public override Builder Clear() {
376 result = new MessageBody();
377 return this;
378 }
379
380 public override Builder Clone() {
381 return new Builder().MergeFrom(result);
382 }
383
384 public override pbd::MessageDescriptor DescriptorForType {
385 get { return global::Sirikata.Protocol._PBJ_Internal.MessageBody.Descriptor; }
386 }
387
388 public override MessageBody DefaultInstanceForType {
389 get { return global::Sirikata.Protocol._PBJ_Internal.MessageBody.DefaultInstance; }
390 }
391
392 public override MessageBody BuildPartial() {
393 if (result == null) {
394 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
395 }
396 result.messageNames_.MakeReadOnly();
397 result.messageArguments_.MakeReadOnly();
398 MessageBody returnMe = result;
399 result = null;
400 return returnMe;
401 }
402
403 public override Builder MergeFrom(pb::IMessage other) {
404 if (other is MessageBody) {
405 return MergeFrom((MessageBody) other);
406 } else {
407 base.MergeFrom(other);
408 return this;
409 }
410 }
411
412 public override Builder MergeFrom(MessageBody other) {
413 if (other == global::Sirikata.Protocol._PBJ_Internal.MessageBody.DefaultInstance) return this;
414 if (other.messageNames_.Count != 0) {
415 base.AddRange(other.messageNames_, result.messageNames_);
416 }
417 if (other.messageArguments_.Count != 0) {
418 base.AddRange(other.messageArguments_, result.messageArguments_);
419 }
420 this.MergeUnknownFields(other.UnknownFields);
421 return this;
422 }
423
424 public override Builder MergeFrom(pb::CodedInputStream input) {
425 return MergeFrom(input, pb::ExtensionRegistry.Empty);
426 }
427
428 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
429 pb::UnknownFieldSet.Builder unknownFields = null;
430 while (true) {
431 uint tag = input.ReadTag();
432 switch (tag) {
433 case 0: {
434 if (unknownFields != null) {
435 this.UnknownFields = unknownFields.Build();
436 }
437 return this;
438 }
439 default: {
440 if (pb::WireFormat.IsEndGroupTag(tag)) {
441 if (unknownFields != null) {
442 this.UnknownFields = unknownFields.Build();
443 }
444 return this;
445 }
446 if (unknownFields == null) {
447 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
448 }
449 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
450 break;
451 }
452 case 74: {
453 AddMessageNames(input.ReadString());
454 break;
455 }
456 case 82: {
457 AddMessageArguments(input.ReadBytes());
458 break;
459 }
460 }
461 }
462 }
463
464
465 public pbc::IPopsicleList<string> MessageNamesList {
466 get { return result.messageNames_; }
467 }
468 public int MessageNamesCount {
469 get { return result.MessageNamesCount; }
470 }
471 public string GetMessageNames(int index) {
472 return result.GetMessageNames(index);
473 }
474 public Builder SetMessageNames(int index, string value) {
475 pb::ThrowHelper.ThrowIfNull(value, "value");
476 result.messageNames_[index] = value;
477 return this;
478 }
479 public Builder AddMessageNames(string value) {
480 pb::ThrowHelper.ThrowIfNull(value, "value");
481 result.messageNames_.Add(value);
482 return this;
483 }
484 public Builder AddRangeMessageNames(scg::IEnumerable<string> values) {
485 base.AddRange(values, result.messageNames_);
486 return this;
487 }
488 public Builder ClearMessageNames() {
489 result.messageNames_.Clear();
490 return this;
491 }
492
493 public pbc::IPopsicleList<pb::ByteString> MessageArgumentsList {
494 get { return result.messageArguments_; }
495 }
496 public int MessageArgumentsCount {
497 get { return result.MessageArgumentsCount; }
498 }
499 public pb::ByteString GetMessageArguments(int index) {
500 return result.GetMessageArguments(index);
501 }
502 public Builder SetMessageArguments(int index, pb::ByteString value) {
503 pb::ThrowHelper.ThrowIfNull(value, "value");
504 result.messageArguments_[index] = value;
505 return this;
506 }
507 public Builder AddMessageArguments(pb::ByteString value) {
508 pb::ThrowHelper.ThrowIfNull(value, "value");
509 result.messageArguments_.Add(value);
510 return this;
511 }
512 public Builder AddRangeMessageArguments(scg::IEnumerable<pb::ByteString> values) {
513 base.AddRange(values, result.messageArguments_);
514 return this;
515 }
516 public Builder ClearMessageArguments() {
517 result.messageArguments_.Clear();
518 return this;
519 }
520 }
521 static MessageBody() {
522 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
523 }
524 }
525
526 public sealed partial class ReadOnlyMessage : pb::GeneratedMessage<ReadOnlyMessage, ReadOnlyMessage.Builder> {
527 private static readonly ReadOnlyMessage defaultInstance = new Builder().BuildPartial();
528 public static ReadOnlyMessage DefaultInstance {
529 get { return defaultInstance; }
530 }
531
532 public override ReadOnlyMessage DefaultInstanceForType {
533 get { return defaultInstance; }
534 }
535
536 protected override ReadOnlyMessage ThisMessage {
537 get { return this; }
538 }
539
540 public static pbd::MessageDescriptor Descriptor {
541 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor; }
542 }
543
544 protected override pb::FieldAccess.FieldAccessorTable<ReadOnlyMessage, ReadOnlyMessage.Builder> InternalFieldAccessors {
545 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable; }
546 }
547
548 #region Nested types
549 public static class Types {
550 public enum ReturnStatus {
551 SUCCESS = 0,
552 NETWORK_FAILURE = 1,
553 TIMEOUT_FAILURE = 3,
554 PROTOCOL_ERROR = 4,
555 PORT_FAILURE = 5,
556 }
557
558 }
559 #endregion
560
561 public const int SourceObjectFieldNumber = 1;
562 private bool hasSourceObject;
563 private pb::ByteString sourceObject_ = pb::ByteString.Empty;
564 public bool HasSourceObject {
565 get { return hasSourceObject; }
566 }
567 public pb::ByteString SourceObject {
568 get { return sourceObject_; }
569 }
570
571 public const int SourcePortFieldNumber = 3;
572 private bool hasSourcePort;
573 private uint sourcePort_ = 0;
574 public bool HasSourcePort {
575 get { return hasSourcePort; }
576 }
577 [global::System.CLSCompliant(false)]
578 public uint SourcePort {
579 get { return sourcePort_; }
580 }
581
582 public const int SourceSpaceFieldNumber = 1536;
583 private bool hasSourceSpace;
584 private pb::ByteString sourceSpace_ = pb::ByteString.Empty;
585 public bool HasSourceSpace {
586 get { return hasSourceSpace; }
587 }
588 public pb::ByteString SourceSpace {
589 get { return sourceSpace_; }
590 }
591
592 public const int DestinationObjectFieldNumber = 2;
593 private bool hasDestinationObject;
594 private pb::ByteString destinationObject_ = pb::ByteString.Empty;
595 public bool HasDestinationObject {
596 get { return hasDestinationObject; }
597 }
598 public pb::ByteString DestinationObject {
599 get { return destinationObject_; }
600 }
601
602 public const int DestinationPortFieldNumber = 4;
603 private bool hasDestinationPort;
604 private uint destinationPort_ = 0;
605 public bool HasDestinationPort {
606 get { return hasDestinationPort; }
607 }
608 [global::System.CLSCompliant(false)]
609 public uint DestinationPort {
610 get { return destinationPort_; }
611 }
612
613 public const int DestinationSpaceFieldNumber = 1537;
614 private bool hasDestinationSpace;
615 private pb::ByteString destinationSpace_ = pb::ByteString.Empty;
616 public bool HasDestinationSpace {
617 get { return hasDestinationSpace; }
618 }
619 public pb::ByteString DestinationSpace {
620 get { return destinationSpace_; }
621 }
622
623 public const int IdFieldNumber = 7;
624 private bool hasId;
625 private long id_ = 0L;
626 public bool HasId {
627 get { return hasId; }
628 }
629 public long Id {
630 get { return id_; }
631 }
632
633 public const int ReplyIdFieldNumber = 8;
634 private bool hasReplyId;
635 private long replyId_ = 0L;
636 public bool HasReplyId {
637 get { return hasReplyId; }
638 }
639 public long ReplyId {
640 get { return replyId_; }
641 }
642
643 public const int ReturnStatusFieldNumber = 1792;
644 private bool hasReturnStatus;
645 private global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.SUCCESS;
646 public bool HasReturnStatus {
647 get { return hasReturnStatus; }
648 }
649 public global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus ReturnStatus {
650 get { return returnStatus_; }
651 }
652
653 public const int MessageNamesFieldNumber = 9;
654 private pbc::PopsicleList<string> messageNames_ = new pbc::PopsicleList<string>();
655 public scg::IList<string> MessageNamesList {
656 get { return pbc::Lists.AsReadOnly(messageNames_); }
657 }
658 public int MessageNamesCount {
659 get { return messageNames_.Count; }
660 }
661 public string GetMessageNames(int index) {
662 return messageNames_[index];
663 }
664
665 public const int MessageArgumentsFieldNumber = 10;
666 private pbc::PopsicleList<pb::ByteString> messageArguments_ = new pbc::PopsicleList<pb::ByteString>();
667 public scg::IList<pb::ByteString> MessageArgumentsList {
668 get { return pbc::Lists.AsReadOnly(messageArguments_); }
669 }
670 public int MessageArgumentsCount {
671 get { return messageArguments_.Count; }
672 }
673 public pb::ByteString GetMessageArguments(int index) {
674 return messageArguments_[index];
675 }
676
677 public override bool IsInitialized {
678 get {
679 return true;
680 }
681 }
682
683 public override void WriteTo(pb::CodedOutputStream output) {
684 if (HasSourceObject) {
685 output.WriteBytes(1, SourceObject);
686 }
687 if (HasDestinationObject) {
688 output.WriteBytes(2, DestinationObject);
689 }
690 if (HasSourcePort) {
691 output.WriteUInt32(3, SourcePort);
692 }
693 if (HasDestinationPort) {
694 output.WriteUInt32(4, DestinationPort);
695 }
696 if (HasId) {
697 output.WriteInt64(7, Id);
698 }
699 if (HasReplyId) {
700 output.WriteInt64(8, ReplyId);
701 }
702 if (messageNames_.Count > 0) {
703 foreach (string element in messageNames_) {
704 output.WriteString(9, element);
705 }
706 }
707 if (messageArguments_.Count > 0) {
708 foreach (pb::ByteString element in messageArguments_) {
709 output.WriteBytes(10, element);
710 }
711 }
712 if (HasSourceSpace) {
713 output.WriteBytes(1536, SourceSpace);
714 }
715 if (HasDestinationSpace) {
716 output.WriteBytes(1537, DestinationSpace);
717 }
718 if (HasReturnStatus) {
719 output.WriteEnum(1792, (int) ReturnStatus);
720 }
721 UnknownFields.WriteTo(output);
722 }
723
724 private int memoizedSerializedSize = -1;
725 public override int SerializedSize {
726 get {
727 int size = memoizedSerializedSize;
728 if (size != -1) return size;
729
730 size = 0;
731 if (HasSourceObject) {
732 size += pb::CodedOutputStream.ComputeBytesSize(1, SourceObject);
733 }
734 if (HasSourcePort) {
735 size += pb::CodedOutputStream.ComputeUInt32Size(3, SourcePort);
736 }
737 if (HasSourceSpace) {
738 size += pb::CodedOutputStream.ComputeBytesSize(1536, SourceSpace);
739 }
740 if (HasDestinationObject) {
741 size += pb::CodedOutputStream.ComputeBytesSize(2, DestinationObject);
742 }
743 if (HasDestinationPort) {
744 size += pb::CodedOutputStream.ComputeUInt32Size(4, DestinationPort);
745 }
746 if (HasDestinationSpace) {
747 size += pb::CodedOutputStream.ComputeBytesSize(1537, DestinationSpace);
748 }
749 if (HasId) {
750 size += pb::CodedOutputStream.ComputeInt64Size(7, Id);
751 }
752 if (HasReplyId) {
753 size += pb::CodedOutputStream.ComputeInt64Size(8, ReplyId);
754 }
755 if (HasReturnStatus) {
756 size += pb::CodedOutputStream.ComputeEnumSize(1792, (int) ReturnStatus);
757 }
758 {
759 int dataSize = 0;
760 foreach (string element in MessageNamesList) {
761 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
762 }
763 size += dataSize;
764 size += 1 * messageNames_.Count;
765 }
766 {
767 int dataSize = 0;
768 foreach (pb::ByteString element in MessageArgumentsList) {
769 dataSize += pb::CodedOutputStream.ComputeBytesSizeNoTag(element);
770 }
771 size += dataSize;
772 size += 1 * messageArguments_.Count;
773 }
774 size += UnknownFields.SerializedSize;
775 memoizedSerializedSize = size;
776 return size;
777 }
778 }
779
780 public static ReadOnlyMessage ParseFrom(pb::ByteString data) {
781 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
782 }
783 public static ReadOnlyMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
784 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
785 }
786 public static ReadOnlyMessage ParseFrom(byte[] data) {
787 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
788 }
789 public static ReadOnlyMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
790 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
791 }
792 public static ReadOnlyMessage ParseFrom(global::System.IO.Stream input) {
793 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
794 }
795 public static ReadOnlyMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
796 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
797 }
798 public static ReadOnlyMessage ParseDelimitedFrom(global::System.IO.Stream input) {
799 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
800 }
801 public static ReadOnlyMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
802 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
803 }
804 public static ReadOnlyMessage ParseFrom(pb::CodedInputStream input) {
805 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
806 }
807 public static ReadOnlyMessage ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
808 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
809 }
810 public static Builder CreateBuilder() { return new Builder(); }
811 public override Builder ToBuilder() { return CreateBuilder(this); }
812 public override Builder CreateBuilderForType() { return new Builder(); }
813 public static Builder CreateBuilder(ReadOnlyMessage prototype) {
814 return (Builder) new Builder().MergeFrom(prototype);
815 }
816
817 public sealed partial class Builder : pb::GeneratedBuilder<ReadOnlyMessage, Builder> {
818 protected override Builder ThisBuilder {
819 get { return this; }
820 }
821 public Builder() {}
822
823 ReadOnlyMessage result = new ReadOnlyMessage();
824
825 protected override ReadOnlyMessage MessageBeingBuilt {
826 get { return result; }
827 }
828
829 public override Builder Clear() {
830 result = new ReadOnlyMessage();
831 return this;
832 }
833
834 public override Builder Clone() {
835 return new Builder().MergeFrom(result);
836 }
837
838 public override pbd::MessageDescriptor DescriptorForType {
839 get { return global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Descriptor; }
840 }
841
842 public override ReadOnlyMessage DefaultInstanceForType {
843 get { return global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.DefaultInstance; }
844 }
845
846 public override ReadOnlyMessage BuildPartial() {
847 if (result == null) {
848 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
849 }
850 result.messageNames_.MakeReadOnly();
851 result.messageArguments_.MakeReadOnly();
852 ReadOnlyMessage returnMe = result;
853 result = null;
854 return returnMe;
855 }
856
857 public override Builder MergeFrom(pb::IMessage other) {
858 if (other is ReadOnlyMessage) {
859 return MergeFrom((ReadOnlyMessage) other);
860 } else {
861 base.MergeFrom(other);
862 return this;
863 }
864 }
865
866 public override Builder MergeFrom(ReadOnlyMessage other) {
867 if (other == global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.DefaultInstance) return this;
868 if (other.HasSourceObject) {
869 SourceObject = other.SourceObject;
870 }
871 if (other.HasSourcePort) {
872 SourcePort = other.SourcePort;
873 }
874 if (other.HasSourceSpace) {
875 SourceSpace = other.SourceSpace;
876 }
877 if (other.HasDestinationObject) {
878 DestinationObject = other.DestinationObject;
879 }
880 if (other.HasDestinationPort) {
881 DestinationPort = other.DestinationPort;
882 }
883 if (other.HasDestinationSpace) {
884 DestinationSpace = other.DestinationSpace;
885 }
886 if (other.HasId) {
887 Id = other.Id;
888 }
889 if (other.HasReplyId) {
890 ReplyId = other.ReplyId;
891 }
892 if (other.HasReturnStatus) {
893 ReturnStatus = other.ReturnStatus;
894 }
895 if (other.messageNames_.Count != 0) {
896 base.AddRange(other.messageNames_, result.messageNames_);
897 }
898 if (other.messageArguments_.Count != 0) {
899 base.AddRange(other.messageArguments_, result.messageArguments_);
900 }
901 this.MergeUnknownFields(other.UnknownFields);
902 return this;
903 }
904
905 public override Builder MergeFrom(pb::CodedInputStream input) {
906 return MergeFrom(input, pb::ExtensionRegistry.Empty);
907 }
908
909 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
910 pb::UnknownFieldSet.Builder unknownFields = null;
911 while (true) {
912 uint tag = input.ReadTag();
913 switch (tag) {
914 case 0: {
915 if (unknownFields != null) {
916 this.UnknownFields = unknownFields.Build();
917 }
918 return this;
919 }
920 default: {
921 if (pb::WireFormat.IsEndGroupTag(tag)) {
922 if (unknownFields != null) {
923 this.UnknownFields = unknownFields.Build();
924 }
925 return this;
926 }
927 if (unknownFields == null) {
928 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
929 }
930 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
931 break;
932 }
933 case 10: {
934 SourceObject = input.ReadBytes();
935 break;
936 }
937 case 18: {
938 DestinationObject = input.ReadBytes();
939 break;
940 }
941 case 24: {
942 SourcePort = input.ReadUInt32();
943 break;
944 }
945 case 32: {
946 DestinationPort = input.ReadUInt32();
947 break;
948 }
949 case 56: {
950 Id = input.ReadInt64();
951 break;
952 }
953 case 64: {
954 ReplyId = input.ReadInt64();
955 break;
956 }
957 case 74: {
958 AddMessageNames(input.ReadString());
959 break;
960 }
961 case 82: {
962 AddMessageArguments(input.ReadBytes());
963 break;
964 }
965 case 12290: {
966 SourceSpace = input.ReadBytes();
967 break;
968 }
969 case 12298: {
970 DestinationSpace = input.ReadBytes();
971 break;
972 }
973 case 14336: {
974 int rawValue = input.ReadEnum();
975 if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus), rawValue)) {
976 if (unknownFields == null) {
977 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
978 }
979 unknownFields.MergeVarintField(1792, (ulong) rawValue);
980 } else {
981 ReturnStatus = (global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus) rawValue;
982 }
983 break;
984 }
985 }
986 }
987 }
988
989
990 public bool HasSourceObject {
991 get { return result.HasSourceObject; }
992 }
993 public pb::ByteString SourceObject {
994 get { return result.SourceObject; }
995 set { SetSourceObject(value); }
996 }
997 public Builder SetSourceObject(pb::ByteString value) {
998 pb::ThrowHelper.ThrowIfNull(value, "value");
999 result.hasSourceObject = true;
1000 result.sourceObject_ = value;
1001 return this;
1002 }
1003 public Builder ClearSourceObject() {
1004 result.hasSourceObject = false;
1005 result.sourceObject_ = pb::ByteString.Empty;
1006 return this;
1007 }
1008
1009 public bool HasSourcePort {
1010 get { return result.HasSourcePort; }
1011 }
1012 [global::System.CLSCompliant(false)]
1013 public uint SourcePort {
1014 get { return result.SourcePort; }
1015 set { SetSourcePort(value); }
1016 }
1017 [global::System.CLSCompliant(false)]
1018 public Builder SetSourcePort(uint value) {
1019 result.hasSourcePort = true;
1020 result.sourcePort_ = value;
1021 return this;
1022 }
1023 public Builder ClearSourcePort() {
1024 result.hasSourcePort = false;
1025 result.sourcePort_ = 0;
1026 return this;
1027 }
1028
1029 public bool HasSourceSpace {
1030 get { return result.HasSourceSpace; }
1031 }
1032 public pb::ByteString SourceSpace {
1033 get { return result.SourceSpace; }
1034 set { SetSourceSpace(value); }
1035 }
1036 public Builder SetSourceSpace(pb::ByteString value) {
1037 pb::ThrowHelper.ThrowIfNull(value, "value");
1038 result.hasSourceSpace = true;
1039 result.sourceSpace_ = value;
1040 return this;
1041 }
1042 public Builder ClearSourceSpace() {
1043 result.hasSourceSpace = false;
1044 result.sourceSpace_ = pb::ByteString.Empty;
1045 return this;
1046 }
1047
1048 public bool HasDestinationObject {
1049 get { return result.HasDestinationObject; }
1050 }
1051 public pb::ByteString DestinationObject {
1052 get { return result.DestinationObject; }
1053 set { SetDestinationObject(value); }
1054 }
1055 public Builder SetDestinationObject(pb::ByteString value) {
1056 pb::ThrowHelper.ThrowIfNull(value, "value");
1057 result.hasDestinationObject = true;
1058 result.destinationObject_ = value;
1059 return this;
1060 }
1061 public Builder ClearDestinationObject() {
1062 result.hasDestinationObject = false;
1063 result.destinationObject_ = pb::ByteString.Empty;
1064 return this;
1065 }
1066
1067 public bool HasDestinationPort {
1068 get { return result.HasDestinationPort; }
1069 }
1070 [global::System.CLSCompliant(false)]
1071 public uint DestinationPort {
1072 get { return result.DestinationPort; }
1073 set { SetDestinationPort(value); }
1074 }
1075 [global::System.CLSCompliant(false)]
1076 public Builder SetDestinationPort(uint value) {
1077 result.hasDestinationPort = true;
1078 result.destinationPort_ = value;
1079 return this;
1080 }
1081 public Builder ClearDestinationPort() {
1082 result.hasDestinationPort = false;
1083 result.destinationPort_ = 0;
1084 return this;
1085 }
1086
1087 public bool HasDestinationSpace {
1088 get { return result.HasDestinationSpace; }
1089 }
1090 public pb::ByteString DestinationSpace {
1091 get { return result.DestinationSpace; }
1092 set { SetDestinationSpace(value); }
1093 }
1094 public Builder SetDestinationSpace(pb::ByteString value) {
1095 pb::ThrowHelper.ThrowIfNull(value, "value");
1096 result.hasDestinationSpace = true;
1097 result.destinationSpace_ = value;
1098 return this;
1099 }
1100 public Builder ClearDestinationSpace() {
1101 result.hasDestinationSpace = false;
1102 result.destinationSpace_ = pb::ByteString.Empty;
1103 return this;
1104 }
1105
1106 public bool HasId {
1107 get { return result.HasId; }
1108 }
1109 public long Id {
1110 get { return result.Id; }
1111 set { SetId(value); }
1112 }
1113 public Builder SetId(long value) {
1114 result.hasId = true;
1115 result.id_ = value;
1116 return this;
1117 }
1118 public Builder ClearId() {
1119 result.hasId = false;
1120 result.id_ = 0L;
1121 return this;
1122 }
1123
1124 public bool HasReplyId {
1125 get { return result.HasReplyId; }
1126 }
1127 public long ReplyId {
1128 get { return result.ReplyId; }
1129 set { SetReplyId(value); }
1130 }
1131 public Builder SetReplyId(long value) {
1132 result.hasReplyId = true;
1133 result.replyId_ = value;
1134 return this;
1135 }
1136 public Builder ClearReplyId() {
1137 result.hasReplyId = false;
1138 result.replyId_ = 0L;
1139 return this;
1140 }
1141
1142 public bool HasReturnStatus {
1143 get { return result.HasReturnStatus; }
1144 }
1145 public global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus ReturnStatus {
1146 get { return result.ReturnStatus; }
1147 set { SetReturnStatus(value); }
1148 }
1149 public Builder SetReturnStatus(global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus value) {
1150 result.hasReturnStatus = true;
1151 result.returnStatus_ = value;
1152 return this;
1153 }
1154 public Builder ClearReturnStatus() {
1155 result.hasReturnStatus = false;
1156 result.returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.SUCCESS;
1157 return this;
1158 }
1159
1160 public pbc::IPopsicleList<string> MessageNamesList {
1161 get { return result.messageNames_; }
1162 }
1163 public int MessageNamesCount {
1164 get { return result.MessageNamesCount; }
1165 }
1166 public string GetMessageNames(int index) {
1167 return result.GetMessageNames(index);
1168 }
1169 public Builder SetMessageNames(int index, string value) {
1170 pb::ThrowHelper.ThrowIfNull(value, "value");
1171 result.messageNames_[index] = value;
1172 return this;
1173 }
1174 public Builder AddMessageNames(string value) {
1175 pb::ThrowHelper.ThrowIfNull(value, "value");
1176 result.messageNames_.Add(value);
1177 return this;
1178 }
1179 public Builder AddRangeMessageNames(scg::IEnumerable<string> values) {
1180 base.AddRange(values, result.messageNames_);
1181 return this;
1182 }
1183 public Builder ClearMessageNames() {
1184 result.messageNames_.Clear();
1185 return this;
1186 }
1187
1188 public pbc::IPopsicleList<pb::ByteString> MessageArgumentsList {
1189 get { return result.messageArguments_; }
1190 }
1191 public int MessageArgumentsCount {
1192 get { return result.MessageArgumentsCount; }
1193 }
1194 public pb::ByteString GetMessageArguments(int index) {
1195 return result.GetMessageArguments(index);
1196 }
1197 public Builder SetMessageArguments(int index, pb::ByteString value) {
1198 pb::ThrowHelper.ThrowIfNull(value, "value");
1199 result.messageArguments_[index] = value;
1200 return this;
1201 }
1202 public Builder AddMessageArguments(pb::ByteString value) {
1203 pb::ThrowHelper.ThrowIfNull(value, "value");
1204 result.messageArguments_.Add(value);
1205 return this;
1206 }
1207 public Builder AddRangeMessageArguments(scg::IEnumerable<pb::ByteString> values) {
1208 base.AddRange(values, result.messageArguments_);
1209 return this;
1210 }
1211 public Builder ClearMessageArguments() {
1212 result.messageArguments_.Clear();
1213 return this;
1214 }
1215 }
1216 static ReadOnlyMessage() {
1217 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
1218 }
1219 }
1220
1221 public sealed partial class SpaceServices : pb::GeneratedMessage<SpaceServices, SpaceServices.Builder> {
1222 private static readonly SpaceServices defaultInstance = new Builder().BuildPartial();
1223 public static SpaceServices DefaultInstance {
1224 get { return defaultInstance; }
1225 }
1226
1227 public override SpaceServices DefaultInstanceForType {
1228 get { return defaultInstance; }
1229 }
1230
1231 protected override SpaceServices ThisMessage {
1232 get { return this; }
1233 }
1234
1235 public static pbd::MessageDescriptor Descriptor {
1236 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor; }
1237 }
1238
1239 protected override pb::FieldAccess.FieldAccessorTable<SpaceServices, SpaceServices.Builder> InternalFieldAccessors {
1240 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable; }
1241 }
1242
1243 public const int RegistrationPortFieldNumber = 33;
1244 private bool hasRegistrationPort;
1245 private uint registrationPort_ = 0;
1246 public bool HasRegistrationPort {
1247 get { return hasRegistrationPort; }
1248 }
1249 [global::System.CLSCompliant(false)]
1250 public uint RegistrationPort {
1251 get { return registrationPort_; }
1252 }
1253
1254 public const int LocPortFieldNumber = 34;
1255 private bool hasLocPort;
1256 private uint locPort_ = 0;
1257 public bool HasLocPort {
1258 get { return hasLocPort; }
1259 }
1260 [global::System.CLSCompliant(false)]
1261 public uint LocPort {
1262 get { return locPort_; }
1263 }
1264
1265 public const int GeomPortFieldNumber = 35;
1266 private bool hasGeomPort;
1267 private uint geomPort_ = 0;
1268 public bool HasGeomPort {
1269 get { return hasGeomPort; }
1270 }
1271 [global::System.CLSCompliant(false)]
1272 public uint GeomPort {
1273 get { return geomPort_; }
1274 }
1275
1276 public const int OsegPortFieldNumber = 36;
1277 private bool hasOsegPort;
1278 private uint osegPort_ = 0;
1279 public bool HasOsegPort {
1280 get { return hasOsegPort; }
1281 }
1282 [global::System.CLSCompliant(false)]
1283 public uint OsegPort {
1284 get { return osegPort_; }
1285 }
1286
1287 public const int CsegPortFieldNumber = 37;
1288 private bool hasCsegPort;
1289 private uint csegPort_ = 0;
1290 public bool HasCsegPort {
1291 get { return hasCsegPort; }
1292 }
1293 [global::System.CLSCompliant(false)]
1294 public uint CsegPort {
1295 get { return csegPort_; }
1296 }
1297
1298 public const int RouterPortFieldNumber = 38;
1299 private bool hasRouterPort;
1300 private uint routerPort_ = 0;
1301 public bool HasRouterPort {
1302 get { return hasRouterPort; }
1303 }
1304 [global::System.CLSCompliant(false)]
1305 public uint RouterPort {
1306 get { return routerPort_; }
1307 }
1308
1309 public const int PreConnectionBufferFieldNumber = 64;
1310 private bool hasPreConnectionBuffer;
1311 private ulong preConnectionBuffer_ = 0UL;
1312 public bool HasPreConnectionBuffer {
1313 get { return hasPreConnectionBuffer; }
1314 }
1315 [global::System.CLSCompliant(false)]
1316 public ulong PreConnectionBuffer {
1317 get { return preConnectionBuffer_; }
1318 }
1319
1320 public const int MaxPreConnectionMessagesFieldNumber = 65;
1321 private bool hasMaxPreConnectionMessages;
1322 private ulong maxPreConnectionMessages_ = 0UL;
1323 public bool HasMaxPreConnectionMessages {
1324 get { return hasMaxPreConnectionMessages; }
1325 }
1326 [global::System.CLSCompliant(false)]
1327 public ulong MaxPreConnectionMessages {
1328 get { return maxPreConnectionMessages_; }
1329 }
1330
1331 public override bool IsInitialized {
1332 get {
1333 return true;
1334 }
1335 }
1336
1337 public override void WriteTo(pb::CodedOutputStream output) {
1338 if (HasRegistrationPort) {
1339 output.WriteUInt32(33, RegistrationPort);
1340 }
1341 if (HasLocPort) {
1342 output.WriteUInt32(34, LocPort);
1343 }
1344 if (HasGeomPort) {
1345 output.WriteUInt32(35, GeomPort);
1346 }
1347 if (HasOsegPort) {
1348 output.WriteUInt32(36, OsegPort);
1349 }
1350 if (HasCsegPort) {
1351 output.WriteUInt32(37, CsegPort);
1352 }
1353 if (HasRouterPort) {
1354 output.WriteUInt32(38, RouterPort);
1355 }
1356 if (HasPreConnectionBuffer) {
1357 output.WriteUInt64(64, PreConnectionBuffer);
1358 }
1359 if (HasMaxPreConnectionMessages) {
1360 output.WriteUInt64(65, MaxPreConnectionMessages);
1361 }
1362 UnknownFields.WriteTo(output);
1363 }
1364
1365 private int memoizedSerializedSize = -1;
1366 public override int SerializedSize {
1367 get {
1368 int size = memoizedSerializedSize;
1369 if (size != -1) return size;
1370
1371 size = 0;
1372 if (HasRegistrationPort) {
1373 size += pb::CodedOutputStream.ComputeUInt32Size(33, RegistrationPort);
1374 }
1375 if (HasLocPort) {
1376 size += pb::CodedOutputStream.ComputeUInt32Size(34, LocPort);
1377 }
1378 if (HasGeomPort) {
1379 size += pb::CodedOutputStream.ComputeUInt32Size(35, GeomPort);
1380 }
1381 if (HasOsegPort) {
1382 size += pb::CodedOutputStream.ComputeUInt32Size(36, OsegPort);
1383 }
1384 if (HasCsegPort) {
1385 size += pb::CodedOutputStream.ComputeUInt32Size(37, CsegPort);
1386 }
1387 if (HasRouterPort) {
1388 size += pb::CodedOutputStream.ComputeUInt32Size(38, RouterPort);
1389 }
1390 if (HasPreConnectionBuffer) {
1391 size += pb::CodedOutputStream.ComputeUInt64Size(64, PreConnectionBuffer);
1392 }
1393 if (HasMaxPreConnectionMessages) {
1394 size += pb::CodedOutputStream.ComputeUInt64Size(65, MaxPreConnectionMessages);
1395 }
1396 size += UnknownFields.SerializedSize;
1397 memoizedSerializedSize = size;
1398 return size;
1399 }
1400 }
1401
1402 public static SpaceServices ParseFrom(pb::ByteString data) {
1403 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
1404 }
1405 public static SpaceServices ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
1406 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
1407 }
1408 public static SpaceServices ParseFrom(byte[] data) {
1409 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
1410 }
1411 public static SpaceServices ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
1412 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
1413 }
1414 public static SpaceServices ParseFrom(global::System.IO.Stream input) {
1415 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
1416 }
1417 public static SpaceServices ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
1418 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
1419 }
1420 public static SpaceServices ParseDelimitedFrom(global::System.IO.Stream input) {
1421 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
1422 }
1423 public static SpaceServices ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
1424 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
1425 }
1426 public static SpaceServices ParseFrom(pb::CodedInputStream input) {
1427 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
1428 }
1429 public static SpaceServices ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
1430 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
1431 }
1432 public static Builder CreateBuilder() { return new Builder(); }
1433 public override Builder ToBuilder() { return CreateBuilder(this); }
1434 public override Builder CreateBuilderForType() { return new Builder(); }
1435 public static Builder CreateBuilder(SpaceServices prototype) {
1436 return (Builder) new Builder().MergeFrom(prototype);
1437 }
1438
1439 public sealed partial class Builder : pb::GeneratedBuilder<SpaceServices, Builder> {
1440 protected override Builder ThisBuilder {
1441 get { return this; }
1442 }
1443 public Builder() {}
1444
1445 SpaceServices result = new SpaceServices();
1446
1447 protected override SpaceServices MessageBeingBuilt {
1448 get { return result; }
1449 }
1450
1451 public override Builder Clear() {
1452 result = new SpaceServices();
1453 return this;
1454 }
1455
1456 public override Builder Clone() {
1457 return new Builder().MergeFrom(result);
1458 }
1459
1460 public override pbd::MessageDescriptor DescriptorForType {
1461 get { return global::Sirikata.Protocol._PBJ_Internal.SpaceServices.Descriptor; }
1462 }
1463
1464 public override SpaceServices DefaultInstanceForType {
1465 get { return global::Sirikata.Protocol._PBJ_Internal.SpaceServices.DefaultInstance; }
1466 }
1467
1468 public override SpaceServices BuildPartial() {
1469 if (result == null) {
1470 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
1471 }
1472 SpaceServices returnMe = result;
1473 result = null;
1474 return returnMe;
1475 }
1476
1477 public override Builder MergeFrom(pb::IMessage other) {
1478 if (other is SpaceServices) {
1479 return MergeFrom((SpaceServices) other);
1480 } else {
1481 base.MergeFrom(other);
1482 return this;
1483 }
1484 }
1485
1486 public override Builder MergeFrom(SpaceServices other) {
1487 if (other == global::Sirikata.Protocol._PBJ_Internal.SpaceServices.DefaultInstance) return this;
1488 if (other.HasRegistrationPort) {
1489 RegistrationPort = other.RegistrationPort;
1490 }
1491 if (other.HasLocPort) {
1492 LocPort = other.LocPort;
1493 }
1494 if (other.HasGeomPort) {
1495 GeomPort = other.GeomPort;
1496 }
1497 if (other.HasOsegPort) {
1498 OsegPort = other.OsegPort;
1499 }
1500 if (other.HasCsegPort) {
1501 CsegPort = other.CsegPort;
1502 }
1503 if (other.HasRouterPort) {
1504 RouterPort = other.RouterPort;
1505 }
1506 if (other.HasPreConnectionBuffer) {
1507 PreConnectionBuffer = other.PreConnectionBuffer;
1508 }
1509 if (other.HasMaxPreConnectionMessages) {
1510 MaxPreConnectionMessages = other.MaxPreConnectionMessages;
1511 }
1512 this.MergeUnknownFields(other.UnknownFields);
1513 return this;
1514 }
1515
1516 public override Builder MergeFrom(pb::CodedInputStream input) {
1517 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1518 }
1519
1520 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
1521 pb::UnknownFieldSet.Builder unknownFields = null;
1522 while (true) {
1523 uint tag = input.ReadTag();
1524 switch (tag) {
1525 case 0: {
1526 if (unknownFields != null) {
1527 this.UnknownFields = unknownFields.Build();
1528 }
1529 return this;
1530 }
1531 default: {
1532 if (pb::WireFormat.IsEndGroupTag(tag)) {
1533 if (unknownFields != null) {
1534 this.UnknownFields = unknownFields.Build();
1535 }
1536 return this;
1537 }
1538 if (unknownFields == null) {
1539 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1540 }
1541 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
1542 break;
1543 }
1544 case 264: {
1545 RegistrationPort = input.ReadUInt32();
1546 break;
1547 }
1548 case 272: {
1549 LocPort = input.ReadUInt32();
1550 break;
1551 }
1552 case 280: {
1553 GeomPort = input.ReadUInt32();
1554 break;
1555 }
1556 case 288: {
1557 OsegPort = input.ReadUInt32();
1558 break;
1559 }
1560 case 296: {
1561 CsegPort = input.ReadUInt32();
1562 break;
1563 }
1564 case 304: {
1565 RouterPort = input.ReadUInt32();
1566 break;
1567 }
1568 case 512: {
1569 PreConnectionBuffer = input.ReadUInt64();
1570 break;
1571 }
1572 case 520: {
1573 MaxPreConnectionMessages = input.ReadUInt64();
1574 break;
1575 }
1576 }
1577 }
1578 }
1579
1580
1581 public bool HasRegistrationPort {
1582 get { return result.HasRegistrationPort; }
1583 }
1584 [global::System.CLSCompliant(false)]
1585 public uint RegistrationPort {
1586 get { return result.RegistrationPort; }
1587 set { SetRegistrationPort(value); }
1588 }
1589 [global::System.CLSCompliant(false)]
1590 public Builder SetRegistrationPort(uint value) {
1591 result.hasRegistrationPort = true;
1592 result.registrationPort_ = value;
1593 return this;
1594 }
1595 public Builder ClearRegistrationPort() {
1596 result.hasRegistrationPort = false;
1597 result.registrationPort_ = 0;
1598 return this;
1599 }
1600
1601 public bool HasLocPort {
1602 get { return result.HasLocPort; }
1603 }
1604 [global::System.CLSCompliant(false)]
1605 public uint LocPort {
1606 get { return result.LocPort; }
1607 set { SetLocPort(value); }
1608 }
1609 [global::System.CLSCompliant(false)]
1610 public Builder SetLocPort(uint value) {
1611 result.hasLocPort = true;
1612 result.locPort_ = value;
1613 return this;
1614 }
1615 public Builder ClearLocPort() {
1616 result.hasLocPort = false;
1617 result.locPort_ = 0;
1618 return this;
1619 }
1620
1621 public bool HasGeomPort {
1622 get { return result.HasGeomPort; }
1623 }
1624 [global::System.CLSCompliant(false)]
1625 public uint GeomPort {
1626 get { return result.GeomPort; }
1627 set { SetGeomPort(value); }
1628 }
1629 [global::System.CLSCompliant(false)]
1630 public Builder SetGeomPort(uint value) {
1631 result.hasGeomPort = true;
1632 result.geomPort_ = value;
1633 return this;
1634 }
1635 public Builder ClearGeomPort() {
1636 result.hasGeomPort = false;
1637 result.geomPort_ = 0;
1638 return this;
1639 }
1640
1641 public bool HasOsegPort {
1642 get { return result.HasOsegPort; }
1643 }
1644 [global::System.CLSCompliant(false)]
1645 public uint OsegPort {
1646 get { return result.OsegPort; }
1647 set { SetOsegPort(value); }
1648 }
1649 [global::System.CLSCompliant(false)]
1650 public Builder SetOsegPort(uint value) {
1651 result.hasOsegPort = true;
1652 result.osegPort_ = value;
1653 return this;
1654 }
1655 public Builder ClearOsegPort() {
1656 result.hasOsegPort = false;
1657 result.osegPort_ = 0;
1658 return this;
1659 }
1660
1661 public bool HasCsegPort {
1662 get { return result.HasCsegPort; }
1663 }
1664 [global::System.CLSCompliant(false)]
1665 public uint CsegPort {
1666 get { return result.CsegPort; }
1667 set { SetCsegPort(value); }
1668 }
1669 [global::System.CLSCompliant(false)]
1670 public Builder SetCsegPort(uint value) {
1671 result.hasCsegPort = true;
1672 result.csegPort_ = value;
1673 return this;
1674 }
1675 public Builder ClearCsegPort() {
1676 result.hasCsegPort = false;
1677 result.csegPort_ = 0;
1678 return this;
1679 }
1680
1681 public bool HasRouterPort {
1682 get { return result.HasRouterPort; }
1683 }
1684 [global::System.CLSCompliant(false)]
1685 public uint RouterPort {
1686 get { return result.RouterPort; }
1687 set { SetRouterPort(value); }
1688 }
1689 [global::System.CLSCompliant(false)]
1690 public Builder SetRouterPort(uint value) {
1691 result.hasRouterPort = true;
1692 result.routerPort_ = value;
1693 return this;
1694 }
1695 public Builder ClearRouterPort() {
1696 result.hasRouterPort = false;
1697 result.routerPort_ = 0;
1698 return this;
1699 }
1700
1701 public bool HasPreConnectionBuffer {
1702 get { return result.HasPreConnectionBuffer; }
1703 }
1704 [global::System.CLSCompliant(false)]
1705 public ulong PreConnectionBuffer {
1706 get { return result.PreConnectionBuffer; }
1707 set { SetPreConnectionBuffer(value); }
1708 }
1709 [global::System.CLSCompliant(false)]
1710 public Builder SetPreConnectionBuffer(ulong value) {
1711 result.hasPreConnectionBuffer = true;
1712 result.preConnectionBuffer_ = value;
1713 return this;
1714 }
1715 public Builder ClearPreConnectionBuffer() {
1716 result.hasPreConnectionBuffer = false;
1717 result.preConnectionBuffer_ = 0UL;
1718 return this;
1719 }
1720
1721 public bool HasMaxPreConnectionMessages {
1722 get { return result.HasMaxPreConnectionMessages; }
1723 }
1724 [global::System.CLSCompliant(false)]
1725 public ulong MaxPreConnectionMessages {
1726 get { return result.MaxPreConnectionMessages; }
1727 set { SetMaxPreConnectionMessages(value); }
1728 }
1729 [global::System.CLSCompliant(false)]
1730 public Builder SetMaxPreConnectionMessages(ulong value) {
1731 result.hasMaxPreConnectionMessages = true;
1732 result.maxPreConnectionMessages_ = value;
1733 return this;
1734 }
1735 public Builder ClearMaxPreConnectionMessages() {
1736 result.hasMaxPreConnectionMessages = false;
1737 result.maxPreConnectionMessages_ = 0UL;
1738 return this;
1739 }
1740 }
1741 static SpaceServices() {
1742 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
1743 }
1744 }
1745
1746 public sealed partial class ObjLoc : pb::GeneratedMessage<ObjLoc, ObjLoc.Builder> {
1747 private static readonly ObjLoc defaultInstance = new Builder().BuildPartial();
1748 public static ObjLoc DefaultInstance {
1749 get { return defaultInstance; }
1750 }
1751
1752 public override ObjLoc DefaultInstanceForType {
1753 get { return defaultInstance; }
1754 }
1755
1756 protected override ObjLoc ThisMessage {
1757 get { return this; }
1758 }
1759
1760 public static pbd::MessageDescriptor Descriptor {
1761 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor; }
1762 }
1763
1764 protected override pb::FieldAccess.FieldAccessorTable<ObjLoc, ObjLoc.Builder> InternalFieldAccessors {
1765 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable; }
1766 }
1767
1768 #region Nested types
1769 public static class Types {
1770 public enum UpdateFlags {
1771 FORCE = 1,
1772 }
1773
1774 }
1775 #endregion
1776
1777 public const int TimestampFieldNumber = 2;
1778 private bool hasTimestamp;
1779 private ulong timestamp_ = 0;
1780 public bool HasTimestamp {
1781 get { return hasTimestamp; }
1782 }
1783 [global::System.CLSCompliant(false)]
1784 public ulong Timestamp {
1785 get { return timestamp_; }
1786 }
1787
1788 public const int PositionFieldNumber = 3;
1789 private int positionMemoizedSerializedSize;
1790 private pbc::PopsicleList<double> position_ = new pbc::PopsicleList<double>();
1791 public scg::IList<double> PositionList {
1792 get { return pbc::Lists.AsReadOnly(position_); }
1793 }
1794 public int PositionCount {
1795 get { return position_.Count; }
1796 }
1797 public double GetPosition(int index) {
1798 return position_[index];
1799 }
1800
1801 public const int OrientationFieldNumber = 4;
1802 private int orientationMemoizedSerializedSize;
1803 private pbc::PopsicleList<float> orientation_ = new pbc::PopsicleList<float>();
1804 public scg::IList<float> OrientationList {
1805 get { return pbc::Lists.AsReadOnly(orientation_); }
1806 }
1807 public int OrientationCount {
1808 get { return orientation_.Count; }
1809 }
1810 public float GetOrientation(int index) {
1811 return orientation_[index];
1812 }
1813
1814 public const int VelocityFieldNumber = 5;
1815 private int velocityMemoizedSerializedSize;
1816 private pbc::PopsicleList<float> velocity_ = new pbc::PopsicleList<float>();
1817 public scg::IList<float> VelocityList {
1818 get { return pbc::Lists.AsReadOnly(velocity_); }
1819 }
1820 public int VelocityCount {
1821 get { return velocity_.Count; }
1822 }
1823 public float GetVelocity(int index) {
1824 return velocity_[index];
1825 }
1826
1827 public const int RotationalAxisFieldNumber = 7;
1828 private int rotationalAxisMemoizedSerializedSize;
1829 private pbc::PopsicleList<float> rotationalAxis_ = new pbc::PopsicleList<float>();
1830 public scg::IList<float> RotationalAxisList {
1831 get { return pbc::Lists.AsReadOnly(rotationalAxis_); }
1832 }
1833 public int RotationalAxisCount {
1834 get { return rotationalAxis_.Count; }
1835 }
1836 public float GetRotationalAxis(int index) {
1837 return rotationalAxis_[index];
1838 }
1839
1840 public const int AngularSpeedFieldNumber = 8;
1841 private bool hasAngularSpeed;
1842 private float angularSpeed_ = 0F;
1843 public bool HasAngularSpeed {
1844 get { return hasAngularSpeed; }
1845 }
1846 public float AngularSpeed {
1847 get { return angularSpeed_; }
1848 }
1849
1850 public const int UpdateFlagsFieldNumber = 6;
1851 private bool hasUpdateFlags;
1852 private uint updateFlags_ = 0;
1853 public bool HasUpdateFlags {
1854 get { return hasUpdateFlags; }
1855 }
1856 [global::System.CLSCompliant(false)]
1857 public uint UpdateFlags {
1858 get { return updateFlags_; }
1859 }
1860
1861 public override bool IsInitialized {
1862 get {
1863 return true;
1864 }
1865 }
1866
1867 public override void WriteTo(pb::CodedOutputStream output) {
1868 if (HasTimestamp) {
1869 output.WriteFixed64(2, Timestamp);
1870 }
1871 if (position_.Count > 0) {
1872 output.WriteRawVarint32(26);
1873 output.WriteRawVarint32((uint) positionMemoizedSerializedSize);
1874 foreach (double element in position_) {
1875 output.WriteDoubleNoTag(element);
1876 }
1877 }
1878 if (orientation_.Count > 0) {
1879 output.WriteRawVarint32(34);
1880 output.WriteRawVarint32((uint) orientationMemoizedSerializedSize);
1881 foreach (float element in orientation_) {
1882 output.WriteFloatNoTag(element);
1883 }
1884 }
1885 if (velocity_.Count > 0) {
1886 output.WriteRawVarint32(42);
1887 output.WriteRawVarint32((uint) velocityMemoizedSerializedSize);
1888 foreach (float element in velocity_) {
1889 output.WriteFloatNoTag(element);
1890 }
1891 }
1892 if (HasUpdateFlags) {
1893 output.WriteUInt32(6, UpdateFlags);
1894 }
1895 if (rotationalAxis_.Count > 0) {
1896 output.WriteRawVarint32(58);
1897 output.WriteRawVarint32((uint) rotationalAxisMemoizedSerializedSize);
1898 foreach (float element in rotationalAxis_) {
1899 output.WriteFloatNoTag(element);
1900 }
1901 }
1902 if (HasAngularSpeed) {
1903 output.WriteFloat(8, AngularSpeed);
1904 }
1905 UnknownFields.WriteTo(output);
1906 }
1907
1908 private int memoizedSerializedSize = -1;
1909 public override int SerializedSize {
1910 get {
1911 int size = memoizedSerializedSize;
1912 if (size != -1) return size;
1913
1914 size = 0;
1915 if (HasTimestamp) {
1916 size += pb::CodedOutputStream.ComputeFixed64Size(2, Timestamp);
1917 }
1918 {
1919 int dataSize = 0;
1920 dataSize = 8 * position_.Count;
1921 size += dataSize;
1922 if (position_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
1923 positionMemoizedSerializedSize = dataSize;
1924 }
1925 {
1926 int dataSize = 0;
1927 dataSize = 4 * orientation_.Count;
1928 size += dataSize;
1929 if (orientation_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
1930 orientationMemoizedSerializedSize = dataSize;
1931 }
1932 {
1933 int dataSize = 0;
1934 dataSize = 4 * velocity_.Count;
1935 size += dataSize;
1936 if (velocity_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
1937 velocityMemoizedSerializedSize = dataSize;
1938 }
1939 {
1940 int dataSize = 0;
1941 dataSize = 4 * rotationalAxis_.Count;
1942 size += dataSize;
1943 if (rotationalAxis_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
1944 rotationalAxisMemoizedSerializedSize = dataSize;
1945 }
1946 if (HasAngularSpeed) {
1947 size += pb::CodedOutputStream.ComputeFloatSize(8, AngularSpeed);
1948 }
1949 if (HasUpdateFlags) {
1950 size += pb::CodedOutputStream.ComputeUInt32Size(6, UpdateFlags);
1951 }
1952 size += UnknownFields.SerializedSize;
1953 memoizedSerializedSize = size;
1954 return size;
1955 }
1956 }
1957
1958 public static ObjLoc ParseFrom(pb::ByteString data) {
1959 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
1960 }
1961 public static ObjLoc ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
1962 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
1963 }
1964 public static ObjLoc ParseFrom(byte[] data) {
1965 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
1966 }
1967 public static ObjLoc ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
1968 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
1969 }
1970 public static ObjLoc ParseFrom(global::System.IO.Stream input) {
1971 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
1972 }
1973 public static ObjLoc ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
1974 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
1975 }
1976 public static ObjLoc ParseDelimitedFrom(global::System.IO.Stream input) {
1977 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
1978 }
1979 public static ObjLoc ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
1980 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
1981 }
1982 public static ObjLoc ParseFrom(pb::CodedInputStream input) {
1983 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
1984 }
1985 public static ObjLoc ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
1986 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
1987 }
1988 public static Builder CreateBuilder() { return new Builder(); }
1989 public override Builder ToBuilder() { return CreateBuilder(this); }
1990 public override Builder CreateBuilderForType() { return new Builder(); }
1991 public static Builder CreateBuilder(ObjLoc prototype) {
1992 return (Builder) new Builder().MergeFrom(prototype);
1993 }
1994
1995 public sealed partial class Builder : pb::GeneratedBuilder<ObjLoc, Builder> {
1996 protected override Builder ThisBuilder {
1997 get { return this; }
1998 }
1999 public Builder() {}
2000
2001 ObjLoc result = new ObjLoc();
2002
2003 protected override ObjLoc MessageBeingBuilt {
2004 get { return result; }
2005 }
2006
2007 public override Builder Clear() {
2008 result = new ObjLoc();
2009 return this;
2010 }
2011
2012 public override Builder Clone() {
2013 return new Builder().MergeFrom(result);
2014 }
2015
2016 public override pbd::MessageDescriptor DescriptorForType {
2017 get { return global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Descriptor; }
2018 }
2019
2020 public override ObjLoc DefaultInstanceForType {
2021 get { return global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance; }
2022 }
2023
2024 public override ObjLoc BuildPartial() {
2025 if (result == null) {
2026 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2027 }
2028 result.position_.MakeReadOnly();
2029 result.orientation_.MakeReadOnly();
2030 result.velocity_.MakeReadOnly();
2031 result.rotationalAxis_.MakeReadOnly();
2032 ObjLoc returnMe = result;
2033 result = null;
2034 return returnMe;
2035 }
2036
2037 public override Builder MergeFrom(pb::IMessage other) {
2038 if (other is ObjLoc) {
2039 return MergeFrom((ObjLoc) other);
2040 } else {
2041 base.MergeFrom(other);
2042 return this;
2043 }
2044 }
2045
2046 public override Builder MergeFrom(ObjLoc other) {
2047 if (other == global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance) return this;
2048 if (other.HasTimestamp) {
2049 Timestamp = other.Timestamp;
2050 }
2051 if (other.position_.Count != 0) {
2052 base.AddRange(other.position_, result.position_);
2053 }
2054 if (other.orientation_.Count != 0) {
2055 base.AddRange(other.orientation_, result.orientation_);
2056 }
2057 if (other.velocity_.Count != 0) {
2058 base.AddRange(other.velocity_, result.velocity_);
2059 }
2060 if (other.rotationalAxis_.Count != 0) {
2061 base.AddRange(other.rotationalAxis_, result.rotationalAxis_);
2062 }
2063 if (other.HasAngularSpeed) {
2064 AngularSpeed = other.AngularSpeed;
2065 }
2066 if (other.HasUpdateFlags) {
2067 UpdateFlags = other.UpdateFlags;
2068 }
2069 this.MergeUnknownFields(other.UnknownFields);
2070 return this;
2071 }
2072
2073 public override Builder MergeFrom(pb::CodedInputStream input) {
2074 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2075 }
2076
2077 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2078 pb::UnknownFieldSet.Builder unknownFields = null;
2079 while (true) {
2080 uint tag = input.ReadTag();
2081 switch (tag) {
2082 case 0: {
2083 if (unknownFields != null) {
2084 this.UnknownFields = unknownFields.Build();
2085 }
2086 return this;
2087 }
2088 default: {
2089 if (pb::WireFormat.IsEndGroupTag(tag)) {
2090 if (unknownFields != null) {
2091 this.UnknownFields = unknownFields.Build();
2092 }
2093 return this;
2094 }
2095 if (unknownFields == null) {
2096 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2097 }
2098 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
2099 break;
2100 }
2101 case 17: {
2102 Timestamp = input.ReadFixed64();
2103 break;
2104 }
2105 case 26: {
2106 int length = input.ReadInt32();
2107 int limit = input.PushLimit(length);
2108 while (!input.ReachedLimit) {
2109 AddPosition(input.ReadDouble());
2110 }
2111 input.PopLimit(limit);
2112 break;
2113 }
2114 case 34: {
2115 int length = input.ReadInt32();
2116 int limit = input.PushLimit(length);
2117 while (!input.ReachedLimit) {
2118 AddOrientation(input.ReadFloat());
2119 }
2120 input.PopLimit(limit);
2121 break;
2122 }
2123 case 42: {
2124 int length = input.ReadInt32();
2125 int limit = input.PushLimit(length);
2126 while (!input.ReachedLimit) {
2127 AddVelocity(input.ReadFloat());
2128 }
2129 input.PopLimit(limit);
2130 break;
2131 }
2132 case 48: {
2133 UpdateFlags = input.ReadUInt32();
2134 break;
2135 }
2136 case 58: {
2137 int length = input.ReadInt32();
2138 int limit = input.PushLimit(length);
2139 while (!input.ReachedLimit) {
2140 AddRotationalAxis(input.ReadFloat());
2141 }
2142 input.PopLimit(limit);
2143 break;
2144 }
2145 case 69: {
2146 AngularSpeed = input.ReadFloat();
2147 break;
2148 }
2149 }
2150 }
2151 }
2152
2153
2154 public bool HasTimestamp {
2155 get { return result.HasTimestamp; }
2156 }
2157 [global::System.CLSCompliant(false)]
2158 public ulong Timestamp {
2159 get { return result.Timestamp; }
2160 set { SetTimestamp(value); }
2161 }
2162 [global::System.CLSCompliant(false)]
2163 public Builder SetTimestamp(ulong value) {
2164 result.hasTimestamp = true;
2165 result.timestamp_ = value;
2166 return this;
2167 }
2168 public Builder ClearTimestamp() {
2169 result.hasTimestamp = false;
2170 result.timestamp_ = 0;
2171 return this;
2172 }
2173
2174 public pbc::IPopsicleList<double> PositionList {
2175 get { return result.position_; }
2176 }
2177 public int PositionCount {
2178 get { return result.PositionCount; }
2179 }
2180 public double GetPosition(int index) {
2181 return result.GetPosition(index);
2182 }
2183 public Builder SetPosition(int index, double value) {
2184 result.position_[index] = value;
2185 return this;
2186 }
2187 public Builder AddPosition(double value) {
2188 result.position_.Add(value);
2189 return this;
2190 }
2191 public Builder AddRangePosition(scg::IEnumerable<double> values) {
2192 base.AddRange(values, result.position_);
2193 return this;
2194 }
2195 public Builder ClearPosition() {
2196 result.position_.Clear();
2197 return this;
2198 }
2199
2200 public pbc::IPopsicleList<float> OrientationList {
2201 get { return result.orientation_; }
2202 }
2203 public int OrientationCount {
2204 get { return result.OrientationCount; }
2205 }
2206 public float GetOrientation(int index) {
2207 return result.GetOrientation(index);
2208 }
2209 public Builder SetOrientation(int index, float value) {
2210 result.orientation_[index] = value;
2211 return this;
2212 }
2213 public Builder AddOrientation(float value) {
2214 result.orientation_.Add(value);
2215 return this;
2216 }
2217 public Builder AddRangeOrientation(scg::IEnumerable<float> values) {
2218 base.AddRange(values, result.orientation_);
2219 return this;
2220 }
2221 public Builder ClearOrientation() {
2222 result.orientation_.Clear();
2223 return this;
2224 }
2225
2226 public pbc::IPopsicleList<float> VelocityList {
2227 get { return result.velocity_; }
2228 }
2229 public int VelocityCount {
2230 get { return result.VelocityCount; }
2231 }
2232 public float GetVelocity(int index) {
2233 return result.GetVelocity(index);
2234 }
2235 public Builder SetVelocity(int index, float value) {
2236 result.velocity_[index] = value;
2237 return this;
2238 }
2239 public Builder AddVelocity(float value) {
2240 result.velocity_.Add(value);
2241 return this;
2242 }
2243 public Builder AddRangeVelocity(scg::IEnumerable<float> values) {
2244 base.AddRange(values, result.velocity_);
2245 return this;
2246 }
2247 public Builder ClearVelocity() {
2248 result.velocity_.Clear();
2249 return this;
2250 }
2251
2252 public pbc::IPopsicleList<float> RotationalAxisList {
2253 get { return result.rotationalAxis_; }
2254 }
2255 public int RotationalAxisCount {
2256 get { return result.RotationalAxisCount; }
2257 }
2258 public float GetRotationalAxis(int index) {
2259 return result.GetRotationalAxis(index);
2260 }
2261 public Builder SetRotationalAxis(int index, float value) {
2262 result.rotationalAxis_[index] = value;
2263 return this;
2264 }
2265 public Builder AddRotationalAxis(float value) {
2266 result.rotationalAxis_.Add(value);
2267 return this;
2268 }
2269 public Builder AddRangeRotationalAxis(scg::IEnumerable<float> values) {
2270 base.AddRange(values, result.rotationalAxis_);
2271 return this;
2272 }
2273 public Builder ClearRotationalAxis() {
2274 result.rotationalAxis_.Clear();
2275 return this;
2276 }
2277
2278 public bool HasAngularSpeed {
2279 get { return result.HasAngularSpeed; }
2280 }
2281 public float AngularSpeed {
2282 get { return result.AngularSpeed; }
2283 set { SetAngularSpeed(value); }
2284 }
2285 public Builder SetAngularSpeed(float value) {
2286 result.hasAngularSpeed = true;
2287 result.angularSpeed_ = value;
2288 return this;
2289 }
2290 public Builder ClearAngularSpeed() {
2291 result.hasAngularSpeed = false;
2292 result.angularSpeed_ = 0F;
2293 return this;
2294 }
2295
2296 public bool HasUpdateFlags {
2297 get { return result.HasUpdateFlags; }
2298 }
2299 [global::System.CLSCompliant(false)]
2300 public uint UpdateFlags {
2301 get { return result.UpdateFlags; }
2302 set { SetUpdateFlags(value); }
2303 }
2304 [global::System.CLSCompliant(false)]
2305 public Builder SetUpdateFlags(uint value) {
2306 result.hasUpdateFlags = true;
2307 result.updateFlags_ = value;
2308 return this;
2309 }
2310 public Builder ClearUpdateFlags() {
2311 result.hasUpdateFlags = false;
2312 result.updateFlags_ = 0;
2313 return this;
2314 }
2315 }
2316 static ObjLoc() {
2317 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
2318 }
2319 }
2320
2321 public sealed partial class LocRequest : pb::GeneratedMessage<LocRequest, LocRequest.Builder> {
2322 private static readonly LocRequest defaultInstance = new Builder().BuildPartial();
2323 public static LocRequest DefaultInstance {
2324 get { return defaultInstance; }
2325 }
2326
2327 public override LocRequest DefaultInstanceForType {
2328 get { return defaultInstance; }
2329 }
2330
2331 protected override LocRequest ThisMessage {
2332 get { return this; }
2333 }
2334
2335 public static pbd::MessageDescriptor Descriptor {
2336 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor; }
2337 }
2338
2339 protected override pb::FieldAccess.FieldAccessorTable<LocRequest, LocRequest.Builder> InternalFieldAccessors {
2340 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__FieldAccessorTable; }
2341 }
2342
2343 #region Nested types
2344 public static class Types {
2345 public enum Fields {
2346 POSITION = 1,
2347 ORIENTATION = 2,
2348 VELOCITY = 4,
2349 ROTATIONAL_AXIS = 8,
2350 ANGULAR_SPEED = 16,
2351 }
2352
2353 }
2354 #endregion
2355
2356 public const int RequestedFieldsFieldNumber = 2;
2357 private bool hasRequestedFields;
2358 private uint requestedFields_ = 0;
2359 public bool HasRequestedFields {
2360 get { return hasRequestedFields; }
2361 }
2362 [global::System.CLSCompliant(false)]
2363 public uint RequestedFields {
2364 get { return requestedFields_; }
2365 }
2366
2367 public override bool IsInitialized {
2368 get {
2369 return true;
2370 }
2371 }
2372
2373 public override void WriteTo(pb::CodedOutputStream output) {
2374 if (HasRequestedFields) {
2375 output.WriteUInt32(2, RequestedFields);
2376 }
2377 UnknownFields.WriteTo(output);
2378 }
2379
2380 private int memoizedSerializedSize = -1;
2381 public override int SerializedSize {
2382 get {
2383 int size = memoizedSerializedSize;
2384 if (size != -1) return size;
2385
2386 size = 0;
2387 if (HasRequestedFields) {
2388 size += pb::CodedOutputStream.ComputeUInt32Size(2, RequestedFields);
2389 }
2390 size += UnknownFields.SerializedSize;
2391 memoizedSerializedSize = size;
2392 return size;
2393 }
2394 }
2395
2396 public static LocRequest ParseFrom(pb::ByteString data) {
2397 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2398 }
2399 public static LocRequest ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2400 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2401 }
2402 public static LocRequest ParseFrom(byte[] data) {
2403 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2404 }
2405 public static LocRequest ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2406 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2407 }
2408 public static LocRequest ParseFrom(global::System.IO.Stream input) {
2409 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2410 }
2411 public static LocRequest ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2412 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2413 }
2414 public static LocRequest ParseDelimitedFrom(global::System.IO.Stream input) {
2415 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2416 }
2417 public static LocRequest ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2418 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2419 }
2420 public static LocRequest ParseFrom(pb::CodedInputStream input) {
2421 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2422 }
2423 public static LocRequest ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2424 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2425 }
2426 public static Builder CreateBuilder() { return new Builder(); }
2427 public override Builder ToBuilder() { return CreateBuilder(this); }
2428 public override Builder CreateBuilderForType() { return new Builder(); }
2429 public static Builder CreateBuilder(LocRequest prototype) {
2430 return (Builder) new Builder().MergeFrom(prototype);
2431 }
2432
2433 public sealed partial class Builder : pb::GeneratedBuilder<LocRequest, Builder> {
2434 protected override Builder ThisBuilder {
2435 get { return this; }
2436 }
2437 public Builder() {}
2438
2439 LocRequest result = new LocRequest();
2440
2441 protected override LocRequest MessageBeingBuilt {
2442 get { return result; }
2443 }
2444
2445 public override Builder Clear() {
2446 result = new LocRequest();
2447 return this;
2448 }
2449
2450 public override Builder Clone() {
2451 return new Builder().MergeFrom(result);
2452 }
2453
2454 public override pbd::MessageDescriptor DescriptorForType {
2455 get { return global::Sirikata.Protocol._PBJ_Internal.LocRequest.Descriptor; }
2456 }
2457
2458 public override LocRequest DefaultInstanceForType {
2459 get { return global::Sirikata.Protocol._PBJ_Internal.LocRequest.DefaultInstance; }
2460 }
2461
2462 public override LocRequest BuildPartial() {
2463 if (result == null) {
2464 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2465 }
2466 LocRequest returnMe = result;
2467 result = null;
2468 return returnMe;
2469 }
2470
2471 public override Builder MergeFrom(pb::IMessage other) {
2472 if (other is LocRequest) {
2473 return MergeFrom((LocRequest) other);
2474 } else {
2475 base.MergeFrom(other);
2476 return this;
2477 }
2478 }
2479
2480 public override Builder MergeFrom(LocRequest other) {
2481 if (other == global::Sirikata.Protocol._PBJ_Internal.LocRequest.DefaultInstance) return this;
2482 if (other.HasRequestedFields) {
2483 RequestedFields = other.RequestedFields;
2484 }
2485 this.MergeUnknownFields(other.UnknownFields);
2486 return this;
2487 }
2488
2489 public override Builder MergeFrom(pb::CodedInputStream input) {
2490 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2491 }
2492
2493 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2494 pb::UnknownFieldSet.Builder unknownFields = null;
2495 while (true) {
2496 uint tag = input.ReadTag();
2497 switch (tag) {
2498 case 0: {
2499 if (unknownFields != null) {
2500 this.UnknownFields = unknownFields.Build();
2501 }
2502 return this;
2503 }
2504 default: {
2505 if (pb::WireFormat.IsEndGroupTag(tag)) {
2506 if (unknownFields != null) {
2507 this.UnknownFields = unknownFields.Build();
2508 }
2509 return this;
2510 }
2511 if (unknownFields == null) {
2512 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2513 }
2514 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
2515 break;
2516 }
2517 case 16: {
2518 RequestedFields = input.ReadUInt32();
2519 break;
2520 }
2521 }
2522 }
2523 }
2524
2525
2526 public bool HasRequestedFields {
2527 get { return result.HasRequestedFields; }
2528 }
2529 [global::System.CLSCompliant(false)]
2530 public uint RequestedFields {
2531 get { return result.RequestedFields; }
2532 set { SetRequestedFields(value); }
2533 }
2534 [global::System.CLSCompliant(false)]
2535 public Builder SetRequestedFields(uint value) {
2536 result.hasRequestedFields = true;
2537 result.requestedFields_ = value;
2538 return this;
2539 }
2540 public Builder ClearRequestedFields() {
2541 result.hasRequestedFields = false;
2542 result.requestedFields_ = 0;
2543 return this;
2544 }
2545 }
2546 static LocRequest() {
2547 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
2548 }
2549 }
2550
2551 public sealed partial class NewObj : pb::GeneratedMessage<NewObj, NewObj.Builder> {
2552 private static readonly NewObj defaultInstance = new Builder().BuildPartial();
2553 public static NewObj DefaultInstance {
2554 get { return defaultInstance; }
2555 }
2556
2557 public override NewObj DefaultInstanceForType {
2558 get { return defaultInstance; }
2559 }
2560
2561 protected override NewObj ThisMessage {
2562 get { return this; }
2563 }
2564
2565 public static pbd::MessageDescriptor Descriptor {
2566 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor; }
2567 }
2568
2569 protected override pb::FieldAccess.FieldAccessorTable<NewObj, NewObj.Builder> InternalFieldAccessors {
2570 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__FieldAccessorTable; }
2571 }
2572
2573 public const int ObjectUuidEvidenceFieldNumber = 2;
2574 private bool hasObjectUuidEvidence;
2575 private pb::ByteString objectUuidEvidence_ = pb::ByteString.Empty;
2576 public bool HasObjectUuidEvidence {
2577 get { return hasObjectUuidEvidence; }
2578 }
2579 public pb::ByteString ObjectUuidEvidence {
2580 get { return objectUuidEvidence_; }
2581 }
2582
2583 public const int RequestedObjectLocFieldNumber = 3;
2584 private bool hasRequestedObjectLoc;
2585 private global::Sirikata.Protocol._PBJ_Internal.ObjLoc requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
2586 public bool HasRequestedObjectLoc {
2587 get { return hasRequestedObjectLoc; }
2588 }
2589 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc RequestedObjectLoc {
2590 get { return requestedObjectLoc_; }
2591 }
2592
2593 public const int BoundingSphereFieldNumber = 4;
2594 private int boundingSphereMemoizedSerializedSize;
2595 private pbc::PopsicleList<float> boundingSphere_ = new pbc::PopsicleList<float>();
2596 public scg::IList<float> BoundingSphereList {
2597 get { return pbc::Lists.AsReadOnly(boundingSphere_); }
2598 }
2599 public int BoundingSphereCount {
2600 get { return boundingSphere_.Count; }
2601 }
2602 public float GetBoundingSphere(int index) {
2603 return boundingSphere_[index];
2604 }
2605
2606 public override bool IsInitialized {
2607 get {
2608 return true;
2609 }
2610 }
2611
2612 public override void WriteTo(pb::CodedOutputStream output) {
2613 if (HasObjectUuidEvidence) {
2614 output.WriteBytes(2, ObjectUuidEvidence);
2615 }
2616 if (HasRequestedObjectLoc) {
2617 output.WriteMessage(3, RequestedObjectLoc);
2618 }
2619 if (boundingSphere_.Count > 0) {
2620 output.WriteRawVarint32(34);
2621 output.WriteRawVarint32((uint) boundingSphereMemoizedSerializedSize);
2622 foreach (float element in boundingSphere_) {
2623 output.WriteFloatNoTag(element);
2624 }
2625 }
2626 UnknownFields.WriteTo(output);
2627 }
2628
2629 private int memoizedSerializedSize = -1;
2630 public override int SerializedSize {
2631 get {
2632 int size = memoizedSerializedSize;
2633 if (size != -1) return size;
2634
2635 size = 0;
2636 if (HasObjectUuidEvidence) {
2637 size += pb::CodedOutputStream.ComputeBytesSize(2, ObjectUuidEvidence);
2638 }
2639 if (HasRequestedObjectLoc) {
2640 size += pb::CodedOutputStream.ComputeMessageSize(3, RequestedObjectLoc);
2641 }
2642 {
2643 int dataSize = 0;
2644 dataSize = 4 * boundingSphere_.Count;
2645 size += dataSize;
2646 if (boundingSphere_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
2647 boundingSphereMemoizedSerializedSize = dataSize;
2648 }
2649 size += UnknownFields.SerializedSize;
2650 memoizedSerializedSize = size;
2651 return size;
2652 }
2653 }
2654
2655 public static NewObj ParseFrom(pb::ByteString data) {
2656 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2657 }
2658 public static NewObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2659 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2660 }
2661 public static NewObj ParseFrom(byte[] data) {
2662 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2663 }
2664 public static NewObj ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2665 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2666 }
2667 public static NewObj ParseFrom(global::System.IO.Stream input) {
2668 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2669 }
2670 public static NewObj ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2671 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2672 }
2673 public static NewObj ParseDelimitedFrom(global::System.IO.Stream input) {
2674 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2675 }
2676 public static NewObj ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2677 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2678 }
2679 public static NewObj ParseFrom(pb::CodedInputStream input) {
2680 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2681 }
2682 public static NewObj ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2683 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2684 }
2685 public static Builder CreateBuilder() { return new Builder(); }
2686 public override Builder ToBuilder() { return CreateBuilder(this); }
2687 public override Builder CreateBuilderForType() { return new Builder(); }
2688 public static Builder CreateBuilder(NewObj prototype) {
2689 return (Builder) new Builder().MergeFrom(prototype);
2690 }
2691
2692 public sealed partial class Builder : pb::GeneratedBuilder<NewObj, Builder> {
2693 protected override Builder ThisBuilder {
2694 get { return this; }
2695 }
2696 public Builder() {}
2697
2698 NewObj result = new NewObj();
2699
2700 protected override NewObj MessageBeingBuilt {
2701 get { return result; }
2702 }
2703
2704 public override Builder Clear() {
2705 result = new NewObj();
2706 return this;
2707 }
2708
2709 public override Builder Clone() {
2710 return new Builder().MergeFrom(result);
2711 }
2712
2713 public override pbd::MessageDescriptor DescriptorForType {
2714 get { return global::Sirikata.Protocol._PBJ_Internal.NewObj.Descriptor; }
2715 }
2716
2717 public override NewObj DefaultInstanceForType {
2718 get { return global::Sirikata.Protocol._PBJ_Internal.NewObj.DefaultInstance; }
2719 }
2720
2721 public override NewObj BuildPartial() {
2722 if (result == null) {
2723 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2724 }
2725 result.boundingSphere_.MakeReadOnly();
2726 NewObj returnMe = result;
2727 result = null;
2728 return returnMe;
2729 }
2730
2731 public override Builder MergeFrom(pb::IMessage other) {
2732 if (other is NewObj) {
2733 return MergeFrom((NewObj) other);
2734 } else {
2735 base.MergeFrom(other);
2736 return this;
2737 }
2738 }
2739
2740 public override Builder MergeFrom(NewObj other) {
2741 if (other == global::Sirikata.Protocol._PBJ_Internal.NewObj.DefaultInstance) return this;
2742 if (other.HasObjectUuidEvidence) {
2743 ObjectUuidEvidence = other.ObjectUuidEvidence;
2744 }
2745 if (other.HasRequestedObjectLoc) {
2746 MergeRequestedObjectLoc(other.RequestedObjectLoc);
2747 }
2748 if (other.boundingSphere_.Count != 0) {
2749 base.AddRange(other.boundingSphere_, result.boundingSphere_);
2750 }
2751 this.MergeUnknownFields(other.UnknownFields);
2752 return this;
2753 }
2754
2755 public override Builder MergeFrom(pb::CodedInputStream input) {
2756 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2757 }
2758
2759 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2760 pb::UnknownFieldSet.Builder unknownFields = null;
2761 while (true) {
2762 uint tag = input.ReadTag();
2763 switch (tag) {
2764 case 0: {
2765 if (unknownFields != null) {
2766 this.UnknownFields = unknownFields.Build();
2767 }
2768 return this;
2769 }
2770 default: {
2771 if (pb::WireFormat.IsEndGroupTag(tag)) {
2772 if (unknownFields != null) {
2773 this.UnknownFields = unknownFields.Build();
2774 }
2775 return this;
2776 }
2777 if (unknownFields == null) {
2778 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2779 }
2780 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
2781 break;
2782 }
2783 case 18: {
2784 ObjectUuidEvidence = input.ReadBytes();
2785 break;
2786 }
2787 case 26: {
2788 global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder();
2789 if (HasRequestedObjectLoc) {
2790 subBuilder.MergeFrom(RequestedObjectLoc);
2791 }
2792 input.ReadMessage(subBuilder, extensionRegistry);
2793 RequestedObjectLoc = subBuilder.BuildPartial();
2794 break;
2795 }
2796 case 34: {
2797 int length = input.ReadInt32();
2798 int limit = input.PushLimit(length);
2799 while (!input.ReachedLimit) {
2800 AddBoundingSphere(input.ReadFloat());
2801 }
2802 input.PopLimit(limit);
2803 break;
2804 }
2805 }
2806 }
2807 }
2808
2809
2810 public bool HasObjectUuidEvidence {
2811 get { return result.HasObjectUuidEvidence; }
2812 }
2813 public pb::ByteString ObjectUuidEvidence {
2814 get { return result.ObjectUuidEvidence; }
2815 set { SetObjectUuidEvidence(value); }
2816 }
2817 public Builder SetObjectUuidEvidence(pb::ByteString value) {
2818 pb::ThrowHelper.ThrowIfNull(value, "value");
2819 result.hasObjectUuidEvidence = true;
2820 result.objectUuidEvidence_ = value;
2821 return this;
2822 }
2823 public Builder ClearObjectUuidEvidence() {
2824 result.hasObjectUuidEvidence = false;
2825 result.objectUuidEvidence_ = pb::ByteString.Empty;
2826 return this;
2827 }
2828
2829 public bool HasRequestedObjectLoc {
2830 get { return result.HasRequestedObjectLoc; }
2831 }
2832 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc RequestedObjectLoc {
2833 get { return result.RequestedObjectLoc; }
2834 set { SetRequestedObjectLoc(value); }
2835 }
2836 public Builder SetRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
2837 pb::ThrowHelper.ThrowIfNull(value, "value");
2838 result.hasRequestedObjectLoc = true;
2839 result.requestedObjectLoc_ = value;
2840 return this;
2841 }
2842 public Builder SetRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder builderForValue) {
2843 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
2844 result.hasRequestedObjectLoc = true;
2845 result.requestedObjectLoc_ = builderForValue.Build();
2846 return this;
2847 }
2848 public Builder MergeRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
2849 pb::ThrowHelper.ThrowIfNull(value, "value");
2850 if (result.HasRequestedObjectLoc &&
2851 result.requestedObjectLoc_ != global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance) {
2852 result.requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder(result.requestedObjectLoc_).MergeFrom(value).BuildPartial();
2853 } else {
2854 result.requestedObjectLoc_ = value;
2855 }
2856 result.hasRequestedObjectLoc = true;
2857 return this;
2858 }
2859 public Builder ClearRequestedObjectLoc() {
2860 result.hasRequestedObjectLoc = false;
2861 result.requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
2862 return this;
2863 }
2864
2865 public pbc::IPopsicleList<float> BoundingSphereList {
2866 get { return result.boundingSphere_; }
2867 }
2868 public int BoundingSphereCount {
2869 get { return result.BoundingSphereCount; }
2870 }
2871 public float GetBoundingSphere(int index) {
2872 return result.GetBoundingSphere(index);
2873 }
2874 public Builder SetBoundingSphere(int index, float value) {
2875 result.boundingSphere_[index] = value;
2876 return this;
2877 }
2878 public Builder AddBoundingSphere(float value) {
2879 result.boundingSphere_.Add(value);
2880 return this;
2881 }
2882 public Builder AddRangeBoundingSphere(scg::IEnumerable<float> values) {
2883 base.AddRange(values, result.boundingSphere_);
2884 return this;
2885 }
2886 public Builder ClearBoundingSphere() {
2887 result.boundingSphere_.Clear();
2888 return this;
2889 }
2890 }
2891 static NewObj() {
2892 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
2893 }
2894 }
2895
2896 public sealed partial class RetObj : pb::GeneratedMessage<RetObj, RetObj.Builder> {
2897 private static readonly RetObj defaultInstance = new Builder().BuildPartial();
2898 public static RetObj DefaultInstance {
2899 get { return defaultInstance; }
2900 }
2901
2902 public override RetObj DefaultInstanceForType {
2903 get { return defaultInstance; }
2904 }
2905
2906 protected override RetObj ThisMessage {
2907 get { return this; }
2908 }
2909
2910 public static pbd::MessageDescriptor Descriptor {
2911 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor; }
2912 }
2913
2914 protected override pb::FieldAccess.FieldAccessorTable<RetObj, RetObj.Builder> InternalFieldAccessors {
2915 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__FieldAccessorTable; }
2916 }
2917
2918 public const int ObjectReferenceFieldNumber = 2;
2919 private bool hasObjectReference;
2920 private pb::ByteString objectReference_ = pb::ByteString.Empty;
2921 public bool HasObjectReference {
2922 get { return hasObjectReference; }
2923 }
2924 public pb::ByteString ObjectReference {
2925 get { return objectReference_; }
2926 }
2927
2928 public const int LocationFieldNumber = 3;
2929 private bool hasLocation;
2930 private global::Sirikata.Protocol._PBJ_Internal.ObjLoc location_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
2931 public bool HasLocation {
2932 get { return hasLocation; }
2933 }
2934 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc Location {
2935 get { return location_; }
2936 }
2937
2938 public const int BoundingSphereFieldNumber = 4;
2939 private int boundingSphereMemoizedSerializedSize;
2940 private pbc::PopsicleList<float> boundingSphere_ = new pbc::PopsicleList<float>();
2941 public scg::IList<float> BoundingSphereList {
2942 get { return pbc::Lists.AsReadOnly(boundingSphere_); }
2943 }
2944 public int BoundingSphereCount {
2945 get { return boundingSphere_.Count; }
2946 }
2947 public float GetBoundingSphere(int index) {
2948 return boundingSphere_[index];
2949 }
2950
2951 public override bool IsInitialized {
2952 get {
2953 return true;
2954 }
2955 }
2956
2957 public override void WriteTo(pb::CodedOutputStream output) {
2958 if (HasObjectReference) {
2959 output.WriteBytes(2, ObjectReference);
2960 }
2961 if (HasLocation) {
2962 output.WriteMessage(3, Location);
2963 }
2964 if (boundingSphere_.Count > 0) {
2965 output.WriteRawVarint32(34);
2966 output.WriteRawVarint32((uint) boundingSphereMemoizedSerializedSize);
2967 foreach (float element in boundingSphere_) {
2968 output.WriteFloatNoTag(element);
2969 }
2970 }
2971 UnknownFields.WriteTo(output);
2972 }
2973
2974 private int memoizedSerializedSize = -1;
2975 public override int SerializedSize {
2976 get {
2977 int size = memoizedSerializedSize;
2978 if (size != -1) return size;
2979
2980 size = 0;
2981 if (HasObjectReference) {
2982 size += pb::CodedOutputStream.ComputeBytesSize(2, ObjectReference);
2983 }
2984 if (HasLocation) {
2985 size += pb::CodedOutputStream.ComputeMessageSize(3, Location);
2986 }
2987 {
2988 int dataSize = 0;
2989 dataSize = 4 * boundingSphere_.Count;
2990 size += dataSize;
2991 if (boundingSphere_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
2992 boundingSphereMemoizedSerializedSize = dataSize;
2993 }
2994 size += UnknownFields.SerializedSize;
2995 memoizedSerializedSize = size;
2996 return size;
2997 }
2998 }
2999
3000 public static RetObj ParseFrom(pb::ByteString data) {
3001 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3002 }
3003 public static RetObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3004 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3005 }
3006 public static RetObj ParseFrom(byte[] data) {
3007 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3008 }
3009 public static RetObj ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3010 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3011 }
3012 public static RetObj ParseFrom(global::System.IO.Stream input) {
3013 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3014 }
3015 public static RetObj ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3016 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3017 }
3018 public static RetObj ParseDelimitedFrom(global::System.IO.Stream input) {
3019 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3020 }
3021 public static RetObj ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3022 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3023 }
3024 public static RetObj ParseFrom(pb::CodedInputStream input) {
3025 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3026 }
3027 public static RetObj ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3028 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3029 }
3030 public static Builder CreateBuilder() { return new Builder(); }
3031 public override Builder ToBuilder() { return CreateBuilder(this); }
3032 public override Builder CreateBuilderForType() { return new Builder(); }
3033 public static Builder CreateBuilder(RetObj prototype) {
3034 return (Builder) new Builder().MergeFrom(prototype);
3035 }
3036
3037 public sealed partial class Builder : pb::GeneratedBuilder<RetObj, Builder> {
3038 protected override Builder ThisBuilder {
3039 get { return this; }
3040 }
3041 public Builder() {}
3042
3043 RetObj result = new RetObj();
3044
3045 protected override RetObj MessageBeingBuilt {
3046 get { return result; }
3047 }
3048
3049 public override Builder Clear() {
3050 result = new RetObj();
3051 return this;
3052 }
3053
3054 public override Builder Clone() {
3055 return new Builder().MergeFrom(result);
3056 }
3057
3058 public override pbd::MessageDescriptor DescriptorForType {
3059 get { return global::Sirikata.Protocol._PBJ_Internal.RetObj.Descriptor; }
3060 }
3061
3062 public override RetObj DefaultInstanceForType {
3063 get { return global::Sirikata.Protocol._PBJ_Internal.RetObj.DefaultInstance; }
3064 }
3065
3066 public override RetObj BuildPartial() {
3067 if (result == null) {
3068 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3069 }
3070 result.boundingSphere_.MakeReadOnly();
3071 RetObj returnMe = result;
3072 result = null;
3073 return returnMe;
3074 }
3075
3076 public override Builder MergeFrom(pb::IMessage other) {
3077 if (other is RetObj) {
3078 return MergeFrom((RetObj) other);
3079 } else {
3080 base.MergeFrom(other);
3081 return this;
3082 }
3083 }
3084
3085 public override Builder MergeFrom(RetObj other) {
3086 if (other == global::Sirikata.Protocol._PBJ_Internal.RetObj.DefaultInstance) return this;
3087 if (other.HasObjectReference) {
3088 ObjectReference = other.ObjectReference;
3089 }
3090 if (other.HasLocation) {
3091 MergeLocation(other.Location);
3092 }
3093 if (other.boundingSphere_.Count != 0) {
3094 base.AddRange(other.boundingSphere_, result.boundingSphere_);
3095 }
3096 this.MergeUnknownFields(other.UnknownFields);
3097 return this;
3098 }
3099
3100 public override Builder MergeFrom(pb::CodedInputStream input) {
3101 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3102 }
3103
3104 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3105 pb::UnknownFieldSet.Builder unknownFields = null;
3106 while (true) {
3107 uint tag = input.ReadTag();
3108 switch (tag) {
3109 case 0: {
3110 if (unknownFields != null) {
3111 this.UnknownFields = unknownFields.Build();
3112 }
3113 return this;
3114 }
3115 default: {
3116 if (pb::WireFormat.IsEndGroupTag(tag)) {
3117 if (unknownFields != null) {
3118 this.UnknownFields = unknownFields.Build();
3119 }
3120 return this;
3121 }
3122 if (unknownFields == null) {
3123 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3124 }
3125 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
3126 break;
3127 }
3128 case 18: {
3129 ObjectReference = input.ReadBytes();
3130 break;
3131 }
3132 case 26: {
3133 global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder();
3134 if (HasLocation) {
3135 subBuilder.MergeFrom(Location);
3136 }
3137 input.ReadMessage(subBuilder, extensionRegistry);
3138 Location = subBuilder.BuildPartial();
3139 break;
3140 }
3141 case 34: {
3142 int length = input.ReadInt32();
3143 int limit = input.PushLimit(length);
3144 while (!input.ReachedLimit) {
3145 AddBoundingSphere(input.ReadFloat());
3146 }
3147 input.PopLimit(limit);
3148 break;
3149 }
3150 }
3151 }
3152 }
3153
3154
3155 public bool HasObjectReference {
3156 get { return result.HasObjectReference; }
3157 }
3158 public pb::ByteString ObjectReference {
3159 get { return result.ObjectReference; }
3160 set { SetObjectReference(value); }
3161 }
3162 public Builder SetObjectReference(pb::ByteString value) {
3163 pb::ThrowHelper.ThrowIfNull(value, "value");
3164 result.hasObjectReference = true;
3165 result.objectReference_ = value;
3166 return this;
3167 }
3168 public Builder ClearObjectReference() {
3169 result.hasObjectReference = false;
3170 result.objectReference_ = pb::ByteString.Empty;
3171 return this;
3172 }
3173
3174 public bool HasLocation {
3175 get { return result.HasLocation; }
3176 }
3177 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc Location {
3178 get { return result.Location; }
3179 set { SetLocation(value); }
3180 }
3181 public Builder SetLocation(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
3182 pb::ThrowHelper.ThrowIfNull(value, "value");
3183 result.hasLocation = true;
3184 result.location_ = value;
3185 return this;
3186 }
3187 public Builder SetLocation(global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder builderForValue) {
3188 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
3189 result.hasLocation = true;
3190 result.location_ = builderForValue.Build();
3191 return this;
3192 }
3193 public Builder MergeLocation(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
3194 pb::ThrowHelper.ThrowIfNull(value, "value");
3195 if (result.HasLocation &&
3196 result.location_ != global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance) {
3197 result.location_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder(result.location_).MergeFrom(value).BuildPartial();
3198 } else {
3199 result.location_ = value;
3200 }
3201 result.hasLocation = true;
3202 return this;
3203 }
3204 public Builder ClearLocation() {
3205 result.hasLocation = false;
3206 result.location_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
3207 return this;
3208 }
3209
3210 public pbc::IPopsicleList<float> BoundingSphereList {
3211 get { return result.boundingSphere_; }
3212 }
3213 public int BoundingSphereCount {
3214 get { return result.BoundingSphereCount; }
3215 }
3216 public float GetBoundingSphere(int index) {
3217 return result.GetBoundingSphere(index);
3218 }
3219 public Builder SetBoundingSphere(int index, float value) {
3220 result.boundingSphere_[index] = value;
3221 return this;
3222 }
3223 public Builder AddBoundingSphere(float value) {
3224 result.boundingSphere_.Add(value);
3225 return this;
3226 }
3227 public Builder AddRangeBoundingSphere(scg::IEnumerable<float> values) {
3228 base.AddRange(values, result.boundingSphere_);
3229 return this;
3230 }
3231 public Builder ClearBoundingSphere() {
3232 result.boundingSphere_.Clear();
3233 return this;
3234 }
3235 }
3236 static RetObj() {
3237 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
3238 }
3239 }
3240
3241 public sealed partial class DelObj : pb::GeneratedMessage<DelObj, DelObj.Builder> {
3242 private static readonly DelObj defaultInstance = new Builder().BuildPartial();
3243 public static DelObj DefaultInstance {
3244 get { return defaultInstance; }
3245 }
3246
3247 public override DelObj DefaultInstanceForType {
3248 get { return defaultInstance; }
3249 }
3250
3251 protected override DelObj ThisMessage {
3252 get { return this; }
3253 }
3254
3255 public static pbd::MessageDescriptor Descriptor {
3256 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor; }
3257 }
3258
3259 protected override pb::FieldAccess.FieldAccessorTable<DelObj, DelObj.Builder> InternalFieldAccessors {
3260 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__FieldAccessorTable; }
3261 }
3262
3263 public const int ObjectReferenceFieldNumber = 2;
3264 private bool hasObjectReference;
3265 private pb::ByteString objectReference_ = pb::ByteString.Empty;
3266 public bool HasObjectReference {
3267 get { return hasObjectReference; }
3268 }
3269 public pb::ByteString ObjectReference {
3270 get { return objectReference_; }
3271 }
3272
3273 public override bool IsInitialized {
3274 get {
3275 return true;
3276 }
3277 }
3278
3279 public override void WriteTo(pb::CodedOutputStream output) {
3280 if (HasObjectReference) {
3281 output.WriteBytes(2, ObjectReference);
3282 }
3283 UnknownFields.WriteTo(output);
3284 }
3285
3286 private int memoizedSerializedSize = -1;
3287 public override int SerializedSize {
3288 get {
3289 int size = memoizedSerializedSize;
3290 if (size != -1) return size;
3291
3292 size = 0;
3293 if (HasObjectReference) {
3294 size += pb::CodedOutputStream.ComputeBytesSize(2, ObjectReference);
3295 }
3296 size += UnknownFields.SerializedSize;
3297 memoizedSerializedSize = size;
3298 return size;
3299 }
3300 }
3301
3302 public static DelObj ParseFrom(pb::ByteString data) {
3303 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3304 }
3305 public static DelObj ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3306 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3307 }
3308 public static DelObj ParseFrom(byte[] data) {
3309 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3310 }
3311 public static DelObj ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3312 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3313 }
3314 public static DelObj ParseFrom(global::System.IO.Stream input) {
3315 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3316 }
3317 public static DelObj ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3318 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3319 }
3320 public static DelObj ParseDelimitedFrom(global::System.IO.Stream input) {
3321 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3322 }
3323 public static DelObj ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3324 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3325 }
3326 public static DelObj ParseFrom(pb::CodedInputStream input) {
3327 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3328 }
3329 public static DelObj ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3330 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3331 }
3332 public static Builder CreateBuilder() { return new Builder(); }
3333 public override Builder ToBuilder() { return CreateBuilder(this); }
3334 public override Builder CreateBuilderForType() { return new Builder(); }
3335 public static Builder CreateBuilder(DelObj prototype) {
3336 return (Builder) new Builder().MergeFrom(prototype);
3337 }
3338
3339 public sealed partial class Builder : pb::GeneratedBuilder<DelObj, Builder> {
3340 protected override Builder ThisBuilder {
3341 get { return this; }
3342 }
3343 public Builder() {}
3344
3345 DelObj result = new DelObj();
3346
3347 protected override DelObj MessageBeingBuilt {
3348 get { return result; }
3349 }
3350
3351 public override Builder Clear() {
3352 result = new DelObj();
3353 return this;
3354 }
3355
3356 public override Builder Clone() {
3357 return new Builder().MergeFrom(result);
3358 }
3359
3360 public override pbd::MessageDescriptor DescriptorForType {
3361 get { return global::Sirikata.Protocol._PBJ_Internal.DelObj.Descriptor; }
3362 }
3363
3364 public override DelObj DefaultInstanceForType {
3365 get { return global::Sirikata.Protocol._PBJ_Internal.DelObj.DefaultInstance; }
3366 }
3367
3368 public override DelObj BuildPartial() {
3369 if (result == null) {
3370 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3371 }
3372 DelObj returnMe = result;
3373 result = null;
3374 return returnMe;
3375 }
3376
3377 public override Builder MergeFrom(pb::IMessage other) {
3378 if (other is DelObj) {
3379 return MergeFrom((DelObj) other);
3380 } else {
3381 base.MergeFrom(other);
3382 return this;
3383 }
3384 }
3385
3386 public override Builder MergeFrom(DelObj other) {
3387 if (other == global::Sirikata.Protocol._PBJ_Internal.DelObj.DefaultInstance) return this;
3388 if (other.HasObjectReference) {
3389 ObjectReference = other.ObjectReference;
3390 }
3391 this.MergeUnknownFields(other.UnknownFields);
3392 return this;
3393 }
3394
3395 public override Builder MergeFrom(pb::CodedInputStream input) {
3396 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3397 }
3398
3399 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3400 pb::UnknownFieldSet.Builder unknownFields = null;
3401 while (true) {
3402 uint tag = input.ReadTag();
3403 switch (tag) {
3404 case 0: {
3405 if (unknownFields != null) {
3406 this.UnknownFields = unknownFields.Build();
3407 }
3408 return this;
3409 }
3410 default: {
3411 if (pb::WireFormat.IsEndGroupTag(tag)) {
3412 if (unknownFields != null) {
3413 this.UnknownFields = unknownFields.Build();
3414 }
3415 return this;
3416 }
3417 if (unknownFields == null) {
3418 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3419 }
3420 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
3421 break;
3422 }
3423 case 18: {
3424 ObjectReference = input.ReadBytes();
3425 break;
3426 }
3427 }
3428 }
3429 }
3430
3431
3432 public bool HasObjectReference {
3433 get { return result.HasObjectReference; }
3434 }
3435 public pb::ByteString ObjectReference {
3436 get { return result.ObjectReference; }
3437 set { SetObjectReference(value); }
3438 }
3439 public Builder SetObjectReference(pb::ByteString value) {
3440 pb::ThrowHelper.ThrowIfNull(value, "value");
3441 result.hasObjectReference = true;
3442 result.objectReference_ = value;
3443 return this;
3444 }
3445 public Builder ClearObjectReference() {
3446 result.hasObjectReference = false;
3447 result.objectReference_ = pb::ByteString.Empty;
3448 return this;
3449 }
3450 }
3451 static DelObj() {
3452 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
3453 }
3454 }
3455
3456 public sealed partial class NewProxQuery : pb::GeneratedMessage<NewProxQuery, NewProxQuery.Builder> {
3457 private static readonly NewProxQuery defaultInstance = new Builder().BuildPartial();
3458 public static NewProxQuery DefaultInstance {
3459 get { return defaultInstance; }
3460 }
3461
3462 public override NewProxQuery DefaultInstanceForType {
3463 get { return defaultInstance; }
3464 }
3465
3466 protected override NewProxQuery ThisMessage {
3467 get { return this; }
3468 }
3469
3470 public static pbd::MessageDescriptor Descriptor {
3471 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor; }
3472 }
3473
3474 protected override pb::FieldAccess.FieldAccessorTable<NewProxQuery, NewProxQuery.Builder> InternalFieldAccessors {
3475 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__FieldAccessorTable; }
3476 }
3477
3478 public const int QueryIdFieldNumber = 2;
3479 private bool hasQueryId;
3480 private uint queryId_ = 0;
3481 public bool HasQueryId {
3482 get { return hasQueryId; }
3483 }
3484 [global::System.CLSCompliant(false)]
3485 public uint QueryId {
3486 get { return queryId_; }
3487 }
3488
3489 public const int StatelessFieldNumber = 3;
3490 private bool hasStateless;
3491 private bool stateless_ = false;
3492 public bool HasStateless {
3493 get { return hasStateless; }
3494 }
3495 public bool Stateless {
3496 get { return stateless_; }
3497 }
3498
3499 public const int RelativeCenterFieldNumber = 4;
3500 private int relativeCenterMemoizedSerializedSize;
3501 private pbc::PopsicleList<float> relativeCenter_ = new pbc::PopsicleList<float>();
3502 public scg::IList<float> RelativeCenterList {
3503 get { return pbc::Lists.AsReadOnly(relativeCenter_); }
3504 }
3505 public int RelativeCenterCount {
3506 get { return relativeCenter_.Count; }
3507 }
3508 public float GetRelativeCenter(int index) {
3509 return relativeCenter_[index];
3510 }
3511
3512 public const int AbsoluteCenterFieldNumber = 5;
3513 private int absoluteCenterMemoizedSerializedSize;
3514 private pbc::PopsicleList<double> absoluteCenter_ = new pbc::PopsicleList<double>();
3515 public scg::IList<double> AbsoluteCenterList {
3516 get { return pbc::Lists.AsReadOnly(absoluteCenter_); }
3517 }
3518 public int AbsoluteCenterCount {
3519 get { return absoluteCenter_.Count; }
3520 }
3521 public double GetAbsoluteCenter(int index) {
3522 return absoluteCenter_[index];
3523 }
3524
3525 public const int MaxRadiusFieldNumber = 6;
3526 private bool hasMaxRadius;
3527 private float maxRadius_ = 0F;
3528 public bool HasMaxRadius {
3529 get { return hasMaxRadius; }
3530 }
3531 public float MaxRadius {
3532 get { return maxRadius_; }
3533 }
3534
3535 public const int MinSolidAngleFieldNumber = 7;
3536 private bool hasMinSolidAngle;
3537 private float minSolidAngle_ = 0F;
3538 public bool HasMinSolidAngle {
3539 get { return hasMinSolidAngle; }
3540 }
3541 public float MinSolidAngle {
3542 get { return minSolidAngle_; }
3543 }
3544
3545 public override bool IsInitialized {
3546 get {
3547 return true;
3548 }
3549 }
3550
3551 public override void WriteTo(pb::CodedOutputStream output) {
3552 if (HasQueryId) {
3553 output.WriteUInt32(2, QueryId);
3554 }
3555 if (HasStateless) {
3556 output.WriteBool(3, Stateless);
3557 }
3558 if (relativeCenter_.Count > 0) {
3559 output.WriteRawVarint32(34);
3560 output.WriteRawVarint32((uint) relativeCenterMemoizedSerializedSize);
3561 foreach (float element in relativeCenter_) {
3562 output.WriteFloatNoTag(element);
3563 }
3564 }
3565 if (absoluteCenter_.Count > 0) {
3566 output.WriteRawVarint32(42);
3567 output.WriteRawVarint32((uint) absoluteCenterMemoizedSerializedSize);
3568 foreach (double element in absoluteCenter_) {
3569 output.WriteDoubleNoTag(element);
3570 }
3571 }
3572 if (HasMaxRadius) {
3573 output.WriteFloat(6, MaxRadius);
3574 }
3575 if (HasMinSolidAngle) {
3576 output.WriteFloat(7, MinSolidAngle);
3577 }
3578 UnknownFields.WriteTo(output);
3579 }
3580
3581 private int memoizedSerializedSize = -1;
3582 public override int SerializedSize {
3583 get {
3584 int size = memoizedSerializedSize;
3585 if (size != -1) return size;
3586
3587 size = 0;
3588 if (HasQueryId) {
3589 size += pb::CodedOutputStream.ComputeUInt32Size(2, QueryId);
3590 }
3591 if (HasStateless) {
3592 size += pb::CodedOutputStream.ComputeBoolSize(3, Stateless);
3593 }
3594 {
3595 int dataSize = 0;
3596 dataSize = 4 * relativeCenter_.Count;
3597 size += dataSize;
3598 if (relativeCenter_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
3599 relativeCenterMemoizedSerializedSize = dataSize;
3600 }
3601 {
3602 int dataSize = 0;
3603 dataSize = 8 * absoluteCenter_.Count;
3604 size += dataSize;
3605 if (absoluteCenter_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
3606 absoluteCenterMemoizedSerializedSize = dataSize;
3607 }
3608 if (HasMaxRadius) {
3609 size += pb::CodedOutputStream.ComputeFloatSize(6, MaxRadius);
3610 }
3611 if (HasMinSolidAngle) {
3612 size += pb::CodedOutputStream.ComputeFloatSize(7, MinSolidAngle);
3613 }
3614 size += UnknownFields.SerializedSize;
3615 memoizedSerializedSize = size;
3616 return size;
3617 }
3618 }
3619
3620 public static NewProxQuery ParseFrom(pb::ByteString data) {
3621 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3622 }
3623 public static NewProxQuery ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3624 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3625 }
3626 public static NewProxQuery ParseFrom(byte[] data) {
3627 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3628 }
3629 public static NewProxQuery ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3630 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3631 }
3632 public static NewProxQuery ParseFrom(global::System.IO.Stream input) {
3633 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3634 }
3635 public static NewProxQuery ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3636 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3637 }
3638 public static NewProxQuery ParseDelimitedFrom(global::System.IO.Stream input) {
3639 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3640 }
3641 public static NewProxQuery ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3642 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3643 }
3644 public static NewProxQuery ParseFrom(pb::CodedInputStream input) {
3645 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3646 }
3647 public static NewProxQuery ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3648 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3649 }
3650 public static Builder CreateBuilder() { return new Builder(); }
3651 public override Builder ToBuilder() { return CreateBuilder(this); }
3652 public override Builder CreateBuilderForType() { return new Builder(); }
3653 public static Builder CreateBuilder(NewProxQuery prototype) {
3654 return (Builder) new Builder().MergeFrom(prototype);
3655 }
3656
3657 public sealed partial class Builder : pb::GeneratedBuilder<NewProxQuery, Builder> {
3658 protected override Builder ThisBuilder {
3659 get { return this; }
3660 }
3661 public Builder() {}
3662
3663 NewProxQuery result = new NewProxQuery();
3664
3665 protected override NewProxQuery MessageBeingBuilt {
3666 get { return result; }
3667 }
3668
3669 public override Builder Clear() {
3670 result = new NewProxQuery();
3671 return this;
3672 }
3673
3674 public override Builder Clone() {
3675 return new Builder().MergeFrom(result);
3676 }
3677
3678 public override pbd::MessageDescriptor DescriptorForType {
3679 get { return global::Sirikata.Protocol._PBJ_Internal.NewProxQuery.Descriptor; }
3680 }
3681
3682 public override NewProxQuery DefaultInstanceForType {
3683 get { return global::Sirikata.Protocol._PBJ_Internal.NewProxQuery.DefaultInstance; }
3684 }
3685
3686 public override NewProxQuery BuildPartial() {
3687 if (result == null) {
3688 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3689 }
3690 result.relativeCenter_.MakeReadOnly();
3691 result.absoluteCenter_.MakeReadOnly();
3692 NewProxQuery returnMe = result;
3693 result = null;
3694 return returnMe;
3695 }
3696
3697 public override Builder MergeFrom(pb::IMessage other) {
3698 if (other is NewProxQuery) {
3699 return MergeFrom((NewProxQuery) other);
3700 } else {
3701 base.MergeFrom(other);
3702 return this;
3703 }
3704 }
3705
3706 public override Builder MergeFrom(NewProxQuery other) {
3707 if (other == global::Sirikata.Protocol._PBJ_Internal.NewProxQuery.DefaultInstance) return this;
3708 if (other.HasQueryId) {
3709 QueryId = other.QueryId;
3710 }
3711 if (other.HasStateless) {
3712 Stateless = other.Stateless;
3713 }
3714 if (other.relativeCenter_.Count != 0) {
3715 base.AddRange(other.relativeCenter_, result.relativeCenter_);
3716 }
3717 if (other.absoluteCenter_.Count != 0) {
3718 base.AddRange(other.absoluteCenter_, result.absoluteCenter_);
3719 }
3720 if (other.HasMaxRadius) {
3721 MaxRadius = other.MaxRadius;
3722 }
3723 if (other.HasMinSolidAngle) {
3724 MinSolidAngle = other.MinSolidAngle;
3725 }
3726 this.MergeUnknownFields(other.UnknownFields);
3727 return this;
3728 }
3729
3730 public override Builder MergeFrom(pb::CodedInputStream input) {
3731 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3732 }
3733
3734 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3735 pb::UnknownFieldSet.Builder unknownFields = null;
3736 while (true) {
3737 uint tag = input.ReadTag();
3738 switch (tag) {
3739 case 0: {
3740 if (unknownFields != null) {
3741 this.UnknownFields = unknownFields.Build();
3742 }
3743 return this;
3744 }
3745 default: {
3746 if (pb::WireFormat.IsEndGroupTag(tag)) {
3747 if (unknownFields != null) {
3748 this.UnknownFields = unknownFields.Build();
3749 }
3750 return this;
3751 }
3752 if (unknownFields == null) {
3753 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3754 }
3755 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
3756 break;
3757 }
3758 case 16: {
3759 QueryId = input.ReadUInt32();
3760 break;
3761 }
3762 case 24: {
3763 Stateless = input.ReadBool();
3764 break;
3765 }
3766 case 34: {
3767 int length = input.ReadInt32();
3768 int limit = input.PushLimit(length);
3769 while (!input.ReachedLimit) {
3770 AddRelativeCenter(input.ReadFloat());
3771 }
3772 input.PopLimit(limit);
3773 break;
3774 }
3775 case 42: {
3776 int length = input.ReadInt32();
3777 int limit = input.PushLimit(length);
3778 while (!input.ReachedLimit) {
3779 AddAbsoluteCenter(input.ReadDouble());
3780 }
3781 input.PopLimit(limit);
3782 break;
3783 }
3784 case 53: {
3785 MaxRadius = input.ReadFloat();
3786 break;
3787 }
3788 case 61: {
3789 MinSolidAngle = input.ReadFloat();
3790 break;
3791 }
3792 }
3793 }
3794 }
3795
3796
3797 public bool HasQueryId {
3798 get { return result.HasQueryId; }
3799 }
3800 [global::System.CLSCompliant(false)]
3801 public uint QueryId {
3802 get { return result.QueryId; }
3803 set { SetQueryId(value); }
3804 }
3805 [global::System.CLSCompliant(false)]
3806 public Builder SetQueryId(uint value) {
3807 result.hasQueryId = true;
3808 result.queryId_ = value;
3809 return this;
3810 }
3811 public Builder ClearQueryId() {
3812 result.hasQueryId = false;
3813 result.queryId_ = 0;
3814 return this;
3815 }
3816
3817 public bool HasStateless {
3818 get { return result.HasStateless; }
3819 }
3820 public bool Stateless {
3821 get { return result.Stateless; }
3822 set { SetStateless(value); }
3823 }
3824 public Builder SetStateless(bool value) {
3825 result.hasStateless = true;
3826 result.stateless_ = value;
3827 return this;
3828 }
3829 public Builder ClearStateless() {
3830 result.hasStateless = false;
3831 result.stateless_ = false;
3832 return this;
3833 }
3834
3835 public pbc::IPopsicleList<float> RelativeCenterList {
3836 get { return result.relativeCenter_; }
3837 }
3838 public int RelativeCenterCount {
3839 get { return result.RelativeCenterCount; }
3840 }
3841 public float GetRelativeCenter(int index) {
3842 return result.GetRelativeCenter(index);
3843 }
3844 public Builder SetRelativeCenter(int index, float value) {
3845 result.relativeCenter_[index] = value;
3846 return this;
3847 }
3848 public Builder AddRelativeCenter(float value) {
3849 result.relativeCenter_.Add(value);
3850 return this;
3851 }
3852 public Builder AddRangeRelativeCenter(scg::IEnumerable<float> values) {
3853 base.AddRange(values, result.relativeCenter_);
3854 return this;
3855 }
3856 public Builder ClearRelativeCenter() {
3857 result.relativeCenter_.Clear();
3858 return this;
3859 }
3860
3861 public pbc::IPopsicleList<double> AbsoluteCenterList {
3862 get { return result.absoluteCenter_; }
3863 }
3864 public int AbsoluteCenterCount {
3865 get { return result.AbsoluteCenterCount; }
3866 }
3867 public double GetAbsoluteCenter(int index) {
3868 return result.GetAbsoluteCenter(index);
3869 }
3870 public Builder SetAbsoluteCenter(int index, double value) {
3871 result.absoluteCenter_[index] = value;
3872 return this;
3873 }
3874 public Builder AddAbsoluteCenter(double value) {
3875 result.absoluteCenter_.Add(value);
3876 return this;
3877 }
3878 public Builder AddRangeAbsoluteCenter(scg::IEnumerable<double> values) {
3879 base.AddRange(values, result.absoluteCenter_);
3880 return this;
3881 }
3882 public Builder ClearAbsoluteCenter() {
3883 result.absoluteCenter_.Clear();
3884 return this;
3885 }
3886
3887 public bool HasMaxRadius {
3888 get { return result.HasMaxRadius; }
3889 }
3890 public float MaxRadius {
3891 get { return result.MaxRadius; }
3892 set { SetMaxRadius(value); }
3893 }
3894 public Builder SetMaxRadius(float value) {
3895 result.hasMaxRadius = true;
3896 result.maxRadius_ = value;
3897 return this;
3898 }
3899 public Builder ClearMaxRadius() {
3900 result.hasMaxRadius = false;
3901 result.maxRadius_ = 0F;
3902 return this;
3903 }
3904
3905 public bool HasMinSolidAngle {
3906 get { return result.HasMinSolidAngle; }
3907 }
3908 public float MinSolidAngle {
3909 get { return result.MinSolidAngle; }
3910 set { SetMinSolidAngle(value); }
3911 }
3912 public Builder SetMinSolidAngle(float value) {
3913 result.hasMinSolidAngle = true;
3914 result.minSolidAngle_ = value;
3915 return this;
3916 }
3917 public Builder ClearMinSolidAngle() {
3918 result.hasMinSolidAngle = false;
3919 result.minSolidAngle_ = 0F;
3920 return this;
3921 }
3922 }
3923 static NewProxQuery() {
3924 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
3925 }
3926 }
3927
3928 public sealed partial class ProxCall : pb::GeneratedMessage<ProxCall, ProxCall.Builder> {
3929 private static readonly ProxCall defaultInstance = new Builder().BuildPartial();
3930 public static ProxCall DefaultInstance {
3931 get { return defaultInstance; }
3932 }
3933
3934 public override ProxCall DefaultInstanceForType {
3935 get { return defaultInstance; }
3936 }
3937
3938 protected override ProxCall ThisMessage {
3939 get { return this; }
3940 }
3941
3942 public static pbd::MessageDescriptor Descriptor {
3943 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor; }
3944 }
3945
3946 protected override pb::FieldAccess.FieldAccessorTable<ProxCall, ProxCall.Builder> InternalFieldAccessors {
3947 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__FieldAccessorTable; }
3948 }
3949
3950 #region Nested types
3951 public static class Types {
3952 public enum ProximityEvent {
3953 EXITED_PROXIMITY = 0,
3954 ENTERED_PROXIMITY = 1,
3955 STATELESS_PROXIMITY = 2,
3956 }
3957
3958 }
3959 #endregion
3960
3961 public const int QueryIdFieldNumber = 2;
3962 private bool hasQueryId;
3963 private uint queryId_ = 0;
3964 public bool HasQueryId {
3965 get { return hasQueryId; }
3966 }
3967 [global::System.CLSCompliant(false)]
3968 public uint QueryId {
3969 get { return queryId_; }
3970 }
3971
3972 public const int ProximateObjectFieldNumber = 3;
3973 private bool hasProximateObject;
3974 private pb::ByteString proximateObject_ = pb::ByteString.Empty;
3975 public bool HasProximateObject {
3976 get { return hasProximateObject; }
3977 }
3978 public pb::ByteString ProximateObject {
3979 get { return proximateObject_; }
3980 }
3981
3982 public const int ProximityEventFieldNumber = 4;
3983 private bool hasProximityEvent;
3984 private global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent proximityEvent_ = global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent.EXITED_PROXIMITY;
3985 public bool HasProximityEvent {
3986 get { return hasProximityEvent; }
3987 }
3988 public global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent ProximityEvent {
3989 get { return proximityEvent_; }
3990 }
3991
3992 public override bool IsInitialized {
3993 get {
3994 if (!hasQueryId) return false;
3995 if (!hasProximateObject) return false;
3996 if (!hasProximityEvent) return false;
3997 return true;
3998 }
3999 }
4000
4001 public override void WriteTo(pb::CodedOutputStream output) {
4002 if (HasQueryId) {
4003 output.WriteUInt32(2, QueryId);
4004 }
4005 if (HasProximateObject) {
4006 output.WriteBytes(3, ProximateObject);
4007 }
4008 if (HasProximityEvent) {
4009 output.WriteEnum(4, (int) ProximityEvent);
4010 }
4011 UnknownFields.WriteTo(output);
4012 }
4013
4014 private int memoizedSerializedSize = -1;
4015 public override int SerializedSize {
4016 get {
4017 int size = memoizedSerializedSize;
4018 if (size != -1) return size;
4019
4020 size = 0;
4021 if (HasQueryId) {
4022 size += pb::CodedOutputStream.ComputeUInt32Size(2, QueryId);
4023 }
4024 if (HasProximateObject) {
4025 size += pb::CodedOutputStream.ComputeBytesSize(3, ProximateObject);
4026 }
4027 if (HasProximityEvent) {
4028 size += pb::CodedOutputStream.ComputeEnumSize(4, (int) ProximityEvent);
4029 }
4030 size += UnknownFields.SerializedSize;
4031 memoizedSerializedSize = size;
4032 return size;
4033 }
4034 }
4035
4036 public static ProxCall ParseFrom(pb::ByteString data) {
4037 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4038 }
4039 public static ProxCall ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4040 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4041 }
4042 public static ProxCall ParseFrom(byte[] data) {
4043 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4044 }
4045 public static ProxCall ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4046 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4047 }
4048 public static ProxCall ParseFrom(global::System.IO.Stream input) {
4049 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4050 }
4051 public static ProxCall ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4052 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4053 }
4054 public static ProxCall ParseDelimitedFrom(global::System.IO.Stream input) {
4055 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4056 }
4057 public static ProxCall ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4058 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4059 }
4060 public static ProxCall ParseFrom(pb::CodedInputStream input) {
4061 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4062 }
4063 public static ProxCall ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4064 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4065 }
4066 public static Builder CreateBuilder() { return new Builder(); }
4067 public override Builder ToBuilder() { return CreateBuilder(this); }
4068 public override Builder CreateBuilderForType() { return new Builder(); }
4069 public static Builder CreateBuilder(ProxCall prototype) {
4070 return (Builder) new Builder().MergeFrom(prototype);
4071 }
4072
4073 public sealed partial class Builder : pb::GeneratedBuilder<ProxCall, Builder> {
4074 protected override Builder ThisBuilder {
4075 get { return this; }
4076 }
4077 public Builder() {}
4078
4079 ProxCall result = new ProxCall();
4080
4081 protected override ProxCall MessageBeingBuilt {
4082 get { return result; }
4083 }
4084
4085 public override Builder Clear() {
4086 result = new ProxCall();
4087 return this;
4088 }
4089
4090 public override Builder Clone() {
4091 return new Builder().MergeFrom(result);
4092 }
4093
4094 public override pbd::MessageDescriptor DescriptorForType {
4095 get { return global::Sirikata.Protocol._PBJ_Internal.ProxCall.Descriptor; }
4096 }
4097
4098 public override ProxCall DefaultInstanceForType {
4099 get { return global::Sirikata.Protocol._PBJ_Internal.ProxCall.DefaultInstance; }
4100 }
4101
4102 public override ProxCall BuildPartial() {
4103 if (result == null) {
4104 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4105 }
4106 ProxCall returnMe = result;
4107 result = null;
4108 return returnMe;
4109 }
4110
4111 public override Builder MergeFrom(pb::IMessage other) {
4112 if (other is ProxCall) {
4113 return MergeFrom((ProxCall) other);
4114 } else {
4115 base.MergeFrom(other);
4116 return this;
4117 }
4118 }
4119
4120 public override Builder MergeFrom(ProxCall other) {
4121 if (other == global::Sirikata.Protocol._PBJ_Internal.ProxCall.DefaultInstance) return this;
4122 if (other.HasQueryId) {
4123 QueryId = other.QueryId;
4124 }
4125 if (other.HasProximateObject) {
4126 ProximateObject = other.ProximateObject;
4127 }
4128 if (other.HasProximityEvent) {
4129 ProximityEvent = other.ProximityEvent;
4130 }
4131 this.MergeUnknownFields(other.UnknownFields);
4132 return this;
4133 }
4134
4135 public override Builder MergeFrom(pb::CodedInputStream input) {
4136 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4137 }
4138
4139 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4140 pb::UnknownFieldSet.Builder unknownFields = null;
4141 while (true) {
4142 uint tag = input.ReadTag();
4143 switch (tag) {
4144 case 0: {
4145 if (unknownFields != null) {
4146 this.UnknownFields = unknownFields.Build();
4147 }
4148 return this;
4149 }
4150 default: {
4151 if (pb::WireFormat.IsEndGroupTag(tag)) {
4152 if (unknownFields != null) {
4153 this.UnknownFields = unknownFields.Build();
4154 }
4155 return this;
4156 }
4157 if (unknownFields == null) {
4158 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4159 }
4160 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
4161 break;
4162 }
4163 case 16: {
4164 QueryId = input.ReadUInt32();
4165 break;
4166 }
4167 case 26: {
4168 ProximateObject = input.ReadBytes();
4169 break;
4170 }
4171 case 32: {
4172 int rawValue = input.ReadEnum();
4173 if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent), rawValue)) {
4174 if (unknownFields == null) {
4175 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4176 }
4177 unknownFields.MergeVarintField(4, (ulong) rawValue);
4178 } else {
4179 ProximityEvent = (global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent) rawValue;
4180 }
4181 break;
4182 }
4183 }
4184 }
4185 }
4186
4187
4188 public bool HasQueryId {
4189 get { return result.HasQueryId; }
4190 }
4191 [global::System.CLSCompliant(false)]
4192 public uint QueryId {
4193 get { return result.QueryId; }
4194 set { SetQueryId(value); }
4195 }
4196 [global::System.CLSCompliant(false)]
4197 public Builder SetQueryId(uint value) {
4198 result.hasQueryId = true;
4199 result.queryId_ = value;
4200 return this;
4201 }
4202 public Builder ClearQueryId() {
4203 result.hasQueryId = false;
4204 result.queryId_ = 0;
4205 return this;
4206 }
4207
4208 public bool HasProximateObject {
4209 get { return result.HasProximateObject; }
4210 }
4211 public pb::ByteString ProximateObject {
4212 get { return result.ProximateObject; }
4213 set { SetProximateObject(value); }
4214 }
4215 public Builder SetProximateObject(pb::ByteString value) {
4216 pb::ThrowHelper.ThrowIfNull(value, "value");
4217 result.hasProximateObject = true;
4218 result.proximateObject_ = value;
4219 return this;
4220 }
4221 public Builder ClearProximateObject() {
4222 result.hasProximateObject = false;
4223 result.proximateObject_ = pb::ByteString.Empty;
4224 return this;
4225 }
4226
4227 public bool HasProximityEvent {
4228 get { return result.HasProximityEvent; }
4229 }
4230 public global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent ProximityEvent {
4231 get { return result.ProximityEvent; }
4232 set { SetProximityEvent(value); }
4233 }
4234 public Builder SetProximityEvent(global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent value) {
4235 result.hasProximityEvent = true;
4236 result.proximityEvent_ = value;
4237 return this;
4238 }
4239 public Builder ClearProximityEvent() {
4240 result.hasProximityEvent = false;
4241 result.proximityEvent_ = global::Sirikata.Protocol._PBJ_Internal.ProxCall.Types.ProximityEvent.EXITED_PROXIMITY;
4242 return this;
4243 }
4244 }
4245 static ProxCall() {
4246 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
4247 }
4248 }
4249
4250 public sealed partial class DelProxQuery : pb::GeneratedMessage<DelProxQuery, DelProxQuery.Builder> {
4251 private static readonly DelProxQuery defaultInstance = new Builder().BuildPartial();
4252 public static DelProxQuery DefaultInstance {
4253 get { return defaultInstance; }
4254 }
4255
4256 public override DelProxQuery DefaultInstanceForType {
4257 get { return defaultInstance; }
4258 }
4259
4260 protected override DelProxQuery ThisMessage {
4261 get { return this; }
4262 }
4263
4264 public static pbd::MessageDescriptor Descriptor {
4265 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor; }
4266 }
4267
4268 protected override pb::FieldAccess.FieldAccessorTable<DelProxQuery, DelProxQuery.Builder> InternalFieldAccessors {
4269 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__FieldAccessorTable; }
4270 }
4271
4272 public const int QueryIdFieldNumber = 2;
4273 private bool hasQueryId;
4274 private uint queryId_ = 0;
4275 public bool HasQueryId {
4276 get { return hasQueryId; }
4277 }
4278 [global::System.CLSCompliant(false)]
4279 public uint QueryId {
4280 get { return queryId_; }
4281 }
4282
4283 public override bool IsInitialized {
4284 get {
4285 return true;
4286 }
4287 }
4288
4289 public override void WriteTo(pb::CodedOutputStream output) {
4290 if (HasQueryId) {
4291 output.WriteUInt32(2, QueryId);
4292 }
4293 UnknownFields.WriteTo(output);
4294 }
4295
4296 private int memoizedSerializedSize = -1;
4297 public override int SerializedSize {
4298 get {
4299 int size = memoizedSerializedSize;
4300 if (size != -1) return size;
4301
4302 size = 0;
4303 if (HasQueryId) {
4304 size += pb::CodedOutputStream.ComputeUInt32Size(2, QueryId);
4305 }
4306 size += UnknownFields.SerializedSize;
4307 memoizedSerializedSize = size;
4308 return size;
4309 }
4310 }
4311
4312 public static DelProxQuery ParseFrom(pb::ByteString data) {
4313 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4314 }
4315 public static DelProxQuery ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4316 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4317 }
4318 public static DelProxQuery ParseFrom(byte[] data) {
4319 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4320 }
4321 public static DelProxQuery ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4322 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4323 }
4324 public static DelProxQuery ParseFrom(global::System.IO.Stream input) {
4325 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4326 }
4327 public static DelProxQuery ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4328 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4329 }
4330 public static DelProxQuery ParseDelimitedFrom(global::System.IO.Stream input) {
4331 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4332 }
4333 public static DelProxQuery ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4334 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4335 }
4336 public static DelProxQuery ParseFrom(pb::CodedInputStream input) {
4337 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4338 }
4339 public static DelProxQuery ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4340 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4341 }
4342 public static Builder CreateBuilder() { return new Builder(); }
4343 public override Builder ToBuilder() { return CreateBuilder(this); }
4344 public override Builder CreateBuilderForType() { return new Builder(); }
4345 public static Builder CreateBuilder(DelProxQuery prototype) {
4346 return (Builder) new Builder().MergeFrom(prototype);
4347 }
4348
4349 public sealed partial class Builder : pb::GeneratedBuilder<DelProxQuery, Builder> {
4350 protected override Builder ThisBuilder {
4351 get { return this; }
4352 }
4353 public Builder() {}
4354
4355 DelProxQuery result = new DelProxQuery();
4356
4357 protected override DelProxQuery MessageBeingBuilt {
4358 get { return result; }
4359 }
4360
4361 public override Builder Clear() {
4362 result = new DelProxQuery();
4363 return this;
4364 }
4365
4366 public override Builder Clone() {
4367 return new Builder().MergeFrom(result);
4368 }
4369
4370 public override pbd::MessageDescriptor DescriptorForType {
4371 get { return global::Sirikata.Protocol._PBJ_Internal.DelProxQuery.Descriptor; }
4372 }
4373
4374 public override DelProxQuery DefaultInstanceForType {
4375 get { return global::Sirikata.Protocol._PBJ_Internal.DelProxQuery.DefaultInstance; }
4376 }
4377
4378 public override DelProxQuery BuildPartial() {
4379 if (result == null) {
4380 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4381 }
4382 DelProxQuery returnMe = result;
4383 result = null;
4384 return returnMe;
4385 }
4386
4387 public override Builder MergeFrom(pb::IMessage other) {
4388 if (other is DelProxQuery) {
4389 return MergeFrom((DelProxQuery) other);
4390 } else {
4391 base.MergeFrom(other);
4392 return this;
4393 }
4394 }
4395
4396 public override Builder MergeFrom(DelProxQuery other) {
4397 if (other == global::Sirikata.Protocol._PBJ_Internal.DelProxQuery.DefaultInstance) return this;
4398 if (other.HasQueryId) {
4399 QueryId = other.QueryId;
4400 }
4401 this.MergeUnknownFields(other.UnknownFields);
4402 return this;
4403 }
4404
4405 public override Builder MergeFrom(pb::CodedInputStream input) {
4406 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4407 }
4408
4409 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4410 pb::UnknownFieldSet.Builder unknownFields = null;
4411 while (true) {
4412 uint tag = input.ReadTag();
4413 switch (tag) {
4414 case 0: {
4415 if (unknownFields != null) {
4416 this.UnknownFields = unknownFields.Build();
4417 }
4418 return this;
4419 }
4420 default: {
4421 if (pb::WireFormat.IsEndGroupTag(tag)) {
4422 if (unknownFields != null) {
4423 this.UnknownFields = unknownFields.Build();
4424 }
4425 return this;
4426 }
4427 if (unknownFields == null) {
4428 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4429 }
4430 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
4431 break;
4432 }
4433 case 16: {
4434 QueryId = input.ReadUInt32();
4435 break;
4436 }
4437 }
4438 }
4439 }
4440
4441
4442 public bool HasQueryId {
4443 get { return result.HasQueryId; }
4444 }
4445 [global::System.CLSCompliant(false)]
4446 public uint QueryId {
4447 get { return result.QueryId; }
4448 set { SetQueryId(value); }
4449 }
4450 [global::System.CLSCompliant(false)]
4451 public Builder SetQueryId(uint value) {
4452 result.hasQueryId = true;
4453 result.queryId_ = value;
4454 return this;
4455 }
4456 public Builder ClearQueryId() {
4457 result.hasQueryId = false;
4458 result.queryId_ = 0;
4459 return this;
4460 }
4461 }
4462 static DelProxQuery() {
4463 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
4464 }
4465 }
4466
4467 public sealed partial class Vector3fProperty : pb::GeneratedMessage<Vector3fProperty, Vector3fProperty.Builder> {
4468 private static readonly Vector3fProperty defaultInstance = new Builder().BuildPartial();
4469 public static Vector3fProperty DefaultInstance {
4470 get { return defaultInstance; }
4471 }
4472
4473 public override Vector3fProperty DefaultInstanceForType {
4474 get { return defaultInstance; }
4475 }
4476
4477 protected override Vector3fProperty ThisMessage {
4478 get { return this; }
4479 }
4480
4481 public static pbd::MessageDescriptor Descriptor {
4482 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor; }
4483 }
4484
4485 protected override pb::FieldAccess.FieldAccessorTable<Vector3fProperty, Vector3fProperty.Builder> InternalFieldAccessors {
4486 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__FieldAccessorTable; }
4487 }
4488
4489 public const int ValueFieldNumber = 10;
4490 private int valueMemoizedSerializedSize;
4491 private pbc::PopsicleList<float> value_ = new pbc::PopsicleList<float>();
4492 public scg::IList<float> ValueList {
4493 get { return pbc::Lists.AsReadOnly(value_); }
4494 }
4495 public int ValueCount {
4496 get { return value_.Count; }
4497 }
4498 public float GetValue(int index) {
4499 return value_[index];
4500 }
4501
4502 public override bool IsInitialized {
4503 get {
4504 return true;
4505 }
4506 }
4507
4508 public override void WriteTo(pb::CodedOutputStream output) {
4509 if (value_.Count > 0) {
4510 output.WriteRawVarint32(82);
4511 output.WriteRawVarint32((uint) valueMemoizedSerializedSize);
4512 foreach (float element in value_) {
4513 output.WriteFloatNoTag(element);
4514 }
4515 }
4516 UnknownFields.WriteTo(output);
4517 }
4518
4519 private int memoizedSerializedSize = -1;
4520 public override int SerializedSize {
4521 get {
4522 int size = memoizedSerializedSize;
4523 if (size != -1) return size;
4524
4525 size = 0;
4526 {
4527 int dataSize = 0;
4528 dataSize = 4 * value_.Count;
4529 size += dataSize;
4530 if (value_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
4531 valueMemoizedSerializedSize = dataSize;
4532 }
4533 size += UnknownFields.SerializedSize;
4534 memoizedSerializedSize = size;
4535 return size;
4536 }
4537 }
4538
4539 public static Vector3fProperty ParseFrom(pb::ByteString data) {
4540 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4541 }
4542 public static Vector3fProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4543 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4544 }
4545 public static Vector3fProperty ParseFrom(byte[] data) {
4546 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4547 }
4548 public static Vector3fProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4549 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4550 }
4551 public static Vector3fProperty ParseFrom(global::System.IO.Stream input) {
4552 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4553 }
4554 public static Vector3fProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4555 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4556 }
4557 public static Vector3fProperty ParseDelimitedFrom(global::System.IO.Stream input) {
4558 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4559 }
4560 public static Vector3fProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4561 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4562 }
4563 public static Vector3fProperty ParseFrom(pb::CodedInputStream input) {
4564 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4565 }
4566 public static Vector3fProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4567 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4568 }
4569 public static Builder CreateBuilder() { return new Builder(); }
4570 public override Builder ToBuilder() { return CreateBuilder(this); }
4571 public override Builder CreateBuilderForType() { return new Builder(); }
4572 public static Builder CreateBuilder(Vector3fProperty prototype) {
4573 return (Builder) new Builder().MergeFrom(prototype);
4574 }
4575
4576 public sealed partial class Builder : pb::GeneratedBuilder<Vector3fProperty, Builder> {
4577 protected override Builder ThisBuilder {
4578 get { return this; }
4579 }
4580 public Builder() {}
4581
4582 Vector3fProperty result = new Vector3fProperty();
4583
4584 protected override Vector3fProperty MessageBeingBuilt {
4585 get { return result; }
4586 }
4587
4588 public override Builder Clear() {
4589 result = new Vector3fProperty();
4590 return this;
4591 }
4592
4593 public override Builder Clone() {
4594 return new Builder().MergeFrom(result);
4595 }
4596
4597 public override pbd::MessageDescriptor DescriptorForType {
4598 get { return global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty.Descriptor; }
4599 }
4600
4601 public override Vector3fProperty DefaultInstanceForType {
4602 get { return global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty.DefaultInstance; }
4603 }
4604
4605 public override Vector3fProperty BuildPartial() {
4606 if (result == null) {
4607 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4608 }
4609 result.value_.MakeReadOnly();
4610 Vector3fProperty returnMe = result;
4611 result = null;
4612 return returnMe;
4613 }
4614
4615 public override Builder MergeFrom(pb::IMessage other) {
4616 if (other is Vector3fProperty) {
4617 return MergeFrom((Vector3fProperty) other);
4618 } else {
4619 base.MergeFrom(other);
4620 return this;
4621 }
4622 }
4623
4624 public override Builder MergeFrom(Vector3fProperty other) {
4625 if (other == global::Sirikata.Protocol._PBJ_Internal.Vector3fProperty.DefaultInstance) return this;
4626 if (other.value_.Count != 0) {
4627 base.AddRange(other.value_, result.value_);
4628 }
4629 this.MergeUnknownFields(other.UnknownFields);
4630 return this;
4631 }
4632
4633 public override Builder MergeFrom(pb::CodedInputStream input) {
4634 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4635 }
4636
4637 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4638 pb::UnknownFieldSet.Builder unknownFields = null;
4639 while (true) {
4640 uint tag = input.ReadTag();
4641 switch (tag) {
4642 case 0: {
4643 if (unknownFields != null) {
4644 this.UnknownFields = unknownFields.Build();
4645 }
4646 return this;
4647 }
4648 default: {
4649 if (pb::WireFormat.IsEndGroupTag(tag)) {
4650 if (unknownFields != null) {
4651 this.UnknownFields = unknownFields.Build();
4652 }
4653 return this;
4654 }
4655 if (unknownFields == null) {
4656 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4657 }
4658 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
4659 break;
4660 }
4661 case 82: {
4662 int length = input.ReadInt32();
4663 int limit = input.PushLimit(length);
4664 while (!input.ReachedLimit) {
4665 AddValue(input.ReadFloat());
4666 }
4667 input.PopLimit(limit);
4668 break;
4669 }
4670 }
4671 }
4672 }
4673
4674
4675 public pbc::IPopsicleList<float> ValueList {
4676 get { return result.value_; }
4677 }
4678 public int ValueCount {
4679 get { return result.ValueCount; }
4680 }
4681 public float GetValue(int index) {
4682 return result.GetValue(index);
4683 }
4684 public Builder SetValue(int index, float value) {
4685 result.value_[index] = value;
4686 return this;
4687 }
4688 public Builder AddValue(float value) {
4689 result.value_.Add(value);
4690 return this;
4691 }
4692 public Builder AddRangeValue(scg::IEnumerable<float> values) {
4693 base.AddRange(values, result.value_);
4694 return this;
4695 }
4696 public Builder ClearValue() {
4697 result.value_.Clear();
4698 return this;
4699 }
4700 }
4701 static Vector3fProperty() {
4702 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
4703 }
4704 }
4705
4706 public sealed partial class StringProperty : pb::GeneratedMessage<StringProperty, StringProperty.Builder> {
4707 private static readonly StringProperty defaultInstance = new Builder().BuildPartial();
4708 public static StringProperty DefaultInstance {
4709 get { return defaultInstance; }
4710 }
4711
4712 public override StringProperty DefaultInstanceForType {
4713 get { return defaultInstance; }
4714 }
4715
4716 protected override StringProperty ThisMessage {
4717 get { return this; }
4718 }
4719
4720 public static pbd::MessageDescriptor Descriptor {
4721 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor; }
4722 }
4723
4724 protected override pb::FieldAccess.FieldAccessorTable<StringProperty, StringProperty.Builder> InternalFieldAccessors {
4725 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__FieldAccessorTable; }
4726 }
4727
4728 public const int ValueFieldNumber = 10;
4729 private bool hasValue;
4730 private string value_ = "";
4731 public bool HasValue {
4732 get { return hasValue; }
4733 }
4734 public string Value {
4735 get { return value_; }
4736 }
4737
4738 public override bool IsInitialized {
4739 get {
4740 return true;
4741 }
4742 }
4743
4744 public override void WriteTo(pb::CodedOutputStream output) {
4745 if (HasValue) {
4746 output.WriteString(10, Value);
4747 }
4748 UnknownFields.WriteTo(output);
4749 }
4750
4751 private int memoizedSerializedSize = -1;
4752 public override int SerializedSize {
4753 get {
4754 int size = memoizedSerializedSize;
4755 if (size != -1) return size;
4756
4757 size = 0;
4758 if (HasValue) {
4759 size += pb::CodedOutputStream.ComputeStringSize(10, Value);
4760 }
4761 size += UnknownFields.SerializedSize;
4762 memoizedSerializedSize = size;
4763 return size;
4764 }
4765 }
4766
4767 public static StringProperty ParseFrom(pb::ByteString data) {
4768 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4769 }
4770 public static StringProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4771 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4772 }
4773 public static StringProperty ParseFrom(byte[] data) {
4774 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4775 }
4776 public static StringProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4777 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4778 }
4779 public static StringProperty ParseFrom(global::System.IO.Stream input) {
4780 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4781 }
4782 public static StringProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4783 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4784 }
4785 public static StringProperty ParseDelimitedFrom(global::System.IO.Stream input) {
4786 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4787 }
4788 public static StringProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4789 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4790 }
4791 public static StringProperty ParseFrom(pb::CodedInputStream input) {
4792 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4793 }
4794 public static StringProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4795 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4796 }
4797 public static Builder CreateBuilder() { return new Builder(); }
4798 public override Builder ToBuilder() { return CreateBuilder(this); }
4799 public override Builder CreateBuilderForType() { return new Builder(); }
4800 public static Builder CreateBuilder(StringProperty prototype) {
4801 return (Builder) new Builder().MergeFrom(prototype);
4802 }
4803
4804 public sealed partial class Builder : pb::GeneratedBuilder<StringProperty, Builder> {
4805 protected override Builder ThisBuilder {
4806 get { return this; }
4807 }
4808 public Builder() {}
4809
4810 StringProperty result = new StringProperty();
4811
4812 protected override StringProperty MessageBeingBuilt {
4813 get { return result; }
4814 }
4815
4816 public override Builder Clear() {
4817 result = new StringProperty();
4818 return this;
4819 }
4820
4821 public override Builder Clone() {
4822 return new Builder().MergeFrom(result);
4823 }
4824
4825 public override pbd::MessageDescriptor DescriptorForType {
4826 get { return global::Sirikata.Protocol._PBJ_Internal.StringProperty.Descriptor; }
4827 }
4828
4829 public override StringProperty DefaultInstanceForType {
4830 get { return global::Sirikata.Protocol._PBJ_Internal.StringProperty.DefaultInstance; }
4831 }
4832
4833 public override StringProperty BuildPartial() {
4834 if (result == null) {
4835 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4836 }
4837 StringProperty returnMe = result;
4838 result = null;
4839 return returnMe;
4840 }
4841
4842 public override Builder MergeFrom(pb::IMessage other) {
4843 if (other is StringProperty) {
4844 return MergeFrom((StringProperty) other);
4845 } else {
4846 base.MergeFrom(other);
4847 return this;
4848 }
4849 }
4850
4851 public override Builder MergeFrom(StringProperty other) {
4852 if (other == global::Sirikata.Protocol._PBJ_Internal.StringProperty.DefaultInstance) return this;
4853 if (other.HasValue) {
4854 Value = other.Value;
4855 }
4856 this.MergeUnknownFields(other.UnknownFields);
4857 return this;
4858 }
4859
4860 public override Builder MergeFrom(pb::CodedInputStream input) {
4861 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4862 }
4863
4864 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4865 pb::UnknownFieldSet.Builder unknownFields = null;
4866 while (true) {
4867 uint tag = input.ReadTag();
4868 switch (tag) {
4869 case 0: {
4870 if (unknownFields != null) {
4871 this.UnknownFields = unknownFields.Build();
4872 }
4873 return this;
4874 }
4875 default: {
4876 if (pb::WireFormat.IsEndGroupTag(tag)) {
4877 if (unknownFields != null) {
4878 this.UnknownFields = unknownFields.Build();
4879 }
4880 return this;
4881 }
4882 if (unknownFields == null) {
4883 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4884 }
4885 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
4886 break;
4887 }
4888 case 82: {
4889 Value = input.ReadString();
4890 break;
4891 }
4892 }
4893 }
4894 }
4895
4896
4897 public bool HasValue {
4898 get { return result.HasValue; }
4899 }
4900 public string Value {
4901 get { return result.Value; }
4902 set { SetValue(value); }
4903 }
4904 public Builder SetValue(string value) {
4905 pb::ThrowHelper.ThrowIfNull(value, "value");
4906 result.hasValue = true;
4907 result.value_ = value;
4908 return this;
4909 }
4910 public Builder ClearValue() {
4911 result.hasValue = false;
4912 result.value_ = "";
4913 return this;
4914 }
4915 }
4916 static StringProperty() {
4917 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
4918 }
4919 }
4920
4921 public sealed partial class StringMapProperty : pb::GeneratedMessage<StringMapProperty, StringMapProperty.Builder> {
4922 private static readonly StringMapProperty defaultInstance = new Builder().BuildPartial();
4923 public static StringMapProperty DefaultInstance {
4924 get { return defaultInstance; }
4925 }
4926
4927 public override StringMapProperty DefaultInstanceForType {
4928 get { return defaultInstance; }
4929 }
4930
4931 protected override StringMapProperty ThisMessage {
4932 get { return this; }
4933 }
4934
4935 public static pbd::MessageDescriptor Descriptor {
4936 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor; }
4937 }
4938
4939 protected override pb::FieldAccess.FieldAccessorTable<StringMapProperty, StringMapProperty.Builder> InternalFieldAccessors {
4940 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__FieldAccessorTable; }
4941 }
4942
4943 public const int KeysFieldNumber = 2;
4944 private pbc::PopsicleList<string> keys_ = new pbc::PopsicleList<string>();
4945 public scg::IList<string> KeysList {
4946 get { return pbc::Lists.AsReadOnly(keys_); }
4947 }
4948 public int KeysCount {
4949 get { return keys_.Count; }
4950 }
4951 public string GetKeys(int index) {
4952 return keys_[index];
4953 }
4954
4955 public const int ValuesFieldNumber = 3;
4956 private pbc::PopsicleList<string> values_ = new pbc::PopsicleList<string>();
4957 public scg::IList<string> ValuesList {
4958 get { return pbc::Lists.AsReadOnly(values_); }
4959 }
4960 public int ValuesCount {
4961 get { return values_.Count; }
4962 }
4963 public string GetValues(int index) {
4964 return values_[index];
4965 }
4966
4967 public override bool IsInitialized {
4968 get {
4969 return true;
4970 }
4971 }
4972
4973 public override void WriteTo(pb::CodedOutputStream output) {
4974 if (keys_.Count > 0) {
4975 foreach (string element in keys_) {
4976 output.WriteString(2, element);
4977 }
4978 }
4979 if (values_.Count > 0) {
4980 foreach (string element in values_) {
4981 output.WriteString(3, element);
4982 }
4983 }
4984 UnknownFields.WriteTo(output);
4985 }
4986
4987 private int memoizedSerializedSize = -1;
4988 public override int SerializedSize {
4989 get {
4990 int size = memoizedSerializedSize;
4991 if (size != -1) return size;
4992
4993 size = 0;
4994 {
4995 int dataSize = 0;
4996 foreach (string element in KeysList) {
4997 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4998 }
4999 size += dataSize;
5000 size += 1 * keys_.Count;
5001 }
5002 {
5003 int dataSize = 0;
5004 foreach (string element in ValuesList) {
5005 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
5006 }
5007 size += dataSize;
5008 size += 1 * values_.Count;
5009 }
5010 size += UnknownFields.SerializedSize;
5011 memoizedSerializedSize = size;
5012 return size;
5013 }
5014 }
5015
5016 public static StringMapProperty ParseFrom(pb::ByteString data) {
5017 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5018 }
5019 public static StringMapProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5020 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5021 }
5022 public static StringMapProperty ParseFrom(byte[] data) {
5023 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5024 }
5025 public static StringMapProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5026 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5027 }
5028 public static StringMapProperty ParseFrom(global::System.IO.Stream input) {
5029 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5030 }
5031 public static StringMapProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5032 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5033 }
5034 public static StringMapProperty ParseDelimitedFrom(global::System.IO.Stream input) {
5035 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5036 }
5037 public static StringMapProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5038 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5039 }
5040 public static StringMapProperty ParseFrom(pb::CodedInputStream input) {
5041 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5042 }
5043 public static StringMapProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5044 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5045 }
5046 public static Builder CreateBuilder() { return new Builder(); }
5047 public override Builder ToBuilder() { return CreateBuilder(this); }
5048 public override Builder CreateBuilderForType() { return new Builder(); }
5049 public static Builder CreateBuilder(StringMapProperty prototype) {
5050 return (Builder) new Builder().MergeFrom(prototype);
5051 }
5052
5053 public sealed partial class Builder : pb::GeneratedBuilder<StringMapProperty, Builder> {
5054 protected override Builder ThisBuilder {
5055 get { return this; }
5056 }
5057 public Builder() {}
5058
5059 StringMapProperty result = new StringMapProperty();
5060
5061 protected override StringMapProperty MessageBeingBuilt {
5062 get { return result; }
5063 }
5064
5065 public override Builder Clear() {
5066 result = new StringMapProperty();
5067 return this;
5068 }
5069
5070 public override Builder Clone() {
5071 return new Builder().MergeFrom(result);
5072 }
5073
5074 public override pbd::MessageDescriptor DescriptorForType {
5075 get { return global::Sirikata.Protocol._PBJ_Internal.StringMapProperty.Descriptor; }
5076 }
5077
5078 public override StringMapProperty DefaultInstanceForType {
5079 get { return global::Sirikata.Protocol._PBJ_Internal.StringMapProperty.DefaultInstance; }
5080 }
5081
5082 public override StringMapProperty BuildPartial() {
5083 if (result == null) {
5084 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5085 }
5086 result.keys_.MakeReadOnly();
5087 result.values_.MakeReadOnly();
5088 StringMapProperty returnMe = result;
5089 result = null;
5090 return returnMe;
5091 }
5092
5093 public override Builder MergeFrom(pb::IMessage other) {
5094 if (other is StringMapProperty) {
5095 return MergeFrom((StringMapProperty) other);
5096 } else {
5097 base.MergeFrom(other);
5098 return this;
5099 }
5100 }
5101
5102 public override Builder MergeFrom(StringMapProperty other) {
5103 if (other == global::Sirikata.Protocol._PBJ_Internal.StringMapProperty.DefaultInstance) return this;
5104 if (other.keys_.Count != 0) {
5105 base.AddRange(other.keys_, result.keys_);
5106 }
5107 if (other.values_.Count != 0) {
5108 base.AddRange(other.values_, result.values_);
5109 }
5110 this.MergeUnknownFields(other.UnknownFields);
5111 return this;
5112 }
5113
5114 public override Builder MergeFrom(pb::CodedInputStream input) {
5115 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5116 }
5117
5118 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5119 pb::UnknownFieldSet.Builder unknownFields = null;
5120 while (true) {
5121 uint tag = input.ReadTag();
5122 switch (tag) {
5123 case 0: {
5124 if (unknownFields != null) {
5125 this.UnknownFields = unknownFields.Build();
5126 }
5127 return this;
5128 }
5129 default: {
5130 if (pb::WireFormat.IsEndGroupTag(tag)) {
5131 if (unknownFields != null) {
5132 this.UnknownFields = unknownFields.Build();
5133 }
5134 return this;
5135 }
5136 if (unknownFields == null) {
5137 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5138 }
5139 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
5140 break;
5141 }
5142 case 18: {
5143 AddKeys(input.ReadString());
5144 break;
5145 }
5146 case 26: {
5147 AddValues(input.ReadString());
5148 break;
5149 }
5150 }
5151 }
5152 }
5153
5154
5155 public pbc::IPopsicleList<string> KeysList {
5156 get { return result.keys_; }
5157 }
5158 public int KeysCount {
5159 get { return result.KeysCount; }
5160 }
5161 public string GetKeys(int index) {
5162 return result.GetKeys(index);
5163 }
5164 public Builder SetKeys(int index, string value) {
5165 pb::ThrowHelper.ThrowIfNull(value, "value");
5166 result.keys_[index] = value;
5167 return this;
5168 }
5169 public Builder AddKeys(string value) {
5170 pb::ThrowHelper.ThrowIfNull(value, "value");
5171 result.keys_.Add(value);
5172 return this;
5173 }
5174 public Builder AddRangeKeys(scg::IEnumerable<string> values) {
5175 base.AddRange(values, result.keys_);
5176 return this;
5177 }
5178 public Builder ClearKeys() {
5179 result.keys_.Clear();
5180 return this;
5181 }
5182
5183 public pbc::IPopsicleList<string> ValuesList {
5184 get { return result.values_; }
5185 }
5186 public int ValuesCount {
5187 get { return result.ValuesCount; }
5188 }
5189 public string GetValues(int index) {
5190 return result.GetValues(index);
5191 }
5192 public Builder SetValues(int index, string value) {
5193 pb::ThrowHelper.ThrowIfNull(value, "value");
5194 result.values_[index] = value;
5195 return this;
5196 }
5197 public Builder AddValues(string value) {
5198 pb::ThrowHelper.ThrowIfNull(value, "value");
5199 result.values_.Add(value);
5200 return this;
5201 }
5202 public Builder AddRangeValues(scg::IEnumerable<string> values) {
5203 base.AddRange(values, result.values_);
5204 return this;
5205 }
5206 public Builder ClearValues() {
5207 result.values_.Clear();
5208 return this;
5209 }
5210 }
5211 static StringMapProperty() {
5212 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
5213 }
5214 }
5215
5216 public sealed partial class PhysicalParameters : pb::GeneratedMessage<PhysicalParameters, PhysicalParameters.Builder> {
5217 private static readonly PhysicalParameters defaultInstance = new Builder().BuildPartial();
5218 public static PhysicalParameters DefaultInstance {
5219 get { return defaultInstance; }
5220 }
5221
5222 public override PhysicalParameters DefaultInstanceForType {
5223 get { return defaultInstance; }
5224 }
5225
5226 protected override PhysicalParameters ThisMessage {
5227 get { return this; }
5228 }
5229
5230 public static pbd::MessageDescriptor Descriptor {
5231 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor; }
5232 }
5233
5234 protected override pb::FieldAccess.FieldAccessorTable<PhysicalParameters, PhysicalParameters.Builder> InternalFieldAccessors {
5235 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__FieldAccessorTable; }
5236 }
5237
5238 #region Nested types
5239 public static class Types {
5240 public enum Mode {
5241 NONPHYSICAL = 0,
5242 STATIC = 1,
5243 DYNAMICBOX = 2,
5244 DYNAMICSPHERE = 3,
5245 DYNAMICCYLINDER = 4,
5246 CHARACTER = 5,
5247 }
5248
5249 }
5250 #endregion
5251
5252 public const int ModeFieldNumber = 2;
5253 private bool hasMode;
5254 private global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode mode_ = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode.NONPHYSICAL;
5255 public bool HasMode {
5256 get { return hasMode; }
5257 }
5258 public global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode Mode {
5259 get { return mode_; }
5260 }
5261
5262 public const int DensityFieldNumber = 3;
5263 private bool hasDensity;
5264 private float density_ = 0F;
5265 public bool HasDensity {
5266 get { return hasDensity; }
5267 }
5268 public float Density {
5269 get { return density_; }
5270 }
5271
5272 public const int FrictionFieldNumber = 4;
5273 private bool hasFriction;
5274 private float friction_ = 0F;
5275 public bool HasFriction {
5276 get { return hasFriction; }
5277 }
5278 public float Friction {
5279 get { return friction_; }
5280 }
5281
5282 public const int BounceFieldNumber = 5;
5283 private bool hasBounce;
5284 private float bounce_ = 0F;
5285 public bool HasBounce {
5286 get { return hasBounce; }
5287 }
5288 public float Bounce {
5289 get { return bounce_; }
5290 }
5291
5292 public const int HullFieldNumber = 6;
5293 private int hullMemoizedSerializedSize;
5294 private pbc::PopsicleList<float> hull_ = new pbc::PopsicleList<float>();
5295 public scg::IList<float> HullList {
5296 get { return pbc::Lists.AsReadOnly(hull_); }
5297 }
5298 public int HullCount {
5299 get { return hull_.Count; }
5300 }
5301 public float GetHull(int index) {
5302 return hull_[index];
5303 }
5304
5305 public const int CollideMsgFieldNumber = 16;
5306 private bool hasCollideMsg;
5307 private uint collideMsg_ = 0;
5308 public bool HasCollideMsg {
5309 get { return hasCollideMsg; }
5310 }
5311 [global::System.CLSCompliant(false)]
5312 public uint CollideMsg {
5313 get { return collideMsg_; }
5314 }
5315
5316 public const int CollideMaskFieldNumber = 17;
5317 private bool hasCollideMask;
5318 private uint collideMask_ = 0;
5319 public bool HasCollideMask {
5320 get { return hasCollideMask; }
5321 }
5322 [global::System.CLSCompliant(false)]
5323 public uint CollideMask {
5324 get { return collideMask_; }
5325 }
5326
5327 public const int GravityFieldNumber = 18;
5328 private bool hasGravity;
5329 private float gravity_ = 0F;
5330 public bool HasGravity {
5331 get { return hasGravity; }
5332 }
5333 public float Gravity {
5334 get { return gravity_; }
5335 }
5336
5337 public override bool IsInitialized {
5338 get {
5339 return true;
5340 }
5341 }
5342
5343 public override void WriteTo(pb::CodedOutputStream output) {
5344 if (HasMode) {
5345 output.WriteEnum(2, (int) Mode);
5346 }
5347 if (HasDensity) {
5348 output.WriteFloat(3, Density);
5349 }
5350 if (HasFriction) {
5351 output.WriteFloat(4, Friction);
5352 }
5353 if (HasBounce) {
5354 output.WriteFloat(5, Bounce);
5355 }
5356 if (hull_.Count > 0) {
5357 output.WriteRawVarint32(50);
5358 output.WriteRawVarint32((uint) hullMemoizedSerializedSize);
5359 foreach (float element in hull_) {
5360 output.WriteFloatNoTag(element);
5361 }
5362 }
5363 if (HasCollideMsg) {
5364 output.WriteUInt32(16, CollideMsg);
5365 }
5366 if (HasCollideMask) {
5367 output.WriteUInt32(17, CollideMask);
5368 }
5369 if (HasGravity) {
5370 output.WriteFloat(18, Gravity);
5371 }
5372 UnknownFields.WriteTo(output);
5373 }
5374
5375 private int memoizedSerializedSize = -1;
5376 public override int SerializedSize {
5377 get {
5378 int size = memoizedSerializedSize;
5379 if (size != -1) return size;
5380
5381 size = 0;
5382 if (HasMode) {
5383 size += pb::CodedOutputStream.ComputeEnumSize(2, (int) Mode);
5384 }
5385 if (HasDensity) {
5386 size += pb::CodedOutputStream.ComputeFloatSize(3, Density);
5387 }
5388 if (HasFriction) {
5389 size += pb::CodedOutputStream.ComputeFloatSize(4, Friction);
5390 }
5391 if (HasBounce) {
5392 size += pb::CodedOutputStream.ComputeFloatSize(5, Bounce);
5393 }
5394 {
5395 int dataSize = 0;
5396 dataSize = 4 * hull_.Count;
5397 size += dataSize;
5398 if (hull_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
5399 hullMemoizedSerializedSize = dataSize;
5400 }
5401 if (HasCollideMsg) {
5402 size += pb::CodedOutputStream.ComputeUInt32Size(16, CollideMsg);
5403 }
5404 if (HasCollideMask) {
5405 size += pb::CodedOutputStream.ComputeUInt32Size(17, CollideMask);
5406 }
5407 if (HasGravity) {
5408 size += pb::CodedOutputStream.ComputeFloatSize(18, Gravity);
5409 }
5410 size += UnknownFields.SerializedSize;
5411 memoizedSerializedSize = size;
5412 return size;
5413 }
5414 }
5415
5416 public static PhysicalParameters ParseFrom(pb::ByteString data) {
5417 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5418 }
5419 public static PhysicalParameters ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5420 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5421 }
5422 public static PhysicalParameters ParseFrom(byte[] data) {
5423 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5424 }
5425 public static PhysicalParameters ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5426 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5427 }
5428 public static PhysicalParameters ParseFrom(global::System.IO.Stream input) {
5429 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5430 }
5431 public static PhysicalParameters ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5432 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5433 }
5434 public static PhysicalParameters ParseDelimitedFrom(global::System.IO.Stream input) {
5435 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5436 }
5437 public static PhysicalParameters ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5438 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5439 }
5440 public static PhysicalParameters ParseFrom(pb::CodedInputStream input) {
5441 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5442 }
5443 public static PhysicalParameters ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5444 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5445 }
5446 public static Builder CreateBuilder() { return new Builder(); }
5447 public override Builder ToBuilder() { return CreateBuilder(this); }
5448 public override Builder CreateBuilderForType() { return new Builder(); }
5449 public static Builder CreateBuilder(PhysicalParameters prototype) {
5450 return (Builder) new Builder().MergeFrom(prototype);
5451 }
5452
5453 public sealed partial class Builder : pb::GeneratedBuilder<PhysicalParameters, Builder> {
5454 protected override Builder ThisBuilder {
5455 get { return this; }
5456 }
5457 public Builder() {}
5458
5459 PhysicalParameters result = new PhysicalParameters();
5460
5461 protected override PhysicalParameters MessageBeingBuilt {
5462 get { return result; }
5463 }
5464
5465 public override Builder Clear() {
5466 result = new PhysicalParameters();
5467 return this;
5468 }
5469
5470 public override Builder Clone() {
5471 return new Builder().MergeFrom(result);
5472 }
5473
5474 public override pbd::MessageDescriptor DescriptorForType {
5475 get { return global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Descriptor; }
5476 }
5477
5478 public override PhysicalParameters DefaultInstanceForType {
5479 get { return global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.DefaultInstance; }
5480 }
5481
5482 public override PhysicalParameters BuildPartial() {
5483 if (result == null) {
5484 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5485 }
5486 result.hull_.MakeReadOnly();
5487 PhysicalParameters returnMe = result;
5488 result = null;
5489 return returnMe;
5490 }
5491
5492 public override Builder MergeFrom(pb::IMessage other) {
5493 if (other is PhysicalParameters) {
5494 return MergeFrom((PhysicalParameters) other);
5495 } else {
5496 base.MergeFrom(other);
5497 return this;
5498 }
5499 }
5500
5501 public override Builder MergeFrom(PhysicalParameters other) {
5502 if (other == global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.DefaultInstance) return this;
5503 if (other.HasMode) {
5504 Mode = other.Mode;
5505 }
5506 if (other.HasDensity) {
5507 Density = other.Density;
5508 }
5509 if (other.HasFriction) {
5510 Friction = other.Friction;
5511 }
5512 if (other.HasBounce) {
5513 Bounce = other.Bounce;
5514 }
5515 if (other.hull_.Count != 0) {
5516 base.AddRange(other.hull_, result.hull_);
5517 }
5518 if (other.HasCollideMsg) {
5519 CollideMsg = other.CollideMsg;
5520 }
5521 if (other.HasCollideMask) {
5522 CollideMask = other.CollideMask;
5523 }
5524 if (other.HasGravity) {
5525 Gravity = other.Gravity;
5526 }
5527 this.MergeUnknownFields(other.UnknownFields);
5528 return this;
5529 }
5530
5531 public override Builder MergeFrom(pb::CodedInputStream input) {
5532 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5533 }
5534
5535 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5536 pb::UnknownFieldSet.Builder unknownFields = null;
5537 while (true) {
5538 uint tag = input.ReadTag();
5539 switch (tag) {
5540 case 0: {
5541 if (unknownFields != null) {
5542 this.UnknownFields = unknownFields.Build();
5543 }
5544 return this;
5545 }
5546 default: {
5547 if (pb::WireFormat.IsEndGroupTag(tag)) {
5548 if (unknownFields != null) {
5549 this.UnknownFields = unknownFields.Build();
5550 }
5551 return this;
5552 }
5553 if (unknownFields == null) {
5554 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5555 }
5556 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
5557 break;
5558 }
5559 case 16: {
5560 int rawValue = input.ReadEnum();
5561 if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode), rawValue)) {
5562 if (unknownFields == null) {
5563 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5564 }
5565 unknownFields.MergeVarintField(2, (ulong) rawValue);
5566 } else {
5567 Mode = (global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode) rawValue;
5568 }
5569 break;
5570 }
5571 case 29: {
5572 Density = input.ReadFloat();
5573 break;
5574 }
5575 case 37: {
5576 Friction = input.ReadFloat();
5577 break;
5578 }
5579 case 45: {
5580 Bounce = input.ReadFloat();
5581 break;
5582 }
5583 case 50: {
5584 int length = input.ReadInt32();
5585 int limit = input.PushLimit(length);
5586 while (!input.ReachedLimit) {
5587 AddHull(input.ReadFloat());
5588 }
5589 input.PopLimit(limit);
5590 break;
5591 }
5592 case 128: {
5593 CollideMsg = input.ReadUInt32();
5594 break;
5595 }
5596 case 136: {
5597 CollideMask = input.ReadUInt32();
5598 break;
5599 }
5600 case 149: {
5601 Gravity = input.ReadFloat();
5602 break;
5603 }
5604 }
5605 }
5606 }
5607
5608
5609 public bool HasMode {
5610 get { return result.HasMode; }
5611 }
5612 public global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode Mode {
5613 get { return result.Mode; }
5614 set { SetMode(value); }
5615 }
5616 public Builder SetMode(global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode value) {
5617 result.hasMode = true;
5618 result.mode_ = value;
5619 return this;
5620 }
5621 public Builder ClearMode() {
5622 result.hasMode = false;
5623 result.mode_ = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Types.Mode.NONPHYSICAL;
5624 return this;
5625 }
5626
5627 public bool HasDensity {
5628 get { return result.HasDensity; }
5629 }
5630 public float Density {
5631 get { return result.Density; }
5632 set { SetDensity(value); }
5633 }
5634 public Builder SetDensity(float value) {
5635 result.hasDensity = true;
5636 result.density_ = value;
5637 return this;
5638 }
5639 public Builder ClearDensity() {
5640 result.hasDensity = false;
5641 result.density_ = 0F;
5642 return this;
5643 }
5644
5645 public bool HasFriction {
5646 get { return result.HasFriction; }
5647 }
5648 public float Friction {
5649 get { return result.Friction; }
5650 set { SetFriction(value); }
5651 }
5652 public Builder SetFriction(float value) {
5653 result.hasFriction = true;
5654 result.friction_ = value;
5655 return this;
5656 }
5657 public Builder ClearFriction() {
5658 result.hasFriction = false;
5659 result.friction_ = 0F;
5660 return this;
5661 }
5662
5663 public bool HasBounce {
5664 get { return result.HasBounce; }
5665 }
5666 public float Bounce {
5667 get { return result.Bounce; }
5668 set { SetBounce(value); }
5669 }
5670 public Builder SetBounce(float value) {
5671 result.hasBounce = true;
5672 result.bounce_ = value;
5673 return this;
5674 }
5675 public Builder ClearBounce() {
5676 result.hasBounce = false;
5677 result.bounce_ = 0F;
5678 return this;
5679 }
5680
5681 public pbc::IPopsicleList<float> HullList {
5682 get { return result.hull_; }
5683 }
5684 public int HullCount {
5685 get { return result.HullCount; }
5686 }
5687 public float GetHull(int index) {
5688 return result.GetHull(index);
5689 }
5690 public Builder SetHull(int index, float value) {
5691 result.hull_[index] = value;
5692 return this;
5693 }
5694 public Builder AddHull(float value) {
5695 result.hull_.Add(value);
5696 return this;
5697 }
5698 public Builder AddRangeHull(scg::IEnumerable<float> values) {
5699 base.AddRange(values, result.hull_);
5700 return this;
5701 }
5702 public Builder ClearHull() {
5703 result.hull_.Clear();
5704 return this;
5705 }
5706
5707 public bool HasCollideMsg {
5708 get { return result.HasCollideMsg; }
5709 }
5710 [global::System.CLSCompliant(false)]
5711 public uint CollideMsg {
5712 get { return result.CollideMsg; }
5713 set { SetCollideMsg(value); }
5714 }
5715 [global::System.CLSCompliant(false)]
5716 public Builder SetCollideMsg(uint value) {
5717 result.hasCollideMsg = true;
5718 result.collideMsg_ = value;
5719 return this;
5720 }
5721 public Builder ClearCollideMsg() {
5722 result.hasCollideMsg = false;
5723 result.collideMsg_ = 0;
5724 return this;
5725 }
5726
5727 public bool HasCollideMask {
5728 get { return result.HasCollideMask; }
5729 }
5730 [global::System.CLSCompliant(false)]
5731 public uint CollideMask {
5732 get { return result.CollideMask; }
5733 set { SetCollideMask(value); }
5734 }
5735 [global::System.CLSCompliant(false)]
5736 public Builder SetCollideMask(uint value) {
5737 result.hasCollideMask = true;
5738 result.collideMask_ = value;
5739 return this;
5740 }
5741 public Builder ClearCollideMask() {
5742 result.hasCollideMask = false;
5743 result.collideMask_ = 0;
5744 return this;
5745 }
5746
5747 public bool HasGravity {
5748 get { return result.HasGravity; }
5749 }
5750 public float Gravity {
5751 get { return result.Gravity; }
5752 set { SetGravity(value); }
5753 }
5754 public Builder SetGravity(float value) {
5755 result.hasGravity = true;
5756 result.gravity_ = value;
5757 return this;
5758 }
5759 public Builder ClearGravity() {
5760 result.hasGravity = false;
5761 result.gravity_ = 0F;
5762 return this;
5763 }
5764 }
5765 static PhysicalParameters() {
5766 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
5767 }
5768 }
5769
5770 public sealed partial class LightInfoProperty : pb::GeneratedMessage<LightInfoProperty, LightInfoProperty.Builder> {
5771 private static readonly LightInfoProperty defaultInstance = new Builder().BuildPartial();
5772 public static LightInfoProperty DefaultInstance {
5773 get { return defaultInstance; }
5774 }
5775
5776 public override LightInfoProperty DefaultInstanceForType {
5777 get { return defaultInstance; }
5778 }
5779
5780 protected override LightInfoProperty ThisMessage {
5781 get { return this; }
5782 }
5783
5784 public static pbd::MessageDescriptor Descriptor {
5785 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor; }
5786 }
5787
5788 protected override pb::FieldAccess.FieldAccessorTable<LightInfoProperty, LightInfoProperty.Builder> InternalFieldAccessors {
5789 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__FieldAccessorTable; }
5790 }
5791
5792 #region Nested types
5793 public static class Types {
5794 public enum LightTypes {
5795 POINT = 0,
5796 SPOTLIGHT = 1,
5797 DIRECTIONAL = 2,
5798 }
5799
5800 }
5801 #endregion
5802
5803 public const int DiffuseColorFieldNumber = 3;
5804 private int diffuseColorMemoizedSerializedSize;
5805 private pbc::PopsicleList<float> diffuseColor_ = new pbc::PopsicleList<float>();
5806 public scg::IList<float> DiffuseColorList {
5807 get { return pbc::Lists.AsReadOnly(diffuseColor_); }
5808 }
5809 public int DiffuseColorCount {
5810 get { return diffuseColor_.Count; }
5811 }
5812 public float GetDiffuseColor(int index) {
5813 return diffuseColor_[index];
5814 }
5815
5816 public const int SpecularColorFieldNumber = 4;
5817 private int specularColorMemoizedSerializedSize;
5818 private pbc::PopsicleList<float> specularColor_ = new pbc::PopsicleList<float>();
5819 public scg::IList<float> SpecularColorList {
5820 get { return pbc::Lists.AsReadOnly(specularColor_); }
5821 }
5822 public int SpecularColorCount {
5823 get { return specularColor_.Count; }
5824 }
5825 public float GetSpecularColor(int index) {
5826 return specularColor_[index];
5827 }
5828
5829 public const int PowerFieldNumber = 5;
5830 private bool hasPower;
5831 private float power_ = 0F;
5832 public bool HasPower {
5833 get { return hasPower; }
5834 }
5835 public float Power {
5836 get { return power_; }
5837 }
5838
5839 public const int AmbientColorFieldNumber = 6;
5840 private int ambientColorMemoizedSerializedSize;
5841 private pbc::PopsicleList<float> ambientColor_ = new pbc::PopsicleList<float>();
5842 public scg::IList<float> AmbientColorList {
5843 get { return pbc::Lists.AsReadOnly(ambientColor_); }
5844 }
5845 public int AmbientColorCount {
5846 get { return ambientColor_.Count; }
5847 }
5848 public float GetAmbientColor(int index) {
5849 return ambientColor_[index];
5850 }
5851
5852 public const int ShadowColorFieldNumber = 7;
5853 private int shadowColorMemoizedSerializedSize;
5854 private pbc::PopsicleList<float> shadowColor_ = new pbc::PopsicleList<float>();
5855 public scg::IList<float> ShadowColorList {
5856 get { return pbc::Lists.AsReadOnly(shadowColor_); }
5857 }
5858 public int ShadowColorCount {
5859 get { return shadowColor_.Count; }
5860 }
5861 public float GetShadowColor(int index) {
5862 return shadowColor_[index];
5863 }
5864
5865 public const int LightRangeFieldNumber = 8;
5866 private bool hasLightRange;
5867 private double lightRange_ = 0D;
5868 public bool HasLightRange {
5869 get { return hasLightRange; }
5870 }
5871 public double LightRange {
5872 get { return lightRange_; }
5873 }
5874
5875 public const int ConstantFalloffFieldNumber = 9;
5876 private bool hasConstantFalloff;
5877 private float constantFalloff_ = 0F;
5878 public bool HasConstantFalloff {
5879 get { return hasConstantFalloff; }
5880 }
5881 public float ConstantFalloff {
5882 get { return constantFalloff_; }
5883 }
5884
5885 public const int LinearFalloffFieldNumber = 10;
5886 private bool hasLinearFalloff;
5887 private float linearFalloff_ = 0F;
5888 public bool HasLinearFalloff {
5889 get { return hasLinearFalloff; }
5890 }
5891 public float LinearFalloff {
5892 get { return linearFalloff_; }
5893 }
5894
5895 public const int QuadraticFalloffFieldNumber = 11;
5896 private bool hasQuadraticFalloff;
5897 private float quadraticFalloff_ = 0F;
5898 public bool HasQuadraticFalloff {
5899 get { return hasQuadraticFalloff; }
5900 }
5901 public float QuadraticFalloff {
5902 get { return quadraticFalloff_; }
5903 }
5904
5905 public const int ConeInnerRadiansFieldNumber = 12;
5906 private bool hasConeInnerRadians;
5907 private float coneInnerRadians_ = 0F;
5908 public bool HasConeInnerRadians {
5909 get { return hasConeInnerRadians; }
5910 }
5911 public float ConeInnerRadians {
5912 get { return coneInnerRadians_; }
5913 }
5914
5915 public const int ConeOuterRadiansFieldNumber = 13;
5916 private bool hasConeOuterRadians;
5917 private float coneOuterRadians_ = 0F;
5918 public bool HasConeOuterRadians {
5919 get { return hasConeOuterRadians; }
5920 }
5921 public float ConeOuterRadians {
5922 get { return coneOuterRadians_; }
5923 }
5924
5925 public const int ConeFalloffFieldNumber = 14;
5926 private bool hasConeFalloff;
5927 private float coneFalloff_ = 0F;
5928 public bool HasConeFalloff {
5929 get { return hasConeFalloff; }
5930 }
5931 public float ConeFalloff {
5932 get { return coneFalloff_; }
5933 }
5934
5935 public const int TypeFieldNumber = 15;
5936 private bool hasType;
5937 private global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes type_ = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes.POINT;
5938 public bool HasType {
5939 get { return hasType; }
5940 }
5941 public global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes Type {
5942 get { return type_; }
5943 }
5944
5945 public const int CastsShadowFieldNumber = 16;
5946 private bool hasCastsShadow;
5947 private bool castsShadow_ = false;
5948 public bool HasCastsShadow {
5949 get { return hasCastsShadow; }
5950 }
5951 public bool CastsShadow {
5952 get { return castsShadow_; }
5953 }
5954
5955 public override bool IsInitialized {
5956 get {
5957 return true;
5958 }
5959 }
5960
5961 public override void WriteTo(pb::CodedOutputStream output) {
5962 if (diffuseColor_.Count > 0) {
5963 output.WriteRawVarint32(26);
5964 output.WriteRawVarint32((uint) diffuseColorMemoizedSerializedSize);
5965 foreach (float element in diffuseColor_) {
5966 output.WriteFloatNoTag(element);
5967 }
5968 }
5969 if (specularColor_.Count > 0) {
5970 output.WriteRawVarint32(34);
5971 output.WriteRawVarint32((uint) specularColorMemoizedSerializedSize);
5972 foreach (float element in specularColor_) {
5973 output.WriteFloatNoTag(element);
5974 }
5975 }
5976 if (HasPower) {
5977 output.WriteFloat(5, Power);
5978 }
5979 if (ambientColor_.Count > 0) {
5980 output.WriteRawVarint32(50);
5981 output.WriteRawVarint32((uint) ambientColorMemoizedSerializedSize);
5982 foreach (float element in ambientColor_) {
5983 output.WriteFloatNoTag(element);
5984 }
5985 }
5986 if (shadowColor_.Count > 0) {
5987 output.WriteRawVarint32(58);
5988 output.WriteRawVarint32((uint) shadowColorMemoizedSerializedSize);
5989 foreach (float element in shadowColor_) {
5990 output.WriteFloatNoTag(element);
5991 }
5992 }
5993 if (HasLightRange) {
5994 output.WriteDouble(8, LightRange);
5995 }
5996 if (HasConstantFalloff) {
5997 output.WriteFloat(9, ConstantFalloff);
5998 }
5999 if (HasLinearFalloff) {
6000 output.WriteFloat(10, LinearFalloff);
6001 }
6002 if (HasQuadraticFalloff) {
6003 output.WriteFloat(11, QuadraticFalloff);
6004 }
6005 if (HasConeInnerRadians) {
6006 output.WriteFloat(12, ConeInnerRadians);
6007 }
6008 if (HasConeOuterRadians) {
6009 output.WriteFloat(13, ConeOuterRadians);
6010 }
6011 if (HasConeFalloff) {
6012 output.WriteFloat(14, ConeFalloff);
6013 }
6014 if (HasType) {
6015 output.WriteEnum(15, (int) Type);
6016 }
6017 if (HasCastsShadow) {
6018 output.WriteBool(16, CastsShadow);
6019 }
6020 UnknownFields.WriteTo(output);
6021 }
6022
6023 private int memoizedSerializedSize = -1;
6024 public override int SerializedSize {
6025 get {
6026 int size = memoizedSerializedSize;
6027 if (size != -1) return size;
6028
6029 size = 0;
6030 {
6031 int dataSize = 0;
6032 dataSize = 4 * diffuseColor_.Count;
6033 size += dataSize;
6034 if (diffuseColor_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
6035 diffuseColorMemoizedSerializedSize = dataSize;
6036 }
6037 {
6038 int dataSize = 0;
6039 dataSize = 4 * specularColor_.Count;
6040 size += dataSize;
6041 if (specularColor_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
6042 specularColorMemoizedSerializedSize = dataSize;
6043 }
6044 if (HasPower) {
6045 size += pb::CodedOutputStream.ComputeFloatSize(5, Power);
6046 }
6047 {
6048 int dataSize = 0;
6049 dataSize = 4 * ambientColor_.Count;
6050 size += dataSize;
6051 if (ambientColor_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
6052 ambientColorMemoizedSerializedSize = dataSize;
6053 }
6054 {
6055 int dataSize = 0;
6056 dataSize = 4 * shadowColor_.Count;
6057 size += dataSize;
6058 if (shadowColor_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
6059 shadowColorMemoizedSerializedSize = dataSize;
6060 }
6061 if (HasLightRange) {
6062 size += pb::CodedOutputStream.ComputeDoubleSize(8, LightRange);
6063 }
6064 if (HasConstantFalloff) {
6065 size += pb::CodedOutputStream.ComputeFloatSize(9, ConstantFalloff);
6066 }
6067 if (HasLinearFalloff) {
6068 size += pb::CodedOutputStream.ComputeFloatSize(10, LinearFalloff);
6069 }
6070 if (HasQuadraticFalloff) {
6071 size += pb::CodedOutputStream.ComputeFloatSize(11, QuadraticFalloff);
6072 }
6073 if (HasConeInnerRadians) {
6074 size += pb::CodedOutputStream.ComputeFloatSize(12, ConeInnerRadians);
6075 }
6076 if (HasConeOuterRadians) {
6077 size += pb::CodedOutputStream.ComputeFloatSize(13, ConeOuterRadians);
6078 }
6079 if (HasConeFalloff) {
6080 size += pb::CodedOutputStream.ComputeFloatSize(14, ConeFalloff);
6081 }
6082 if (HasType) {
6083 size += pb::CodedOutputStream.ComputeEnumSize(15, (int) Type);
6084 }
6085 if (HasCastsShadow) {
6086 size += pb::CodedOutputStream.ComputeBoolSize(16, CastsShadow);
6087 }
6088 size += UnknownFields.SerializedSize;
6089 memoizedSerializedSize = size;
6090 return size;
6091 }
6092 }
6093
6094 public static LightInfoProperty ParseFrom(pb::ByteString data) {
6095 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6096 }
6097 public static LightInfoProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
6098 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6099 }
6100 public static LightInfoProperty ParseFrom(byte[] data) {
6101 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6102 }
6103 public static LightInfoProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
6104 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6105 }
6106 public static LightInfoProperty ParseFrom(global::System.IO.Stream input) {
6107 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6108 }
6109 public static LightInfoProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6110 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6111 }
6112 public static LightInfoProperty ParseDelimitedFrom(global::System.IO.Stream input) {
6113 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
6114 }
6115 public static LightInfoProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6116 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
6117 }
6118 public static LightInfoProperty ParseFrom(pb::CodedInputStream input) {
6119 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6120 }
6121 public static LightInfoProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
6122 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6123 }
6124 public static Builder CreateBuilder() { return new Builder(); }
6125 public override Builder ToBuilder() { return CreateBuilder(this); }
6126 public override Builder CreateBuilderForType() { return new Builder(); }
6127 public static Builder CreateBuilder(LightInfoProperty prototype) {
6128 return (Builder) new Builder().MergeFrom(prototype);
6129 }
6130
6131 public sealed partial class Builder : pb::GeneratedBuilder<LightInfoProperty, Builder> {
6132 protected override Builder ThisBuilder {
6133 get { return this; }
6134 }
6135 public Builder() {}
6136
6137 LightInfoProperty result = new LightInfoProperty();
6138
6139 protected override LightInfoProperty MessageBeingBuilt {
6140 get { return result; }
6141 }
6142
6143 public override Builder Clear() {
6144 result = new LightInfoProperty();
6145 return this;
6146 }
6147
6148 public override Builder Clone() {
6149 return new Builder().MergeFrom(result);
6150 }
6151
6152 public override pbd::MessageDescriptor DescriptorForType {
6153 get { return global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Descriptor; }
6154 }
6155
6156 public override LightInfoProperty DefaultInstanceForType {
6157 get { return global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.DefaultInstance; }
6158 }
6159
6160 public override LightInfoProperty BuildPartial() {
6161 if (result == null) {
6162 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
6163 }
6164 result.diffuseColor_.MakeReadOnly();
6165 result.specularColor_.MakeReadOnly();
6166 result.ambientColor_.MakeReadOnly();
6167 result.shadowColor_.MakeReadOnly();
6168 LightInfoProperty returnMe = result;
6169 result = null;
6170 return returnMe;
6171 }
6172
6173 public override Builder MergeFrom(pb::IMessage other) {
6174 if (other is LightInfoProperty) {
6175 return MergeFrom((LightInfoProperty) other);
6176 } else {
6177 base.MergeFrom(other);
6178 return this;
6179 }
6180 }
6181
6182 public override Builder MergeFrom(LightInfoProperty other) {
6183 if (other == global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.DefaultInstance) return this;
6184 if (other.diffuseColor_.Count != 0) {
6185 base.AddRange(other.diffuseColor_, result.diffuseColor_);
6186 }
6187 if (other.specularColor_.Count != 0) {
6188 base.AddRange(other.specularColor_, result.specularColor_);
6189 }
6190 if (other.HasPower) {
6191 Power = other.Power;
6192 }
6193 if (other.ambientColor_.Count != 0) {
6194 base.AddRange(other.ambientColor_, result.ambientColor_);
6195 }
6196 if (other.shadowColor_.Count != 0) {
6197 base.AddRange(other.shadowColor_, result.shadowColor_);
6198 }
6199 if (other.HasLightRange) {
6200 LightRange = other.LightRange;
6201 }
6202 if (other.HasConstantFalloff) {
6203 ConstantFalloff = other.ConstantFalloff;
6204 }
6205 if (other.HasLinearFalloff) {
6206 LinearFalloff = other.LinearFalloff;
6207 }
6208 if (other.HasQuadraticFalloff) {
6209 QuadraticFalloff = other.QuadraticFalloff;
6210 }
6211 if (other.HasConeInnerRadians) {
6212 ConeInnerRadians = other.ConeInnerRadians;
6213 }
6214 if (other.HasConeOuterRadians) {
6215 ConeOuterRadians = other.ConeOuterRadians;
6216 }
6217 if (other.HasConeFalloff) {
6218 ConeFalloff = other.ConeFalloff;
6219 }
6220 if (other.HasType) {
6221 Type = other.Type;
6222 }
6223 if (other.HasCastsShadow) {
6224 CastsShadow = other.CastsShadow;
6225 }
6226 this.MergeUnknownFields(other.UnknownFields);
6227 return this;
6228 }
6229
6230 public override Builder MergeFrom(pb::CodedInputStream input) {
6231 return MergeFrom(input, pb::ExtensionRegistry.Empty);
6232 }
6233
6234 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
6235 pb::UnknownFieldSet.Builder unknownFields = null;
6236 while (true) {
6237 uint tag = input.ReadTag();
6238 switch (tag) {
6239 case 0: {
6240 if (unknownFields != null) {
6241 this.UnknownFields = unknownFields.Build();
6242 }
6243 return this;
6244 }
6245 default: {
6246 if (pb::WireFormat.IsEndGroupTag(tag)) {
6247 if (unknownFields != null) {
6248 this.UnknownFields = unknownFields.Build();
6249 }
6250 return this;
6251 }
6252 if (unknownFields == null) {
6253 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
6254 }
6255 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
6256 break;
6257 }
6258 case 26: {
6259 int length = input.ReadInt32();
6260 int limit = input.PushLimit(length);
6261 while (!input.ReachedLimit) {
6262 AddDiffuseColor(input.ReadFloat());
6263 }
6264 input.PopLimit(limit);
6265 break;
6266 }
6267 case 34: {
6268 int length = input.ReadInt32();
6269 int limit = input.PushLimit(length);
6270 while (!input.ReachedLimit) {
6271 AddSpecularColor(input.ReadFloat());
6272 }
6273 input.PopLimit(limit);
6274 break;
6275 }
6276 case 45: {
6277 Power = input.ReadFloat();
6278 break;
6279 }
6280 case 50: {
6281 int length = input.ReadInt32();
6282 int limit = input.PushLimit(length);
6283 while (!input.ReachedLimit) {
6284 AddAmbientColor(input.ReadFloat());
6285 }
6286 input.PopLimit(limit);
6287 break;
6288 }
6289 case 58: {
6290 int length = input.ReadInt32();
6291 int limit = input.PushLimit(length);
6292 while (!input.ReachedLimit) {
6293 AddShadowColor(input.ReadFloat());
6294 }
6295 input.PopLimit(limit);
6296 break;
6297 }
6298 case 65: {
6299 LightRange = input.ReadDouble();
6300 break;
6301 }
6302 case 77: {
6303 ConstantFalloff = input.ReadFloat();
6304 break;
6305 }
6306 case 85: {
6307 LinearFalloff = input.ReadFloat();
6308 break;
6309 }
6310 case 93: {
6311 QuadraticFalloff = input.ReadFloat();
6312 break;
6313 }
6314 case 101: {
6315 ConeInnerRadians = input.ReadFloat();
6316 break;
6317 }
6318 case 109: {
6319 ConeOuterRadians = input.ReadFloat();
6320 break;
6321 }
6322 case 117: {
6323 ConeFalloff = input.ReadFloat();
6324 break;
6325 }
6326 case 120: {
6327 int rawValue = input.ReadEnum();
6328 if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes), rawValue)) {
6329 if (unknownFields == null) {
6330 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
6331 }
6332 unknownFields.MergeVarintField(15, (ulong) rawValue);
6333 } else {
6334 Type = (global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes) rawValue;
6335 }
6336 break;
6337 }
6338 case 128: {
6339 CastsShadow = input.ReadBool();
6340 break;
6341 }
6342 }
6343 }
6344 }
6345
6346
6347 public pbc::IPopsicleList<float> DiffuseColorList {
6348 get { return result.diffuseColor_; }
6349 }
6350 public int DiffuseColorCount {
6351 get { return result.DiffuseColorCount; }
6352 }
6353 public float GetDiffuseColor(int index) {
6354 return result.GetDiffuseColor(index);
6355 }
6356 public Builder SetDiffuseColor(int index, float value) {
6357 result.diffuseColor_[index] = value;
6358 return this;
6359 }
6360 public Builder AddDiffuseColor(float value) {
6361 result.diffuseColor_.Add(value);
6362 return this;
6363 }
6364 public Builder AddRangeDiffuseColor(scg::IEnumerable<float> values) {
6365 base.AddRange(values, result.diffuseColor_);
6366 return this;
6367 }
6368 public Builder ClearDiffuseColor() {
6369 result.diffuseColor_.Clear();
6370 return this;
6371 }
6372
6373 public pbc::IPopsicleList<float> SpecularColorList {
6374 get { return result.specularColor_; }
6375 }
6376 public int SpecularColorCount {
6377 get { return result.SpecularColorCount; }
6378 }
6379 public float GetSpecularColor(int index) {
6380 return result.GetSpecularColor(index);
6381 }
6382 public Builder SetSpecularColor(int index, float value) {
6383 result.specularColor_[index] = value;
6384 return this;
6385 }
6386 public Builder AddSpecularColor(float value) {
6387 result.specularColor_.Add(value);
6388 return this;
6389 }
6390 public Builder AddRangeSpecularColor(scg::IEnumerable<float> values) {
6391 base.AddRange(values, result.specularColor_);
6392 return this;
6393 }
6394 public Builder ClearSpecularColor() {
6395 result.specularColor_.Clear();
6396 return this;
6397 }
6398
6399 public bool HasPower {
6400 get { return result.HasPower; }
6401 }
6402 public float Power {
6403 get { return result.Power; }
6404 set { SetPower(value); }
6405 }
6406 public Builder SetPower(float value) {
6407 result.hasPower = true;
6408 result.power_ = value;
6409 return this;
6410 }
6411 public Builder ClearPower() {
6412 result.hasPower = false;
6413 result.power_ = 0F;
6414 return this;
6415 }
6416
6417 public pbc::IPopsicleList<float> AmbientColorList {
6418 get { return result.ambientColor_; }
6419 }
6420 public int AmbientColorCount {
6421 get { return result.AmbientColorCount; }
6422 }
6423 public float GetAmbientColor(int index) {
6424 return result.GetAmbientColor(index);
6425 }
6426 public Builder SetAmbientColor(int index, float value) {
6427 result.ambientColor_[index] = value;
6428 return this;
6429 }
6430 public Builder AddAmbientColor(float value) {
6431 result.ambientColor_.Add(value);
6432 return this;
6433 }
6434 public Builder AddRangeAmbientColor(scg::IEnumerable<float> values) {
6435 base.AddRange(values, result.ambientColor_);
6436 return this;
6437 }
6438 public Builder ClearAmbientColor() {
6439 result.ambientColor_.Clear();
6440 return this;
6441 }
6442
6443 public pbc::IPopsicleList<float> ShadowColorList {
6444 get { return result.shadowColor_; }
6445 }
6446 public int ShadowColorCount {
6447 get { return result.ShadowColorCount; }
6448 }
6449 public float GetShadowColor(int index) {
6450 return result.GetShadowColor(index);
6451 }
6452 public Builder SetShadowColor(int index, float value) {
6453 result.shadowColor_[index] = value;
6454 return this;
6455 }
6456 public Builder AddShadowColor(float value) {
6457 result.shadowColor_.Add(value);
6458 return this;
6459 }
6460 public Builder AddRangeShadowColor(scg::IEnumerable<float> values) {
6461 base.AddRange(values, result.shadowColor_);
6462 return this;
6463 }
6464 public Builder ClearShadowColor() {
6465 result.shadowColor_.Clear();
6466 return this;
6467 }
6468
6469 public bool HasLightRange {
6470 get { return result.HasLightRange; }
6471 }
6472 public double LightRange {
6473 get { return result.LightRange; }
6474 set { SetLightRange(value); }
6475 }
6476 public Builder SetLightRange(double value) {
6477 result.hasLightRange = true;
6478 result.lightRange_ = value;
6479 return this;
6480 }
6481 public Builder ClearLightRange() {
6482 result.hasLightRange = false;
6483 result.lightRange_ = 0D;
6484 return this;
6485 }
6486
6487 public bool HasConstantFalloff {
6488 get { return result.HasConstantFalloff; }
6489 }
6490 public float ConstantFalloff {
6491 get { return result.ConstantFalloff; }
6492 set { SetConstantFalloff(value); }
6493 }
6494 public Builder SetConstantFalloff(float value) {
6495 result.hasConstantFalloff = true;
6496 result.constantFalloff_ = value;
6497 return this;
6498 }
6499 public Builder ClearConstantFalloff() {
6500 result.hasConstantFalloff = false;
6501 result.constantFalloff_ = 0F;
6502 return this;
6503 }
6504
6505 public bool HasLinearFalloff {
6506 get { return result.HasLinearFalloff; }
6507 }
6508 public float LinearFalloff {
6509 get { return result.LinearFalloff; }
6510 set { SetLinearFalloff(value); }
6511 }
6512 public Builder SetLinearFalloff(float value) {
6513 result.hasLinearFalloff = true;
6514 result.linearFalloff_ = value;
6515 return this;
6516 }
6517 public Builder ClearLinearFalloff() {
6518 result.hasLinearFalloff = false;
6519 result.linearFalloff_ = 0F;
6520 return this;
6521 }
6522
6523 public bool HasQuadraticFalloff {
6524 get { return result.HasQuadraticFalloff; }
6525 }
6526 public float QuadraticFalloff {
6527 get { return result.QuadraticFalloff; }
6528 set { SetQuadraticFalloff(value); }
6529 }
6530 public Builder SetQuadraticFalloff(float value) {
6531 result.hasQuadraticFalloff = true;
6532 result.quadraticFalloff_ = value;
6533 return this;
6534 }
6535 public Builder ClearQuadraticFalloff() {
6536 result.hasQuadraticFalloff = false;
6537 result.quadraticFalloff_ = 0F;
6538 return this;
6539 }
6540
6541 public bool HasConeInnerRadians {
6542 get { return result.HasConeInnerRadians; }
6543 }
6544 public float ConeInnerRadians {
6545 get { return result.ConeInnerRadians; }
6546 set { SetConeInnerRadians(value); }
6547 }
6548 public Builder SetConeInnerRadians(float value) {
6549 result.hasConeInnerRadians = true;
6550 result.coneInnerRadians_ = value;
6551 return this;
6552 }
6553 public Builder ClearConeInnerRadians() {
6554 result.hasConeInnerRadians = false;
6555 result.coneInnerRadians_ = 0F;
6556 return this;
6557 }
6558
6559 public bool HasConeOuterRadians {
6560 get { return result.HasConeOuterRadians; }
6561 }
6562 public float ConeOuterRadians {
6563 get { return result.ConeOuterRadians; }
6564 set { SetConeOuterRadians(value); }
6565 }
6566 public Builder SetConeOuterRadians(float value) {
6567 result.hasConeOuterRadians = true;
6568 result.coneOuterRadians_ = value;
6569 return this;
6570 }
6571 public Builder ClearConeOuterRadians() {
6572 result.hasConeOuterRadians = false;
6573 result.coneOuterRadians_ = 0F;
6574 return this;
6575 }
6576
6577 public bool HasConeFalloff {
6578 get { return result.HasConeFalloff; }
6579 }
6580 public float ConeFalloff {
6581 get { return result.ConeFalloff; }
6582 set { SetConeFalloff(value); }
6583 }
6584 public Builder SetConeFalloff(float value) {
6585 result.hasConeFalloff = true;
6586 result.coneFalloff_ = value;
6587 return this;
6588 }
6589 public Builder ClearConeFalloff() {
6590 result.hasConeFalloff = false;
6591 result.coneFalloff_ = 0F;
6592 return this;
6593 }
6594
6595 public bool HasType {
6596 get { return result.HasType; }
6597 }
6598 public global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes Type {
6599 get { return result.Type; }
6600 set { SetType(value); }
6601 }
6602 public Builder SetType(global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes value) {
6603 result.hasType = true;
6604 result.type_ = value;
6605 return this;
6606 }
6607 public Builder ClearType() {
6608 result.hasType = false;
6609 result.type_ = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Types.LightTypes.POINT;
6610 return this;
6611 }
6612
6613 public bool HasCastsShadow {
6614 get { return result.HasCastsShadow; }
6615 }
6616 public bool CastsShadow {
6617 get { return result.CastsShadow; }
6618 set { SetCastsShadow(value); }
6619 }
6620 public Builder SetCastsShadow(bool value) {
6621 result.hasCastsShadow = true;
6622 result.castsShadow_ = value;
6623 return this;
6624 }
6625 public Builder ClearCastsShadow() {
6626 result.hasCastsShadow = false;
6627 result.castsShadow_ = false;
6628 return this;
6629 }
6630 }
6631 static LightInfoProperty() {
6632 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
6633 }
6634 }
6635
6636 public sealed partial class ParentProperty : pb::GeneratedMessage<ParentProperty, ParentProperty.Builder> {
6637 private static readonly ParentProperty defaultInstance = new Builder().BuildPartial();
6638 public static ParentProperty DefaultInstance {
6639 get { return defaultInstance; }
6640 }
6641
6642 public override ParentProperty DefaultInstanceForType {
6643 get { return defaultInstance; }
6644 }
6645
6646 protected override ParentProperty ThisMessage {
6647 get { return this; }
6648 }
6649
6650 public static pbd::MessageDescriptor Descriptor {
6651 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor; }
6652 }
6653
6654 protected override pb::FieldAccess.FieldAccessorTable<ParentProperty, ParentProperty.Builder> InternalFieldAccessors {
6655 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__FieldAccessorTable; }
6656 }
6657
6658 public const int ValueFieldNumber = 10;
6659 private bool hasValue;
6660 private pb::ByteString value_ = pb::ByteString.Empty;
6661 public bool HasValue {
6662 get { return hasValue; }
6663 }
6664 public pb::ByteString Value {
6665 get { return value_; }
6666 }
6667
6668 public override bool IsInitialized {
6669 get {
6670 return true;
6671 }
6672 }
6673
6674 public override void WriteTo(pb::CodedOutputStream output) {
6675 if (HasValue) {
6676 output.WriteBytes(10, Value);
6677 }
6678 UnknownFields.WriteTo(output);
6679 }
6680
6681 private int memoizedSerializedSize = -1;
6682 public override int SerializedSize {
6683 get {
6684 int size = memoizedSerializedSize;
6685 if (size != -1) return size;
6686
6687 size = 0;
6688 if (HasValue) {
6689 size += pb::CodedOutputStream.ComputeBytesSize(10, Value);
6690 }
6691 size += UnknownFields.SerializedSize;
6692 memoizedSerializedSize = size;
6693 return size;
6694 }
6695 }
6696
6697 public static ParentProperty ParseFrom(pb::ByteString data) {
6698 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6699 }
6700 public static ParentProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
6701 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6702 }
6703 public static ParentProperty ParseFrom(byte[] data) {
6704 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6705 }
6706 public static ParentProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
6707 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6708 }
6709 public static ParentProperty ParseFrom(global::System.IO.Stream input) {
6710 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6711 }
6712 public static ParentProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6713 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6714 }
6715 public static ParentProperty ParseDelimitedFrom(global::System.IO.Stream input) {
6716 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
6717 }
6718 public static ParentProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6719 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
6720 }
6721 public static ParentProperty ParseFrom(pb::CodedInputStream input) {
6722 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6723 }
6724 public static ParentProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
6725 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6726 }
6727 public static Builder CreateBuilder() { return new Builder(); }
6728 public override Builder ToBuilder() { return CreateBuilder(this); }
6729 public override Builder CreateBuilderForType() { return new Builder(); }
6730 public static Builder CreateBuilder(ParentProperty prototype) {
6731 return (Builder) new Builder().MergeFrom(prototype);
6732 }
6733
6734 public sealed partial class Builder : pb::GeneratedBuilder<ParentProperty, Builder> {
6735 protected override Builder ThisBuilder {
6736 get { return this; }
6737 }
6738 public Builder() {}
6739
6740 ParentProperty result = new ParentProperty();
6741
6742 protected override ParentProperty MessageBeingBuilt {
6743 get { return result; }
6744 }
6745
6746 public override Builder Clear() {
6747 result = new ParentProperty();
6748 return this;
6749 }
6750
6751 public override Builder Clone() {
6752 return new Builder().MergeFrom(result);
6753 }
6754
6755 public override pbd::MessageDescriptor DescriptorForType {
6756 get { return global::Sirikata.Protocol._PBJ_Internal.ParentProperty.Descriptor; }
6757 }
6758
6759 public override ParentProperty DefaultInstanceForType {
6760 get { return global::Sirikata.Protocol._PBJ_Internal.ParentProperty.DefaultInstance; }
6761 }
6762
6763 public override ParentProperty BuildPartial() {
6764 if (result == null) {
6765 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
6766 }
6767 ParentProperty returnMe = result;
6768 result = null;
6769 return returnMe;
6770 }
6771
6772 public override Builder MergeFrom(pb::IMessage other) {
6773 if (other is ParentProperty) {
6774 return MergeFrom((ParentProperty) other);
6775 } else {
6776 base.MergeFrom(other);
6777 return this;
6778 }
6779 }
6780
6781 public override Builder MergeFrom(ParentProperty other) {
6782 if (other == global::Sirikata.Protocol._PBJ_Internal.ParentProperty.DefaultInstance) return this;
6783 if (other.HasValue) {
6784 Value = other.Value;
6785 }
6786 this.MergeUnknownFields(other.UnknownFields);
6787 return this;
6788 }
6789
6790 public override Builder MergeFrom(pb::CodedInputStream input) {
6791 return MergeFrom(input, pb::ExtensionRegistry.Empty);
6792 }
6793
6794 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
6795 pb::UnknownFieldSet.Builder unknownFields = null;
6796 while (true) {
6797 uint tag = input.ReadTag();
6798 switch (tag) {
6799 case 0: {
6800 if (unknownFields != null) {
6801 this.UnknownFields = unknownFields.Build();
6802 }
6803 return this;
6804 }
6805 default: {
6806 if (pb::WireFormat.IsEndGroupTag(tag)) {
6807 if (unknownFields != null) {
6808 this.UnknownFields = unknownFields.Build();
6809 }
6810 return this;
6811 }
6812 if (unknownFields == null) {
6813 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
6814 }
6815 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
6816 break;
6817 }
6818 case 82: {
6819 Value = input.ReadBytes();
6820 break;
6821 }
6822 }
6823 }
6824 }
6825
6826
6827 public bool HasValue {
6828 get { return result.HasValue; }
6829 }
6830 public pb::ByteString Value {
6831 get { return result.Value; }
6832 set { SetValue(value); }
6833 }
6834 public Builder SetValue(pb::ByteString value) {
6835 pb::ThrowHelper.ThrowIfNull(value, "value");
6836 result.hasValue = true;
6837 result.value_ = value;
6838 return this;
6839 }
6840 public Builder ClearValue() {
6841 result.hasValue = false;
6842 result.value_ = pb::ByteString.Empty;
6843 return this;
6844 }
6845 }
6846 static ParentProperty() {
6847 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
6848 }
6849 }
6850
6851 public sealed partial class UUIDListProperty : pb::GeneratedMessage<UUIDListProperty, UUIDListProperty.Builder> {
6852 private static readonly UUIDListProperty defaultInstance = new Builder().BuildPartial();
6853 public static UUIDListProperty DefaultInstance {
6854 get { return defaultInstance; }
6855 }
6856
6857 public override UUIDListProperty DefaultInstanceForType {
6858 get { return defaultInstance; }
6859 }
6860
6861 protected override UUIDListProperty ThisMessage {
6862 get { return this; }
6863 }
6864
6865 public static pbd::MessageDescriptor Descriptor {
6866 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor; }
6867 }
6868
6869 protected override pb::FieldAccess.FieldAccessorTable<UUIDListProperty, UUIDListProperty.Builder> InternalFieldAccessors {
6870 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__FieldAccessorTable; }
6871 }
6872
6873 public const int ValueFieldNumber = 10;
6874 private pbc::PopsicleList<pb::ByteString> value_ = new pbc::PopsicleList<pb::ByteString>();
6875 public scg::IList<pb::ByteString> ValueList {
6876 get { return pbc::Lists.AsReadOnly(value_); }
6877 }
6878 public int ValueCount {
6879 get { return value_.Count; }
6880 }
6881 public pb::ByteString GetValue(int index) {
6882 return value_[index];
6883 }
6884
6885 public override bool IsInitialized {
6886 get {
6887 return true;
6888 }
6889 }
6890
6891 public override void WriteTo(pb::CodedOutputStream output) {
6892 if (value_.Count > 0) {
6893 foreach (pb::ByteString element in value_) {
6894 output.WriteBytes(10, element);
6895 }
6896 }
6897 UnknownFields.WriteTo(output);
6898 }
6899
6900 private int memoizedSerializedSize = -1;
6901 public override int SerializedSize {
6902 get {
6903 int size = memoizedSerializedSize;
6904 if (size != -1) return size;
6905
6906 size = 0;
6907 {
6908 int dataSize = 0;
6909 foreach (pb::ByteString element in ValueList) {
6910 dataSize += pb::CodedOutputStream.ComputeBytesSizeNoTag(element);
6911 }
6912 size += dataSize;
6913 size += 1 * value_.Count;
6914 }
6915 size += UnknownFields.SerializedSize;
6916 memoizedSerializedSize = size;
6917 return size;
6918 }
6919 }
6920
6921 public static UUIDListProperty ParseFrom(pb::ByteString data) {
6922 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6923 }
6924 public static UUIDListProperty ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
6925 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6926 }
6927 public static UUIDListProperty ParseFrom(byte[] data) {
6928 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
6929 }
6930 public static UUIDListProperty ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
6931 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
6932 }
6933 public static UUIDListProperty ParseFrom(global::System.IO.Stream input) {
6934 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6935 }
6936 public static UUIDListProperty ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6937 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6938 }
6939 public static UUIDListProperty ParseDelimitedFrom(global::System.IO.Stream input) {
6940 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
6941 }
6942 public static UUIDListProperty ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
6943 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
6944 }
6945 public static UUIDListProperty ParseFrom(pb::CodedInputStream input) {
6946 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
6947 }
6948 public static UUIDListProperty ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
6949 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
6950 }
6951 public static Builder CreateBuilder() { return new Builder(); }
6952 public override Builder ToBuilder() { return CreateBuilder(this); }
6953 public override Builder CreateBuilderForType() { return new Builder(); }
6954 public static Builder CreateBuilder(UUIDListProperty prototype) {
6955 return (Builder) new Builder().MergeFrom(prototype);
6956 }
6957
6958 public sealed partial class Builder : pb::GeneratedBuilder<UUIDListProperty, Builder> {
6959 protected override Builder ThisBuilder {
6960 get { return this; }
6961 }
6962 public Builder() {}
6963
6964 UUIDListProperty result = new UUIDListProperty();
6965
6966 protected override UUIDListProperty MessageBeingBuilt {
6967 get { return result; }
6968 }
6969
6970 public override Builder Clear() {
6971 result = new UUIDListProperty();
6972 return this;
6973 }
6974
6975 public override Builder Clone() {
6976 return new Builder().MergeFrom(result);
6977 }
6978
6979 public override pbd::MessageDescriptor DescriptorForType {
6980 get { return global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty.Descriptor; }
6981 }
6982
6983 public override UUIDListProperty DefaultInstanceForType {
6984 get { return global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty.DefaultInstance; }
6985 }
6986
6987 public override UUIDListProperty BuildPartial() {
6988 if (result == null) {
6989 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
6990 }
6991 result.value_.MakeReadOnly();
6992 UUIDListProperty returnMe = result;
6993 result = null;
6994 return returnMe;
6995 }
6996
6997 public override Builder MergeFrom(pb::IMessage other) {
6998 if (other is UUIDListProperty) {
6999 return MergeFrom((UUIDListProperty) other);
7000 } else {
7001 base.MergeFrom(other);
7002 return this;
7003 }
7004 }
7005
7006 public override Builder MergeFrom(UUIDListProperty other) {
7007 if (other == global::Sirikata.Protocol._PBJ_Internal.UUIDListProperty.DefaultInstance) return this;
7008 if (other.value_.Count != 0) {
7009 base.AddRange(other.value_, result.value_);
7010 }
7011 this.MergeUnknownFields(other.UnknownFields);
7012 return this;
7013 }
7014
7015 public override Builder MergeFrom(pb::CodedInputStream input) {
7016 return MergeFrom(input, pb::ExtensionRegistry.Empty);
7017 }
7018
7019 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
7020 pb::UnknownFieldSet.Builder unknownFields = null;
7021 while (true) {
7022 uint tag = input.ReadTag();
7023 switch (tag) {
7024 case 0: {
7025 if (unknownFields != null) {
7026 this.UnknownFields = unknownFields.Build();
7027 }
7028 return this;
7029 }
7030 default: {
7031 if (pb::WireFormat.IsEndGroupTag(tag)) {
7032 if (unknownFields != null) {
7033 this.UnknownFields = unknownFields.Build();
7034 }
7035 return this;
7036 }
7037 if (unknownFields == null) {
7038 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
7039 }
7040 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
7041 break;
7042 }
7043 case 82: {
7044 AddValue(input.ReadBytes());
7045 break;
7046 }
7047 }
7048 }
7049 }
7050
7051
7052 public pbc::IPopsicleList<pb::ByteString> ValueList {
7053 get { return result.value_; }
7054 }
7055 public int ValueCount {
7056 get { return result.ValueCount; }
7057 }
7058 public pb::ByteString GetValue(int index) {
7059 return result.GetValue(index);
7060 }
7061 public Builder SetValue(int index, pb::ByteString value) {
7062 pb::ThrowHelper.ThrowIfNull(value, "value");
7063 result.value_[index] = value;
7064 return this;
7065 }
7066 public Builder AddValue(pb::ByteString value) {
7067 pb::ThrowHelper.ThrowIfNull(value, "value");
7068 result.value_.Add(value);
7069 return this;
7070 }
7071 public Builder AddRangeValue(scg::IEnumerable<pb::ByteString> values) {
7072 base.AddRange(values, result.value_);
7073 return this;
7074 }
7075 public Builder ClearValue() {
7076 result.value_.Clear();
7077 return this;
7078 }
7079 }
7080 static UUIDListProperty() {
7081 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
7082 }
7083 }
7084
7085 public sealed partial class ConnectToSpace : pb::GeneratedMessage<ConnectToSpace, ConnectToSpace.Builder> {
7086 private static readonly ConnectToSpace defaultInstance = new Builder().BuildPartial();
7087 public static ConnectToSpace DefaultInstance {
7088 get { return defaultInstance; }
7089 }
7090
7091 public override ConnectToSpace DefaultInstanceForType {
7092 get { return defaultInstance; }
7093 }
7094
7095 protected override ConnectToSpace ThisMessage {
7096 get { return this; }
7097 }
7098
7099 public static pbd::MessageDescriptor Descriptor {
7100 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor; }
7101 }
7102
7103 protected override pb::FieldAccess.FieldAccessorTable<ConnectToSpace, ConnectToSpace.Builder> InternalFieldAccessors {
7104 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__FieldAccessorTable; }
7105 }
7106
7107 public const int SpaceIdFieldNumber = 1;
7108 private bool hasSpaceId;
7109 private pb::ByteString spaceId_ = pb::ByteString.Empty;
7110 public bool HasSpaceId {
7111 get { return hasSpaceId; }
7112 }
7113 public pb::ByteString SpaceId {
7114 get { return spaceId_; }
7115 }
7116
7117 public const int ObjectUuidEvidenceFieldNumber = 2;
7118 private bool hasObjectUuidEvidence;
7119 private pb::ByteString objectUuidEvidence_ = pb::ByteString.Empty;
7120 public bool HasObjectUuidEvidence {
7121 get { return hasObjectUuidEvidence; }
7122 }
7123 public pb::ByteString ObjectUuidEvidence {
7124 get { return objectUuidEvidence_; }
7125 }
7126
7127 public const int RequestedObjectLocFieldNumber = 3;
7128 private bool hasRequestedObjectLoc;
7129 private global::Sirikata.Protocol._PBJ_Internal.ObjLoc requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
7130 public bool HasRequestedObjectLoc {
7131 get { return hasRequestedObjectLoc; }
7132 }
7133 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc RequestedObjectLoc {
7134 get { return requestedObjectLoc_; }
7135 }
7136
7137 public const int BoundingSphereFieldNumber = 4;
7138 private int boundingSphereMemoizedSerializedSize;
7139 private pbc::PopsicleList<float> boundingSphere_ = new pbc::PopsicleList<float>();
7140 public scg::IList<float> BoundingSphereList {
7141 get { return pbc::Lists.AsReadOnly(boundingSphere_); }
7142 }
7143 public int BoundingSphereCount {
7144 get { return boundingSphere_.Count; }
7145 }
7146 public float GetBoundingSphere(int index) {
7147 return boundingSphere_[index];
7148 }
7149
7150 public override bool IsInitialized {
7151 get {
7152 return true;
7153 }
7154 }
7155
7156 public override void WriteTo(pb::CodedOutputStream output) {
7157 if (HasSpaceId) {
7158 output.WriteBytes(1, SpaceId);
7159 }
7160 if (HasObjectUuidEvidence) {
7161 output.WriteBytes(2, ObjectUuidEvidence);
7162 }
7163 if (HasRequestedObjectLoc) {
7164 output.WriteMessage(3, RequestedObjectLoc);
7165 }
7166 if (boundingSphere_.Count > 0) {
7167 output.WriteRawVarint32(34);
7168 output.WriteRawVarint32((uint) boundingSphereMemoizedSerializedSize);
7169 foreach (float element in boundingSphere_) {
7170 output.WriteFloatNoTag(element);
7171 }
7172 }
7173 UnknownFields.WriteTo(output);
7174 }
7175
7176 private int memoizedSerializedSize = -1;
7177 public override int SerializedSize {
7178 get {
7179 int size = memoizedSerializedSize;
7180 if (size != -1) return size;
7181
7182 size = 0;
7183 if (HasSpaceId) {
7184 size += pb::CodedOutputStream.ComputeBytesSize(1, SpaceId);
7185 }
7186 if (HasObjectUuidEvidence) {
7187 size += pb::CodedOutputStream.ComputeBytesSize(2, ObjectUuidEvidence);
7188 }
7189 if (HasRequestedObjectLoc) {
7190 size += pb::CodedOutputStream.ComputeMessageSize(3, RequestedObjectLoc);
7191 }
7192 {
7193 int dataSize = 0;
7194 dataSize = 4 * boundingSphere_.Count;
7195 size += dataSize;
7196 if (boundingSphere_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
7197 boundingSphereMemoizedSerializedSize = dataSize;
7198 }
7199 size += UnknownFields.SerializedSize;
7200 memoizedSerializedSize = size;
7201 return size;
7202 }
7203 }
7204
7205 public static ConnectToSpace ParseFrom(pb::ByteString data) {
7206 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
7207 }
7208 public static ConnectToSpace ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
7209 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
7210 }
7211 public static ConnectToSpace ParseFrom(byte[] data) {
7212 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
7213 }
7214 public static ConnectToSpace ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
7215 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
7216 }
7217 public static ConnectToSpace ParseFrom(global::System.IO.Stream input) {
7218 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
7219 }
7220 public static ConnectToSpace ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
7221 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
7222 }
7223 public static ConnectToSpace ParseDelimitedFrom(global::System.IO.Stream input) {
7224 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
7225 }
7226 public static ConnectToSpace ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
7227 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
7228 }
7229 public static ConnectToSpace ParseFrom(pb::CodedInputStream input) {
7230 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
7231 }
7232 public static ConnectToSpace ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
7233 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
7234 }
7235 public static Builder CreateBuilder() { return new Builder(); }
7236 public override Builder ToBuilder() { return CreateBuilder(this); }
7237 public override Builder CreateBuilderForType() { return new Builder(); }
7238 public static Builder CreateBuilder(ConnectToSpace prototype) {
7239 return (Builder) new Builder().MergeFrom(prototype);
7240 }
7241
7242 public sealed partial class Builder : pb::GeneratedBuilder<ConnectToSpace, Builder> {
7243 protected override Builder ThisBuilder {
7244 get { return this; }
7245 }
7246 public Builder() {}
7247
7248 ConnectToSpace result = new ConnectToSpace();
7249
7250 protected override ConnectToSpace MessageBeingBuilt {
7251 get { return result; }
7252 }
7253
7254 public override Builder Clear() {
7255 result = new ConnectToSpace();
7256 return this;
7257 }
7258
7259 public override Builder Clone() {
7260 return new Builder().MergeFrom(result);
7261 }
7262
7263 public override pbd::MessageDescriptor DescriptorForType {
7264 get { return global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Descriptor; }
7265 }
7266
7267 public override ConnectToSpace DefaultInstanceForType {
7268 get { return global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.DefaultInstance; }
7269 }
7270
7271 public override ConnectToSpace BuildPartial() {
7272 if (result == null) {
7273 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
7274 }
7275 result.boundingSphere_.MakeReadOnly();
7276 ConnectToSpace returnMe = result;
7277 result = null;
7278 return returnMe;
7279 }
7280
7281 public override Builder MergeFrom(pb::IMessage other) {
7282 if (other is ConnectToSpace) {
7283 return MergeFrom((ConnectToSpace) other);
7284 } else {
7285 base.MergeFrom(other);
7286 return this;
7287 }
7288 }
7289
7290 public override Builder MergeFrom(ConnectToSpace other) {
7291 if (other == global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.DefaultInstance) return this;
7292 if (other.HasSpaceId) {
7293 SpaceId = other.SpaceId;
7294 }
7295 if (other.HasObjectUuidEvidence) {
7296 ObjectUuidEvidence = other.ObjectUuidEvidence;
7297 }
7298 if (other.HasRequestedObjectLoc) {
7299 MergeRequestedObjectLoc(other.RequestedObjectLoc);
7300 }
7301 if (other.boundingSphere_.Count != 0) {
7302 base.AddRange(other.boundingSphere_, result.boundingSphere_);
7303 }
7304 this.MergeUnknownFields(other.UnknownFields);
7305 return this;
7306 }
7307
7308 public override Builder MergeFrom(pb::CodedInputStream input) {
7309 return MergeFrom(input, pb::ExtensionRegistry.Empty);
7310 }
7311
7312 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
7313 pb::UnknownFieldSet.Builder unknownFields = null;
7314 while (true) {
7315 uint tag = input.ReadTag();
7316 switch (tag) {
7317 case 0: {
7318 if (unknownFields != null) {
7319 this.UnknownFields = unknownFields.Build();
7320 }
7321 return this;
7322 }
7323 default: {
7324 if (pb::WireFormat.IsEndGroupTag(tag)) {
7325 if (unknownFields != null) {
7326 this.UnknownFields = unknownFields.Build();
7327 }
7328 return this;
7329 }
7330 if (unknownFields == null) {
7331 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
7332 }
7333 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
7334 break;
7335 }
7336 case 10: {
7337 SpaceId = input.ReadBytes();
7338 break;
7339 }
7340 case 18: {
7341 ObjectUuidEvidence = input.ReadBytes();
7342 break;
7343 }
7344 case 26: {
7345 global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder();
7346 if (HasRequestedObjectLoc) {
7347 subBuilder.MergeFrom(RequestedObjectLoc);
7348 }
7349 input.ReadMessage(subBuilder, extensionRegistry);
7350 RequestedObjectLoc = subBuilder.BuildPartial();
7351 break;
7352 }
7353 case 34: {
7354 int length = input.ReadInt32();
7355 int limit = input.PushLimit(length);
7356 while (!input.ReachedLimit) {
7357 AddBoundingSphere(input.ReadFloat());
7358 }
7359 input.PopLimit(limit);
7360 break;
7361 }
7362 }
7363 }
7364 }
7365
7366
7367 public bool HasSpaceId {
7368 get { return result.HasSpaceId; }
7369 }
7370 public pb::ByteString SpaceId {
7371 get { return result.SpaceId; }
7372 set { SetSpaceId(value); }
7373 }
7374 public Builder SetSpaceId(pb::ByteString value) {
7375 pb::ThrowHelper.ThrowIfNull(value, "value");
7376 result.hasSpaceId = true;
7377 result.spaceId_ = value;
7378 return this;
7379 }
7380 public Builder ClearSpaceId() {
7381 result.hasSpaceId = false;
7382 result.spaceId_ = pb::ByteString.Empty;
7383 return this;
7384 }
7385
7386 public bool HasObjectUuidEvidence {
7387 get { return result.HasObjectUuidEvidence; }
7388 }
7389 public pb::ByteString ObjectUuidEvidence {
7390 get { return result.ObjectUuidEvidence; }
7391 set { SetObjectUuidEvidence(value); }
7392 }
7393 public Builder SetObjectUuidEvidence(pb::ByteString value) {
7394 pb::ThrowHelper.ThrowIfNull(value, "value");
7395 result.hasObjectUuidEvidence = true;
7396 result.objectUuidEvidence_ = value;
7397 return this;
7398 }
7399 public Builder ClearObjectUuidEvidence() {
7400 result.hasObjectUuidEvidence = false;
7401 result.objectUuidEvidence_ = pb::ByteString.Empty;
7402 return this;
7403 }
7404
7405 public bool HasRequestedObjectLoc {
7406 get { return result.HasRequestedObjectLoc; }
7407 }
7408 public global::Sirikata.Protocol._PBJ_Internal.ObjLoc RequestedObjectLoc {
7409 get { return result.RequestedObjectLoc; }
7410 set { SetRequestedObjectLoc(value); }
7411 }
7412 public Builder SetRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
7413 pb::ThrowHelper.ThrowIfNull(value, "value");
7414 result.hasRequestedObjectLoc = true;
7415 result.requestedObjectLoc_ = value;
7416 return this;
7417 }
7418 public Builder SetRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Builder builderForValue) {
7419 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
7420 result.hasRequestedObjectLoc = true;
7421 result.requestedObjectLoc_ = builderForValue.Build();
7422 return this;
7423 }
7424 public Builder MergeRequestedObjectLoc(global::Sirikata.Protocol._PBJ_Internal.ObjLoc value) {
7425 pb::ThrowHelper.ThrowIfNull(value, "value");
7426 if (result.HasRequestedObjectLoc &&
7427 result.requestedObjectLoc_ != global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance) {
7428 result.requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.CreateBuilder(result.requestedObjectLoc_).MergeFrom(value).BuildPartial();
7429 } else {
7430 result.requestedObjectLoc_ = value;
7431 }
7432 result.hasRequestedObjectLoc = true;
7433 return this;
7434 }
7435 public Builder ClearRequestedObjectLoc() {
7436 result.hasRequestedObjectLoc = false;
7437 result.requestedObjectLoc_ = global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance;
7438 return this;
7439 }
7440
7441 public pbc::IPopsicleList<float> BoundingSphereList {
7442 get { return result.boundingSphere_; }
7443 }
7444 public int BoundingSphereCount {
7445 get { return result.BoundingSphereCount; }
7446 }
7447 public float GetBoundingSphere(int index) {
7448 return result.GetBoundingSphere(index);
7449 }
7450 public Builder SetBoundingSphere(int index, float value) {
7451 result.boundingSphere_[index] = value;
7452 return this;
7453 }
7454 public Builder AddBoundingSphere(float value) {
7455 result.boundingSphere_.Add(value);
7456 return this;
7457 }
7458 public Builder AddRangeBoundingSphere(scg::IEnumerable<float> values) {
7459 base.AddRange(values, result.boundingSphere_);
7460 return this;
7461 }
7462 public Builder ClearBoundingSphere() {
7463 result.boundingSphere_.Clear();
7464 return this;
7465 }
7466 }
7467 static ConnectToSpace() {
7468 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
7469 }
7470 }
7471
7472 public sealed partial class CreateObject : pb::GeneratedMessage<CreateObject, CreateObject.Builder> {
7473 private static readonly CreateObject defaultInstance = new Builder().BuildPartial();
7474 public static CreateObject DefaultInstance {
7475 get { return defaultInstance; }
7476 }
7477
7478 public override CreateObject DefaultInstanceForType {
7479 get { return defaultInstance; }
7480 }
7481
7482 protected override CreateObject ThisMessage {
7483 get { return this; }
7484 }
7485
7486 public static pbd::MessageDescriptor Descriptor {
7487 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor; }
7488 }
7489
7490 protected override pb::FieldAccess.FieldAccessorTable<CreateObject, CreateObject.Builder> InternalFieldAccessors {
7491 get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__FieldAccessorTable; }
7492 }
7493
7494 public const int ObjectUuidFieldNumber = 1;
7495 private bool hasObjectUuid;
7496 private pb::ByteString objectUuid_ = pb::ByteString.Empty;
7497 public bool HasObjectUuid {
7498 get { return hasObjectUuid; }
7499 }
7500 public pb::ByteString ObjectUuid {
7501 get { return objectUuid_; }
7502 }
7503
7504 public const int SpacePropertiesFieldNumber = 2;
7505 private pbc::PopsicleList<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace> spaceProperties_ = new pbc::PopsicleList<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace>();
7506 public scg::IList<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace> SpacePropertiesList {
7507 get { return spaceProperties_; }
7508 }
7509 public int SpacePropertiesCount {
7510 get { return spaceProperties_.Count; }
7511 }
7512 public global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace GetSpaceProperties(int index) {
7513 return spaceProperties_[index];
7514 }
7515
7516 public const int MeshFieldNumber = 3;
7517 private bool hasMesh;
7518 private string mesh_ = "";
7519 public bool HasMesh {
7520 get { return hasMesh; }
7521 }
7522 public string Mesh {
7523 get { return mesh_; }
7524 }
7525
7526 public const int ScaleFieldNumber = 4;
7527 private int scaleMemoizedSerializedSize;
7528 private pbc::PopsicleList<float> scale_ = new pbc::PopsicleList<float>();
7529 public scg::IList<float> ScaleList {
7530 get { return pbc::Lists.AsReadOnly(scale_); }
7531 }
7532 public int ScaleCount {
7533 get { return scale_.Count; }
7534 }
7535 public float GetScale(int index) {
7536 return scale_[index];
7537 }
7538
7539 public const int WeburlFieldNumber = 5;
7540 private bool hasWeburl;
7541 private string weburl_ = "";
7542 public bool HasWeburl {
7543 get { return hasWeburl; }
7544 }
7545 public string Weburl {
7546 get { return weburl_; }
7547 }
7548
7549 public const int LightInfoFieldNumber = 6;
7550 private bool hasLightInfo;
7551 private global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty lightInfo_ = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.DefaultInstance;
7552 public bool HasLightInfo {
7553 get { return hasLightInfo; }
7554 }
7555 public global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty LightInfo {
7556 get { return lightInfo_; }
7557 }
7558
7559 public const int CameraFieldNumber = 7;
7560 private bool hasCamera;
7561 private bool camera_ = false;
7562 public bool HasCamera {
7563 get { return hasCamera; }
7564 }
7565 public bool Camera {
7566 get { return camera_; }
7567 }
7568
7569 public const int PhysicalFieldNumber = 8;
7570 private bool hasPhysical;
7571 private global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters physical_ = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.DefaultInstance;
7572 public bool HasPhysical {
7573 get { return hasPhysical; }
7574 }
7575 public global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters Physical {
7576 get { return physical_; }
7577 }
7578
7579 public override bool IsInitialized {
7580 get {
7581 return true;
7582 }
7583 }
7584
7585 public override void WriteTo(pb::CodedOutputStream output) {
7586 if (HasObjectUuid) {
7587 output.WriteBytes(1, ObjectUuid);
7588 }
7589 foreach (global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace element in SpacePropertiesList) {
7590 output.WriteMessage(2, element);
7591 }
7592 if (HasMesh) {
7593 output.WriteString(3, Mesh);
7594 }
7595 if (scale_.Count > 0) {
7596 output.WriteRawVarint32(34);
7597 output.WriteRawVarint32((uint) scaleMemoizedSerializedSize);
7598 foreach (float element in scale_) {
7599 output.WriteFloatNoTag(element);
7600 }
7601 }
7602 if (HasWeburl) {
7603 output.WriteString(5, Weburl);
7604 }
7605 if (HasLightInfo) {
7606 output.WriteMessage(6, LightInfo);
7607 }
7608 if (HasCamera) {
7609 output.WriteBool(7, Camera);
7610 }
7611 if (HasPhysical) {
7612 output.WriteMessage(8, Physical);
7613 }
7614 UnknownFields.WriteTo(output);
7615 }
7616
7617 private int memoizedSerializedSize = -1;
7618 public override int SerializedSize {
7619 get {
7620 int size = memoizedSerializedSize;
7621 if (size != -1) return size;
7622
7623 size = 0;
7624 if (HasObjectUuid) {
7625 size += pb::CodedOutputStream.ComputeBytesSize(1, ObjectUuid);
7626 }
7627 foreach (global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace element in SpacePropertiesList) {
7628 size += pb::CodedOutputStream.ComputeMessageSize(2, element);
7629 }
7630 if (HasMesh) {
7631 size += pb::CodedOutputStream.ComputeStringSize(3, Mesh);
7632 }
7633 {
7634 int dataSize = 0;
7635 dataSize = 4 * scale_.Count;
7636 size += dataSize;
7637 if (scale_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
7638 scaleMemoizedSerializedSize = dataSize;
7639 }
7640 if (HasWeburl) {
7641 size += pb::CodedOutputStream.ComputeStringSize(5, Weburl);
7642 }
7643 if (HasLightInfo) {
7644 size += pb::CodedOutputStream.ComputeMessageSize(6, LightInfo);
7645 }
7646 if (HasCamera) {
7647 size += pb::CodedOutputStream.ComputeBoolSize(7, Camera);
7648 }
7649 if (HasPhysical) {
7650 size += pb::CodedOutputStream.ComputeMessageSize(8, Physical);
7651 }
7652 size += UnknownFields.SerializedSize;
7653 memoizedSerializedSize = size;
7654 return size;
7655 }
7656 }
7657
7658 public static CreateObject ParseFrom(pb::ByteString data) {
7659 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
7660 }
7661 public static CreateObject ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
7662 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
7663 }
7664 public static CreateObject ParseFrom(byte[] data) {
7665 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
7666 }
7667 public static CreateObject ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
7668 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
7669 }
7670 public static CreateObject ParseFrom(global::System.IO.Stream input) {
7671 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
7672 }
7673 public static CreateObject ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
7674 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
7675 }
7676 public static CreateObject ParseDelimitedFrom(global::System.IO.Stream input) {
7677 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
7678 }
7679 public static CreateObject ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
7680 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
7681 }
7682 public static CreateObject ParseFrom(pb::CodedInputStream input) {
7683 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
7684 }
7685 public static CreateObject ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
7686 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
7687 }
7688 public static Builder CreateBuilder() { return new Builder(); }
7689 public override Builder ToBuilder() { return CreateBuilder(this); }
7690 public override Builder CreateBuilderForType() { return new Builder(); }
7691 public static Builder CreateBuilder(CreateObject prototype) {
7692 return (Builder) new Builder().MergeFrom(prototype);
7693 }
7694
7695 public sealed partial class Builder : pb::GeneratedBuilder<CreateObject, Builder> {
7696 protected override Builder ThisBuilder {
7697 get { return this; }
7698 }
7699 public Builder() {}
7700
7701 CreateObject result = new CreateObject();
7702
7703 protected override CreateObject MessageBeingBuilt {
7704 get { return result; }
7705 }
7706
7707 public override Builder Clear() {
7708 result = new CreateObject();
7709 return this;
7710 }
7711
7712 public override Builder Clone() {
7713 return new Builder().MergeFrom(result);
7714 }
7715
7716 public override pbd::MessageDescriptor DescriptorForType {
7717 get { return global::Sirikata.Protocol._PBJ_Internal.CreateObject.Descriptor; }
7718 }
7719
7720 public override CreateObject DefaultInstanceForType {
7721 get { return global::Sirikata.Protocol._PBJ_Internal.CreateObject.DefaultInstance; }
7722 }
7723
7724 public override CreateObject BuildPartial() {
7725 if (result == null) {
7726 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
7727 }
7728 result.spaceProperties_.MakeReadOnly();
7729 result.scale_.MakeReadOnly();
7730 CreateObject returnMe = result;
7731 result = null;
7732 return returnMe;
7733 }
7734
7735 public override Builder MergeFrom(pb::IMessage other) {
7736 if (other is CreateObject) {
7737 return MergeFrom((CreateObject) other);
7738 } else {
7739 base.MergeFrom(other);
7740 return this;
7741 }
7742 }
7743
7744 public override Builder MergeFrom(CreateObject other) {
7745 if (other == global::Sirikata.Protocol._PBJ_Internal.CreateObject.DefaultInstance) return this;
7746 if (other.HasObjectUuid) {
7747 ObjectUuid = other.ObjectUuid;
7748 }
7749 if (other.spaceProperties_.Count != 0) {
7750 base.AddRange(other.spaceProperties_, result.spaceProperties_);
7751 }
7752 if (other.HasMesh) {
7753 Mesh = other.Mesh;
7754 }
7755 if (other.scale_.Count != 0) {
7756 base.AddRange(other.scale_, result.scale_);
7757 }
7758 if (other.HasWeburl) {
7759 Weburl = other.Weburl;
7760 }
7761 if (other.HasLightInfo) {
7762 MergeLightInfo(other.LightInfo);
7763 }
7764 if (other.HasCamera) {
7765 Camera = other.Camera;
7766 }
7767 if (other.HasPhysical) {
7768 MergePhysical(other.Physical);
7769 }
7770 this.MergeUnknownFields(other.UnknownFields);
7771 return this;
7772 }
7773
7774 public override Builder MergeFrom(pb::CodedInputStream input) {
7775 return MergeFrom(input, pb::ExtensionRegistry.Empty);
7776 }
7777
7778 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
7779 pb::UnknownFieldSet.Builder unknownFields = null;
7780 while (true) {
7781 uint tag = input.ReadTag();
7782 switch (tag) {
7783 case 0: {
7784 if (unknownFields != null) {
7785 this.UnknownFields = unknownFields.Build();
7786 }
7787 return this;
7788 }
7789 default: {
7790 if (pb::WireFormat.IsEndGroupTag(tag)) {
7791 if (unknownFields != null) {
7792 this.UnknownFields = unknownFields.Build();
7793 }
7794 return this;
7795 }
7796 if (unknownFields == null) {
7797 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
7798 }
7799 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
7800 break;
7801 }
7802 case 10: {
7803 ObjectUuid = input.ReadBytes();
7804 break;
7805 }
7806 case 18: {
7807 global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.CreateBuilder();
7808 input.ReadMessage(subBuilder, extensionRegistry);
7809 AddSpaceProperties(subBuilder.BuildPartial());
7810 break;
7811 }
7812 case 26: {
7813 Mesh = input.ReadString();
7814 break;
7815 }
7816 case 34: {
7817 int length = input.ReadInt32();
7818 int limit = input.PushLimit(length);
7819 while (!input.ReachedLimit) {
7820 AddScale(input.ReadFloat());
7821 }
7822 input.PopLimit(limit);
7823 break;
7824 }
7825 case 42: {
7826 Weburl = input.ReadString();
7827 break;
7828 }
7829 case 50: {
7830 global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.CreateBuilder();
7831 if (HasLightInfo) {
7832 subBuilder.MergeFrom(LightInfo);
7833 }
7834 input.ReadMessage(subBuilder, extensionRegistry);
7835 LightInfo = subBuilder.BuildPartial();
7836 break;
7837 }
7838 case 56: {
7839 Camera = input.ReadBool();
7840 break;
7841 }
7842 case 66: {
7843 global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Builder subBuilder = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.CreateBuilder();
7844 if (HasPhysical) {
7845 subBuilder.MergeFrom(Physical);
7846 }
7847 input.ReadMessage(subBuilder, extensionRegistry);
7848 Physical = subBuilder.BuildPartial();
7849 break;
7850 }
7851 }
7852 }
7853 }
7854
7855
7856 public bool HasObjectUuid {
7857 get { return result.HasObjectUuid; }
7858 }
7859 public pb::ByteString ObjectUuid {
7860 get { return result.ObjectUuid; }
7861 set { SetObjectUuid(value); }
7862 }
7863 public Builder SetObjectUuid(pb::ByteString value) {
7864 pb::ThrowHelper.ThrowIfNull(value, "value");
7865 result.hasObjectUuid = true;
7866 result.objectUuid_ = value;
7867 return this;
7868 }
7869 public Builder ClearObjectUuid() {
7870 result.hasObjectUuid = false;
7871 result.objectUuid_ = pb::ByteString.Empty;
7872 return this;
7873 }
7874
7875 public pbc::IPopsicleList<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace> SpacePropertiesList {
7876 get { return result.spaceProperties_; }
7877 }
7878 public int SpacePropertiesCount {
7879 get { return result.SpacePropertiesCount; }
7880 }
7881 public global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace GetSpaceProperties(int index) {
7882 return result.GetSpaceProperties(index);
7883 }
7884 public Builder SetSpaceProperties(int index, global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace value) {
7885 pb::ThrowHelper.ThrowIfNull(value, "value");
7886 result.spaceProperties_[index] = value;
7887 return this;
7888 }
7889 public Builder SetSpaceProperties(int index, global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Builder builderForValue) {
7890 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
7891 result.spaceProperties_[index] = builderForValue.Build();
7892 return this;
7893 }
7894 public Builder AddSpaceProperties(global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace value) {
7895 pb::ThrowHelper.ThrowIfNull(value, "value");
7896 result.spaceProperties_.Add(value);
7897 return this;
7898 }
7899 public Builder AddSpaceProperties(global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace.Builder builderForValue) {
7900 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
7901 result.spaceProperties_.Add(builderForValue.Build());
7902 return this;
7903 }
7904 public Builder AddRangeSpaceProperties(scg::IEnumerable<global::Sirikata.Protocol._PBJ_Internal.ConnectToSpace> values) {
7905 base.AddRange(values, result.spaceProperties_);
7906 return this;
7907 }
7908 public Builder ClearSpaceProperties() {
7909 result.spaceProperties_.Clear();
7910 return this;
7911 }
7912
7913 public bool HasMesh {
7914 get { return result.HasMesh; }
7915 }
7916 public string Mesh {
7917 get { return result.Mesh; }
7918 set { SetMesh(value); }
7919 }
7920 public Builder SetMesh(string value) {
7921 pb::ThrowHelper.ThrowIfNull(value, "value");
7922 result.hasMesh = true;
7923 result.mesh_ = value;
7924 return this;
7925 }
7926 public Builder ClearMesh() {
7927 result.hasMesh = false;
7928 result.mesh_ = "";
7929 return this;
7930 }
7931
7932 public pbc::IPopsicleList<float> ScaleList {
7933 get { return result.scale_; }
7934 }
7935 public int ScaleCount {
7936 get { return result.ScaleCount; }
7937 }
7938 public float GetScale(int index) {
7939 return result.GetScale(index);
7940 }
7941 public Builder SetScale(int index, float value) {
7942 result.scale_[index] = value;
7943 return this;
7944 }
7945 public Builder AddScale(float value) {
7946 result.scale_.Add(value);
7947 return this;
7948 }
7949 public Builder AddRangeScale(scg::IEnumerable<float> values) {
7950 base.AddRange(values, result.scale_);
7951 return this;
7952 }
7953 public Builder ClearScale() {
7954 result.scale_.Clear();
7955 return this;
7956 }
7957
7958 public bool HasWeburl {
7959 get { return result.HasWeburl; }
7960 }
7961 public string Weburl {
7962 get { return result.Weburl; }
7963 set { SetWeburl(value); }
7964 }
7965 public Builder SetWeburl(string value) {
7966 pb::ThrowHelper.ThrowIfNull(value, "value");
7967 result.hasWeburl = true;
7968 result.weburl_ = value;
7969 return this;
7970 }
7971 public Builder ClearWeburl() {
7972 result.hasWeburl = false;
7973 result.weburl_ = "";
7974 return this;
7975 }
7976
7977 public bool HasLightInfo {
7978 get { return result.HasLightInfo; }
7979 }
7980 public global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty LightInfo {
7981 get { return result.LightInfo; }
7982 set { SetLightInfo(value); }
7983 }
7984 public Builder SetLightInfo(global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty value) {
7985 pb::ThrowHelper.ThrowIfNull(value, "value");
7986 result.hasLightInfo = true;
7987 result.lightInfo_ = value;
7988 return this;
7989 }
7990 public Builder SetLightInfo(global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.Builder builderForValue) {
7991 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
7992 result.hasLightInfo = true;
7993 result.lightInfo_ = builderForValue.Build();
7994 return this;
7995 }
7996 public Builder MergeLightInfo(global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty value) {
7997 pb::ThrowHelper.ThrowIfNull(value, "value");
7998 if (result.HasLightInfo &&
7999 result.lightInfo_ != global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.DefaultInstance) {
8000 result.lightInfo_ = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.CreateBuilder(result.lightInfo_).MergeFrom(value).BuildPartial();
8001 } else {
8002 result.lightInfo_ = value;
8003 }
8004 result.hasLightInfo = true;
8005 return this;
8006 }
8007 public Builder ClearLightInfo() {
8008 result.hasLightInfo = false;
8009 result.lightInfo_ = global::Sirikata.Protocol._PBJ_Internal.LightInfoProperty.DefaultInstance;
8010 return this;
8011 }
8012
8013 public bool HasCamera {
8014 get { return result.HasCamera; }
8015 }
8016 public bool Camera {
8017 get { return result.Camera; }
8018 set { SetCamera(value); }
8019 }
8020 public Builder SetCamera(bool value) {
8021 result.hasCamera = true;
8022 result.camera_ = value;
8023 return this;
8024 }
8025 public Builder ClearCamera() {
8026 result.hasCamera = false;
8027 result.camera_ = false;
8028 return this;
8029 }
8030
8031 public bool HasPhysical {
8032 get { return result.HasPhysical; }
8033 }
8034 public global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters Physical {
8035 get { return result.Physical; }
8036 set { SetPhysical(value); }
8037 }
8038 public Builder SetPhysical(global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters value) {
8039 pb::ThrowHelper.ThrowIfNull(value, "value");
8040 result.hasPhysical = true;
8041 result.physical_ = value;
8042 return this;
8043 }
8044 public Builder SetPhysical(global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.Builder builderForValue) {
8045 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
8046 result.hasPhysical = true;
8047 result.physical_ = builderForValue.Build();
8048 return this;
8049 }
8050 public Builder MergePhysical(global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters value) {
8051 pb::ThrowHelper.ThrowIfNull(value, "value");
8052 if (result.HasPhysical &&
8053 result.physical_ != global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.DefaultInstance) {
8054 result.physical_ = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.CreateBuilder(result.physical_).MergeFrom(value).BuildPartial();
8055 } else {
8056 result.physical_ = value;
8057 }
8058 result.hasPhysical = true;
8059 return this;
8060 }
8061 public Builder ClearPhysical() {
8062 result.hasPhysical = false;
8063 result.physical_ = global::Sirikata.Protocol._PBJ_Internal.PhysicalParameters.DefaultInstance;
8064 return this;
8065 }
8066 }
8067 static CreateObject() {
8068 object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
8069 }
8070 }
8071
8072 #endregion
8073
8074}