diff options
author | Adam Frisby | 2009-12-27 15:03:10 +1100 |
---|---|---|
committer | Adam Frisby | 2009-12-27 15:03:10 +1100 |
commit | fd777cc7b964a302f335ad91735f02554582c648 (patch) | |
tree | 4b448a6ea13b3074a5c54beed0a8744127b2930b /OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs | |
parent | * Adding Google.ProtocolBuffers.dll dependency (BSD licensed) (diff) | |
download | opensim-SC-fd777cc7b964a302f335ad91735f02554582c648.zip opensim-SC-fd777cc7b964a302f335ad91735f02554582c648.tar.gz opensim-SC-fd777cc7b964a302f335ad91735f02554582c648.tar.bz2 opensim-SC-fd777cc7b964a302f335ad91735f02554582c648.tar.xz |
* Implements Sirikata ClientStack Module
* Just a stub (imports all the sirikata protocol, and that's about it.)
Diffstat (limited to 'OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs')
-rw-r--r-- | OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs | 404 |
1 files changed, 404 insertions, 0 deletions
diff --git a/OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs b/OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs new file mode 100644 index 0000000..ca6c7e8 --- /dev/null +++ b/OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs | |||
@@ -0,0 +1,404 @@ | |||
1 | using pbd = global::Google.ProtocolBuffers.Descriptors; | ||
2 | using pb = global::Google.ProtocolBuffers; | ||
3 | namespace Sirikata.Subscription.Protocol { | ||
4 | public class Address : PBJ.IMessage { | ||
5 | protected _PBJ_Internal.Address super; | ||
6 | public _PBJ_Internal.Address _PBJSuper{ get { return super;} } | ||
7 | public Address() { | ||
8 | super=new _PBJ_Internal.Address(); | ||
9 | } | ||
10 | public Address(_PBJ_Internal.Address reference) { | ||
11 | super=reference; | ||
12 | } | ||
13 | public static Address defaultInstance= new Address (_PBJ_Internal.Address.DefaultInstance); | ||
14 | public static Address DefaultInstance{ | ||
15 | get {return defaultInstance;} | ||
16 | } | ||
17 | public static pbd.MessageDescriptor Descriptor { | ||
18 | get { return _PBJ_Internal.Address.Descriptor; } } | ||
19 | public static class Types { | ||
20 | } | ||
21 | public static bool WithinReservedFieldTagRange(int field_tag) { | ||
22 | return false; | ||
23 | } | ||
24 | public static bool WithinExtensionFieldTagRange(int field_tag) { | ||
25 | return false; | ||
26 | } | ||
27 | public const int HostnameFieldTag=1; | ||
28 | public bool HasHostname{ get {return super.HasHostname&&PBJ._PBJ.ValidateString(super.Hostname);} } | ||
29 | public string Hostname{ get { | ||
30 | if (HasHostname) { | ||
31 | return PBJ._PBJ.CastString(super.Hostname); | ||
32 | } else { | ||
33 | return PBJ._PBJ.CastString(); | ||
34 | } | ||
35 | } | ||
36 | } | ||
37 | public const int ServiceFieldTag=2; | ||
38 | public bool HasService{ get {return super.HasService&&PBJ._PBJ.ValidateString(super.Service);} } | ||
39 | public string Service{ get { | ||
40 | if (HasService) { | ||
41 | return PBJ._PBJ.CastString(super.Service); | ||
42 | } else { | ||
43 | return PBJ._PBJ.CastString(); | ||
44 | } | ||
45 | } | ||
46 | } | ||
47 | public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } } | ||
48 | public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); } | ||
49 | public static Builder CreateBuilder() { return new Builder(); } | ||
50 | public static Builder CreateBuilder(Address prototype) { | ||
51 | return (Builder)new Builder().MergeFrom(prototype); | ||
52 | } | ||
53 | public static Address ParseFrom(pb::ByteString data) { | ||
54 | return new Address(_PBJ_Internal.Address.ParseFrom(data)); | ||
55 | } | ||
56 | public static Address ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) { | ||
57 | return new Address(_PBJ_Internal.Address.ParseFrom(data,er)); | ||
58 | } | ||
59 | public static Address ParseFrom(byte[] data) { | ||
60 | return new Address(_PBJ_Internal.Address.ParseFrom(data)); | ||
61 | } | ||
62 | public static Address ParseFrom(byte[] data, pb::ExtensionRegistry er) { | ||
63 | return new Address(_PBJ_Internal.Address.ParseFrom(data,er)); | ||
64 | } | ||
65 | public static Address ParseFrom(global::System.IO.Stream data) { | ||
66 | return new Address(_PBJ_Internal.Address.ParseFrom(data)); | ||
67 | } | ||
68 | public static Address ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) { | ||
69 | return new Address(_PBJ_Internal.Address.ParseFrom(data,er)); | ||
70 | } | ||
71 | public static Address ParseFrom(pb::CodedInputStream data) { | ||
72 | return new Address(_PBJ_Internal.Address.ParseFrom(data)); | ||
73 | } | ||
74 | public static Address ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) { | ||
75 | return new Address(_PBJ_Internal.Address.ParseFrom(data,er)); | ||
76 | } | ||
77 | protected override bool _HasAllPBJFields{ get { | ||
78 | return true | ||
79 | ; | ||
80 | } } | ||
81 | public bool IsInitialized { get { | ||
82 | return super.IsInitialized&&_HasAllPBJFields; | ||
83 | } } | ||
84 | public class Builder : global::PBJ.IMessage.IBuilder{ | ||
85 | protected override bool _HasAllPBJFields{ get { | ||
86 | return true | ||
87 | ; | ||
88 | } } | ||
89 | public bool IsInitialized { get { | ||
90 | return super.IsInitialized&&_HasAllPBJFields; | ||
91 | } } | ||
92 | protected _PBJ_Internal.Address.Builder super; | ||
93 | public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } } | ||
94 | public _PBJ_Internal.Address.Builder _PBJSuper{ get { return super;} } | ||
95 | public Builder() {super = new _PBJ_Internal.Address.Builder();} | ||
96 | public Builder(_PBJ_Internal.Address.Builder other) { | ||
97 | super=other; | ||
98 | } | ||
99 | public Builder Clone() {return new Builder(super.Clone());} | ||
100 | public Builder MergeFrom(Address prototype) { super.MergeFrom(prototype._PBJSuper);return this;} | ||
101 | public Builder Clear() {super.Clear();return this;} | ||
102 | public Address BuildPartial() {return new Address(super.BuildPartial());} | ||
103 | public Address Build() {if (_HasAllPBJFields) return new Address(super.Build());return null;} | ||
104 | public pbd::MessageDescriptor DescriptorForType { | ||
105 | get { return Address.Descriptor; } } | ||
106 | public Builder ClearHostname() { super.ClearHostname();return this;} | ||
107 | public const int HostnameFieldTag=1; | ||
108 | public bool HasHostname{ get {return super.HasHostname&&PBJ._PBJ.ValidateString(super.Hostname);} } | ||
109 | public string Hostname{ get { | ||
110 | if (HasHostname) { | ||
111 | return PBJ._PBJ.CastString(super.Hostname); | ||
112 | } else { | ||
113 | return PBJ._PBJ.CastString(); | ||
114 | } | ||
115 | } | ||
116 | set { | ||
117 | super.Hostname=(PBJ._PBJ.Construct(value)); | ||
118 | } | ||
119 | } | ||
120 | public Builder ClearService() { super.ClearService();return this;} | ||
121 | public const int ServiceFieldTag=2; | ||
122 | public bool HasService{ get {return super.HasService&&PBJ._PBJ.ValidateString(super.Service);} } | ||
123 | public string Service{ get { | ||
124 | if (HasService) { | ||
125 | return PBJ._PBJ.CastString(super.Service); | ||
126 | } else { | ||
127 | return PBJ._PBJ.CastString(); | ||
128 | } | ||
129 | } | ||
130 | set { | ||
131 | super.Service=(PBJ._PBJ.Construct(value)); | ||
132 | } | ||
133 | } | ||
134 | } | ||
135 | } | ||
136 | } | ||
137 | namespace Sirikata.Subscription.Protocol { | ||
138 | public class Subscribe : PBJ.IMessage { | ||
139 | protected _PBJ_Internal.Subscribe super; | ||
140 | public _PBJ_Internal.Subscribe _PBJSuper{ get { return super;} } | ||
141 | public Subscribe() { | ||
142 | super=new _PBJ_Internal.Subscribe(); | ||
143 | } | ||
144 | public Subscribe(_PBJ_Internal.Subscribe reference) { | ||
145 | super=reference; | ||
146 | } | ||
147 | public static Subscribe defaultInstance= new Subscribe (_PBJ_Internal.Subscribe.DefaultInstance); | ||
148 | public static Subscribe DefaultInstance{ | ||
149 | get {return defaultInstance;} | ||
150 | } | ||
151 | public static pbd.MessageDescriptor Descriptor { | ||
152 | get { return _PBJ_Internal.Subscribe.Descriptor; } } | ||
153 | public static class Types { | ||
154 | } | ||
155 | public static bool WithinReservedFieldTagRange(int field_tag) { | ||
156 | return false||(field_tag>=1&&field_tag<=6)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912); | ||
157 | } | ||
158 | public static bool WithinExtensionFieldTagRange(int field_tag) { | ||
159 | return false; | ||
160 | } | ||
161 | public const int BroadcastAddressFieldTag=7; | ||
162 | public bool HasBroadcastAddress{ get {return super.HasBroadcastAddress;} } | ||
163 | public Address BroadcastAddress{ get { | ||
164 | if (HasBroadcastAddress) { | ||
165 | return new Address(super.BroadcastAddress); | ||
166 | } else { | ||
167 | return new Address(); | ||
168 | } | ||
169 | } | ||
170 | } | ||
171 | public const int BroadcastNameFieldTag=8; | ||
172 | public bool HasBroadcastName{ get {return super.HasBroadcastName&&PBJ._PBJ.ValidateUuid(super.BroadcastName);} } | ||
173 | public PBJ.UUID BroadcastName{ get { | ||
174 | if (HasBroadcastName) { | ||
175 | return PBJ._PBJ.CastUuid(super.BroadcastName); | ||
176 | } else { | ||
177 | return PBJ._PBJ.CastUuid(); | ||
178 | } | ||
179 | } | ||
180 | } | ||
181 | public const int UpdatePeriodFieldTag=9; | ||
182 | public bool HasUpdatePeriod{ get {return super.HasUpdatePeriod&&PBJ._PBJ.ValidateDuration(super.UpdatePeriod);} } | ||
183 | public PBJ.Duration UpdatePeriod{ get { | ||
184 | if (HasUpdatePeriod) { | ||
185 | return PBJ._PBJ.CastDuration(super.UpdatePeriod); | ||
186 | } else { | ||
187 | return PBJ._PBJ.CastDuration(); | ||
188 | } | ||
189 | } | ||
190 | } | ||
191 | public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } } | ||
192 | public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); } | ||
193 | public static Builder CreateBuilder() { return new Builder(); } | ||
194 | public static Builder CreateBuilder(Subscribe prototype) { | ||
195 | return (Builder)new Builder().MergeFrom(prototype); | ||
196 | } | ||
197 | public static Subscribe ParseFrom(pb::ByteString data) { | ||
198 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data)); | ||
199 | } | ||
200 | public static Subscribe ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) { | ||
201 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data,er)); | ||
202 | } | ||
203 | public static Subscribe ParseFrom(byte[] data) { | ||
204 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data)); | ||
205 | } | ||
206 | public static Subscribe ParseFrom(byte[] data, pb::ExtensionRegistry er) { | ||
207 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data,er)); | ||
208 | } | ||
209 | public static Subscribe ParseFrom(global::System.IO.Stream data) { | ||
210 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data)); | ||
211 | } | ||
212 | public static Subscribe ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) { | ||
213 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data,er)); | ||
214 | } | ||
215 | public static Subscribe ParseFrom(pb::CodedInputStream data) { | ||
216 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data)); | ||
217 | } | ||
218 | public static Subscribe ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) { | ||
219 | return new Subscribe(_PBJ_Internal.Subscribe.ParseFrom(data,er)); | ||
220 | } | ||
221 | protected override bool _HasAllPBJFields{ get { | ||
222 | return true | ||
223 | ; | ||
224 | } } | ||
225 | public bool IsInitialized { get { | ||
226 | return super.IsInitialized&&_HasAllPBJFields; | ||
227 | } } | ||
228 | public class Builder : global::PBJ.IMessage.IBuilder{ | ||
229 | protected override bool _HasAllPBJFields{ get { | ||
230 | return true | ||
231 | ; | ||
232 | } } | ||
233 | public bool IsInitialized { get { | ||
234 | return super.IsInitialized&&_HasAllPBJFields; | ||
235 | } } | ||
236 | protected _PBJ_Internal.Subscribe.Builder super; | ||
237 | public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } } | ||
238 | public _PBJ_Internal.Subscribe.Builder _PBJSuper{ get { return super;} } | ||
239 | public Builder() {super = new _PBJ_Internal.Subscribe.Builder();} | ||
240 | public Builder(_PBJ_Internal.Subscribe.Builder other) { | ||
241 | super=other; | ||
242 | } | ||
243 | public Builder Clone() {return new Builder(super.Clone());} | ||
244 | public Builder MergeFrom(Subscribe prototype) { super.MergeFrom(prototype._PBJSuper);return this;} | ||
245 | public Builder Clear() {super.Clear();return this;} | ||
246 | public Subscribe BuildPartial() {return new Subscribe(super.BuildPartial());} | ||
247 | public Subscribe Build() {if (_HasAllPBJFields) return new Subscribe(super.Build());return null;} | ||
248 | public pbd::MessageDescriptor DescriptorForType { | ||
249 | get { return Subscribe.Descriptor; } } | ||
250 | public Builder ClearBroadcastAddress() { super.ClearBroadcastAddress();return this;} | ||
251 | public const int BroadcastAddressFieldTag=7; | ||
252 | public bool HasBroadcastAddress{ get {return super.HasBroadcastAddress;} } | ||
253 | public Address BroadcastAddress{ get { | ||
254 | if (HasBroadcastAddress) { | ||
255 | return new Address(super.BroadcastAddress); | ||
256 | } else { | ||
257 | return new Address(); | ||
258 | } | ||
259 | } | ||
260 | set { | ||
261 | super.BroadcastAddress=value._PBJSuper; | ||
262 | } | ||
263 | } | ||
264 | public Builder ClearBroadcastName() { super.ClearBroadcastName();return this;} | ||
265 | public const int BroadcastNameFieldTag=8; | ||
266 | public bool HasBroadcastName{ get {return super.HasBroadcastName&&PBJ._PBJ.ValidateUuid(super.BroadcastName);} } | ||
267 | public PBJ.UUID BroadcastName{ get { | ||
268 | if (HasBroadcastName) { | ||
269 | return PBJ._PBJ.CastUuid(super.BroadcastName); | ||
270 | } else { | ||
271 | return PBJ._PBJ.CastUuid(); | ||
272 | } | ||
273 | } | ||
274 | set { | ||
275 | super.BroadcastName=(PBJ._PBJ.Construct(value)); | ||
276 | } | ||
277 | } | ||
278 | public Builder ClearUpdatePeriod() { super.ClearUpdatePeriod();return this;} | ||
279 | public const int UpdatePeriodFieldTag=9; | ||
280 | public bool HasUpdatePeriod{ get {return super.HasUpdatePeriod&&PBJ._PBJ.ValidateDuration(super.UpdatePeriod);} } | ||
281 | public PBJ.Duration UpdatePeriod{ get { | ||
282 | if (HasUpdatePeriod) { | ||
283 | return PBJ._PBJ.CastDuration(super.UpdatePeriod); | ||
284 | } else { | ||
285 | return PBJ._PBJ.CastDuration(); | ||
286 | } | ||
287 | } | ||
288 | set { | ||
289 | super.UpdatePeriod=(PBJ._PBJ.Construct(value)); | ||
290 | } | ||
291 | } | ||
292 | } | ||
293 | } | ||
294 | } | ||
295 | namespace Sirikata.Subscription.Protocol { | ||
296 | public class Broadcast : PBJ.IMessage { | ||
297 | protected _PBJ_Internal.Broadcast super; | ||
298 | public _PBJ_Internal.Broadcast _PBJSuper{ get { return super;} } | ||
299 | public Broadcast() { | ||
300 | super=new _PBJ_Internal.Broadcast(); | ||
301 | } | ||
302 | public Broadcast(_PBJ_Internal.Broadcast reference) { | ||
303 | super=reference; | ||
304 | } | ||
305 | public static Broadcast defaultInstance= new Broadcast (_PBJ_Internal.Broadcast.DefaultInstance); | ||
306 | public static Broadcast DefaultInstance{ | ||
307 | get {return defaultInstance;} | ||
308 | } | ||
309 | public static pbd.MessageDescriptor Descriptor { | ||
310 | get { return _PBJ_Internal.Broadcast.Descriptor; } } | ||
311 | public static class Types { | ||
312 | } | ||
313 | public static bool WithinReservedFieldTagRange(int field_tag) { | ||
314 | return false||(field_tag>=1&&field_tag<=6)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912); | ||
315 | } | ||
316 | public static bool WithinExtensionFieldTagRange(int field_tag) { | ||
317 | return false; | ||
318 | } | ||
319 | public const int BroadcastNameFieldTag=7; | ||
320 | public bool HasBroadcastName{ get {return super.HasBroadcastName&&PBJ._PBJ.ValidateUuid(super.BroadcastName);} } | ||
321 | public PBJ.UUID BroadcastName{ get { | ||
322 | if (HasBroadcastName) { | ||
323 | return PBJ._PBJ.CastUuid(super.BroadcastName); | ||
324 | } else { | ||
325 | return PBJ._PBJ.CastUuid(); | ||
326 | } | ||
327 | } | ||
328 | } | ||
329 | public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } } | ||
330 | public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); } | ||
331 | public static Builder CreateBuilder() { return new Builder(); } | ||
332 | public static Builder CreateBuilder(Broadcast prototype) { | ||
333 | return (Builder)new Builder().MergeFrom(prototype); | ||
334 | } | ||
335 | public static Broadcast ParseFrom(pb::ByteString data) { | ||
336 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data)); | ||
337 | } | ||
338 | public static Broadcast ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) { | ||
339 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data,er)); | ||
340 | } | ||
341 | public static Broadcast ParseFrom(byte[] data) { | ||
342 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data)); | ||
343 | } | ||
344 | public static Broadcast ParseFrom(byte[] data, pb::ExtensionRegistry er) { | ||
345 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data,er)); | ||
346 | } | ||
347 | public static Broadcast ParseFrom(global::System.IO.Stream data) { | ||
348 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data)); | ||
349 | } | ||
350 | public static Broadcast ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) { | ||
351 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data,er)); | ||
352 | } | ||
353 | public static Broadcast ParseFrom(pb::CodedInputStream data) { | ||
354 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data)); | ||
355 | } | ||
356 | public static Broadcast ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) { | ||
357 | return new Broadcast(_PBJ_Internal.Broadcast.ParseFrom(data,er)); | ||
358 | } | ||
359 | protected override bool _HasAllPBJFields{ get { | ||
360 | return true | ||
361 | ; | ||
362 | } } | ||
363 | public bool IsInitialized { get { | ||
364 | return super.IsInitialized&&_HasAllPBJFields; | ||
365 | } } | ||
366 | public class Builder : global::PBJ.IMessage.IBuilder{ | ||
367 | protected override bool _HasAllPBJFields{ get { | ||
368 | return true | ||
369 | ; | ||
370 | } } | ||
371 | public bool IsInitialized { get { | ||
372 | return super.IsInitialized&&_HasAllPBJFields; | ||
373 | } } | ||
374 | protected _PBJ_Internal.Broadcast.Builder super; | ||
375 | public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } } | ||
376 | public _PBJ_Internal.Broadcast.Builder _PBJSuper{ get { return super;} } | ||
377 | public Builder() {super = new _PBJ_Internal.Broadcast.Builder();} | ||
378 | public Builder(_PBJ_Internal.Broadcast.Builder other) { | ||
379 | super=other; | ||
380 | } | ||
381 | public Builder Clone() {return new Builder(super.Clone());} | ||
382 | public Builder MergeFrom(Broadcast prototype) { super.MergeFrom(prototype._PBJSuper);return this;} | ||
383 | public Builder Clear() {super.Clear();return this;} | ||
384 | public Broadcast BuildPartial() {return new Broadcast(super.BuildPartial());} | ||
385 | public Broadcast Build() {if (_HasAllPBJFields) return new Broadcast(super.Build());return null;} | ||
386 | public pbd::MessageDescriptor DescriptorForType { | ||
387 | get { return Broadcast.Descriptor; } } | ||
388 | public Builder ClearBroadcastName() { super.ClearBroadcastName();return this;} | ||
389 | public const int BroadcastNameFieldTag=7; | ||
390 | public bool HasBroadcastName{ get {return super.HasBroadcastName&&PBJ._PBJ.ValidateUuid(super.BroadcastName);} } | ||
391 | public PBJ.UUID BroadcastName{ get { | ||
392 | if (HasBroadcastName) { | ||
393 | return PBJ._PBJ.CastUuid(super.BroadcastName); | ||
394 | } else { | ||
395 | return PBJ._PBJ.CastUuid(); | ||
396 | } | ||
397 | } | ||
398 | set { | ||
399 | super.BroadcastName=(PBJ._PBJ.Construct(value)); | ||
400 | } | ||
401 | } | ||
402 | } | ||
403 | } | ||
404 | } | ||