aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs')
-rw-r--r--OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs339
1 files changed, 0 insertions, 339 deletions
diff --git a/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs b/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
deleted file mode 100644
index fb4963f..0000000
--- a/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
+++ /dev/null
@@ -1,339 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSimulator Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using pbd = global::Google.ProtocolBuffers.Descriptors;
29using pb = global::Google.ProtocolBuffers;
30namespace Sirikata.Protocol {
31 public class Header : PBJ.IMessage {
32 protected _PBJ_Internal.Header super;
33 public _PBJ_Internal.Header _PBJSuper{ get { return super;} }
34 public Header() {
35 super=new _PBJ_Internal.Header();
36 }
37 public Header(_PBJ_Internal.Header reference) {
38 super=reference;
39 }
40 public static Header defaultInstance= new Header (_PBJ_Internal.Header.DefaultInstance);
41 public static Header DefaultInstance{
42 get {return defaultInstance;}
43 }
44 public static pbd.MessageDescriptor Descriptor {
45 get { return _PBJ_Internal.Header.Descriptor; } }
46 public static class Types {
47 public enum ReturnStatus {
48 SUCCESS=_PBJ_Internal.Header.Types.ReturnStatus.SUCCESS,
49 NETWORK_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.NETWORK_FAILURE,
50 TIMEOUT_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.TIMEOUT_FAILURE,
51 PROTOCOL_ERROR=_PBJ_Internal.Header.Types.ReturnStatus.PROTOCOL_ERROR,
52 PORT_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.PORT_FAILURE,
53 UNKNOWN_OBJECT=_PBJ_Internal.Header.Types.ReturnStatus.UNKNOWN_OBJECT
54 };
55 }
56 public static bool WithinReservedFieldTagRange(int field_tag) {
57 return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
58 }
59 public static bool WithinExtensionFieldTagRange(int field_tag) {
60 return false;
61 }
62 public const int SourceObjectFieldTag=1;
63 public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
64 public PBJ.UUID SourceObject{ get {
65 if (HasSourceObject) {
66 return PBJ._PBJ.CastUuid(super.SourceObject);
67 } else {
68 return PBJ._PBJ.CastUuid();
69 }
70 }
71 }
72 public const int SourcePortFieldTag=3;
73 public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
74 public uint SourcePort{ get {
75 if (HasSourcePort) {
76 return PBJ._PBJ.CastUint32(super.SourcePort);
77 } else {
78 return PBJ._PBJ.CastUint32();
79 }
80 }
81 }
82 public const int SourceSpaceFieldTag=1536;
83 public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
84 public PBJ.UUID SourceSpace{ get {
85 if (HasSourceSpace) {
86 return PBJ._PBJ.CastUuid(super.SourceSpace);
87 } else {
88 return PBJ._PBJ.CastUuid();
89 }
90 }
91 }
92 public const int DestinationObjectFieldTag=2;
93 public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
94 public PBJ.UUID DestinationObject{ get {
95 if (HasDestinationObject) {
96 return PBJ._PBJ.CastUuid(super.DestinationObject);
97 } else {
98 return PBJ._PBJ.CastUuid();
99 }
100 }
101 }
102 public const int DestinationPortFieldTag=4;
103 public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
104 public uint DestinationPort{ get {
105 if (HasDestinationPort) {
106 return PBJ._PBJ.CastUint32(super.DestinationPort);
107 } else {
108 return PBJ._PBJ.CastUint32();
109 }
110 }
111 }
112 public const int DestinationSpaceFieldTag=1537;
113 public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
114 public PBJ.UUID DestinationSpace{ get {
115 if (HasDestinationSpace) {
116 return PBJ._PBJ.CastUuid(super.DestinationSpace);
117 } else {
118 return PBJ._PBJ.CastUuid();
119 }
120 }
121 }
122 public const int IdFieldTag=7;
123 public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
124 public long Id{ get {
125 if (HasId) {
126 return PBJ._PBJ.CastInt64(super.Id);
127 } else {
128 return PBJ._PBJ.CastInt64();
129 }
130 }
131 }
132 public const int ReplyIdFieldTag=8;
133 public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
134 public long ReplyId{ get {
135 if (HasReplyId) {
136 return PBJ._PBJ.CastInt64(super.ReplyId);
137 } else {
138 return PBJ._PBJ.CastInt64();
139 }
140 }
141 }
142 public const int ReturnStatusFieldTag=1792;
143 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
144 public Types.ReturnStatus ReturnStatus{ get {
145 if (HasReturnStatus) {
146 return (Types.ReturnStatus)super.ReturnStatus;
147 } else {
148 return new Types.ReturnStatus();
149 }
150 }
151 }
152 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
153 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
154 public static Builder CreateBuilder() { return new Builder(); }
155 public static Builder CreateBuilder(Header prototype) {
156 return (Builder)new Builder().MergeFrom(prototype);
157 }
158 public static Header ParseFrom(pb::ByteString data) {
159 return new Header(_PBJ_Internal.Header.ParseFrom(data));
160 }
161 public static Header ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
162 return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
163 }
164 public static Header ParseFrom(byte[] data) {
165 return new Header(_PBJ_Internal.Header.ParseFrom(data));
166 }
167 public static Header ParseFrom(byte[] data, pb::ExtensionRegistry er) {
168 return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
169 }
170 public static Header ParseFrom(global::System.IO.Stream data) {
171 return new Header(_PBJ_Internal.Header.ParseFrom(data));
172 }
173 public static Header ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
174 return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
175 }
176 public static Header ParseFrom(pb::CodedInputStream data) {
177 return new Header(_PBJ_Internal.Header.ParseFrom(data));
178 }
179 public static Header ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
180 return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
181 }
182 protected override bool _HasAllPBJFields{ get {
183 return true
184 ;
185 } }
186 public bool IsInitialized { get {
187 return super.IsInitialized&&_HasAllPBJFields;
188 } }
189 public class Builder : global::PBJ.IMessage.IBuilder{
190 protected override bool _HasAllPBJFields{ get {
191 return true
192 ;
193 } }
194 public bool IsInitialized { get {
195 return super.IsInitialized&&_HasAllPBJFields;
196 } }
197 protected _PBJ_Internal.Header.Builder super;
198 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
199 public _PBJ_Internal.Header.Builder _PBJSuper{ get { return super;} }
200 public Builder() {super = new _PBJ_Internal.Header.Builder();}
201 public Builder(_PBJ_Internal.Header.Builder other) {
202 super=other;
203 }
204 public Builder Clone() {return new Builder(super.Clone());}
205 public Builder MergeFrom(Header prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
206 public Builder Clear() {super.Clear();return this;}
207 public Header BuildPartial() {return new Header(super.BuildPartial());}
208 public Header Build() {if (_HasAllPBJFields) return new Header(super.Build());return null;}
209 public pbd::MessageDescriptor DescriptorForType {
210 get { return Header.Descriptor; } }
211 public Builder ClearSourceObject() { super.ClearSourceObject();return this;}
212 public const int SourceObjectFieldTag=1;
213 public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
214 public PBJ.UUID SourceObject{ get {
215 if (HasSourceObject) {
216 return PBJ._PBJ.CastUuid(super.SourceObject);
217 } else {
218 return PBJ._PBJ.CastUuid();
219 }
220 }
221 set {
222 super.SourceObject=(PBJ._PBJ.Construct(value));
223 }
224 }
225 public Builder ClearSourcePort() { super.ClearSourcePort();return this;}
226 public const int SourcePortFieldTag=3;
227 public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
228 public uint SourcePort{ get {
229 if (HasSourcePort) {
230 return PBJ._PBJ.CastUint32(super.SourcePort);
231 } else {
232 return PBJ._PBJ.CastUint32();
233 }
234 }
235 set {
236 super.SourcePort=(PBJ._PBJ.Construct(value));
237 }
238 }
239 public Builder ClearSourceSpace() { super.ClearSourceSpace();return this;}
240 public const int SourceSpaceFieldTag=1536;
241 public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
242 public PBJ.UUID SourceSpace{ get {
243 if (HasSourceSpace) {
244 return PBJ._PBJ.CastUuid(super.SourceSpace);
245 } else {
246 return PBJ._PBJ.CastUuid();
247 }
248 }
249 set {
250 super.SourceSpace=(PBJ._PBJ.Construct(value));
251 }
252 }
253 public Builder ClearDestinationObject() { super.ClearDestinationObject();return this;}
254 public const int DestinationObjectFieldTag=2;
255 public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
256 public PBJ.UUID DestinationObject{ get {
257 if (HasDestinationObject) {
258 return PBJ._PBJ.CastUuid(super.DestinationObject);
259 } else {
260 return PBJ._PBJ.CastUuid();
261 }
262 }
263 set {
264 super.DestinationObject=(PBJ._PBJ.Construct(value));
265 }
266 }
267 public Builder ClearDestinationPort() { super.ClearDestinationPort();return this;}
268 public const int DestinationPortFieldTag=4;
269 public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
270 public uint DestinationPort{ get {
271 if (HasDestinationPort) {
272 return PBJ._PBJ.CastUint32(super.DestinationPort);
273 } else {
274 return PBJ._PBJ.CastUint32();
275 }
276 }
277 set {
278 super.DestinationPort=(PBJ._PBJ.Construct(value));
279 }
280 }
281 public Builder ClearDestinationSpace() { super.ClearDestinationSpace();return this;}
282 public const int DestinationSpaceFieldTag=1537;
283 public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
284 public PBJ.UUID DestinationSpace{ get {
285 if (HasDestinationSpace) {
286 return PBJ._PBJ.CastUuid(super.DestinationSpace);
287 } else {
288 return PBJ._PBJ.CastUuid();
289 }
290 }
291 set {
292 super.DestinationSpace=(PBJ._PBJ.Construct(value));
293 }
294 }
295 public Builder ClearId() { super.ClearId();return this;}
296 public const int IdFieldTag=7;
297 public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
298 public long Id{ get {
299 if (HasId) {
300 return PBJ._PBJ.CastInt64(super.Id);
301 } else {
302 return PBJ._PBJ.CastInt64();
303 }
304 }
305 set {
306 super.Id=(PBJ._PBJ.Construct(value));
307 }
308 }
309 public Builder ClearReplyId() { super.ClearReplyId();return this;}
310 public const int ReplyIdFieldTag=8;
311 public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
312 public long ReplyId{ get {
313 if (HasReplyId) {
314 return PBJ._PBJ.CastInt64(super.ReplyId);
315 } else {
316 return PBJ._PBJ.CastInt64();
317 }
318 }
319 set {
320 super.ReplyId=(PBJ._PBJ.Construct(value));
321 }
322 }
323 public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
324 public const int ReturnStatusFieldTag=1792;
325 public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
326 public Types.ReturnStatus ReturnStatus{ get {
327 if (HasReturnStatus) {
328 return (Types.ReturnStatus)super.ReturnStatus;
329 } else {
330 return new Types.ReturnStatus();
331 }
332 }
333 set {
334 super.ReturnStatus=((_PBJ_Internal.Header.Types.ReturnStatus)value);
335 }
336 }
337 }
338 }
339}