| 87 |
Kevin |
1 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
2 |
// source: LATMBProtocol.proto
|
|
|
3 |
|
|
|
4 |
package org.vt.ece4564.latmb;
|
|
|
5 |
|
|
|
6 |
public final class LATMBProtocol {
|
|
|
7 |
private LATMBProtocol() {}
|
|
|
8 |
public static void registerAllExtensions(
|
|
|
9 |
com.google.protobuf.ExtensionRegistry registry) {
|
|
|
10 |
}
|
|
|
11 |
public interface TrackingMessageOrBuilder
|
|
|
12 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
13 |
|
|
|
14 |
// required int32 id = 1;
|
|
|
15 |
boolean hasId();
|
|
|
16 |
int getId();
|
|
|
17 |
|
|
|
18 |
// required int32 type = 2;
|
|
|
19 |
boolean hasType();
|
|
|
20 |
int getType();
|
|
|
21 |
|
|
|
22 |
// repeated .org.vt.ece4564.latmb.Message message = 3;
|
|
|
23 |
java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message>
|
|
|
24 |
getMessageList();
|
|
|
25 |
org.vt.ece4564.latmb.LATMBProtocol.Message getMessage(int index);
|
|
|
26 |
int getMessageCount();
|
|
|
27 |
java.util.List<? extends org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder>
|
|
|
28 |
getMessageOrBuilderList();
|
|
|
29 |
org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder getMessageOrBuilder(
|
|
|
30 |
int index);
|
|
|
31 |
}
|
|
|
32 |
public static final class TrackingMessage extends
|
|
|
33 |
com.google.protobuf.GeneratedMessage
|
|
|
34 |
implements TrackingMessageOrBuilder {
|
|
|
35 |
// Use TrackingMessage.newBuilder() to construct.
|
|
|
36 |
private TrackingMessage(Builder builder) {
|
|
|
37 |
super(builder);
|
|
|
38 |
}
|
|
|
39 |
private TrackingMessage(boolean noInit) {}
|
|
|
40 |
|
|
|
41 |
private static final TrackingMessage defaultInstance;
|
|
|
42 |
public static TrackingMessage getDefaultInstance() {
|
|
|
43 |
return defaultInstance;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public TrackingMessage getDefaultInstanceForType() {
|
|
|
47 |
return defaultInstance;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
51 |
getDescriptor() {
|
|
|
52 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_TrackingMessage_descriptor;
|
|
|
53 |
}
|
|
|
54 |
|
|
|
55 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
56 |
internalGetFieldAccessorTable() {
|
|
|
57 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_TrackingMessage_fieldAccessorTable;
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
private int bitField0_;
|
|
|
61 |
// required int32 id = 1;
|
|
|
62 |
public static final int ID_FIELD_NUMBER = 1;
|
|
|
63 |
private int id_;
|
|
|
64 |
public boolean hasId() {
|
|
|
65 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
66 |
}
|
|
|
67 |
public int getId() {
|
|
|
68 |
return id_;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
// required int32 type = 2;
|
|
|
72 |
public static final int TYPE_FIELD_NUMBER = 2;
|
|
|
73 |
private int type_;
|
|
|
74 |
public boolean hasType() {
|
|
|
75 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
76 |
}
|
|
|
77 |
public int getType() {
|
|
|
78 |
return type_;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
// repeated .org.vt.ece4564.latmb.Message message = 3;
|
|
|
82 |
public static final int MESSAGE_FIELD_NUMBER = 3;
|
|
|
83 |
private java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message> message_;
|
|
|
84 |
public java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message> getMessageList() {
|
|
|
85 |
return message_;
|
|
|
86 |
}
|
|
|
87 |
public java.util.List<? extends org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder>
|
|
|
88 |
getMessageOrBuilderList() {
|
|
|
89 |
return message_;
|
|
|
90 |
}
|
|
|
91 |
public int getMessageCount() {
|
|
|
92 |
return message_.size();
|
|
|
93 |
}
|
|
|
94 |
public org.vt.ece4564.latmb.LATMBProtocol.Message getMessage(int index) {
|
|
|
95 |
return message_.get(index);
|
|
|
96 |
}
|
|
|
97 |
public org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder getMessageOrBuilder(
|
|
|
98 |
int index) {
|
|
|
99 |
return message_.get(index);
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
private void initFields() {
|
|
|
103 |
id_ = 0;
|
|
|
104 |
type_ = 0;
|
|
|
105 |
message_ = java.util.Collections.emptyList();
|
|
|
106 |
}
|
|
|
107 |
private byte memoizedIsInitialized = -1;
|
|
|
108 |
public final boolean isInitialized() {
|
|
|
109 |
byte isInitialized = memoizedIsInitialized;
|
|
|
110 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
111 |
|
|
|
112 |
if (!hasId()) {
|
|
|
113 |
memoizedIsInitialized = 0;
|
|
|
114 |
return false;
|
|
|
115 |
}
|
|
|
116 |
if (!hasType()) {
|
|
|
117 |
memoizedIsInitialized = 0;
|
|
|
118 |
return false;
|
|
|
119 |
}
|
|
|
120 |
for (int i = 0; i < getMessageCount(); i++) {
|
|
|
121 |
if (!getMessage(i).isInitialized()) {
|
|
|
122 |
memoizedIsInitialized = 0;
|
|
|
123 |
return false;
|
|
|
124 |
}
|
|
|
125 |
}
|
|
|
126 |
memoizedIsInitialized = 1;
|
|
|
127 |
return true;
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
131 |
throws java.io.IOException {
|
|
|
132 |
getSerializedSize();
|
|
|
133 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
134 |
output.writeInt32(1, id_);
|
|
|
135 |
}
|
|
|
136 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
137 |
output.writeInt32(2, type_);
|
|
|
138 |
}
|
|
|
139 |
for (int i = 0; i < message_.size(); i++) {
|
|
|
140 |
output.writeMessage(3, message_.get(i));
|
|
|
141 |
}
|
|
|
142 |
getUnknownFields().writeTo(output);
|
|
|
143 |
}
|
|
|
144 |
|
|
|
145 |
private int memoizedSerializedSize = -1;
|
|
|
146 |
public int getSerializedSize() {
|
|
|
147 |
int size = memoizedSerializedSize;
|
|
|
148 |
if (size != -1) return size;
|
|
|
149 |
|
|
|
150 |
size = 0;
|
|
|
151 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
152 |
size += com.google.protobuf.CodedOutputStream
|
|
|
153 |
.computeInt32Size(1, id_);
|
|
|
154 |
}
|
|
|
155 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
156 |
size += com.google.protobuf.CodedOutputStream
|
|
|
157 |
.computeInt32Size(2, type_);
|
|
|
158 |
}
|
|
|
159 |
for (int i = 0; i < message_.size(); i++) {
|
|
|
160 |
size += com.google.protobuf.CodedOutputStream
|
|
|
161 |
.computeMessageSize(3, message_.get(i));
|
|
|
162 |
}
|
|
|
163 |
size += getUnknownFields().getSerializedSize();
|
|
|
164 |
memoizedSerializedSize = size;
|
|
|
165 |
return size;
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
private static final long serialVersionUID = 0L;
|
|
|
169 |
@java.lang.Override
|
|
|
170 |
protected java.lang.Object writeReplace()
|
|
|
171 |
throws java.io.ObjectStreamException {
|
|
|
172 |
return super.writeReplace();
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
176 |
com.google.protobuf.ByteString data)
|
|
|
177 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
178 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
179 |
}
|
|
|
180 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
181 |
com.google.protobuf.ByteString data,
|
|
|
182 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
183 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
184 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
185 |
.buildParsed();
|
|
|
186 |
}
|
|
|
187 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(byte[] data)
|
|
|
188 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
189 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
190 |
}
|
|
|
191 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
192 |
byte[] data,
|
|
|
193 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
194 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
195 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
196 |
.buildParsed();
|
|
|
197 |
}
|
|
|
198 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(java.io.InputStream input)
|
|
|
199 |
throws java.io.IOException {
|
|
|
200 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
201 |
}
|
|
|
202 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
203 |
java.io.InputStream input,
|
|
|
204 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
205 |
throws java.io.IOException {
|
|
|
206 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
207 |
.buildParsed();
|
|
|
208 |
}
|
|
|
209 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseDelimitedFrom(java.io.InputStream input)
|
|
|
210 |
throws java.io.IOException {
|
|
|
211 |
Builder builder = newBuilder();
|
|
|
212 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
213 |
return builder.buildParsed();
|
|
|
214 |
} else {
|
|
|
215 |
return null;
|
|
|
216 |
}
|
|
|
217 |
}
|
|
|
218 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseDelimitedFrom(
|
|
|
219 |
java.io.InputStream input,
|
|
|
220 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
221 |
throws java.io.IOException {
|
|
|
222 |
Builder builder = newBuilder();
|
|
|
223 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
224 |
return builder.buildParsed();
|
|
|
225 |
} else {
|
|
|
226 |
return null;
|
|
|
227 |
}
|
|
|
228 |
}
|
|
|
229 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
230 |
com.google.protobuf.CodedInputStream input)
|
|
|
231 |
throws java.io.IOException {
|
|
|
232 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
233 |
}
|
|
|
234 |
public static org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage parseFrom(
|
|
|
235 |
com.google.protobuf.CodedInputStream input,
|
|
|
236 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
237 |
throws java.io.IOException {
|
|
|
238 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
239 |
.buildParsed();
|
|
|
240 |
}
|
|
|
241 |
|
|
|
242 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
243 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
244 |
public static Builder newBuilder(org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage prototype) {
|
|
|
245 |
return newBuilder().mergeFrom(prototype);
|
|
|
246 |
}
|
|
|
247 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
248 |
|
|
|
249 |
@java.lang.Override
|
|
|
250 |
protected Builder newBuilderForType(
|
|
|
251 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
252 |
Builder builder = new Builder(parent);
|
|
|
253 |
return builder;
|
|
|
254 |
}
|
|
|
255 |
public static final class Builder extends
|
|
|
256 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
257 |
implements org.vt.ece4564.latmb.LATMBProtocol.TrackingMessageOrBuilder {
|
|
|
258 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
259 |
getDescriptor() {
|
|
|
260 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_TrackingMessage_descriptor;
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
264 |
internalGetFieldAccessorTable() {
|
|
|
265 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_TrackingMessage_fieldAccessorTable;
|
|
|
266 |
}
|
|
|
267 |
|
|
|
268 |
// Construct using org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.newBuilder()
|
|
|
269 |
private Builder() {
|
|
|
270 |
maybeForceBuilderInitialization();
|
|
|
271 |
}
|
|
|
272 |
|
|
|
273 |
private Builder(BuilderParent parent) {
|
|
|
274 |
super(parent);
|
|
|
275 |
maybeForceBuilderInitialization();
|
|
|
276 |
}
|
|
|
277 |
private void maybeForceBuilderInitialization() {
|
|
|
278 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
279 |
getMessageFieldBuilder();
|
|
|
280 |
}
|
|
|
281 |
}
|
|
|
282 |
private static Builder create() {
|
|
|
283 |
return new Builder();
|
|
|
284 |
}
|
|
|
285 |
|
|
|
286 |
public Builder clear() {
|
|
|
287 |
super.clear();
|
|
|
288 |
id_ = 0;
|
|
|
289 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
290 |
type_ = 0;
|
|
|
291 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
292 |
if (messageBuilder_ == null) {
|
|
|
293 |
message_ = java.util.Collections.emptyList();
|
|
|
294 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
295 |
} else {
|
|
|
296 |
messageBuilder_.clear();
|
|
|
297 |
}
|
|
|
298 |
return this;
|
|
|
299 |
}
|
|
|
300 |
|
|
|
301 |
public Builder clone() {
|
|
|
302 |
return create().mergeFrom(buildPartial());
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
306 |
getDescriptorForType() {
|
|
|
307 |
return org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.getDescriptor();
|
|
|
308 |
}
|
|
|
309 |
|
|
|
310 |
public org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage getDefaultInstanceForType() {
|
|
|
311 |
return org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.getDefaultInstance();
|
|
|
312 |
}
|
|
|
313 |
|
|
|
314 |
public org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage build() {
|
|
|
315 |
org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage result = buildPartial();
|
|
|
316 |
if (!result.isInitialized()) {
|
|
|
317 |
throw newUninitializedMessageException(result);
|
|
|
318 |
}
|
|
|
319 |
return result;
|
|
|
320 |
}
|
|
|
321 |
|
|
|
322 |
private org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage buildParsed()
|
|
|
323 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
324 |
org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage result = buildPartial();
|
|
|
325 |
if (!result.isInitialized()) {
|
|
|
326 |
throw newUninitializedMessageException(
|
|
|
327 |
result).asInvalidProtocolBufferException();
|
|
|
328 |
}
|
|
|
329 |
return result;
|
|
|
330 |
}
|
|
|
331 |
|
|
|
332 |
public org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage buildPartial() {
|
|
|
333 |
org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage result = new org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage(this);
|
|
|
334 |
int from_bitField0_ = bitField0_;
|
|
|
335 |
int to_bitField0_ = 0;
|
|
|
336 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
337 |
to_bitField0_ |= 0x00000001;
|
|
|
338 |
}
|
|
|
339 |
result.id_ = id_;
|
|
|
340 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
341 |
to_bitField0_ |= 0x00000002;
|
|
|
342 |
}
|
|
|
343 |
result.type_ = type_;
|
|
|
344 |
if (messageBuilder_ == null) {
|
|
|
345 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
346 |
message_ = java.util.Collections.unmodifiableList(message_);
|
|
|
347 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
348 |
}
|
|
|
349 |
result.message_ = message_;
|
|
|
350 |
} else {
|
|
|
351 |
result.message_ = messageBuilder_.build();
|
|
|
352 |
}
|
|
|
353 |
result.bitField0_ = to_bitField0_;
|
|
|
354 |
onBuilt();
|
|
|
355 |
return result;
|
|
|
356 |
}
|
|
|
357 |
|
|
|
358 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
359 |
if (other instanceof org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage) {
|
|
|
360 |
return mergeFrom((org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage)other);
|
|
|
361 |
} else {
|
|
|
362 |
super.mergeFrom(other);
|
|
|
363 |
return this;
|
|
|
364 |
}
|
|
|
365 |
}
|
|
|
366 |
|
|
|
367 |
public Builder mergeFrom(org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage other) {
|
|
|
368 |
if (other == org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.getDefaultInstance()) return this;
|
|
|
369 |
if (other.hasId()) {
|
|
|
370 |
setId(other.getId());
|
|
|
371 |
}
|
|
|
372 |
if (other.hasType()) {
|
|
|
373 |
setType(other.getType());
|
|
|
374 |
}
|
|
|
375 |
if (messageBuilder_ == null) {
|
|
|
376 |
if (!other.message_.isEmpty()) {
|
|
|
377 |
if (message_.isEmpty()) {
|
|
|
378 |
message_ = other.message_;
|
|
|
379 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
380 |
} else {
|
|
|
381 |
ensureMessageIsMutable();
|
|
|
382 |
message_.addAll(other.message_);
|
|
|
383 |
}
|
|
|
384 |
onChanged();
|
|
|
385 |
}
|
|
|
386 |
} else {
|
|
|
387 |
if (!other.message_.isEmpty()) {
|
|
|
388 |
if (messageBuilder_.isEmpty()) {
|
|
|
389 |
messageBuilder_.dispose();
|
|
|
390 |
messageBuilder_ = null;
|
|
|
391 |
message_ = other.message_;
|
|
|
392 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
393 |
messageBuilder_ =
|
|
|
394 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
395 |
getMessageFieldBuilder() : null;
|
|
|
396 |
} else {
|
|
|
397 |
messageBuilder_.addAllMessages(other.message_);
|
|
|
398 |
}
|
|
|
399 |
}
|
|
|
400 |
}
|
|
|
401 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
402 |
return this;
|
|
|
403 |
}
|
|
|
404 |
|
|
|
405 |
public final boolean isInitialized() {
|
|
|
406 |
if (!hasId()) {
|
|
|
407 |
|
|
|
408 |
return false;
|
|
|
409 |
}
|
|
|
410 |
if (!hasType()) {
|
|
|
411 |
|
|
|
412 |
return false;
|
|
|
413 |
}
|
|
|
414 |
for (int i = 0; i < getMessageCount(); i++) {
|
|
|
415 |
if (!getMessage(i).isInitialized()) {
|
|
|
416 |
|
|
|
417 |
return false;
|
|
|
418 |
}
|
|
|
419 |
}
|
|
|
420 |
return true;
|
|
|
421 |
}
|
|
|
422 |
|
|
|
423 |
public Builder mergeFrom(
|
|
|
424 |
com.google.protobuf.CodedInputStream input,
|
|
|
425 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
426 |
throws java.io.IOException {
|
|
|
427 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
428 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
429 |
this.getUnknownFields());
|
|
|
430 |
while (true) {
|
|
|
431 |
int tag = input.readTag();
|
|
|
432 |
switch (tag) {
|
|
|
433 |
case 0:
|
|
|
434 |
this.setUnknownFields(unknownFields.build());
|
|
|
435 |
onChanged();
|
|
|
436 |
return this;
|
|
|
437 |
default: {
|
|
|
438 |
if (!parseUnknownField(input, unknownFields,
|
|
|
439 |
extensionRegistry, tag)) {
|
|
|
440 |
this.setUnknownFields(unknownFields.build());
|
|
|
441 |
onChanged();
|
|
|
442 |
return this;
|
|
|
443 |
}
|
|
|
444 |
break;
|
|
|
445 |
}
|
|
|
446 |
case 8: {
|
|
|
447 |
bitField0_ |= 0x00000001;
|
|
|
448 |
id_ = input.readInt32();
|
|
|
449 |
break;
|
|
|
450 |
}
|
|
|
451 |
case 16: {
|
|
|
452 |
bitField0_ |= 0x00000002;
|
|
|
453 |
type_ = input.readInt32();
|
|
|
454 |
break;
|
|
|
455 |
}
|
|
|
456 |
case 26: {
|
|
|
457 |
org.vt.ece4564.latmb.LATMBProtocol.Message.Builder subBuilder = org.vt.ece4564.latmb.LATMBProtocol.Message.newBuilder();
|
|
|
458 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
459 |
addMessage(subBuilder.buildPartial());
|
|
|
460 |
break;
|
|
|
461 |
}
|
|
|
462 |
}
|
|
|
463 |
}
|
|
|
464 |
}
|
|
|
465 |
|
|
|
466 |
private int bitField0_;
|
|
|
467 |
|
|
|
468 |
// required int32 id = 1;
|
|
|
469 |
private int id_ ;
|
|
|
470 |
public boolean hasId() {
|
|
|
471 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
472 |
}
|
|
|
473 |
public int getId() {
|
|
|
474 |
return id_;
|
|
|
475 |
}
|
|
|
476 |
public Builder setId(int value) {
|
|
|
477 |
bitField0_ |= 0x00000001;
|
|
|
478 |
id_ = value;
|
|
|
479 |
onChanged();
|
|
|
480 |
return this;
|
|
|
481 |
}
|
|
|
482 |
public Builder clearId() {
|
|
|
483 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
484 |
id_ = 0;
|
|
|
485 |
onChanged();
|
|
|
486 |
return this;
|
|
|
487 |
}
|
|
|
488 |
|
|
|
489 |
// required int32 type = 2;
|
|
|
490 |
private int type_ ;
|
|
|
491 |
public boolean hasType() {
|
|
|
492 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
493 |
}
|
|
|
494 |
public int getType() {
|
|
|
495 |
return type_;
|
|
|
496 |
}
|
|
|
497 |
public Builder setType(int value) {
|
|
|
498 |
bitField0_ |= 0x00000002;
|
|
|
499 |
type_ = value;
|
|
|
500 |
onChanged();
|
|
|
501 |
return this;
|
|
|
502 |
}
|
|
|
503 |
public Builder clearType() {
|
|
|
504 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
505 |
type_ = 0;
|
|
|
506 |
onChanged();
|
|
|
507 |
return this;
|
|
|
508 |
}
|
|
|
509 |
|
|
|
510 |
// repeated .org.vt.ece4564.latmb.Message message = 3;
|
|
|
511 |
private java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message> message_ =
|
|
|
512 |
java.util.Collections.emptyList();
|
|
|
513 |
private void ensureMessageIsMutable() {
|
|
|
514 |
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
515 |
message_ = new java.util.ArrayList<org.vt.ece4564.latmb.LATMBProtocol.Message>(message_);
|
|
|
516 |
bitField0_ |= 0x00000004;
|
|
|
517 |
}
|
|
|
518 |
}
|
|
|
519 |
|
|
|
520 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
521 |
org.vt.ece4564.latmb.LATMBProtocol.Message, org.vt.ece4564.latmb.LATMBProtocol.Message.Builder, org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder> messageBuilder_;
|
|
|
522 |
|
|
|
523 |
public java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message> getMessageList() {
|
|
|
524 |
if (messageBuilder_ == null) {
|
|
|
525 |
return java.util.Collections.unmodifiableList(message_);
|
|
|
526 |
} else {
|
|
|
527 |
return messageBuilder_.getMessageList();
|
|
|
528 |
}
|
|
|
529 |
}
|
|
|
530 |
public int getMessageCount() {
|
|
|
531 |
if (messageBuilder_ == null) {
|
|
|
532 |
return message_.size();
|
|
|
533 |
} else {
|
|
|
534 |
return messageBuilder_.getCount();
|
|
|
535 |
}
|
|
|
536 |
}
|
|
|
537 |
public org.vt.ece4564.latmb.LATMBProtocol.Message getMessage(int index) {
|
|
|
538 |
if (messageBuilder_ == null) {
|
|
|
539 |
return message_.get(index);
|
|
|
540 |
} else {
|
|
|
541 |
return messageBuilder_.getMessage(index);
|
|
|
542 |
}
|
|
|
543 |
}
|
|
|
544 |
public Builder setMessage(
|
|
|
545 |
int index, org.vt.ece4564.latmb.LATMBProtocol.Message value) {
|
|
|
546 |
if (messageBuilder_ == null) {
|
|
|
547 |
if (value == null) {
|
|
|
548 |
throw new NullPointerException();
|
|
|
549 |
}
|
|
|
550 |
ensureMessageIsMutable();
|
|
|
551 |
message_.set(index, value);
|
|
|
552 |
onChanged();
|
|
|
553 |
} else {
|
|
|
554 |
messageBuilder_.setMessage(index, value);
|
|
|
555 |
}
|
|
|
556 |
return this;
|
|
|
557 |
}
|
|
|
558 |
public Builder setMessage(
|
|
|
559 |
int index, org.vt.ece4564.latmb.LATMBProtocol.Message.Builder builderForValue) {
|
|
|
560 |
if (messageBuilder_ == null) {
|
|
|
561 |
ensureMessageIsMutable();
|
|
|
562 |
message_.set(index, builderForValue.build());
|
|
|
563 |
onChanged();
|
|
|
564 |
} else {
|
|
|
565 |
messageBuilder_.setMessage(index, builderForValue.build());
|
|
|
566 |
}
|
|
|
567 |
return this;
|
|
|
568 |
}
|
|
|
569 |
public Builder addMessage(org.vt.ece4564.latmb.LATMBProtocol.Message value) {
|
|
|
570 |
if (messageBuilder_ == null) {
|
|
|
571 |
if (value == null) {
|
|
|
572 |
throw new NullPointerException();
|
|
|
573 |
}
|
|
|
574 |
ensureMessageIsMutable();
|
|
|
575 |
message_.add(value);
|
|
|
576 |
onChanged();
|
|
|
577 |
} else {
|
|
|
578 |
messageBuilder_.addMessage(value);
|
|
|
579 |
}
|
|
|
580 |
return this;
|
|
|
581 |
}
|
|
|
582 |
public Builder addMessage(
|
|
|
583 |
int index, org.vt.ece4564.latmb.LATMBProtocol.Message value) {
|
|
|
584 |
if (messageBuilder_ == null) {
|
|
|
585 |
if (value == null) {
|
|
|
586 |
throw new NullPointerException();
|
|
|
587 |
}
|
|
|
588 |
ensureMessageIsMutable();
|
|
|
589 |
message_.add(index, value);
|
|
|
590 |
onChanged();
|
|
|
591 |
} else {
|
|
|
592 |
messageBuilder_.addMessage(index, value);
|
|
|
593 |
}
|
|
|
594 |
return this;
|
|
|
595 |
}
|
|
|
596 |
public Builder addMessage(
|
|
|
597 |
org.vt.ece4564.latmb.LATMBProtocol.Message.Builder builderForValue) {
|
|
|
598 |
if (messageBuilder_ == null) {
|
|
|
599 |
ensureMessageIsMutable();
|
|
|
600 |
message_.add(builderForValue.build());
|
|
|
601 |
onChanged();
|
|
|
602 |
} else {
|
|
|
603 |
messageBuilder_.addMessage(builderForValue.build());
|
|
|
604 |
}
|
|
|
605 |
return this;
|
|
|
606 |
}
|
|
|
607 |
public Builder addMessage(
|
|
|
608 |
int index, org.vt.ece4564.latmb.LATMBProtocol.Message.Builder builderForValue) {
|
|
|
609 |
if (messageBuilder_ == null) {
|
|
|
610 |
ensureMessageIsMutable();
|
|
|
611 |
message_.add(index, builderForValue.build());
|
|
|
612 |
onChanged();
|
|
|
613 |
} else {
|
|
|
614 |
messageBuilder_.addMessage(index, builderForValue.build());
|
|
|
615 |
}
|
|
|
616 |
return this;
|
|
|
617 |
}
|
|
|
618 |
public Builder addAllMessage(
|
|
|
619 |
java.lang.Iterable<? extends org.vt.ece4564.latmb.LATMBProtocol.Message> values) {
|
|
|
620 |
if (messageBuilder_ == null) {
|
|
|
621 |
ensureMessageIsMutable();
|
|
|
622 |
super.addAll(values, message_);
|
|
|
623 |
onChanged();
|
|
|
624 |
} else {
|
|
|
625 |
messageBuilder_.addAllMessages(values);
|
|
|
626 |
}
|
|
|
627 |
return this;
|
|
|
628 |
}
|
|
|
629 |
public Builder clearMessage() {
|
|
|
630 |
if (messageBuilder_ == null) {
|
|
|
631 |
message_ = java.util.Collections.emptyList();
|
|
|
632 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
633 |
onChanged();
|
|
|
634 |
} else {
|
|
|
635 |
messageBuilder_.clear();
|
|
|
636 |
}
|
|
|
637 |
return this;
|
|
|
638 |
}
|
|
|
639 |
public Builder removeMessage(int index) {
|
|
|
640 |
if (messageBuilder_ == null) {
|
|
|
641 |
ensureMessageIsMutable();
|
|
|
642 |
message_.remove(index);
|
|
|
643 |
onChanged();
|
|
|
644 |
} else {
|
|
|
645 |
messageBuilder_.remove(index);
|
|
|
646 |
}
|
|
|
647 |
return this;
|
|
|
648 |
}
|
|
|
649 |
public org.vt.ece4564.latmb.LATMBProtocol.Message.Builder getMessageBuilder(
|
|
|
650 |
int index) {
|
|
|
651 |
return getMessageFieldBuilder().getBuilder(index);
|
|
|
652 |
}
|
|
|
653 |
public org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder getMessageOrBuilder(
|
|
|
654 |
int index) {
|
|
|
655 |
if (messageBuilder_ == null) {
|
|
|
656 |
return message_.get(index); } else {
|
|
|
657 |
return messageBuilder_.getMessageOrBuilder(index);
|
|
|
658 |
}
|
|
|
659 |
}
|
|
|
660 |
public java.util.List<? extends org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder>
|
|
|
661 |
getMessageOrBuilderList() {
|
|
|
662 |
if (messageBuilder_ != null) {
|
|
|
663 |
return messageBuilder_.getMessageOrBuilderList();
|
|
|
664 |
} else {
|
|
|
665 |
return java.util.Collections.unmodifiableList(message_);
|
|
|
666 |
}
|
|
|
667 |
}
|
|
|
668 |
public org.vt.ece4564.latmb.LATMBProtocol.Message.Builder addMessageBuilder() {
|
|
|
669 |
return getMessageFieldBuilder().addBuilder(
|
|
|
670 |
org.vt.ece4564.latmb.LATMBProtocol.Message.getDefaultInstance());
|
|
|
671 |
}
|
|
|
672 |
public org.vt.ece4564.latmb.LATMBProtocol.Message.Builder addMessageBuilder(
|
|
|
673 |
int index) {
|
|
|
674 |
return getMessageFieldBuilder().addBuilder(
|
|
|
675 |
index, org.vt.ece4564.latmb.LATMBProtocol.Message.getDefaultInstance());
|
|
|
676 |
}
|
|
|
677 |
public java.util.List<org.vt.ece4564.latmb.LATMBProtocol.Message.Builder>
|
|
|
678 |
getMessageBuilderList() {
|
|
|
679 |
return getMessageFieldBuilder().getBuilderList();
|
|
|
680 |
}
|
|
|
681 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
682 |
org.vt.ece4564.latmb.LATMBProtocol.Message, org.vt.ece4564.latmb.LATMBProtocol.Message.Builder, org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder>
|
|
|
683 |
getMessageFieldBuilder() {
|
|
|
684 |
if (messageBuilder_ == null) {
|
|
|
685 |
messageBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
686 |
org.vt.ece4564.latmb.LATMBProtocol.Message, org.vt.ece4564.latmb.LATMBProtocol.Message.Builder, org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder>(
|
|
|
687 |
message_,
|
|
|
688 |
((bitField0_ & 0x00000004) == 0x00000004),
|
|
|
689 |
getParentForChildren(),
|
|
|
690 |
isClean());
|
|
|
691 |
message_ = null;
|
|
|
692 |
}
|
|
|
693 |
return messageBuilder_;
|
|
|
694 |
}
|
|
|
695 |
|
|
|
696 |
// @@protoc_insertion_point(builder_scope:org.vt.ece4564.latmb.TrackingMessage)
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
static {
|
|
|
700 |
defaultInstance = new TrackingMessage(true);
|
|
|
701 |
defaultInstance.initFields();
|
|
|
702 |
}
|
|
|
703 |
|
|
|
704 |
// @@protoc_insertion_point(class_scope:org.vt.ece4564.latmb.TrackingMessage)
|
|
|
705 |
}
|
|
|
706 |
|
|
|
707 |
public interface MessageOrBuilder
|
|
|
708 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
709 |
|
|
|
710 |
// required string message = 1;
|
|
|
711 |
boolean hasMessage();
|
|
|
712 |
String getMessage();
|
|
|
713 |
|
|
|
714 |
// required .org.vt.ece4564.latmb.DateTime timestamp = 2;
|
|
|
715 |
boolean hasTimestamp();
|
|
|
716 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime getTimestamp();
|
|
|
717 |
org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getTimestampOrBuilder();
|
|
|
718 |
|
|
|
719 |
// required .org.vt.ece4564.latmb.DateTime expiration = 3;
|
|
|
720 |
boolean hasExpiration();
|
|
|
721 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime getExpiration();
|
|
|
722 |
org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getExpirationOrBuilder();
|
|
|
723 |
|
|
|
724 |
// optional string username = 4;
|
|
|
725 |
boolean hasUsername();
|
|
|
726 |
String getUsername();
|
|
|
727 |
|
|
|
728 |
// optional string chatroom = 5;
|
|
|
729 |
boolean hasChatroom();
|
|
|
730 |
String getChatroom();
|
|
|
731 |
|
|
|
732 |
// optional .org.vt.ece4564.latmb.Position coordinates = 6;
|
|
|
733 |
boolean hasCoordinates();
|
|
|
734 |
org.vt.ece4564.latmb.LATMBProtocol.Position getCoordinates();
|
|
|
735 |
org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder getCoordinatesOrBuilder();
|
|
|
736 |
|
|
|
737 |
// optional double radius = 7;
|
|
|
738 |
boolean hasRadius();
|
|
|
739 |
double getRadius();
|
|
|
740 |
}
|
|
|
741 |
public static final class Message extends
|
|
|
742 |
com.google.protobuf.GeneratedMessage
|
|
|
743 |
implements MessageOrBuilder {
|
|
|
744 |
// Use Message.newBuilder() to construct.
|
|
|
745 |
private Message(Builder builder) {
|
|
|
746 |
super(builder);
|
|
|
747 |
}
|
|
|
748 |
private Message(boolean noInit) {}
|
|
|
749 |
|
|
|
750 |
private static final Message defaultInstance;
|
|
|
751 |
public static Message getDefaultInstance() {
|
|
|
752 |
return defaultInstance;
|
|
|
753 |
}
|
|
|
754 |
|
|
|
755 |
public Message getDefaultInstanceForType() {
|
|
|
756 |
return defaultInstance;
|
|
|
757 |
}
|
|
|
758 |
|
|
|
759 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
760 |
getDescriptor() {
|
|
|
761 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Message_descriptor;
|
|
|
762 |
}
|
|
|
763 |
|
|
|
764 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
765 |
internalGetFieldAccessorTable() {
|
|
|
766 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Message_fieldAccessorTable;
|
|
|
767 |
}
|
|
|
768 |
|
|
|
769 |
private int bitField0_;
|
|
|
770 |
// required string message = 1;
|
|
|
771 |
public static final int MESSAGE_FIELD_NUMBER = 1;
|
|
|
772 |
private java.lang.Object message_;
|
|
|
773 |
public boolean hasMessage() {
|
|
|
774 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
775 |
}
|
|
|
776 |
public String getMessage() {
|
|
|
777 |
java.lang.Object ref = message_;
|
|
|
778 |
if (ref instanceof String) {
|
|
|
779 |
return (String) ref;
|
|
|
780 |
} else {
|
|
|
781 |
com.google.protobuf.ByteString bs =
|
|
|
782 |
(com.google.protobuf.ByteString) ref;
|
|
|
783 |
String s = bs.toStringUtf8();
|
|
|
784 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
785 |
message_ = s;
|
|
|
786 |
}
|
|
|
787 |
return s;
|
|
|
788 |
}
|
|
|
789 |
}
|
|
|
790 |
private com.google.protobuf.ByteString getMessageBytes() {
|
|
|
791 |
java.lang.Object ref = message_;
|
|
|
792 |
if (ref instanceof String) {
|
|
|
793 |
com.google.protobuf.ByteString b =
|
|
|
794 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
795 |
message_ = b;
|
|
|
796 |
return b;
|
|
|
797 |
} else {
|
|
|
798 |
return (com.google.protobuf.ByteString) ref;
|
|
|
799 |
}
|
|
|
800 |
}
|
|
|
801 |
|
|
|
802 |
// required .org.vt.ece4564.latmb.DateTime timestamp = 2;
|
|
|
803 |
public static final int TIMESTAMP_FIELD_NUMBER = 2;
|
|
|
804 |
private org.vt.ece4564.latmb.LATMBProtocol.DateTime timestamp_;
|
|
|
805 |
public boolean hasTimestamp() {
|
|
|
806 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
807 |
}
|
|
|
808 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime getTimestamp() {
|
|
|
809 |
return timestamp_;
|
|
|
810 |
}
|
|
|
811 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getTimestampOrBuilder() {
|
|
|
812 |
return timestamp_;
|
|
|
813 |
}
|
|
|
814 |
|
|
|
815 |
// required .org.vt.ece4564.latmb.DateTime expiration = 3;
|
|
|
816 |
public static final int EXPIRATION_FIELD_NUMBER = 3;
|
|
|
817 |
private org.vt.ece4564.latmb.LATMBProtocol.DateTime expiration_;
|
|
|
818 |
public boolean hasExpiration() {
|
|
|
819 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
820 |
}
|
|
|
821 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime getExpiration() {
|
|
|
822 |
return expiration_;
|
|
|
823 |
}
|
|
|
824 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getExpirationOrBuilder() {
|
|
|
825 |
return expiration_;
|
|
|
826 |
}
|
|
|
827 |
|
|
|
828 |
// optional string username = 4;
|
|
|
829 |
public static final int USERNAME_FIELD_NUMBER = 4;
|
|
|
830 |
private java.lang.Object username_;
|
|
|
831 |
public boolean hasUsername() {
|
|
|
832 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
833 |
}
|
|
|
834 |
public String getUsername() {
|
|
|
835 |
java.lang.Object ref = username_;
|
|
|
836 |
if (ref instanceof String) {
|
|
|
837 |
return (String) ref;
|
|
|
838 |
} else {
|
|
|
839 |
com.google.protobuf.ByteString bs =
|
|
|
840 |
(com.google.protobuf.ByteString) ref;
|
|
|
841 |
String s = bs.toStringUtf8();
|
|
|
842 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
843 |
username_ = s;
|
|
|
844 |
}
|
|
|
845 |
return s;
|
|
|
846 |
}
|
|
|
847 |
}
|
|
|
848 |
private com.google.protobuf.ByteString getUsernameBytes() {
|
|
|
849 |
java.lang.Object ref = username_;
|
|
|
850 |
if (ref instanceof String) {
|
|
|
851 |
com.google.protobuf.ByteString b =
|
|
|
852 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
853 |
username_ = b;
|
|
|
854 |
return b;
|
|
|
855 |
} else {
|
|
|
856 |
return (com.google.protobuf.ByteString) ref;
|
|
|
857 |
}
|
|
|
858 |
}
|
|
|
859 |
|
|
|
860 |
// optional string chatroom = 5;
|
|
|
861 |
public static final int CHATROOM_FIELD_NUMBER = 5;
|
|
|
862 |
private java.lang.Object chatroom_;
|
|
|
863 |
public boolean hasChatroom() {
|
|
|
864 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
865 |
}
|
|
|
866 |
public String getChatroom() {
|
|
|
867 |
java.lang.Object ref = chatroom_;
|
|
|
868 |
if (ref instanceof String) {
|
|
|
869 |
return (String) ref;
|
|
|
870 |
} else {
|
|
|
871 |
com.google.protobuf.ByteString bs =
|
|
|
872 |
(com.google.protobuf.ByteString) ref;
|
|
|
873 |
String s = bs.toStringUtf8();
|
|
|
874 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
875 |
chatroom_ = s;
|
|
|
876 |
}
|
|
|
877 |
return s;
|
|
|
878 |
}
|
|
|
879 |
}
|
|
|
880 |
private com.google.protobuf.ByteString getChatroomBytes() {
|
|
|
881 |
java.lang.Object ref = chatroom_;
|
|
|
882 |
if (ref instanceof String) {
|
|
|
883 |
com.google.protobuf.ByteString b =
|
|
|
884 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
885 |
chatroom_ = b;
|
|
|
886 |
return b;
|
|
|
887 |
} else {
|
|
|
888 |
return (com.google.protobuf.ByteString) ref;
|
|
|
889 |
}
|
|
|
890 |
}
|
|
|
891 |
|
|
|
892 |
// optional .org.vt.ece4564.latmb.Position coordinates = 6;
|
|
|
893 |
public static final int COORDINATES_FIELD_NUMBER = 6;
|
|
|
894 |
private org.vt.ece4564.latmb.LATMBProtocol.Position coordinates_;
|
|
|
895 |
public boolean hasCoordinates() {
|
|
|
896 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
897 |
}
|
|
|
898 |
public org.vt.ece4564.latmb.LATMBProtocol.Position getCoordinates() {
|
|
|
899 |
return coordinates_;
|
|
|
900 |
}
|
|
|
901 |
public org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder getCoordinatesOrBuilder() {
|
|
|
902 |
return coordinates_;
|
|
|
903 |
}
|
|
|
904 |
|
|
|
905 |
// optional double radius = 7;
|
|
|
906 |
public static final int RADIUS_FIELD_NUMBER = 7;
|
|
|
907 |
private double radius_;
|
|
|
908 |
public boolean hasRadius() {
|
|
|
909 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
910 |
}
|
|
|
911 |
public double getRadius() {
|
|
|
912 |
return radius_;
|
|
|
913 |
}
|
|
|
914 |
|
|
|
915 |
private void initFields() {
|
|
|
916 |
message_ = "";
|
|
|
917 |
timestamp_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
918 |
expiration_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
919 |
username_ = "";
|
|
|
920 |
chatroom_ = "";
|
|
|
921 |
coordinates_ = org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance();
|
|
|
922 |
radius_ = 0D;
|
|
|
923 |
}
|
|
|
924 |
private byte memoizedIsInitialized = -1;
|
|
|
925 |
public final boolean isInitialized() {
|
|
|
926 |
byte isInitialized = memoizedIsInitialized;
|
|
|
927 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
928 |
|
|
|
929 |
if (!hasMessage()) {
|
|
|
930 |
memoizedIsInitialized = 0;
|
|
|
931 |
return false;
|
|
|
932 |
}
|
|
|
933 |
if (!hasTimestamp()) {
|
|
|
934 |
memoizedIsInitialized = 0;
|
|
|
935 |
return false;
|
|
|
936 |
}
|
|
|
937 |
if (!hasExpiration()) {
|
|
|
938 |
memoizedIsInitialized = 0;
|
|
|
939 |
return false;
|
|
|
940 |
}
|
|
|
941 |
if (!getTimestamp().isInitialized()) {
|
|
|
942 |
memoizedIsInitialized = 0;
|
|
|
943 |
return false;
|
|
|
944 |
}
|
|
|
945 |
if (!getExpiration().isInitialized()) {
|
|
|
946 |
memoizedIsInitialized = 0;
|
|
|
947 |
return false;
|
|
|
948 |
}
|
|
|
949 |
if (hasCoordinates()) {
|
|
|
950 |
if (!getCoordinates().isInitialized()) {
|
|
|
951 |
memoizedIsInitialized = 0;
|
|
|
952 |
return false;
|
|
|
953 |
}
|
|
|
954 |
}
|
|
|
955 |
memoizedIsInitialized = 1;
|
|
|
956 |
return true;
|
|
|
957 |
}
|
|
|
958 |
|
|
|
959 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
960 |
throws java.io.IOException {
|
|
|
961 |
getSerializedSize();
|
|
|
962 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
963 |
output.writeBytes(1, getMessageBytes());
|
|
|
964 |
}
|
|
|
965 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
966 |
output.writeMessage(2, timestamp_);
|
|
|
967 |
}
|
|
|
968 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
969 |
output.writeMessage(3, expiration_);
|
|
|
970 |
}
|
|
|
971 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
972 |
output.writeBytes(4, getUsernameBytes());
|
|
|
973 |
}
|
|
|
974 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
975 |
output.writeBytes(5, getChatroomBytes());
|
|
|
976 |
}
|
|
|
977 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
978 |
output.writeMessage(6, coordinates_);
|
|
|
979 |
}
|
|
|
980 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
981 |
output.writeDouble(7, radius_);
|
|
|
982 |
}
|
|
|
983 |
getUnknownFields().writeTo(output);
|
|
|
984 |
}
|
|
|
985 |
|
|
|
986 |
private int memoizedSerializedSize = -1;
|
|
|
987 |
public int getSerializedSize() {
|
|
|
988 |
int size = memoizedSerializedSize;
|
|
|
989 |
if (size != -1) return size;
|
|
|
990 |
|
|
|
991 |
size = 0;
|
|
|
992 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
993 |
size += com.google.protobuf.CodedOutputStream
|
|
|
994 |
.computeBytesSize(1, getMessageBytes());
|
|
|
995 |
}
|
|
|
996 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
997 |
size += com.google.protobuf.CodedOutputStream
|
|
|
998 |
.computeMessageSize(2, timestamp_);
|
|
|
999 |
}
|
|
|
1000 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1001 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1002 |
.computeMessageSize(3, expiration_);
|
|
|
1003 |
}
|
|
|
1004 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
1005 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1006 |
.computeBytesSize(4, getUsernameBytes());
|
|
|
1007 |
}
|
|
|
1008 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
1009 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1010 |
.computeBytesSize(5, getChatroomBytes());
|
|
|
1011 |
}
|
|
|
1012 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
1013 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1014 |
.computeMessageSize(6, coordinates_);
|
|
|
1015 |
}
|
|
|
1016 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
1017 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1018 |
.computeDoubleSize(7, radius_);
|
|
|
1019 |
}
|
|
|
1020 |
size += getUnknownFields().getSerializedSize();
|
|
|
1021 |
memoizedSerializedSize = size;
|
|
|
1022 |
return size;
|
|
|
1023 |
}
|
|
|
1024 |
|
|
|
1025 |
private static final long serialVersionUID = 0L;
|
|
|
1026 |
@java.lang.Override
|
|
|
1027 |
protected java.lang.Object writeReplace()
|
|
|
1028 |
throws java.io.ObjectStreamException {
|
|
|
1029 |
return super.writeReplace();
|
|
|
1030 |
}
|
|
|
1031 |
|
|
|
1032 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1033 |
com.google.protobuf.ByteString data)
|
|
|
1034 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1035 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1036 |
}
|
|
|
1037 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1038 |
com.google.protobuf.ByteString data,
|
|
|
1039 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1040 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1041 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1042 |
.buildParsed();
|
|
|
1043 |
}
|
|
|
1044 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(byte[] data)
|
|
|
1045 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1046 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1047 |
}
|
|
|
1048 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1049 |
byte[] data,
|
|
|
1050 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1051 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1052 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1053 |
.buildParsed();
|
|
|
1054 |
}
|
|
|
1055 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(java.io.InputStream input)
|
|
|
1056 |
throws java.io.IOException {
|
|
|
1057 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
1058 |
}
|
|
|
1059 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1060 |
java.io.InputStream input,
|
|
|
1061 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1062 |
throws java.io.IOException {
|
|
|
1063 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
1064 |
.buildParsed();
|
|
|
1065 |
}
|
|
|
1066 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseDelimitedFrom(java.io.InputStream input)
|
|
|
1067 |
throws java.io.IOException {
|
|
|
1068 |
Builder builder = newBuilder();
|
|
|
1069 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
1070 |
return builder.buildParsed();
|
|
|
1071 |
} else {
|
|
|
1072 |
return null;
|
|
|
1073 |
}
|
|
|
1074 |
}
|
|
|
1075 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseDelimitedFrom(
|
|
|
1076 |
java.io.InputStream input,
|
|
|
1077 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1078 |
throws java.io.IOException {
|
|
|
1079 |
Builder builder = newBuilder();
|
|
|
1080 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
1081 |
return builder.buildParsed();
|
|
|
1082 |
} else {
|
|
|
1083 |
return null;
|
|
|
1084 |
}
|
|
|
1085 |
}
|
|
|
1086 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1087 |
com.google.protobuf.CodedInputStream input)
|
|
|
1088 |
throws java.io.IOException {
|
|
|
1089 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
1090 |
}
|
|
|
1091 |
public static org.vt.ece4564.latmb.LATMBProtocol.Message parseFrom(
|
|
|
1092 |
com.google.protobuf.CodedInputStream input,
|
|
|
1093 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1094 |
throws java.io.IOException {
|
|
|
1095 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
1096 |
.buildParsed();
|
|
|
1097 |
}
|
|
|
1098 |
|
|
|
1099 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
1100 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
1101 |
public static Builder newBuilder(org.vt.ece4564.latmb.LATMBProtocol.Message prototype) {
|
|
|
1102 |
return newBuilder().mergeFrom(prototype);
|
|
|
1103 |
}
|
|
|
1104 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
1105 |
|
|
|
1106 |
@java.lang.Override
|
|
|
1107 |
protected Builder newBuilderForType(
|
|
|
1108 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
1109 |
Builder builder = new Builder(parent);
|
|
|
1110 |
return builder;
|
|
|
1111 |
}
|
|
|
1112 |
public static final class Builder extends
|
|
|
1113 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
1114 |
implements org.vt.ece4564.latmb.LATMBProtocol.MessageOrBuilder {
|
|
|
1115 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
1116 |
getDescriptor() {
|
|
|
1117 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Message_descriptor;
|
|
|
1118 |
}
|
|
|
1119 |
|
|
|
1120 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
1121 |
internalGetFieldAccessorTable() {
|
|
|
1122 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Message_fieldAccessorTable;
|
|
|
1123 |
}
|
|
|
1124 |
|
|
|
1125 |
// Construct using org.vt.ece4564.latmb.LATMBProtocol.Message.newBuilder()
|
|
|
1126 |
private Builder() {
|
|
|
1127 |
maybeForceBuilderInitialization();
|
|
|
1128 |
}
|
|
|
1129 |
|
|
|
1130 |
private Builder(BuilderParent parent) {
|
|
|
1131 |
super(parent);
|
|
|
1132 |
maybeForceBuilderInitialization();
|
|
|
1133 |
}
|
|
|
1134 |
private void maybeForceBuilderInitialization() {
|
|
|
1135 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
1136 |
getTimestampFieldBuilder();
|
|
|
1137 |
getExpirationFieldBuilder();
|
|
|
1138 |
getCoordinatesFieldBuilder();
|
|
|
1139 |
}
|
|
|
1140 |
}
|
|
|
1141 |
private static Builder create() {
|
|
|
1142 |
return new Builder();
|
|
|
1143 |
}
|
|
|
1144 |
|
|
|
1145 |
public Builder clear() {
|
|
|
1146 |
super.clear();
|
|
|
1147 |
message_ = "";
|
|
|
1148 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
1149 |
if (timestampBuilder_ == null) {
|
|
|
1150 |
timestamp_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1151 |
} else {
|
|
|
1152 |
timestampBuilder_.clear();
|
|
|
1153 |
}
|
|
|
1154 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
1155 |
if (expirationBuilder_ == null) {
|
|
|
1156 |
expiration_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1157 |
} else {
|
|
|
1158 |
expirationBuilder_.clear();
|
|
|
1159 |
}
|
|
|
1160 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1161 |
username_ = "";
|
|
|
1162 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1163 |
chatroom_ = "";
|
|
|
1164 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1165 |
if (coordinatesBuilder_ == null) {
|
|
|
1166 |
coordinates_ = org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance();
|
|
|
1167 |
} else {
|
|
|
1168 |
coordinatesBuilder_.clear();
|
|
|
1169 |
}
|
|
|
1170 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1171 |
radius_ = 0D;
|
|
|
1172 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1173 |
return this;
|
|
|
1174 |
}
|
|
|
1175 |
|
|
|
1176 |
public Builder clone() {
|
|
|
1177 |
return create().mergeFrom(buildPartial());
|
|
|
1178 |
}
|
|
|
1179 |
|
|
|
1180 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
1181 |
getDescriptorForType() {
|
|
|
1182 |
return org.vt.ece4564.latmb.LATMBProtocol.Message.getDescriptor();
|
|
|
1183 |
}
|
|
|
1184 |
|
|
|
1185 |
public org.vt.ece4564.latmb.LATMBProtocol.Message getDefaultInstanceForType() {
|
|
|
1186 |
return org.vt.ece4564.latmb.LATMBProtocol.Message.getDefaultInstance();
|
|
|
1187 |
}
|
|
|
1188 |
|
|
|
1189 |
public org.vt.ece4564.latmb.LATMBProtocol.Message build() {
|
|
|
1190 |
org.vt.ece4564.latmb.LATMBProtocol.Message result = buildPartial();
|
|
|
1191 |
if (!result.isInitialized()) {
|
|
|
1192 |
throw newUninitializedMessageException(result);
|
|
|
1193 |
}
|
|
|
1194 |
return result;
|
|
|
1195 |
}
|
|
|
1196 |
|
|
|
1197 |
private org.vt.ece4564.latmb.LATMBProtocol.Message buildParsed()
|
|
|
1198 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1199 |
org.vt.ece4564.latmb.LATMBProtocol.Message result = buildPartial();
|
|
|
1200 |
if (!result.isInitialized()) {
|
|
|
1201 |
throw newUninitializedMessageException(
|
|
|
1202 |
result).asInvalidProtocolBufferException();
|
|
|
1203 |
}
|
|
|
1204 |
return result;
|
|
|
1205 |
}
|
|
|
1206 |
|
|
|
1207 |
public org.vt.ece4564.latmb.LATMBProtocol.Message buildPartial() {
|
|
|
1208 |
org.vt.ece4564.latmb.LATMBProtocol.Message result = new org.vt.ece4564.latmb.LATMBProtocol.Message(this);
|
|
|
1209 |
int from_bitField0_ = bitField0_;
|
|
|
1210 |
int to_bitField0_ = 0;
|
|
|
1211 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
1212 |
to_bitField0_ |= 0x00000001;
|
|
|
1213 |
}
|
|
|
1214 |
result.message_ = message_;
|
|
|
1215 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
1216 |
to_bitField0_ |= 0x00000002;
|
|
|
1217 |
}
|
|
|
1218 |
if (timestampBuilder_ == null) {
|
|
|
1219 |
result.timestamp_ = timestamp_;
|
|
|
1220 |
} else {
|
|
|
1221 |
result.timestamp_ = timestampBuilder_.build();
|
|
|
1222 |
}
|
|
|
1223 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1224 |
to_bitField0_ |= 0x00000004;
|
|
|
1225 |
}
|
|
|
1226 |
if (expirationBuilder_ == null) {
|
|
|
1227 |
result.expiration_ = expiration_;
|
|
|
1228 |
} else {
|
|
|
1229 |
result.expiration_ = expirationBuilder_.build();
|
|
|
1230 |
}
|
|
|
1231 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
1232 |
to_bitField0_ |= 0x00000008;
|
|
|
1233 |
}
|
|
|
1234 |
result.username_ = username_;
|
|
|
1235 |
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
1236 |
to_bitField0_ |= 0x00000010;
|
|
|
1237 |
}
|
|
|
1238 |
result.chatroom_ = chatroom_;
|
|
|
1239 |
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
1240 |
to_bitField0_ |= 0x00000020;
|
|
|
1241 |
}
|
|
|
1242 |
if (coordinatesBuilder_ == null) {
|
|
|
1243 |
result.coordinates_ = coordinates_;
|
|
|
1244 |
} else {
|
|
|
1245 |
result.coordinates_ = coordinatesBuilder_.build();
|
|
|
1246 |
}
|
|
|
1247 |
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
1248 |
to_bitField0_ |= 0x00000040;
|
|
|
1249 |
}
|
|
|
1250 |
result.radius_ = radius_;
|
|
|
1251 |
result.bitField0_ = to_bitField0_;
|
|
|
1252 |
onBuilt();
|
|
|
1253 |
return result;
|
|
|
1254 |
}
|
|
|
1255 |
|
|
|
1256 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
1257 |
if (other instanceof org.vt.ece4564.latmb.LATMBProtocol.Message) {
|
|
|
1258 |
return mergeFrom((org.vt.ece4564.latmb.LATMBProtocol.Message)other);
|
|
|
1259 |
} else {
|
|
|
1260 |
super.mergeFrom(other);
|
|
|
1261 |
return this;
|
|
|
1262 |
}
|
|
|
1263 |
}
|
|
|
1264 |
|
|
|
1265 |
public Builder mergeFrom(org.vt.ece4564.latmb.LATMBProtocol.Message other) {
|
|
|
1266 |
if (other == org.vt.ece4564.latmb.LATMBProtocol.Message.getDefaultInstance()) return this;
|
|
|
1267 |
if (other.hasMessage()) {
|
|
|
1268 |
setMessage(other.getMessage());
|
|
|
1269 |
}
|
|
|
1270 |
if (other.hasTimestamp()) {
|
|
|
1271 |
mergeTimestamp(other.getTimestamp());
|
|
|
1272 |
}
|
|
|
1273 |
if (other.hasExpiration()) {
|
|
|
1274 |
mergeExpiration(other.getExpiration());
|
|
|
1275 |
}
|
|
|
1276 |
if (other.hasUsername()) {
|
|
|
1277 |
setUsername(other.getUsername());
|
|
|
1278 |
}
|
|
|
1279 |
if (other.hasChatroom()) {
|
|
|
1280 |
setChatroom(other.getChatroom());
|
|
|
1281 |
}
|
|
|
1282 |
if (other.hasCoordinates()) {
|
|
|
1283 |
mergeCoordinates(other.getCoordinates());
|
|
|
1284 |
}
|
|
|
1285 |
if (other.hasRadius()) {
|
|
|
1286 |
setRadius(other.getRadius());
|
|
|
1287 |
}
|
|
|
1288 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
1289 |
return this;
|
|
|
1290 |
}
|
|
|
1291 |
|
|
|
1292 |
public final boolean isInitialized() {
|
|
|
1293 |
if (!hasMessage()) {
|
|
|
1294 |
|
|
|
1295 |
return false;
|
|
|
1296 |
}
|
|
|
1297 |
if (!hasTimestamp()) {
|
|
|
1298 |
|
|
|
1299 |
return false;
|
|
|
1300 |
}
|
|
|
1301 |
if (!hasExpiration()) {
|
|
|
1302 |
|
|
|
1303 |
return false;
|
|
|
1304 |
}
|
|
|
1305 |
if (!getTimestamp().isInitialized()) {
|
|
|
1306 |
|
|
|
1307 |
return false;
|
|
|
1308 |
}
|
|
|
1309 |
if (!getExpiration().isInitialized()) {
|
|
|
1310 |
|
|
|
1311 |
return false;
|
|
|
1312 |
}
|
|
|
1313 |
if (hasCoordinates()) {
|
|
|
1314 |
if (!getCoordinates().isInitialized()) {
|
|
|
1315 |
|
|
|
1316 |
return false;
|
|
|
1317 |
}
|
|
|
1318 |
}
|
|
|
1319 |
return true;
|
|
|
1320 |
}
|
|
|
1321 |
|
|
|
1322 |
public Builder mergeFrom(
|
|
|
1323 |
com.google.protobuf.CodedInputStream input,
|
|
|
1324 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1325 |
throws java.io.IOException {
|
|
|
1326 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
1327 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
1328 |
this.getUnknownFields());
|
|
|
1329 |
while (true) {
|
|
|
1330 |
int tag = input.readTag();
|
|
|
1331 |
switch (tag) {
|
|
|
1332 |
case 0:
|
|
|
1333 |
this.setUnknownFields(unknownFields.build());
|
|
|
1334 |
onChanged();
|
|
|
1335 |
return this;
|
|
|
1336 |
default: {
|
|
|
1337 |
if (!parseUnknownField(input, unknownFields,
|
|
|
1338 |
extensionRegistry, tag)) {
|
|
|
1339 |
this.setUnknownFields(unknownFields.build());
|
|
|
1340 |
onChanged();
|
|
|
1341 |
return this;
|
|
|
1342 |
}
|
|
|
1343 |
break;
|
|
|
1344 |
}
|
|
|
1345 |
case 10: {
|
|
|
1346 |
bitField0_ |= 0x00000001;
|
|
|
1347 |
message_ = input.readBytes();
|
|
|
1348 |
break;
|
|
|
1349 |
}
|
|
|
1350 |
case 18: {
|
|
|
1351 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder subBuilder = org.vt.ece4564.latmb.LATMBProtocol.DateTime.newBuilder();
|
|
|
1352 |
if (hasTimestamp()) {
|
|
|
1353 |
subBuilder.mergeFrom(getTimestamp());
|
|
|
1354 |
}
|
|
|
1355 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1356 |
setTimestamp(subBuilder.buildPartial());
|
|
|
1357 |
break;
|
|
|
1358 |
}
|
|
|
1359 |
case 26: {
|
|
|
1360 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder subBuilder = org.vt.ece4564.latmb.LATMBProtocol.DateTime.newBuilder();
|
|
|
1361 |
if (hasExpiration()) {
|
|
|
1362 |
subBuilder.mergeFrom(getExpiration());
|
|
|
1363 |
}
|
|
|
1364 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1365 |
setExpiration(subBuilder.buildPartial());
|
|
|
1366 |
break;
|
|
|
1367 |
}
|
|
|
1368 |
case 34: {
|
|
|
1369 |
bitField0_ |= 0x00000008;
|
|
|
1370 |
username_ = input.readBytes();
|
|
|
1371 |
break;
|
|
|
1372 |
}
|
|
|
1373 |
case 42: {
|
|
|
1374 |
bitField0_ |= 0x00000010;
|
|
|
1375 |
chatroom_ = input.readBytes();
|
|
|
1376 |
break;
|
|
|
1377 |
}
|
|
|
1378 |
case 50: {
|
|
|
1379 |
org.vt.ece4564.latmb.LATMBProtocol.Position.Builder subBuilder = org.vt.ece4564.latmb.LATMBProtocol.Position.newBuilder();
|
|
|
1380 |
if (hasCoordinates()) {
|
|
|
1381 |
subBuilder.mergeFrom(getCoordinates());
|
|
|
1382 |
}
|
|
|
1383 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1384 |
setCoordinates(subBuilder.buildPartial());
|
|
|
1385 |
break;
|
|
|
1386 |
}
|
|
|
1387 |
case 57: {
|
|
|
1388 |
bitField0_ |= 0x00000040;
|
|
|
1389 |
radius_ = input.readDouble();
|
|
|
1390 |
break;
|
|
|
1391 |
}
|
|
|
1392 |
}
|
|
|
1393 |
}
|
|
|
1394 |
}
|
|
|
1395 |
|
|
|
1396 |
private int bitField0_;
|
|
|
1397 |
|
|
|
1398 |
// required string message = 1;
|
|
|
1399 |
private java.lang.Object message_ = "";
|
|
|
1400 |
public boolean hasMessage() {
|
|
|
1401 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
1402 |
}
|
|
|
1403 |
public String getMessage() {
|
|
|
1404 |
java.lang.Object ref = message_;
|
|
|
1405 |
if (!(ref instanceof String)) {
|
|
|
1406 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
1407 |
message_ = s;
|
|
|
1408 |
return s;
|
|
|
1409 |
} else {
|
|
|
1410 |
return (String) ref;
|
|
|
1411 |
}
|
|
|
1412 |
}
|
|
|
1413 |
public Builder setMessage(String value) {
|
|
|
1414 |
if (value == null) {
|
|
|
1415 |
throw new NullPointerException();
|
|
|
1416 |
}
|
|
|
1417 |
bitField0_ |= 0x00000001;
|
|
|
1418 |
message_ = value;
|
|
|
1419 |
onChanged();
|
|
|
1420 |
return this;
|
|
|
1421 |
}
|
|
|
1422 |
public Builder clearMessage() {
|
|
|
1423 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
1424 |
message_ = getDefaultInstance().getMessage();
|
|
|
1425 |
onChanged();
|
|
|
1426 |
return this;
|
|
|
1427 |
}
|
|
|
1428 |
void setMessage(com.google.protobuf.ByteString value) {
|
|
|
1429 |
bitField0_ |= 0x00000001;
|
|
|
1430 |
message_ = value;
|
|
|
1431 |
onChanged();
|
|
|
1432 |
}
|
|
|
1433 |
|
|
|
1434 |
// required .org.vt.ece4564.latmb.DateTime timestamp = 2;
|
|
|
1435 |
private org.vt.ece4564.latmb.LATMBProtocol.DateTime timestamp_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1436 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1437 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder> timestampBuilder_;
|
|
|
1438 |
public boolean hasTimestamp() {
|
|
|
1439 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
1440 |
}
|
|
|
1441 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime getTimestamp() {
|
|
|
1442 |
if (timestampBuilder_ == null) {
|
|
|
1443 |
return timestamp_;
|
|
|
1444 |
} else {
|
|
|
1445 |
return timestampBuilder_.getMessage();
|
|
|
1446 |
}
|
|
|
1447 |
}
|
|
|
1448 |
public Builder setTimestamp(org.vt.ece4564.latmb.LATMBProtocol.DateTime value) {
|
|
|
1449 |
if (timestampBuilder_ == null) {
|
|
|
1450 |
if (value == null) {
|
|
|
1451 |
throw new NullPointerException();
|
|
|
1452 |
}
|
|
|
1453 |
timestamp_ = value;
|
|
|
1454 |
onChanged();
|
|
|
1455 |
} else {
|
|
|
1456 |
timestampBuilder_.setMessage(value);
|
|
|
1457 |
}
|
|
|
1458 |
bitField0_ |= 0x00000002;
|
|
|
1459 |
return this;
|
|
|
1460 |
}
|
|
|
1461 |
public Builder setTimestamp(
|
|
|
1462 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder builderForValue) {
|
|
|
1463 |
if (timestampBuilder_ == null) {
|
|
|
1464 |
timestamp_ = builderForValue.build();
|
|
|
1465 |
onChanged();
|
|
|
1466 |
} else {
|
|
|
1467 |
timestampBuilder_.setMessage(builderForValue.build());
|
|
|
1468 |
}
|
|
|
1469 |
bitField0_ |= 0x00000002;
|
|
|
1470 |
return this;
|
|
|
1471 |
}
|
|
|
1472 |
public Builder mergeTimestamp(org.vt.ece4564.latmb.LATMBProtocol.DateTime value) {
|
|
|
1473 |
if (timestampBuilder_ == null) {
|
|
|
1474 |
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
|
|
1475 |
timestamp_ != org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance()) {
|
|
|
1476 |
timestamp_ =
|
|
|
1477 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.newBuilder(timestamp_).mergeFrom(value).buildPartial();
|
|
|
1478 |
} else {
|
|
|
1479 |
timestamp_ = value;
|
|
|
1480 |
}
|
|
|
1481 |
onChanged();
|
|
|
1482 |
} else {
|
|
|
1483 |
timestampBuilder_.mergeFrom(value);
|
|
|
1484 |
}
|
|
|
1485 |
bitField0_ |= 0x00000002;
|
|
|
1486 |
return this;
|
|
|
1487 |
}
|
|
|
1488 |
public Builder clearTimestamp() {
|
|
|
1489 |
if (timestampBuilder_ == null) {
|
|
|
1490 |
timestamp_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1491 |
onChanged();
|
|
|
1492 |
} else {
|
|
|
1493 |
timestampBuilder_.clear();
|
|
|
1494 |
}
|
|
|
1495 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
1496 |
return this;
|
|
|
1497 |
}
|
|
|
1498 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder getTimestampBuilder() {
|
|
|
1499 |
bitField0_ |= 0x00000002;
|
|
|
1500 |
onChanged();
|
|
|
1501 |
return getTimestampFieldBuilder().getBuilder();
|
|
|
1502 |
}
|
|
|
1503 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getTimestampOrBuilder() {
|
|
|
1504 |
if (timestampBuilder_ != null) {
|
|
|
1505 |
return timestampBuilder_.getMessageOrBuilder();
|
|
|
1506 |
} else {
|
|
|
1507 |
return timestamp_;
|
|
|
1508 |
}
|
|
|
1509 |
}
|
|
|
1510 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1511 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder>
|
|
|
1512 |
getTimestampFieldBuilder() {
|
|
|
1513 |
if (timestampBuilder_ == null) {
|
|
|
1514 |
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
1515 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder>(
|
|
|
1516 |
timestamp_,
|
|
|
1517 |
getParentForChildren(),
|
|
|
1518 |
isClean());
|
|
|
1519 |
timestamp_ = null;
|
|
|
1520 |
}
|
|
|
1521 |
return timestampBuilder_;
|
|
|
1522 |
}
|
|
|
1523 |
|
|
|
1524 |
// required .org.vt.ece4564.latmb.DateTime expiration = 3;
|
|
|
1525 |
private org.vt.ece4564.latmb.LATMBProtocol.DateTime expiration_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1526 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1527 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder> expirationBuilder_;
|
|
|
1528 |
public boolean hasExpiration() {
|
|
|
1529 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
1530 |
}
|
|
|
1531 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime getExpiration() {
|
|
|
1532 |
if (expirationBuilder_ == null) {
|
|
|
1533 |
return expiration_;
|
|
|
1534 |
} else {
|
|
|
1535 |
return expirationBuilder_.getMessage();
|
|
|
1536 |
}
|
|
|
1537 |
}
|
|
|
1538 |
public Builder setExpiration(org.vt.ece4564.latmb.LATMBProtocol.DateTime value) {
|
|
|
1539 |
if (expirationBuilder_ == null) {
|
|
|
1540 |
if (value == null) {
|
|
|
1541 |
throw new NullPointerException();
|
|
|
1542 |
}
|
|
|
1543 |
expiration_ = value;
|
|
|
1544 |
onChanged();
|
|
|
1545 |
} else {
|
|
|
1546 |
expirationBuilder_.setMessage(value);
|
|
|
1547 |
}
|
|
|
1548 |
bitField0_ |= 0x00000004;
|
|
|
1549 |
return this;
|
|
|
1550 |
}
|
|
|
1551 |
public Builder setExpiration(
|
|
|
1552 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder builderForValue) {
|
|
|
1553 |
if (expirationBuilder_ == null) {
|
|
|
1554 |
expiration_ = builderForValue.build();
|
|
|
1555 |
onChanged();
|
|
|
1556 |
} else {
|
|
|
1557 |
expirationBuilder_.setMessage(builderForValue.build());
|
|
|
1558 |
}
|
|
|
1559 |
bitField0_ |= 0x00000004;
|
|
|
1560 |
return this;
|
|
|
1561 |
}
|
|
|
1562 |
public Builder mergeExpiration(org.vt.ece4564.latmb.LATMBProtocol.DateTime value) {
|
|
|
1563 |
if (expirationBuilder_ == null) {
|
|
|
1564 |
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
|
|
1565 |
expiration_ != org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance()) {
|
|
|
1566 |
expiration_ =
|
|
|
1567 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.newBuilder(expiration_).mergeFrom(value).buildPartial();
|
|
|
1568 |
} else {
|
|
|
1569 |
expiration_ = value;
|
|
|
1570 |
}
|
|
|
1571 |
onChanged();
|
|
|
1572 |
} else {
|
|
|
1573 |
expirationBuilder_.mergeFrom(value);
|
|
|
1574 |
}
|
|
|
1575 |
bitField0_ |= 0x00000004;
|
|
|
1576 |
return this;
|
|
|
1577 |
}
|
|
|
1578 |
public Builder clearExpiration() {
|
|
|
1579 |
if (expirationBuilder_ == null) {
|
|
|
1580 |
expiration_ = org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
1581 |
onChanged();
|
|
|
1582 |
} else {
|
|
|
1583 |
expirationBuilder_.clear();
|
|
|
1584 |
}
|
|
|
1585 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1586 |
return this;
|
|
|
1587 |
}
|
|
|
1588 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder getExpirationBuilder() {
|
|
|
1589 |
bitField0_ |= 0x00000004;
|
|
|
1590 |
onChanged();
|
|
|
1591 |
return getExpirationFieldBuilder().getBuilder();
|
|
|
1592 |
}
|
|
|
1593 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder getExpirationOrBuilder() {
|
|
|
1594 |
if (expirationBuilder_ != null) {
|
|
|
1595 |
return expirationBuilder_.getMessageOrBuilder();
|
|
|
1596 |
} else {
|
|
|
1597 |
return expiration_;
|
|
|
1598 |
}
|
|
|
1599 |
}
|
|
|
1600 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1601 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder>
|
|
|
1602 |
getExpirationFieldBuilder() {
|
|
|
1603 |
if (expirationBuilder_ == null) {
|
|
|
1604 |
expirationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
1605 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime, org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder, org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder>(
|
|
|
1606 |
expiration_,
|
|
|
1607 |
getParentForChildren(),
|
|
|
1608 |
isClean());
|
|
|
1609 |
expiration_ = null;
|
|
|
1610 |
}
|
|
|
1611 |
return expirationBuilder_;
|
|
|
1612 |
}
|
|
|
1613 |
|
|
|
1614 |
// optional string username = 4;
|
|
|
1615 |
private java.lang.Object username_ = "";
|
|
|
1616 |
public boolean hasUsername() {
|
|
|
1617 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
1618 |
}
|
|
|
1619 |
public String getUsername() {
|
|
|
1620 |
java.lang.Object ref = username_;
|
|
|
1621 |
if (!(ref instanceof String)) {
|
|
|
1622 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
1623 |
username_ = s;
|
|
|
1624 |
return s;
|
|
|
1625 |
} else {
|
|
|
1626 |
return (String) ref;
|
|
|
1627 |
}
|
|
|
1628 |
}
|
|
|
1629 |
public Builder setUsername(String value) {
|
|
|
1630 |
if (value == null) {
|
|
|
1631 |
throw new NullPointerException();
|
|
|
1632 |
}
|
|
|
1633 |
bitField0_ |= 0x00000008;
|
|
|
1634 |
username_ = value;
|
|
|
1635 |
onChanged();
|
|
|
1636 |
return this;
|
|
|
1637 |
}
|
|
|
1638 |
public Builder clearUsername() {
|
|
|
1639 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1640 |
username_ = getDefaultInstance().getUsername();
|
|
|
1641 |
onChanged();
|
|
|
1642 |
return this;
|
|
|
1643 |
}
|
|
|
1644 |
void setUsername(com.google.protobuf.ByteString value) {
|
|
|
1645 |
bitField0_ |= 0x00000008;
|
|
|
1646 |
username_ = value;
|
|
|
1647 |
onChanged();
|
|
|
1648 |
}
|
|
|
1649 |
|
|
|
1650 |
// optional string chatroom = 5;
|
|
|
1651 |
private java.lang.Object chatroom_ = "";
|
|
|
1652 |
public boolean hasChatroom() {
|
|
|
1653 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
1654 |
}
|
|
|
1655 |
public String getChatroom() {
|
|
|
1656 |
java.lang.Object ref = chatroom_;
|
|
|
1657 |
if (!(ref instanceof String)) {
|
|
|
1658 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
1659 |
chatroom_ = s;
|
|
|
1660 |
return s;
|
|
|
1661 |
} else {
|
|
|
1662 |
return (String) ref;
|
|
|
1663 |
}
|
|
|
1664 |
}
|
|
|
1665 |
public Builder setChatroom(String value) {
|
|
|
1666 |
if (value == null) {
|
|
|
1667 |
throw new NullPointerException();
|
|
|
1668 |
}
|
|
|
1669 |
bitField0_ |= 0x00000010;
|
|
|
1670 |
chatroom_ = value;
|
|
|
1671 |
onChanged();
|
|
|
1672 |
return this;
|
|
|
1673 |
}
|
|
|
1674 |
public Builder clearChatroom() {
|
|
|
1675 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1676 |
chatroom_ = getDefaultInstance().getChatroom();
|
|
|
1677 |
onChanged();
|
|
|
1678 |
return this;
|
|
|
1679 |
}
|
|
|
1680 |
void setChatroom(com.google.protobuf.ByteString value) {
|
|
|
1681 |
bitField0_ |= 0x00000010;
|
|
|
1682 |
chatroom_ = value;
|
|
|
1683 |
onChanged();
|
|
|
1684 |
}
|
|
|
1685 |
|
|
|
1686 |
// optional .org.vt.ece4564.latmb.Position coordinates = 6;
|
|
|
1687 |
private org.vt.ece4564.latmb.LATMBProtocol.Position coordinates_ = org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance();
|
|
|
1688 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1689 |
org.vt.ece4564.latmb.LATMBProtocol.Position, org.vt.ece4564.latmb.LATMBProtocol.Position.Builder, org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder> coordinatesBuilder_;
|
|
|
1690 |
public boolean hasCoordinates() {
|
|
|
1691 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
1692 |
}
|
|
|
1693 |
public org.vt.ece4564.latmb.LATMBProtocol.Position getCoordinates() {
|
|
|
1694 |
if (coordinatesBuilder_ == null) {
|
|
|
1695 |
return coordinates_;
|
|
|
1696 |
} else {
|
|
|
1697 |
return coordinatesBuilder_.getMessage();
|
|
|
1698 |
}
|
|
|
1699 |
}
|
|
|
1700 |
public Builder setCoordinates(org.vt.ece4564.latmb.LATMBProtocol.Position value) {
|
|
|
1701 |
if (coordinatesBuilder_ == null) {
|
|
|
1702 |
if (value == null) {
|
|
|
1703 |
throw new NullPointerException();
|
|
|
1704 |
}
|
|
|
1705 |
coordinates_ = value;
|
|
|
1706 |
onChanged();
|
|
|
1707 |
} else {
|
|
|
1708 |
coordinatesBuilder_.setMessage(value);
|
|
|
1709 |
}
|
|
|
1710 |
bitField0_ |= 0x00000020;
|
|
|
1711 |
return this;
|
|
|
1712 |
}
|
|
|
1713 |
public Builder setCoordinates(
|
|
|
1714 |
org.vt.ece4564.latmb.LATMBProtocol.Position.Builder builderForValue) {
|
|
|
1715 |
if (coordinatesBuilder_ == null) {
|
|
|
1716 |
coordinates_ = builderForValue.build();
|
|
|
1717 |
onChanged();
|
|
|
1718 |
} else {
|
|
|
1719 |
coordinatesBuilder_.setMessage(builderForValue.build());
|
|
|
1720 |
}
|
|
|
1721 |
bitField0_ |= 0x00000020;
|
|
|
1722 |
return this;
|
|
|
1723 |
}
|
|
|
1724 |
public Builder mergeCoordinates(org.vt.ece4564.latmb.LATMBProtocol.Position value) {
|
|
|
1725 |
if (coordinatesBuilder_ == null) {
|
|
|
1726 |
if (((bitField0_ & 0x00000020) == 0x00000020) &&
|
|
|
1727 |
coordinates_ != org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance()) {
|
|
|
1728 |
coordinates_ =
|
|
|
1729 |
org.vt.ece4564.latmb.LATMBProtocol.Position.newBuilder(coordinates_).mergeFrom(value).buildPartial();
|
|
|
1730 |
} else {
|
|
|
1731 |
coordinates_ = value;
|
|
|
1732 |
}
|
|
|
1733 |
onChanged();
|
|
|
1734 |
} else {
|
|
|
1735 |
coordinatesBuilder_.mergeFrom(value);
|
|
|
1736 |
}
|
|
|
1737 |
bitField0_ |= 0x00000020;
|
|
|
1738 |
return this;
|
|
|
1739 |
}
|
|
|
1740 |
public Builder clearCoordinates() {
|
|
|
1741 |
if (coordinatesBuilder_ == null) {
|
|
|
1742 |
coordinates_ = org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance();
|
|
|
1743 |
onChanged();
|
|
|
1744 |
} else {
|
|
|
1745 |
coordinatesBuilder_.clear();
|
|
|
1746 |
}
|
|
|
1747 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1748 |
return this;
|
|
|
1749 |
}
|
|
|
1750 |
public org.vt.ece4564.latmb.LATMBProtocol.Position.Builder getCoordinatesBuilder() {
|
|
|
1751 |
bitField0_ |= 0x00000020;
|
|
|
1752 |
onChanged();
|
|
|
1753 |
return getCoordinatesFieldBuilder().getBuilder();
|
|
|
1754 |
}
|
|
|
1755 |
public org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder getCoordinatesOrBuilder() {
|
|
|
1756 |
if (coordinatesBuilder_ != null) {
|
|
|
1757 |
return coordinatesBuilder_.getMessageOrBuilder();
|
|
|
1758 |
} else {
|
|
|
1759 |
return coordinates_;
|
|
|
1760 |
}
|
|
|
1761 |
}
|
|
|
1762 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
1763 |
org.vt.ece4564.latmb.LATMBProtocol.Position, org.vt.ece4564.latmb.LATMBProtocol.Position.Builder, org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder>
|
|
|
1764 |
getCoordinatesFieldBuilder() {
|
|
|
1765 |
if (coordinatesBuilder_ == null) {
|
|
|
1766 |
coordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
1767 |
org.vt.ece4564.latmb.LATMBProtocol.Position, org.vt.ece4564.latmb.LATMBProtocol.Position.Builder, org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder>(
|
|
|
1768 |
coordinates_,
|
|
|
1769 |
getParentForChildren(),
|
|
|
1770 |
isClean());
|
|
|
1771 |
coordinates_ = null;
|
|
|
1772 |
}
|
|
|
1773 |
return coordinatesBuilder_;
|
|
|
1774 |
}
|
|
|
1775 |
|
|
|
1776 |
// optional double radius = 7;
|
|
|
1777 |
private double radius_ ;
|
|
|
1778 |
public boolean hasRadius() {
|
|
|
1779 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
1780 |
}
|
|
|
1781 |
public double getRadius() {
|
|
|
1782 |
return radius_;
|
|
|
1783 |
}
|
|
|
1784 |
public Builder setRadius(double value) {
|
|
|
1785 |
bitField0_ |= 0x00000040;
|
|
|
1786 |
radius_ = value;
|
|
|
1787 |
onChanged();
|
|
|
1788 |
return this;
|
|
|
1789 |
}
|
|
|
1790 |
public Builder clearRadius() {
|
|
|
1791 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1792 |
radius_ = 0D;
|
|
|
1793 |
onChanged();
|
|
|
1794 |
return this;
|
|
|
1795 |
}
|
|
|
1796 |
|
|
|
1797 |
// @@protoc_insertion_point(builder_scope:org.vt.ece4564.latmb.Message)
|
|
|
1798 |
}
|
|
|
1799 |
|
|
|
1800 |
static {
|
|
|
1801 |
defaultInstance = new Message(true);
|
|
|
1802 |
defaultInstance.initFields();
|
|
|
1803 |
}
|
|
|
1804 |
|
|
|
1805 |
// @@protoc_insertion_point(class_scope:org.vt.ece4564.latmb.Message)
|
|
|
1806 |
}
|
|
|
1807 |
|
|
|
1808 |
public interface PositionOrBuilder
|
|
|
1809 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
1810 |
|
|
|
1811 |
// required double latitude = 1;
|
|
|
1812 |
boolean hasLatitude();
|
|
|
1813 |
double getLatitude();
|
|
|
1814 |
|
|
|
1815 |
// required double longitude = 2;
|
|
|
1816 |
boolean hasLongitude();
|
|
|
1817 |
double getLongitude();
|
|
|
1818 |
|
|
|
1819 |
// required double accuracy = 3;
|
|
|
1820 |
boolean hasAccuracy();
|
|
|
1821 |
double getAccuracy();
|
|
|
1822 |
}
|
|
|
1823 |
public static final class Position extends
|
|
|
1824 |
com.google.protobuf.GeneratedMessage
|
|
|
1825 |
implements PositionOrBuilder {
|
|
|
1826 |
// Use Position.newBuilder() to construct.
|
|
|
1827 |
private Position(Builder builder) {
|
|
|
1828 |
super(builder);
|
|
|
1829 |
}
|
|
|
1830 |
private Position(boolean noInit) {}
|
|
|
1831 |
|
|
|
1832 |
private static final Position defaultInstance;
|
|
|
1833 |
public static Position getDefaultInstance() {
|
|
|
1834 |
return defaultInstance;
|
|
|
1835 |
}
|
|
|
1836 |
|
|
|
1837 |
public Position getDefaultInstanceForType() {
|
|
|
1838 |
return defaultInstance;
|
|
|
1839 |
}
|
|
|
1840 |
|
|
|
1841 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
1842 |
getDescriptor() {
|
|
|
1843 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Position_descriptor;
|
|
|
1844 |
}
|
|
|
1845 |
|
|
|
1846 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
1847 |
internalGetFieldAccessorTable() {
|
|
|
1848 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Position_fieldAccessorTable;
|
|
|
1849 |
}
|
|
|
1850 |
|
|
|
1851 |
private int bitField0_;
|
|
|
1852 |
// required double latitude = 1;
|
|
|
1853 |
public static final int LATITUDE_FIELD_NUMBER = 1;
|
|
|
1854 |
private double latitude_;
|
|
|
1855 |
public boolean hasLatitude() {
|
|
|
1856 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
1857 |
}
|
|
|
1858 |
public double getLatitude() {
|
|
|
1859 |
return latitude_;
|
|
|
1860 |
}
|
|
|
1861 |
|
|
|
1862 |
// required double longitude = 2;
|
|
|
1863 |
public static final int LONGITUDE_FIELD_NUMBER = 2;
|
|
|
1864 |
private double longitude_;
|
|
|
1865 |
public boolean hasLongitude() {
|
|
|
1866 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
1867 |
}
|
|
|
1868 |
public double getLongitude() {
|
|
|
1869 |
return longitude_;
|
|
|
1870 |
}
|
|
|
1871 |
|
|
|
1872 |
// required double accuracy = 3;
|
|
|
1873 |
public static final int ACCURACY_FIELD_NUMBER = 3;
|
|
|
1874 |
private double accuracy_;
|
|
|
1875 |
public boolean hasAccuracy() {
|
|
|
1876 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
1877 |
}
|
|
|
1878 |
public double getAccuracy() {
|
|
|
1879 |
return accuracy_;
|
|
|
1880 |
}
|
|
|
1881 |
|
|
|
1882 |
private void initFields() {
|
|
|
1883 |
latitude_ = 0D;
|
|
|
1884 |
longitude_ = 0D;
|
|
|
1885 |
accuracy_ = 0D;
|
|
|
1886 |
}
|
|
|
1887 |
private byte memoizedIsInitialized = -1;
|
|
|
1888 |
public final boolean isInitialized() {
|
|
|
1889 |
byte isInitialized = memoizedIsInitialized;
|
|
|
1890 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
1891 |
|
|
|
1892 |
if (!hasLatitude()) {
|
|
|
1893 |
memoizedIsInitialized = 0;
|
|
|
1894 |
return false;
|
|
|
1895 |
}
|
|
|
1896 |
if (!hasLongitude()) {
|
|
|
1897 |
memoizedIsInitialized = 0;
|
|
|
1898 |
return false;
|
|
|
1899 |
}
|
|
|
1900 |
if (!hasAccuracy()) {
|
|
|
1901 |
memoizedIsInitialized = 0;
|
|
|
1902 |
return false;
|
|
|
1903 |
}
|
|
|
1904 |
memoizedIsInitialized = 1;
|
|
|
1905 |
return true;
|
|
|
1906 |
}
|
|
|
1907 |
|
|
|
1908 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
1909 |
throws java.io.IOException {
|
|
|
1910 |
getSerializedSize();
|
|
|
1911 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
1912 |
output.writeDouble(1, latitude_);
|
|
|
1913 |
}
|
|
|
1914 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
1915 |
output.writeDouble(2, longitude_);
|
|
|
1916 |
}
|
|
|
1917 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1918 |
output.writeDouble(3, accuracy_);
|
|
|
1919 |
}
|
|
|
1920 |
getUnknownFields().writeTo(output);
|
|
|
1921 |
}
|
|
|
1922 |
|
|
|
1923 |
private int memoizedSerializedSize = -1;
|
|
|
1924 |
public int getSerializedSize() {
|
|
|
1925 |
int size = memoizedSerializedSize;
|
|
|
1926 |
if (size != -1) return size;
|
|
|
1927 |
|
|
|
1928 |
size = 0;
|
|
|
1929 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
1930 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1931 |
.computeDoubleSize(1, latitude_);
|
|
|
1932 |
}
|
|
|
1933 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
1934 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1935 |
.computeDoubleSize(2, longitude_);
|
|
|
1936 |
}
|
|
|
1937 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1938 |
size += com.google.protobuf.CodedOutputStream
|
|
|
1939 |
.computeDoubleSize(3, accuracy_);
|
|
|
1940 |
}
|
|
|
1941 |
size += getUnknownFields().getSerializedSize();
|
|
|
1942 |
memoizedSerializedSize = size;
|
|
|
1943 |
return size;
|
|
|
1944 |
}
|
|
|
1945 |
|
|
|
1946 |
private static final long serialVersionUID = 0L;
|
|
|
1947 |
@java.lang.Override
|
|
|
1948 |
protected java.lang.Object writeReplace()
|
|
|
1949 |
throws java.io.ObjectStreamException {
|
|
|
1950 |
return super.writeReplace();
|
|
|
1951 |
}
|
|
|
1952 |
|
|
|
1953 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
1954 |
com.google.protobuf.ByteString data)
|
|
|
1955 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1956 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1957 |
}
|
|
|
1958 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
1959 |
com.google.protobuf.ByteString data,
|
|
|
1960 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1961 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1962 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1963 |
.buildParsed();
|
|
|
1964 |
}
|
|
|
1965 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(byte[] data)
|
|
|
1966 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1967 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1968 |
}
|
|
|
1969 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
1970 |
byte[] data,
|
|
|
1971 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1972 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1973 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1974 |
.buildParsed();
|
|
|
1975 |
}
|
|
|
1976 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(java.io.InputStream input)
|
|
|
1977 |
throws java.io.IOException {
|
|
|
1978 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
1979 |
}
|
|
|
1980 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
1981 |
java.io.InputStream input,
|
|
|
1982 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1983 |
throws java.io.IOException {
|
|
|
1984 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
1985 |
.buildParsed();
|
|
|
1986 |
}
|
|
|
1987 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseDelimitedFrom(java.io.InputStream input)
|
|
|
1988 |
throws java.io.IOException {
|
|
|
1989 |
Builder builder = newBuilder();
|
|
|
1990 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
1991 |
return builder.buildParsed();
|
|
|
1992 |
} else {
|
|
|
1993 |
return null;
|
|
|
1994 |
}
|
|
|
1995 |
}
|
|
|
1996 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseDelimitedFrom(
|
|
|
1997 |
java.io.InputStream input,
|
|
|
1998 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1999 |
throws java.io.IOException {
|
|
|
2000 |
Builder builder = newBuilder();
|
|
|
2001 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
2002 |
return builder.buildParsed();
|
|
|
2003 |
} else {
|
|
|
2004 |
return null;
|
|
|
2005 |
}
|
|
|
2006 |
}
|
|
|
2007 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
2008 |
com.google.protobuf.CodedInputStream input)
|
|
|
2009 |
throws java.io.IOException {
|
|
|
2010 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
2011 |
}
|
|
|
2012 |
public static org.vt.ece4564.latmb.LATMBProtocol.Position parseFrom(
|
|
|
2013 |
com.google.protobuf.CodedInputStream input,
|
|
|
2014 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2015 |
throws java.io.IOException {
|
|
|
2016 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
2017 |
.buildParsed();
|
|
|
2018 |
}
|
|
|
2019 |
|
|
|
2020 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
2021 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
2022 |
public static Builder newBuilder(org.vt.ece4564.latmb.LATMBProtocol.Position prototype) {
|
|
|
2023 |
return newBuilder().mergeFrom(prototype);
|
|
|
2024 |
}
|
|
|
2025 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
2026 |
|
|
|
2027 |
@java.lang.Override
|
|
|
2028 |
protected Builder newBuilderForType(
|
|
|
2029 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
2030 |
Builder builder = new Builder(parent);
|
|
|
2031 |
return builder;
|
|
|
2032 |
}
|
|
|
2033 |
public static final class Builder extends
|
|
|
2034 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
2035 |
implements org.vt.ece4564.latmb.LATMBProtocol.PositionOrBuilder {
|
|
|
2036 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2037 |
getDescriptor() {
|
|
|
2038 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Position_descriptor;
|
|
|
2039 |
}
|
|
|
2040 |
|
|
|
2041 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2042 |
internalGetFieldAccessorTable() {
|
|
|
2043 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_Position_fieldAccessorTable;
|
|
|
2044 |
}
|
|
|
2045 |
|
|
|
2046 |
// Construct using org.vt.ece4564.latmb.LATMBProtocol.Position.newBuilder()
|
|
|
2047 |
private Builder() {
|
|
|
2048 |
maybeForceBuilderInitialization();
|
|
|
2049 |
}
|
|
|
2050 |
|
|
|
2051 |
private Builder(BuilderParent parent) {
|
|
|
2052 |
super(parent);
|
|
|
2053 |
maybeForceBuilderInitialization();
|
|
|
2054 |
}
|
|
|
2055 |
private void maybeForceBuilderInitialization() {
|
|
|
2056 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
2057 |
}
|
|
|
2058 |
}
|
|
|
2059 |
private static Builder create() {
|
|
|
2060 |
return new Builder();
|
|
|
2061 |
}
|
|
|
2062 |
|
|
|
2063 |
public Builder clear() {
|
|
|
2064 |
super.clear();
|
|
|
2065 |
latitude_ = 0D;
|
|
|
2066 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
2067 |
longitude_ = 0D;
|
|
|
2068 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
2069 |
accuracy_ = 0D;
|
|
|
2070 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
2071 |
return this;
|
|
|
2072 |
}
|
|
|
2073 |
|
|
|
2074 |
public Builder clone() {
|
|
|
2075 |
return create().mergeFrom(buildPartial());
|
|
|
2076 |
}
|
|
|
2077 |
|
|
|
2078 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
2079 |
getDescriptorForType() {
|
|
|
2080 |
return org.vt.ece4564.latmb.LATMBProtocol.Position.getDescriptor();
|
|
|
2081 |
}
|
|
|
2082 |
|
|
|
2083 |
public org.vt.ece4564.latmb.LATMBProtocol.Position getDefaultInstanceForType() {
|
|
|
2084 |
return org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance();
|
|
|
2085 |
}
|
|
|
2086 |
|
|
|
2087 |
public org.vt.ece4564.latmb.LATMBProtocol.Position build() {
|
|
|
2088 |
org.vt.ece4564.latmb.LATMBProtocol.Position result = buildPartial();
|
|
|
2089 |
if (!result.isInitialized()) {
|
|
|
2090 |
throw newUninitializedMessageException(result);
|
|
|
2091 |
}
|
|
|
2092 |
return result;
|
|
|
2093 |
}
|
|
|
2094 |
|
|
|
2095 |
private org.vt.ece4564.latmb.LATMBProtocol.Position buildParsed()
|
|
|
2096 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2097 |
org.vt.ece4564.latmb.LATMBProtocol.Position result = buildPartial();
|
|
|
2098 |
if (!result.isInitialized()) {
|
|
|
2099 |
throw newUninitializedMessageException(
|
|
|
2100 |
result).asInvalidProtocolBufferException();
|
|
|
2101 |
}
|
|
|
2102 |
return result;
|
|
|
2103 |
}
|
|
|
2104 |
|
|
|
2105 |
public org.vt.ece4564.latmb.LATMBProtocol.Position buildPartial() {
|
|
|
2106 |
org.vt.ece4564.latmb.LATMBProtocol.Position result = new org.vt.ece4564.latmb.LATMBProtocol.Position(this);
|
|
|
2107 |
int from_bitField0_ = bitField0_;
|
|
|
2108 |
int to_bitField0_ = 0;
|
|
|
2109 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2110 |
to_bitField0_ |= 0x00000001;
|
|
|
2111 |
}
|
|
|
2112 |
result.latitude_ = latitude_;
|
|
|
2113 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2114 |
to_bitField0_ |= 0x00000002;
|
|
|
2115 |
}
|
|
|
2116 |
result.longitude_ = longitude_;
|
|
|
2117 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
2118 |
to_bitField0_ |= 0x00000004;
|
|
|
2119 |
}
|
|
|
2120 |
result.accuracy_ = accuracy_;
|
|
|
2121 |
result.bitField0_ = to_bitField0_;
|
|
|
2122 |
onBuilt();
|
|
|
2123 |
return result;
|
|
|
2124 |
}
|
|
|
2125 |
|
|
|
2126 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
2127 |
if (other instanceof org.vt.ece4564.latmb.LATMBProtocol.Position) {
|
|
|
2128 |
return mergeFrom((org.vt.ece4564.latmb.LATMBProtocol.Position)other);
|
|
|
2129 |
} else {
|
|
|
2130 |
super.mergeFrom(other);
|
|
|
2131 |
return this;
|
|
|
2132 |
}
|
|
|
2133 |
}
|
|
|
2134 |
|
|
|
2135 |
public Builder mergeFrom(org.vt.ece4564.latmb.LATMBProtocol.Position other) {
|
|
|
2136 |
if (other == org.vt.ece4564.latmb.LATMBProtocol.Position.getDefaultInstance()) return this;
|
|
|
2137 |
if (other.hasLatitude()) {
|
|
|
2138 |
setLatitude(other.getLatitude());
|
|
|
2139 |
}
|
|
|
2140 |
if (other.hasLongitude()) {
|
|
|
2141 |
setLongitude(other.getLongitude());
|
|
|
2142 |
}
|
|
|
2143 |
if (other.hasAccuracy()) {
|
|
|
2144 |
setAccuracy(other.getAccuracy());
|
|
|
2145 |
}
|
|
|
2146 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
2147 |
return this;
|
|
|
2148 |
}
|
|
|
2149 |
|
|
|
2150 |
public final boolean isInitialized() {
|
|
|
2151 |
if (!hasLatitude()) {
|
|
|
2152 |
|
|
|
2153 |
return false;
|
|
|
2154 |
}
|
|
|
2155 |
if (!hasLongitude()) {
|
|
|
2156 |
|
|
|
2157 |
return false;
|
|
|
2158 |
}
|
|
|
2159 |
if (!hasAccuracy()) {
|
|
|
2160 |
|
|
|
2161 |
return false;
|
|
|
2162 |
}
|
|
|
2163 |
return true;
|
|
|
2164 |
}
|
|
|
2165 |
|
|
|
2166 |
public Builder mergeFrom(
|
|
|
2167 |
com.google.protobuf.CodedInputStream input,
|
|
|
2168 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2169 |
throws java.io.IOException {
|
|
|
2170 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
2171 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
2172 |
this.getUnknownFields());
|
|
|
2173 |
while (true) {
|
|
|
2174 |
int tag = input.readTag();
|
|
|
2175 |
switch (tag) {
|
|
|
2176 |
case 0:
|
|
|
2177 |
this.setUnknownFields(unknownFields.build());
|
|
|
2178 |
onChanged();
|
|
|
2179 |
return this;
|
|
|
2180 |
default: {
|
|
|
2181 |
if (!parseUnknownField(input, unknownFields,
|
|
|
2182 |
extensionRegistry, tag)) {
|
|
|
2183 |
this.setUnknownFields(unknownFields.build());
|
|
|
2184 |
onChanged();
|
|
|
2185 |
return this;
|
|
|
2186 |
}
|
|
|
2187 |
break;
|
|
|
2188 |
}
|
|
|
2189 |
case 9: {
|
|
|
2190 |
bitField0_ |= 0x00000001;
|
|
|
2191 |
latitude_ = input.readDouble();
|
|
|
2192 |
break;
|
|
|
2193 |
}
|
|
|
2194 |
case 17: {
|
|
|
2195 |
bitField0_ |= 0x00000002;
|
|
|
2196 |
longitude_ = input.readDouble();
|
|
|
2197 |
break;
|
|
|
2198 |
}
|
|
|
2199 |
case 25: {
|
|
|
2200 |
bitField0_ |= 0x00000004;
|
|
|
2201 |
accuracy_ = input.readDouble();
|
|
|
2202 |
break;
|
|
|
2203 |
}
|
|
|
2204 |
}
|
|
|
2205 |
}
|
|
|
2206 |
}
|
|
|
2207 |
|
|
|
2208 |
private int bitField0_;
|
|
|
2209 |
|
|
|
2210 |
// required double latitude = 1;
|
|
|
2211 |
private double latitude_ ;
|
|
|
2212 |
public boolean hasLatitude() {
|
|
|
2213 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
2214 |
}
|
|
|
2215 |
public double getLatitude() {
|
|
|
2216 |
return latitude_;
|
|
|
2217 |
}
|
|
|
2218 |
public Builder setLatitude(double value) {
|
|
|
2219 |
bitField0_ |= 0x00000001;
|
|
|
2220 |
latitude_ = value;
|
|
|
2221 |
onChanged();
|
|
|
2222 |
return this;
|
|
|
2223 |
}
|
|
|
2224 |
public Builder clearLatitude() {
|
|
|
2225 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
2226 |
latitude_ = 0D;
|
|
|
2227 |
onChanged();
|
|
|
2228 |
return this;
|
|
|
2229 |
}
|
|
|
2230 |
|
|
|
2231 |
// required double longitude = 2;
|
|
|
2232 |
private double longitude_ ;
|
|
|
2233 |
public boolean hasLongitude() {
|
|
|
2234 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
2235 |
}
|
|
|
2236 |
public double getLongitude() {
|
|
|
2237 |
return longitude_;
|
|
|
2238 |
}
|
|
|
2239 |
public Builder setLongitude(double value) {
|
|
|
2240 |
bitField0_ |= 0x00000002;
|
|
|
2241 |
longitude_ = value;
|
|
|
2242 |
onChanged();
|
|
|
2243 |
return this;
|
|
|
2244 |
}
|
|
|
2245 |
public Builder clearLongitude() {
|
|
|
2246 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
2247 |
longitude_ = 0D;
|
|
|
2248 |
onChanged();
|
|
|
2249 |
return this;
|
|
|
2250 |
}
|
|
|
2251 |
|
|
|
2252 |
// required double accuracy = 3;
|
|
|
2253 |
private double accuracy_ ;
|
|
|
2254 |
public boolean hasAccuracy() {
|
|
|
2255 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
2256 |
}
|
|
|
2257 |
public double getAccuracy() {
|
|
|
2258 |
return accuracy_;
|
|
|
2259 |
}
|
|
|
2260 |
public Builder setAccuracy(double value) {
|
|
|
2261 |
bitField0_ |= 0x00000004;
|
|
|
2262 |
accuracy_ = value;
|
|
|
2263 |
onChanged();
|
|
|
2264 |
return this;
|
|
|
2265 |
}
|
|
|
2266 |
public Builder clearAccuracy() {
|
|
|
2267 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
2268 |
accuracy_ = 0D;
|
|
|
2269 |
onChanged();
|
|
|
2270 |
return this;
|
|
|
2271 |
}
|
|
|
2272 |
|
|
|
2273 |
// @@protoc_insertion_point(builder_scope:org.vt.ece4564.latmb.Position)
|
|
|
2274 |
}
|
|
|
2275 |
|
|
|
2276 |
static {
|
|
|
2277 |
defaultInstance = new Position(true);
|
|
|
2278 |
defaultInstance.initFields();
|
|
|
2279 |
}
|
|
|
2280 |
|
|
|
2281 |
// @@protoc_insertion_point(class_scope:org.vt.ece4564.latmb.Position)
|
|
|
2282 |
}
|
|
|
2283 |
|
|
|
2284 |
public interface DateTimeOrBuilder
|
|
|
2285 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
2286 |
|
|
|
2287 |
// required int32 year = 1;
|
|
|
2288 |
boolean hasYear();
|
|
|
2289 |
int getYear();
|
|
|
2290 |
|
|
|
2291 |
// required int32 month = 2;
|
|
|
2292 |
boolean hasMonth();
|
|
|
2293 |
int getMonth();
|
|
|
2294 |
|
|
|
2295 |
// required int32 day = 3;
|
|
|
2296 |
boolean hasDay();
|
|
|
2297 |
int getDay();
|
|
|
2298 |
|
|
|
2299 |
// required int32 hour = 4;
|
|
|
2300 |
boolean hasHour();
|
|
|
2301 |
int getHour();
|
|
|
2302 |
|
|
|
2303 |
// required int32 minute = 5;
|
|
|
2304 |
boolean hasMinute();
|
|
|
2305 |
int getMinute();
|
|
|
2306 |
|
|
|
2307 |
// required int32 second = 6;
|
|
|
2308 |
boolean hasSecond();
|
|
|
2309 |
int getSecond();
|
|
|
2310 |
}
|
|
|
2311 |
public static final class DateTime extends
|
|
|
2312 |
com.google.protobuf.GeneratedMessage
|
|
|
2313 |
implements DateTimeOrBuilder {
|
|
|
2314 |
// Use DateTime.newBuilder() to construct.
|
|
|
2315 |
private DateTime(Builder builder) {
|
|
|
2316 |
super(builder);
|
|
|
2317 |
}
|
|
|
2318 |
private DateTime(boolean noInit) {}
|
|
|
2319 |
|
|
|
2320 |
private static final DateTime defaultInstance;
|
|
|
2321 |
public static DateTime getDefaultInstance() {
|
|
|
2322 |
return defaultInstance;
|
|
|
2323 |
}
|
|
|
2324 |
|
|
|
2325 |
public DateTime getDefaultInstanceForType() {
|
|
|
2326 |
return defaultInstance;
|
|
|
2327 |
}
|
|
|
2328 |
|
|
|
2329 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2330 |
getDescriptor() {
|
|
|
2331 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_DateTime_descriptor;
|
|
|
2332 |
}
|
|
|
2333 |
|
|
|
2334 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2335 |
internalGetFieldAccessorTable() {
|
|
|
2336 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_DateTime_fieldAccessorTable;
|
|
|
2337 |
}
|
|
|
2338 |
|
|
|
2339 |
private int bitField0_;
|
|
|
2340 |
// required int32 year = 1;
|
|
|
2341 |
public static final int YEAR_FIELD_NUMBER = 1;
|
|
|
2342 |
private int year_;
|
|
|
2343 |
public boolean hasYear() {
|
|
|
2344 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
2345 |
}
|
|
|
2346 |
public int getYear() {
|
|
|
2347 |
return year_;
|
|
|
2348 |
}
|
|
|
2349 |
|
|
|
2350 |
// required int32 month = 2;
|
|
|
2351 |
public static final int MONTH_FIELD_NUMBER = 2;
|
|
|
2352 |
private int month_;
|
|
|
2353 |
public boolean hasMonth() {
|
|
|
2354 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
2355 |
}
|
|
|
2356 |
public int getMonth() {
|
|
|
2357 |
return month_;
|
|
|
2358 |
}
|
|
|
2359 |
|
|
|
2360 |
// required int32 day = 3;
|
|
|
2361 |
public static final int DAY_FIELD_NUMBER = 3;
|
|
|
2362 |
private int day_;
|
|
|
2363 |
public boolean hasDay() {
|
|
|
2364 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
2365 |
}
|
|
|
2366 |
public int getDay() {
|
|
|
2367 |
return day_;
|
|
|
2368 |
}
|
|
|
2369 |
|
|
|
2370 |
// required int32 hour = 4;
|
|
|
2371 |
public static final int HOUR_FIELD_NUMBER = 4;
|
|
|
2372 |
private int hour_;
|
|
|
2373 |
public boolean hasHour() {
|
|
|
2374 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
2375 |
}
|
|
|
2376 |
public int getHour() {
|
|
|
2377 |
return hour_;
|
|
|
2378 |
}
|
|
|
2379 |
|
|
|
2380 |
// required int32 minute = 5;
|
|
|
2381 |
public static final int MINUTE_FIELD_NUMBER = 5;
|
|
|
2382 |
private int minute_;
|
|
|
2383 |
public boolean hasMinute() {
|
|
|
2384 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
2385 |
}
|
|
|
2386 |
public int getMinute() {
|
|
|
2387 |
return minute_;
|
|
|
2388 |
}
|
|
|
2389 |
|
|
|
2390 |
// required int32 second = 6;
|
|
|
2391 |
public static final int SECOND_FIELD_NUMBER = 6;
|
|
|
2392 |
private int second_;
|
|
|
2393 |
public boolean hasSecond() {
|
|
|
2394 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
2395 |
}
|
|
|
2396 |
public int getSecond() {
|
|
|
2397 |
return second_;
|
|
|
2398 |
}
|
|
|
2399 |
|
|
|
2400 |
private void initFields() {
|
|
|
2401 |
year_ = 0;
|
|
|
2402 |
month_ = 0;
|
|
|
2403 |
day_ = 0;
|
|
|
2404 |
hour_ = 0;
|
|
|
2405 |
minute_ = 0;
|
|
|
2406 |
second_ = 0;
|
|
|
2407 |
}
|
|
|
2408 |
private byte memoizedIsInitialized = -1;
|
|
|
2409 |
public final boolean isInitialized() {
|
|
|
2410 |
byte isInitialized = memoizedIsInitialized;
|
|
|
2411 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
2412 |
|
|
|
2413 |
if (!hasYear()) {
|
|
|
2414 |
memoizedIsInitialized = 0;
|
|
|
2415 |
return false;
|
|
|
2416 |
}
|
|
|
2417 |
if (!hasMonth()) {
|
|
|
2418 |
memoizedIsInitialized = 0;
|
|
|
2419 |
return false;
|
|
|
2420 |
}
|
|
|
2421 |
if (!hasDay()) {
|
|
|
2422 |
memoizedIsInitialized = 0;
|
|
|
2423 |
return false;
|
|
|
2424 |
}
|
|
|
2425 |
if (!hasHour()) {
|
|
|
2426 |
memoizedIsInitialized = 0;
|
|
|
2427 |
return false;
|
|
|
2428 |
}
|
|
|
2429 |
if (!hasMinute()) {
|
|
|
2430 |
memoizedIsInitialized = 0;
|
|
|
2431 |
return false;
|
|
|
2432 |
}
|
|
|
2433 |
if (!hasSecond()) {
|
|
|
2434 |
memoizedIsInitialized = 0;
|
|
|
2435 |
return false;
|
|
|
2436 |
}
|
|
|
2437 |
memoizedIsInitialized = 1;
|
|
|
2438 |
return true;
|
|
|
2439 |
}
|
|
|
2440 |
|
|
|
2441 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
2442 |
throws java.io.IOException {
|
|
|
2443 |
getSerializedSize();
|
|
|
2444 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2445 |
output.writeInt32(1, year_);
|
|
|
2446 |
}
|
|
|
2447 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2448 |
output.writeInt32(2, month_);
|
|
|
2449 |
}
|
|
|
2450 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
2451 |
output.writeInt32(3, day_);
|
|
|
2452 |
}
|
|
|
2453 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
2454 |
output.writeInt32(4, hour_);
|
|
|
2455 |
}
|
|
|
2456 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
2457 |
output.writeInt32(5, minute_);
|
|
|
2458 |
}
|
|
|
2459 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
2460 |
output.writeInt32(6, second_);
|
|
|
2461 |
}
|
|
|
2462 |
getUnknownFields().writeTo(output);
|
|
|
2463 |
}
|
|
|
2464 |
|
|
|
2465 |
private int memoizedSerializedSize = -1;
|
|
|
2466 |
public int getSerializedSize() {
|
|
|
2467 |
int size = memoizedSerializedSize;
|
|
|
2468 |
if (size != -1) return size;
|
|
|
2469 |
|
|
|
2470 |
size = 0;
|
|
|
2471 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2472 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2473 |
.computeInt32Size(1, year_);
|
|
|
2474 |
}
|
|
|
2475 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2476 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2477 |
.computeInt32Size(2, month_);
|
|
|
2478 |
}
|
|
|
2479 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
2480 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2481 |
.computeInt32Size(3, day_);
|
|
|
2482 |
}
|
|
|
2483 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
2484 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2485 |
.computeInt32Size(4, hour_);
|
|
|
2486 |
}
|
|
|
2487 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
2488 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2489 |
.computeInt32Size(5, minute_);
|
|
|
2490 |
}
|
|
|
2491 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
2492 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2493 |
.computeInt32Size(6, second_);
|
|
|
2494 |
}
|
|
|
2495 |
size += getUnknownFields().getSerializedSize();
|
|
|
2496 |
memoizedSerializedSize = size;
|
|
|
2497 |
return size;
|
|
|
2498 |
}
|
|
|
2499 |
|
|
|
2500 |
private static final long serialVersionUID = 0L;
|
|
|
2501 |
@java.lang.Override
|
|
|
2502 |
protected java.lang.Object writeReplace()
|
|
|
2503 |
throws java.io.ObjectStreamException {
|
|
|
2504 |
return super.writeReplace();
|
|
|
2505 |
}
|
|
|
2506 |
|
|
|
2507 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2508 |
com.google.protobuf.ByteString data)
|
|
|
2509 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2510 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
2511 |
}
|
|
|
2512 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2513 |
com.google.protobuf.ByteString data,
|
|
|
2514 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2515 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2516 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
2517 |
.buildParsed();
|
|
|
2518 |
}
|
|
|
2519 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(byte[] data)
|
|
|
2520 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2521 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
2522 |
}
|
|
|
2523 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2524 |
byte[] data,
|
|
|
2525 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2526 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2527 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
2528 |
.buildParsed();
|
|
|
2529 |
}
|
|
|
2530 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(java.io.InputStream input)
|
|
|
2531 |
throws java.io.IOException {
|
|
|
2532 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
2533 |
}
|
|
|
2534 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2535 |
java.io.InputStream input,
|
|
|
2536 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2537 |
throws java.io.IOException {
|
|
|
2538 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
2539 |
.buildParsed();
|
|
|
2540 |
}
|
|
|
2541 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseDelimitedFrom(java.io.InputStream input)
|
|
|
2542 |
throws java.io.IOException {
|
|
|
2543 |
Builder builder = newBuilder();
|
|
|
2544 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
2545 |
return builder.buildParsed();
|
|
|
2546 |
} else {
|
|
|
2547 |
return null;
|
|
|
2548 |
}
|
|
|
2549 |
}
|
|
|
2550 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseDelimitedFrom(
|
|
|
2551 |
java.io.InputStream input,
|
|
|
2552 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2553 |
throws java.io.IOException {
|
|
|
2554 |
Builder builder = newBuilder();
|
|
|
2555 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
2556 |
return builder.buildParsed();
|
|
|
2557 |
} else {
|
|
|
2558 |
return null;
|
|
|
2559 |
}
|
|
|
2560 |
}
|
|
|
2561 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2562 |
com.google.protobuf.CodedInputStream input)
|
|
|
2563 |
throws java.io.IOException {
|
|
|
2564 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
2565 |
}
|
|
|
2566 |
public static org.vt.ece4564.latmb.LATMBProtocol.DateTime parseFrom(
|
|
|
2567 |
com.google.protobuf.CodedInputStream input,
|
|
|
2568 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2569 |
throws java.io.IOException {
|
|
|
2570 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
2571 |
.buildParsed();
|
|
|
2572 |
}
|
|
|
2573 |
|
|
|
2574 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
2575 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
2576 |
public static Builder newBuilder(org.vt.ece4564.latmb.LATMBProtocol.DateTime prototype) {
|
|
|
2577 |
return newBuilder().mergeFrom(prototype);
|
|
|
2578 |
}
|
|
|
2579 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
2580 |
|
|
|
2581 |
@java.lang.Override
|
|
|
2582 |
protected Builder newBuilderForType(
|
|
|
2583 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
2584 |
Builder builder = new Builder(parent);
|
|
|
2585 |
return builder;
|
|
|
2586 |
}
|
|
|
2587 |
public static final class Builder extends
|
|
|
2588 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
2589 |
implements org.vt.ece4564.latmb.LATMBProtocol.DateTimeOrBuilder {
|
|
|
2590 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2591 |
getDescriptor() {
|
|
|
2592 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_DateTime_descriptor;
|
|
|
2593 |
}
|
|
|
2594 |
|
|
|
2595 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2596 |
internalGetFieldAccessorTable() {
|
|
|
2597 |
return org.vt.ece4564.latmb.LATMBProtocol.internal_static_org_vt_ece4564_latmb_DateTime_fieldAccessorTable;
|
|
|
2598 |
}
|
|
|
2599 |
|
|
|
2600 |
// Construct using org.vt.ece4564.latmb.LATMBProtocol.DateTime.newBuilder()
|
|
|
2601 |
private Builder() {
|
|
|
2602 |
maybeForceBuilderInitialization();
|
|
|
2603 |
}
|
|
|
2604 |
|
|
|
2605 |
private Builder(BuilderParent parent) {
|
|
|
2606 |
super(parent);
|
|
|
2607 |
maybeForceBuilderInitialization();
|
|
|
2608 |
}
|
|
|
2609 |
private void maybeForceBuilderInitialization() {
|
|
|
2610 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
2611 |
}
|
|
|
2612 |
}
|
|
|
2613 |
private static Builder create() {
|
|
|
2614 |
return new Builder();
|
|
|
2615 |
}
|
|
|
2616 |
|
|
|
2617 |
public Builder clear() {
|
|
|
2618 |
super.clear();
|
|
|
2619 |
year_ = 0;
|
|
|
2620 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
2621 |
month_ = 0;
|
|
|
2622 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
2623 |
day_ = 0;
|
|
|
2624 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
2625 |
hour_ = 0;
|
|
|
2626 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
2627 |
minute_ = 0;
|
|
|
2628 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
2629 |
second_ = 0;
|
|
|
2630 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
2631 |
return this;
|
|
|
2632 |
}
|
|
|
2633 |
|
|
|
2634 |
public Builder clone() {
|
|
|
2635 |
return create().mergeFrom(buildPartial());
|
|
|
2636 |
}
|
|
|
2637 |
|
|
|
2638 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
2639 |
getDescriptorForType() {
|
|
|
2640 |
return org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDescriptor();
|
|
|
2641 |
}
|
|
|
2642 |
|
|
|
2643 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime getDefaultInstanceForType() {
|
|
|
2644 |
return org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance();
|
|
|
2645 |
}
|
|
|
2646 |
|
|
|
2647 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime build() {
|
|
|
2648 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime result = buildPartial();
|
|
|
2649 |
if (!result.isInitialized()) {
|
|
|
2650 |
throw newUninitializedMessageException(result);
|
|
|
2651 |
}
|
|
|
2652 |
return result;
|
|
|
2653 |
}
|
|
|
2654 |
|
|
|
2655 |
private org.vt.ece4564.latmb.LATMBProtocol.DateTime buildParsed()
|
|
|
2656 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2657 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime result = buildPartial();
|
|
|
2658 |
if (!result.isInitialized()) {
|
|
|
2659 |
throw newUninitializedMessageException(
|
|
|
2660 |
result).asInvalidProtocolBufferException();
|
|
|
2661 |
}
|
|
|
2662 |
return result;
|
|
|
2663 |
}
|
|
|
2664 |
|
|
|
2665 |
public org.vt.ece4564.latmb.LATMBProtocol.DateTime buildPartial() {
|
|
|
2666 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime result = new org.vt.ece4564.latmb.LATMBProtocol.DateTime(this);
|
|
|
2667 |
int from_bitField0_ = bitField0_;
|
|
|
2668 |
int to_bitField0_ = 0;
|
|
|
2669 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2670 |
to_bitField0_ |= 0x00000001;
|
|
|
2671 |
}
|
|
|
2672 |
result.year_ = year_;
|
|
|
2673 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2674 |
to_bitField0_ |= 0x00000002;
|
|
|
2675 |
}
|
|
|
2676 |
result.month_ = month_;
|
|
|
2677 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
2678 |
to_bitField0_ |= 0x00000004;
|
|
|
2679 |
}
|
|
|
2680 |
result.day_ = day_;
|
|
|
2681 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
2682 |
to_bitField0_ |= 0x00000008;
|
|
|
2683 |
}
|
|
|
2684 |
result.hour_ = hour_;
|
|
|
2685 |
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
2686 |
to_bitField0_ |= 0x00000010;
|
|
|
2687 |
}
|
|
|
2688 |
result.minute_ = minute_;
|
|
|
2689 |
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
2690 |
to_bitField0_ |= 0x00000020;
|
|
|
2691 |
}
|
|
|
2692 |
result.second_ = second_;
|
|
|
2693 |
result.bitField0_ = to_bitField0_;
|
|
|
2694 |
onBuilt();
|
|
|
2695 |
return result;
|
|
|
2696 |
}
|
|
|
2697 |
|
|
|
2698 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
2699 |
if (other instanceof org.vt.ece4564.latmb.LATMBProtocol.DateTime) {
|
|
|
2700 |
return mergeFrom((org.vt.ece4564.latmb.LATMBProtocol.DateTime)other);
|
|
|
2701 |
} else {
|
|
|
2702 |
super.mergeFrom(other);
|
|
|
2703 |
return this;
|
|
|
2704 |
}
|
|
|
2705 |
}
|
|
|
2706 |
|
|
|
2707 |
public Builder mergeFrom(org.vt.ece4564.latmb.LATMBProtocol.DateTime other) {
|
|
|
2708 |
if (other == org.vt.ece4564.latmb.LATMBProtocol.DateTime.getDefaultInstance()) return this;
|
|
|
2709 |
if (other.hasYear()) {
|
|
|
2710 |
setYear(other.getYear());
|
|
|
2711 |
}
|
|
|
2712 |
if (other.hasMonth()) {
|
|
|
2713 |
setMonth(other.getMonth());
|
|
|
2714 |
}
|
|
|
2715 |
if (other.hasDay()) {
|
|
|
2716 |
setDay(other.getDay());
|
|
|
2717 |
}
|
|
|
2718 |
if (other.hasHour()) {
|
|
|
2719 |
setHour(other.getHour());
|
|
|
2720 |
}
|
|
|
2721 |
if (other.hasMinute()) {
|
|
|
2722 |
setMinute(other.getMinute());
|
|
|
2723 |
}
|
|
|
2724 |
if (other.hasSecond()) {
|
|
|
2725 |
setSecond(other.getSecond());
|
|
|
2726 |
}
|
|
|
2727 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
2728 |
return this;
|
|
|
2729 |
}
|
|
|
2730 |
|
|
|
2731 |
public final boolean isInitialized() {
|
|
|
2732 |
if (!hasYear()) {
|
|
|
2733 |
|
|
|
2734 |
return false;
|
|
|
2735 |
}
|
|
|
2736 |
if (!hasMonth()) {
|
|
|
2737 |
|
|
|
2738 |
return false;
|
|
|
2739 |
}
|
|
|
2740 |
if (!hasDay()) {
|
|
|
2741 |
|
|
|
2742 |
return false;
|
|
|
2743 |
}
|
|
|
2744 |
if (!hasHour()) {
|
|
|
2745 |
|
|
|
2746 |
return false;
|
|
|
2747 |
}
|
|
|
2748 |
if (!hasMinute()) {
|
|
|
2749 |
|
|
|
2750 |
return false;
|
|
|
2751 |
}
|
|
|
2752 |
if (!hasSecond()) {
|
|
|
2753 |
|
|
|
2754 |
return false;
|
|
|
2755 |
}
|
|
|
2756 |
return true;
|
|
|
2757 |
}
|
|
|
2758 |
|
|
|
2759 |
public Builder mergeFrom(
|
|
|
2760 |
com.google.protobuf.CodedInputStream input,
|
|
|
2761 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2762 |
throws java.io.IOException {
|
|
|
2763 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
2764 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
2765 |
this.getUnknownFields());
|
|
|
2766 |
while (true) {
|
|
|
2767 |
int tag = input.readTag();
|
|
|
2768 |
switch (tag) {
|
|
|
2769 |
case 0:
|
|
|
2770 |
this.setUnknownFields(unknownFields.build());
|
|
|
2771 |
onChanged();
|
|
|
2772 |
return this;
|
|
|
2773 |
default: {
|
|
|
2774 |
if (!parseUnknownField(input, unknownFields,
|
|
|
2775 |
extensionRegistry, tag)) {
|
|
|
2776 |
this.setUnknownFields(unknownFields.build());
|
|
|
2777 |
onChanged();
|
|
|
2778 |
return this;
|
|
|
2779 |
}
|
|
|
2780 |
break;
|
|
|
2781 |
}
|
|
|
2782 |
case 8: {
|
|
|
2783 |
bitField0_ |= 0x00000001;
|
|
|
2784 |
year_ = input.readInt32();
|
|
|
2785 |
break;
|
|
|
2786 |
}
|
|
|
2787 |
case 16: {
|
|
|
2788 |
bitField0_ |= 0x00000002;
|
|
|
2789 |
month_ = input.readInt32();
|
|
|
2790 |
break;
|
|
|
2791 |
}
|
|
|
2792 |
case 24: {
|
|
|
2793 |
bitField0_ |= 0x00000004;
|
|
|
2794 |
day_ = input.readInt32();
|
|
|
2795 |
break;
|
|
|
2796 |
}
|
|
|
2797 |
case 32: {
|
|
|
2798 |
bitField0_ |= 0x00000008;
|
|
|
2799 |
hour_ = input.readInt32();
|
|
|
2800 |
break;
|
|
|
2801 |
}
|
|
|
2802 |
case 40: {
|
|
|
2803 |
bitField0_ |= 0x00000010;
|
|
|
2804 |
minute_ = input.readInt32();
|
|
|
2805 |
break;
|
|
|
2806 |
}
|
|
|
2807 |
case 48: {
|
|
|
2808 |
bitField0_ |= 0x00000020;
|
|
|
2809 |
second_ = input.readInt32();
|
|
|
2810 |
break;
|
|
|
2811 |
}
|
|
|
2812 |
}
|
|
|
2813 |
}
|
|
|
2814 |
}
|
|
|
2815 |
|
|
|
2816 |
private int bitField0_;
|
|
|
2817 |
|
|
|
2818 |
// required int32 year = 1;
|
|
|
2819 |
private int year_ ;
|
|
|
2820 |
public boolean hasYear() {
|
|
|
2821 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
2822 |
}
|
|
|
2823 |
public int getYear() {
|
|
|
2824 |
return year_;
|
|
|
2825 |
}
|
|
|
2826 |
public Builder setYear(int value) {
|
|
|
2827 |
bitField0_ |= 0x00000001;
|
|
|
2828 |
year_ = value;
|
|
|
2829 |
onChanged();
|
|
|
2830 |
return this;
|
|
|
2831 |
}
|
|
|
2832 |
public Builder clearYear() {
|
|
|
2833 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
2834 |
year_ = 0;
|
|
|
2835 |
onChanged();
|
|
|
2836 |
return this;
|
|
|
2837 |
}
|
|
|
2838 |
|
|
|
2839 |
// required int32 month = 2;
|
|
|
2840 |
private int month_ ;
|
|
|
2841 |
public boolean hasMonth() {
|
|
|
2842 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
2843 |
}
|
|
|
2844 |
public int getMonth() {
|
|
|
2845 |
return month_;
|
|
|
2846 |
}
|
|
|
2847 |
public Builder setMonth(int value) {
|
|
|
2848 |
bitField0_ |= 0x00000002;
|
|
|
2849 |
month_ = value;
|
|
|
2850 |
onChanged();
|
|
|
2851 |
return this;
|
|
|
2852 |
}
|
|
|
2853 |
public Builder clearMonth() {
|
|
|
2854 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
2855 |
month_ = 0;
|
|
|
2856 |
onChanged();
|
|
|
2857 |
return this;
|
|
|
2858 |
}
|
|
|
2859 |
|
|
|
2860 |
// required int32 day = 3;
|
|
|
2861 |
private int day_ ;
|
|
|
2862 |
public boolean hasDay() {
|
|
|
2863 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
2864 |
}
|
|
|
2865 |
public int getDay() {
|
|
|
2866 |
return day_;
|
|
|
2867 |
}
|
|
|
2868 |
public Builder setDay(int value) {
|
|
|
2869 |
bitField0_ |= 0x00000004;
|
|
|
2870 |
day_ = value;
|
|
|
2871 |
onChanged();
|
|
|
2872 |
return this;
|
|
|
2873 |
}
|
|
|
2874 |
public Builder clearDay() {
|
|
|
2875 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
2876 |
day_ = 0;
|
|
|
2877 |
onChanged();
|
|
|
2878 |
return this;
|
|
|
2879 |
}
|
|
|
2880 |
|
|
|
2881 |
// required int32 hour = 4;
|
|
|
2882 |
private int hour_ ;
|
|
|
2883 |
public boolean hasHour() {
|
|
|
2884 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
2885 |
}
|
|
|
2886 |
public int getHour() {
|
|
|
2887 |
return hour_;
|
|
|
2888 |
}
|
|
|
2889 |
public Builder setHour(int value) {
|
|
|
2890 |
bitField0_ |= 0x00000008;
|
|
|
2891 |
hour_ = value;
|
|
|
2892 |
onChanged();
|
|
|
2893 |
return this;
|
|
|
2894 |
}
|
|
|
2895 |
public Builder clearHour() {
|
|
|
2896 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
2897 |
hour_ = 0;
|
|
|
2898 |
onChanged();
|
|
|
2899 |
return this;
|
|
|
2900 |
}
|
|
|
2901 |
|
|
|
2902 |
// required int32 minute = 5;
|
|
|
2903 |
private int minute_ ;
|
|
|
2904 |
public boolean hasMinute() {
|
|
|
2905 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
2906 |
}
|
|
|
2907 |
public int getMinute() {
|
|
|
2908 |
return minute_;
|
|
|
2909 |
}
|
|
|
2910 |
public Builder setMinute(int value) {
|
|
|
2911 |
bitField0_ |= 0x00000010;
|
|
|
2912 |
minute_ = value;
|
|
|
2913 |
onChanged();
|
|
|
2914 |
return this;
|
|
|
2915 |
}
|
|
|
2916 |
public Builder clearMinute() {
|
|
|
2917 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
2918 |
minute_ = 0;
|
|
|
2919 |
onChanged();
|
|
|
2920 |
return this;
|
|
|
2921 |
}
|
|
|
2922 |
|
|
|
2923 |
// required int32 second = 6;
|
|
|
2924 |
private int second_ ;
|
|
|
2925 |
public boolean hasSecond() {
|
|
|
2926 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
2927 |
}
|
|
|
2928 |
public int getSecond() {
|
|
|
2929 |
return second_;
|
|
|
2930 |
}
|
|
|
2931 |
public Builder setSecond(int value) {
|
|
|
2932 |
bitField0_ |= 0x00000020;
|
|
|
2933 |
second_ = value;
|
|
|
2934 |
onChanged();
|
|
|
2935 |
return this;
|
|
|
2936 |
}
|
|
|
2937 |
public Builder clearSecond() {
|
|
|
2938 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
2939 |
second_ = 0;
|
|
|
2940 |
onChanged();
|
|
|
2941 |
return this;
|
|
|
2942 |
}
|
|
|
2943 |
|
|
|
2944 |
// @@protoc_insertion_point(builder_scope:org.vt.ece4564.latmb.DateTime)
|
|
|
2945 |
}
|
|
|
2946 |
|
|
|
2947 |
static {
|
|
|
2948 |
defaultInstance = new DateTime(true);
|
|
|
2949 |
defaultInstance.initFields();
|
|
|
2950 |
}
|
|
|
2951 |
|
|
|
2952 |
// @@protoc_insertion_point(class_scope:org.vt.ece4564.latmb.DateTime)
|
|
|
2953 |
}
|
|
|
2954 |
|
|
|
2955 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
2956 |
internal_static_org_vt_ece4564_latmb_TrackingMessage_descriptor;
|
|
|
2957 |
private static
|
|
|
2958 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2959 |
internal_static_org_vt_ece4564_latmb_TrackingMessage_fieldAccessorTable;
|
|
|
2960 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
2961 |
internal_static_org_vt_ece4564_latmb_Message_descriptor;
|
|
|
2962 |
private static
|
|
|
2963 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2964 |
internal_static_org_vt_ece4564_latmb_Message_fieldAccessorTable;
|
|
|
2965 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
2966 |
internal_static_org_vt_ece4564_latmb_Position_descriptor;
|
|
|
2967 |
private static
|
|
|
2968 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2969 |
internal_static_org_vt_ece4564_latmb_Position_fieldAccessorTable;
|
|
|
2970 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
2971 |
internal_static_org_vt_ece4564_latmb_DateTime_descriptor;
|
|
|
2972 |
private static
|
|
|
2973 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2974 |
internal_static_org_vt_ece4564_latmb_DateTime_fieldAccessorTable;
|
|
|
2975 |
|
|
|
2976 |
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
2977 |
getDescriptor() {
|
|
|
2978 |
return descriptor;
|
|
|
2979 |
}
|
|
|
2980 |
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
2981 |
descriptor;
|
|
|
2982 |
static {
|
|
|
2983 |
java.lang.String[] descriptorData = {
|
|
|
2984 |
"\n\023LATMBProtocol.proto\022\024org.vt.ece4564.la" +
|
|
|
2985 |
"tmb\"[\n\017TrackingMessage\022\n\n\002id\030\001 \002(\005\022\014\n\004ty" +
|
|
|
2986 |
"pe\030\002 \002(\005\022.\n\007message\030\003 \003(\0132\035.org.vt.ece45" +
|
|
|
2987 |
"64.latmb.Message\"\352\001\n\007Message\022\017\n\007message\030" +
|
|
|
2988 |
"\001 \002(\t\0221\n\ttimestamp\030\002 \002(\0132\036.org.vt.ece456" +
|
|
|
2989 |
"4.latmb.DateTime\0222\n\nexpiration\030\003 \002(\0132\036.o" +
|
|
|
2990 |
"rg.vt.ece4564.latmb.DateTime\022\020\n\010username" +
|
|
|
2991 |
"\030\004 \001(\t\022\020\n\010chatroom\030\005 \001(\t\0223\n\013coordinates\030" +
|
|
|
2992 |
"\006 \001(\0132\036.org.vt.ece4564.latmb.Position\022\016\n" +
|
|
|
2993 |
"\006radius\030\007 \001(\001\"A\n\010Position\022\020\n\010latitude\030\001 ",
|
|
|
2994 |
"\002(\001\022\021\n\tlongitude\030\002 \002(\001\022\020\n\010accuracy\030\003 \002(\001" +
|
|
|
2995 |
"\"b\n\010DateTime\022\014\n\004year\030\001 \002(\005\022\r\n\005month\030\002 \002(" +
|
|
|
2996 |
"\005\022\013\n\003day\030\003 \002(\005\022\014\n\004hour\030\004 \002(\005\022\016\n\006minute\030\005" +
|
|
|
2997 |
" \002(\005\022\016\n\006second\030\006 \002(\005"
|
|
|
2998 |
};
|
|
|
2999 |
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
|
|
3000 |
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
|
|
3001 |
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
|
|
3002 |
com.google.protobuf.Descriptors.FileDescriptor root) {
|
|
|
3003 |
descriptor = root;
|
|
|
3004 |
internal_static_org_vt_ece4564_latmb_TrackingMessage_descriptor =
|
|
|
3005 |
getDescriptor().getMessageTypes().get(0);
|
|
|
3006 |
internal_static_org_vt_ece4564_latmb_TrackingMessage_fieldAccessorTable = new
|
|
|
3007 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
3008 |
internal_static_org_vt_ece4564_latmb_TrackingMessage_descriptor,
|
|
|
3009 |
new java.lang.String[] { "Id", "Type", "Message", },
|
|
|
3010 |
org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.class,
|
|
|
3011 |
org.vt.ece4564.latmb.LATMBProtocol.TrackingMessage.Builder.class);
|
|
|
3012 |
internal_static_org_vt_ece4564_latmb_Message_descriptor =
|
|
|
3013 |
getDescriptor().getMessageTypes().get(1);
|
|
|
3014 |
internal_static_org_vt_ece4564_latmb_Message_fieldAccessorTable = new
|
|
|
3015 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
3016 |
internal_static_org_vt_ece4564_latmb_Message_descriptor,
|
|
|
3017 |
new java.lang.String[] { "Message", "Timestamp", "Expiration", "Username", "Chatroom", "Coordinates", "Radius", },
|
|
|
3018 |
org.vt.ece4564.latmb.LATMBProtocol.Message.class,
|
|
|
3019 |
org.vt.ece4564.latmb.LATMBProtocol.Message.Builder.class);
|
|
|
3020 |
internal_static_org_vt_ece4564_latmb_Position_descriptor =
|
|
|
3021 |
getDescriptor().getMessageTypes().get(2);
|
|
|
3022 |
internal_static_org_vt_ece4564_latmb_Position_fieldAccessorTable = new
|
|
|
3023 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
3024 |
internal_static_org_vt_ece4564_latmb_Position_descriptor,
|
|
|
3025 |
new java.lang.String[] { "Latitude", "Longitude", "Accuracy", },
|
|
|
3026 |
org.vt.ece4564.latmb.LATMBProtocol.Position.class,
|
|
|
3027 |
org.vt.ece4564.latmb.LATMBProtocol.Position.Builder.class);
|
|
|
3028 |
internal_static_org_vt_ece4564_latmb_DateTime_descriptor =
|
|
|
3029 |
getDescriptor().getMessageTypes().get(3);
|
|
|
3030 |
internal_static_org_vt_ece4564_latmb_DateTime_fieldAccessorTable = new
|
|
|
3031 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
3032 |
internal_static_org_vt_ece4564_latmb_DateTime_descriptor,
|
|
|
3033 |
new java.lang.String[] { "Year", "Month", "Day", "Hour", "Minute", "Second", },
|
|
|
3034 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.class,
|
|
|
3035 |
org.vt.ece4564.latmb.LATMBProtocol.DateTime.Builder.class);
|
|
|
3036 |
return null;
|
|
|
3037 |
}
|
|
|
3038 |
};
|
|
|
3039 |
com.google.protobuf.Descriptors.FileDescriptor
|
|
|
3040 |
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
3041 |
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
3042 |
}, assigner);
|
|
|
3043 |
}
|
|
|
3044 |
|
|
|
3045 |
// @@protoc_insertion_point(outer_class_scope)
|
|
|
3046 |
}
|