Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: context.proto
package context;
public final class ContextOuterClass {
private ContextOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code context.EventTypeEnum}
*/
public enum EventTypeEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>EVENTTYPE_UNDEFINED = 0;</code>
*/
EVENTTYPE_UNDEFINED(0),
/**
* <code>EVENTTYPE_CREATE = 1;</code>
*/
EVENTTYPE_CREATE(1),
/**
* <code>EVENTTYPE_UPDATE = 2;</code>
*/
EVENTTYPE_UPDATE(2),
/**
* <code>EVENTTYPE_REMOVE = 3;</code>
*/
EVENTTYPE_REMOVE(3),
UNRECOGNIZED(-1),
;
/**
* <code>EVENTTYPE_UNDEFINED = 0;</code>
*/
public static final int EVENTTYPE_UNDEFINED_VALUE = 0;
/**
* <code>EVENTTYPE_CREATE = 1;</code>
*/
public static final int EVENTTYPE_CREATE_VALUE = 1;
/**
* <code>EVENTTYPE_UPDATE = 2;</code>
*/
public static final int EVENTTYPE_UPDATE_VALUE = 2;
/**
* <code>EVENTTYPE_REMOVE = 3;</code>
*/
public static final int EVENTTYPE_REMOVE_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EventTypeEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static EventTypeEnum forNumber(int value) {
switch (value) {
case 0: return EVENTTYPE_UNDEFINED;
case 1: return EVENTTYPE_CREATE;
case 2: return EVENTTYPE_UPDATE;
case 3: return EVENTTYPE_REMOVE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EventTypeEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>() {
public EventTypeEnum findValueByNumber(int number) {
return EventTypeEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final EventTypeEnum[] VALUES = values();
public static EventTypeEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private EventTypeEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.EventTypeEnum)
}
/**
* Protobuf enum {@code context.DeviceDriverEnum}
*/
public enum DeviceDriverEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* also used for emulated
* </pre>
*
* <code>DEVICEDRIVER_UNDEFINED = 0;</code>
*/
DEVICEDRIVER_UNDEFINED(0),
/**
* <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
*/
DEVICEDRIVER_OPENCONFIG(1),
/**
* <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
*/
DEVICEDRIVER_TRANSPORT_API(2),
/**
* <code>DEVICEDRIVER_P4 = 3;</code>
*/
DEVICEDRIVER_P4(3),
/**
* <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
*/
DEVICEDRIVER_IETF_NETWORK_TOPOLOGY(4),
/**
* <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
*/
DEVICEDRIVER_ONF_TR_352(5),
UNRECOGNIZED(-1),
;
/**
* <pre>
* also used for emulated
* </pre>
*
* <code>DEVICEDRIVER_UNDEFINED = 0;</code>
*/
public static final int DEVICEDRIVER_UNDEFINED_VALUE = 0;
/**
* <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
*/
public static final int DEVICEDRIVER_OPENCONFIG_VALUE = 1;
/**
* <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
*/
public static final int DEVICEDRIVER_TRANSPORT_API_VALUE = 2;
/**
* <code>DEVICEDRIVER_P4 = 3;</code>
*/
public static final int DEVICEDRIVER_P4_VALUE = 3;
/**
* <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
*/
public static final int DEVICEDRIVER_IETF_NETWORK_TOPOLOGY_VALUE = 4;
/**
* <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
*/
public static final int DEVICEDRIVER_ONF_TR_352_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DeviceDriverEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DeviceDriverEnum forNumber(int value) {
switch (value) {
case 0: return DEVICEDRIVER_UNDEFINED;
case 1: return DEVICEDRIVER_OPENCONFIG;
case 2: return DEVICEDRIVER_TRANSPORT_API;
case 3: return DEVICEDRIVER_P4;
case 4: return DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
case 5: return DEVICEDRIVER_ONF_TR_352;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DeviceDriverEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>() {
public DeviceDriverEnum findValueByNumber(int number) {
return DeviceDriverEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(1);
}
private static final DeviceDriverEnum[] VALUES = values();
public static DeviceDriverEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DeviceDriverEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.DeviceDriverEnum)
}
/**
* Protobuf enum {@code context.DeviceOperationalStatusEnum}
*/
public enum DeviceOperationalStatusEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
*/
DEVICEOPERATIONALSTATUS_UNDEFINED(0),
/**
* <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
*/
DEVICEOPERATIONALSTATUS_DISABLED(1),
/**
* <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
*/
DEVICEOPERATIONALSTATUS_ENABLED(2),
UNRECOGNIZED(-1),
;
/**
* <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_UNDEFINED_VALUE = 0;
/**
* <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_DISABLED_VALUE = 1;
/**
* <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_ENABLED_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DeviceOperationalStatusEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DeviceOperationalStatusEnum forNumber(int value) {
switch (value) {
case 0: return DEVICEOPERATIONALSTATUS_UNDEFINED;
case 1: return DEVICEOPERATIONALSTATUS_DISABLED;
case 2: return DEVICEOPERATIONALSTATUS_ENABLED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DeviceOperationalStatusEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>() {
public DeviceOperationalStatusEnum findValueByNumber(int number) {
return DeviceOperationalStatusEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(2);
}
private static final DeviceOperationalStatusEnum[] VALUES = values();
public static DeviceOperationalStatusEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DeviceOperationalStatusEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.DeviceOperationalStatusEnum)
}
/**
* Protobuf enum {@code context.ServiceTypeEnum}
*/
public enum ServiceTypeEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SERVICETYPE_UNKNOWN = 0;</code>
*/
SERVICETYPE_UNKNOWN(0),
/**
* <code>SERVICETYPE_L3NM = 1;</code>
*/
SERVICETYPE_L3NM(1),
/**
* <code>SERVICETYPE_L2NM = 2;</code>
*/
SERVICETYPE_L2NM(2),
/**
* <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
*/
SERVICETYPE_TAPI_CONNECTIVITY_SERVICE(3),
UNRECOGNIZED(-1),
;
/**
* <code>SERVICETYPE_UNKNOWN = 0;</code>
*/
public static final int SERVICETYPE_UNKNOWN_VALUE = 0;
/**
* <code>SERVICETYPE_L3NM = 1;</code>
*/
public static final int SERVICETYPE_L3NM_VALUE = 1;
/**
* <code>SERVICETYPE_L2NM = 2;</code>
*/
public static final int SERVICETYPE_L2NM_VALUE = 2;
/**
* <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
*/
public static final int SERVICETYPE_TAPI_CONNECTIVITY_SERVICE_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServiceTypeEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ServiceTypeEnum forNumber(int value) {
switch (value) {
case 0: return SERVICETYPE_UNKNOWN;
case 1: return SERVICETYPE_L3NM;
case 2: return SERVICETYPE_L2NM;
case 3: return SERVICETYPE_TAPI_CONNECTIVITY_SERVICE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ServiceTypeEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>() {
public ServiceTypeEnum findValueByNumber(int number) {
return ServiceTypeEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(3);
}
private static final ServiceTypeEnum[] VALUES = values();
public static ServiceTypeEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ServiceTypeEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.ServiceTypeEnum)
}
/**
* Protobuf enum {@code context.ServiceStatusEnum}
*/
public enum ServiceStatusEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SERVICESTATUS_UNDEFINED = 0;</code>
*/
SERVICESTATUS_UNDEFINED(0),
/**
* <code>SERVICESTATUS_PLANNED = 1;</code>
*/
SERVICESTATUS_PLANNED(1),
/**
* <code>SERVICESTATUS_ACTIVE = 2;</code>
*/
SERVICESTATUS_ACTIVE(2),
/**
* <code>SERVICESTATUS_PENDING_REMOVAL = 3;</code>
*/
SERVICESTATUS_PENDING_REMOVAL(3),
/**
* <code>SERVICESTATUS_SLA_VIOLATED = 4;</code>
*/
SERVICESTATUS_SLA_VIOLATED(4),
UNRECOGNIZED(-1),
;
/**
* <code>SERVICESTATUS_UNDEFINED = 0;</code>
*/
public static final int SERVICESTATUS_UNDEFINED_VALUE = 0;
/**
* <code>SERVICESTATUS_PLANNED = 1;</code>
*/
public static final int SERVICESTATUS_PLANNED_VALUE = 1;
/**
* <code>SERVICESTATUS_ACTIVE = 2;</code>
*/
public static final int SERVICESTATUS_ACTIVE_VALUE = 2;
/**
* <code>SERVICESTATUS_PENDING_REMOVAL = 3;</code>
*/
public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 3;
/**
* <code>SERVICESTATUS_SLA_VIOLATED = 4;</code>
*/
public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 4;
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServiceStatusEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ServiceStatusEnum forNumber(int value) {
switch (value) {
case 0: return SERVICESTATUS_UNDEFINED;
case 1: return SERVICESTATUS_PLANNED;
case 2: return SERVICESTATUS_ACTIVE;
case 3: return SERVICESTATUS_PENDING_REMOVAL;
case 4: return SERVICESTATUS_SLA_VIOLATED;
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ServiceStatusEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>() {
public ServiceStatusEnum findValueByNumber(int number) {
return ServiceStatusEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(4);
}
private static final ServiceStatusEnum[] VALUES = values();
public static ServiceStatusEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ServiceStatusEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.ServiceStatusEnum)
}
/**
* Protobuf enum {@code context.SliceStatusEnum}
*/
public enum SliceStatusEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SLICESTATUS_UNDEFINED = 0;</code>
*/
SLICESTATUS_UNDEFINED(0),
/**
* <code>SLICESTATUS_PLANNED = 1;</code>
*/
SLICESTATUS_PLANNED(1),
/**
* <code>SLICESTATUS_INIT = 2;</code>
*/
SLICESTATUS_INIT(2),
/**
* <code>SLICESTATUS_ACTIVE = 3;</code>
*/
SLICESTATUS_ACTIVE(3),
/**
* <code>SLICESTATUS_DEINIT = 4;</code>
*/
SLICESTATUS_DEINIT(4),
/**
* <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
*/
SLICESTATUS_SLA_VIOLATED(5),
UNRECOGNIZED(-1),
;
/**
* <code>SLICESTATUS_UNDEFINED = 0;</code>
*/
public static final int SLICESTATUS_UNDEFINED_VALUE = 0;
/**
* <code>SLICESTATUS_PLANNED = 1;</code>
*/
public static final int SLICESTATUS_PLANNED_VALUE = 1;
/**
* <code>SLICESTATUS_INIT = 2;</code>
*/
public static final int SLICESTATUS_INIT_VALUE = 2;
/**
* <code>SLICESTATUS_ACTIVE = 3;</code>
*/
public static final int SLICESTATUS_ACTIVE_VALUE = 3;
/**
* <code>SLICESTATUS_DEINIT = 4;</code>
*/
public static final int SLICESTATUS_DEINIT_VALUE = 4;
/**
* <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
*/
public static final int SLICESTATUS_SLA_VIOLATED_VALUE = 5;
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SliceStatusEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SliceStatusEnum forNumber(int value) {
switch (value) {
case 0: return SLICESTATUS_UNDEFINED;
case 1: return SLICESTATUS_PLANNED;
case 2: return SLICESTATUS_INIT;
case 3: return SLICESTATUS_ACTIVE;
case 4: return SLICESTATUS_DEINIT;
case 5: return SLICESTATUS_SLA_VIOLATED;
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SliceStatusEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>() {
public SliceStatusEnum findValueByNumber(int number) {
return SliceStatusEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(5);
}
private static final SliceStatusEnum[] VALUES = values();
public static SliceStatusEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private SliceStatusEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.SliceStatusEnum)
}
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
/**
* <pre>
* ----- Configuration -------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf enum {@code context.ConfigActionEnum}
*/
public enum ConfigActionEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CONFIGACTION_UNDEFINED = 0;</code>
*/
CONFIGACTION_UNDEFINED(0),
/**
* <code>CONFIGACTION_SET = 1;</code>
*/
CONFIGACTION_SET(1),
/**
* <code>CONFIGACTION_DELETE = 2;</code>
*/
CONFIGACTION_DELETE(2),
UNRECOGNIZED(-1),
;
/**
* <code>CONFIGACTION_UNDEFINED = 0;</code>
*/
public static final int CONFIGACTION_UNDEFINED_VALUE = 0;
/**
* <code>CONFIGACTION_SET = 1;</code>
*/
public static final int CONFIGACTION_SET_VALUE = 1;
/**
* <code>CONFIGACTION_DELETE = 2;</code>
*/
public static final int CONFIGACTION_DELETE_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConfigActionEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConfigActionEnum forNumber(int value) {
switch (value) {
case 0: return CONFIGACTION_UNDEFINED;
case 1: return CONFIGACTION_SET;
case 2: return CONFIGACTION_DELETE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConfigActionEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>() {
public ConfigActionEnum findValueByNumber(int number) {
return ConfigActionEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(6);
}
private static final ConfigActionEnum[] VALUES = values();
public static ConfigActionEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConfigActionEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.ConfigActionEnum)
}
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
/**
* Protobuf enum {@code context.IsolationLevelEnum}
*/
public enum IsolationLevelEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NO_ISOLATION = 0;</code>
*/
NO_ISOLATION(0),
/**
* <code>PHYSICAL_ISOLATION = 1;</code>
*/
PHYSICAL_ISOLATION(1),
/**
* <code>LOGICAL_ISOLATION = 2;</code>
*/
LOGICAL_ISOLATION(2),
/**
* <code>PROCESS_ISOLATION = 3;</code>
*/
PROCESS_ISOLATION(3),
/**
* <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
*/
PHYSICAL_MEMORY_ISOLATION(4),
/**
* <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
*/
PHYSICAL_NETWORK_ISOLATION(5),
/**
* <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
*/
VIRTUAL_RESOURCE_ISOLATION(6),
/**
* <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
*/
NETWORK_FUNCTIONS_ISOLATION(7),
/**
* <code>SERVICE_ISOLATION = 8;</code>
*/
SERVICE_ISOLATION(8),
UNRECOGNIZED(-1),
;
/**
* <code>NO_ISOLATION = 0;</code>
*/
public static final int NO_ISOLATION_VALUE = 0;
/**
* <code>PHYSICAL_ISOLATION = 1;</code>
*/
public static final int PHYSICAL_ISOLATION_VALUE = 1;
/**
* <code>LOGICAL_ISOLATION = 2;</code>
*/
public static final int LOGICAL_ISOLATION_VALUE = 2;
/**
* <code>PROCESS_ISOLATION = 3;</code>
*/
public static final int PROCESS_ISOLATION_VALUE = 3;
/**
* <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
*/
public static final int PHYSICAL_MEMORY_ISOLATION_VALUE = 4;
/**
* <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
*/
public static final int PHYSICAL_NETWORK_ISOLATION_VALUE = 5;
/**
* <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
*/
public static final int VIRTUAL_RESOURCE_ISOLATION_VALUE = 6;
/**
* <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
*/
public static final int NETWORK_FUNCTIONS_ISOLATION_VALUE = 7;
/**
* <code>SERVICE_ISOLATION = 8;</code>
*/
public static final int SERVICE_ISOLATION_VALUE = 8;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IsolationLevelEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static IsolationLevelEnum forNumber(int value) {
switch (value) {
case 0: return NO_ISOLATION;
case 1: return PHYSICAL_ISOLATION;
case 2: return LOGICAL_ISOLATION;
case 3: return PROCESS_ISOLATION;
case 4: return PHYSICAL_MEMORY_ISOLATION;
case 5: return PHYSICAL_NETWORK_ISOLATION;
case 6: return VIRTUAL_RESOURCE_ISOLATION;
case 7: return NETWORK_FUNCTIONS_ISOLATION;
case 8: return SERVICE_ISOLATION;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IsolationLevelEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>() {
public IsolationLevelEnum findValueByNumber(int number) {
return IsolationLevelEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(7);
}
private static final IsolationLevelEnum[] VALUES = values();
public static IsolationLevelEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private IsolationLevelEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:context.IsolationLevelEnum)
}
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
public interface EmptyOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Empty)
com.google.protobuf.MessageOrBuilder {
}
/**
* <pre>
* ----- Generic -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.Empty}
*/
public static final class Empty extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Empty)
EmptyOrBuilder {
private static final long serialVersionUID = 0L;
// Use Empty.newBuilder() to construct.
private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Empty() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Empty();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Empty(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Empty)) {
return super.equals(obj);
}
context.ContextOuterClass.Empty other = (context.ContextOuterClass.Empty) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Empty parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Empty parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Empty parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Empty parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Empty parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Empty parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Empty parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Empty parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Empty parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Empty parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Empty parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Empty prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Generic -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.Empty}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Empty)
context.ContextOuterClass.EmptyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
}
// Construct using context.ContextOuterClass.Empty.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Empty getDefaultInstanceForType() {
return context.ContextOuterClass.Empty.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Empty build() {
context.ContextOuterClass.Empty result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Empty buildPartial() {
context.ContextOuterClass.Empty result = new context.ContextOuterClass.Empty(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Empty) {
return mergeFrom((context.ContextOuterClass.Empty)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Empty other) {
if (other == context.ContextOuterClass.Empty.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Empty parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Empty) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Empty)
}
// @@protoc_insertion_point(class_scope:context.Empty)
private static final context.ContextOuterClass.Empty DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Empty();
}
public static context.ContextOuterClass.Empty getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Empty>
PARSER = new com.google.protobuf.AbstractParser<Empty>() {
@java.lang.Override
public Empty parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Empty(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Empty> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Empty> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Empty getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UuidOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Uuid)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string uuid = 1;</code>
* @return The uuid.
*/
java.lang.String getUuid();
/**
* <code>string uuid = 1;</code>
* @return The bytes for uuid.
*/
com.google.protobuf.ByteString
getUuidBytes();
}
/**
* Protobuf type {@code context.Uuid}
*/
public static final class Uuid extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Uuid)
UuidOrBuilder {
private static final long serialVersionUID = 0L;
// Use Uuid.newBuilder() to construct.
private Uuid(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Uuid() {
uuid_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Uuid();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Uuid(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
uuid_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
}
public static final int UUID_FIELD_NUMBER = 1;
private volatile java.lang.Object uuid_;
/**
* <code>string uuid = 1;</code>
* @return The uuid.
*/
@java.lang.Override
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
}
}
/**
* <code>string uuid = 1;</code>
* @return The bytes for uuid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getUuidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getUuidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Uuid)) {
return super.equals(obj);
}
context.ContextOuterClass.Uuid other = (context.ContextOuterClass.Uuid) obj;
if (!getUuid()
.equals(other.getUuid())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Uuid parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Uuid parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Uuid parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Uuid parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Uuid parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Uuid parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Uuid parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Uuid parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Uuid parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Uuid parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Uuid parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Uuid prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Uuid}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Uuid)
context.ContextOuterClass.UuidOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
}
// Construct using context.ContextOuterClass.Uuid.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
uuid_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
return context.ContextOuterClass.Uuid.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Uuid build() {
context.ContextOuterClass.Uuid result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Uuid buildPartial() {
context.ContextOuterClass.Uuid result = new context.ContextOuterClass.Uuid(this);
result.uuid_ = uuid_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Uuid) {
return mergeFrom((context.ContextOuterClass.Uuid)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Uuid other) {
if (other == context.ContextOuterClass.Uuid.getDefaultInstance()) return this;
if (!other.getUuid().isEmpty()) {
uuid_ = other.uuid_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Uuid parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Uuid) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object uuid_ = "";
/**
* <code>string uuid = 1;</code>
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string uuid = 1;</code>
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string uuid = 1;</code>
* @param value The uuid to set.
* @return This builder for chaining.
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uuid_ = value;
onChanged();
return this;
}
/**
* <code>string uuid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
* <code>string uuid = 1;</code>
* @param value The bytes for uuid to set.
* @return This builder for chaining.
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uuid_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Uuid)
}
// @@protoc_insertion_point(class_scope:context.Uuid)
private static final context.ContextOuterClass.Uuid DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Uuid();
}
public static context.ContextOuterClass.Uuid getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Uuid>
PARSER = new com.google.protobuf.AbstractParser<Uuid>() {
@java.lang.Override
public Uuid parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Uuid(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Uuid> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Uuid> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TimestampOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Timestamp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
double getTimestamp();
}
/**
* Protobuf type {@code context.Timestamp}
public static final class Timestamp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Timestamp)
TimestampOrBuilder {
private static final long serialVersionUID = 0L;
// Use Timestamp.newBuilder() to construct.
private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Timestamp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Timestamp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Timestamp(
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
timestamp_ = input.readDouble();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
@java.lang.Override
public double getTimestamp() {
return timestamp_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (timestamp_ != 0D) {
output.writeDouble(1, timestamp_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (timestamp_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, timestamp_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Timestamp)) {
context.ContextOuterClass.Timestamp other = (context.ContextOuterClass.Timestamp) obj;
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
if (java.lang.Double.doubleToLongBits(getTimestamp())
!= java.lang.Double.doubleToLongBits(
other.getTimestamp())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getTimestamp()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Timestamp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Timestamp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Timestamp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Timestamp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Timestamp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Timestamp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Timestamp parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Timestamp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Timestamp parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Timestamp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Timestamp parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Timestamp prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Timestamp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Timestamp)
context.ContextOuterClass.TimestampOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
// Construct using context.ContextOuterClass.Timestamp.newBuilder()
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
timestamp_ = 0D;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
return context.ContextOuterClass.Timestamp.getDefaultInstance();
public context.ContextOuterClass.Timestamp build() {
context.ContextOuterClass.Timestamp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Timestamp buildPartial() {
context.ContextOuterClass.Timestamp result = new context.ContextOuterClass.Timestamp(this);
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
result.timestamp_ = timestamp_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Timestamp) {
return mergeFrom((context.ContextOuterClass.Timestamp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Timestamp other) {
if (other == context.ContextOuterClass.Timestamp.getDefaultInstance()) return this;
if (other.getTimestamp() != 0D) {
setTimestamp(other.getTimestamp());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Timestamp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Timestamp) e.getUnfinishedMessage();
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double timestamp_ ;
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
@java.lang.Override
public double getTimestamp() {
return timestamp_;
}
/**
* <code>double timestamp = 1;</code>
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(double value) {
timestamp_ = value;
onChanged();
return this;
}
/**
* <code>double timestamp = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
timestamp_ = 0D;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Timestamp)
// @@protoc_insertion_point(class_scope:context.Timestamp)
private static final context.ContextOuterClass.Timestamp DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.Timestamp();
public static context.ContextOuterClass.Timestamp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Timestamp>
PARSER = new com.google.protobuf.AbstractParser<Timestamp>() {
public Timestamp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Timestamp(input, extensionRegistry);
public static com.google.protobuf.Parser<Timestamp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Timestamp> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Event)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
boolean hasTimestamp();
* <code>.context.Timestamp timestamp = 1;</code>
* @return The timestamp.
context.ContextOuterClass.Timestamp getTimestamp();
* <code>.context.Timestamp timestamp = 1;</code>
context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The enum numeric value on the wire for eventType.
*/
int getEventTypeValue();
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
context.ContextOuterClass.EventTypeEnum getEventType();
* Protobuf type {@code context.Event}
public static final class Event extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Event)
EventOrBuilder {
private static final long serialVersionUID = 0L;
// Use Event.newBuilder() to construct.
private Event(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Event() {
eventType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Event();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Event(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Timestamp.Builder subBuilder = null;
if (timestamp_ != null) {
subBuilder = timestamp_.toBuilder();
timestamp_ = input.readMessage(context.ContextOuterClass.Timestamp.parser(), extensionRegistry);
subBuilder.mergeFrom(timestamp_);
timestamp_ = subBuilder.buildPartial();
case 16: {
int rawValue = input.readEnum();
eventType_ = rawValue;
break;
}
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private context.ContextOuterClass.Timestamp timestamp_;
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
public boolean hasTimestamp() {
return timestamp_ != null;
* <code>.context.Timestamp timestamp = 1;</code>
* @return The timestamp.
public context.ContextOuterClass.Timestamp getTimestamp() {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
* <code>.context.Timestamp timestamp = 1;</code>
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
return getTimestamp();
}
public static final int EVENT_TYPE_FIELD_NUMBER = 2;
private int eventType_;
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The enum numeric value on the wire for eventType.
*/
@java.lang.Override public int getEventTypeValue() {
return eventType_;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
@java.lang.Override public context.ContextOuterClass.EventTypeEnum getEventType() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (timestamp_ != null) {
output.writeMessage(1, getTimestamp());
}
if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
output.writeEnum(2, eventType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTimestamp());
}
if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, eventType_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Event)) {
context.ContextOuterClass.Event other = (context.ContextOuterClass.Event) obj;
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (!getTimestamp()
.equals(other.getTimestamp())) return false;
if (eventType_ != other.eventType_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp().hashCode();
hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + eventType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Event parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Event parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Event parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Event parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Event parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Event parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Event parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Event parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Event parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Event parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Event parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Event parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Event prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Event}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Event)
context.ContextOuterClass.EventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
// Construct using context.ContextOuterClass.Event.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (timestampBuilder_ == null) {
timestamp_ = null;
timestamp_ = null;
timestampBuilder_ = null;
eventType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
public context.ContextOuterClass.Event getDefaultInstanceForType() {
return context.ContextOuterClass.Event.getDefaultInstance();
public context.ContextOuterClass.Event build() {
context.ContextOuterClass.Event result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Event buildPartial() {
context.ContextOuterClass.Event result = new context.ContextOuterClass.Event(this);
if (timestampBuilder_ == null) {
result.timestamp_ = timestamp_;
result.timestamp_ = timestampBuilder_.build();
result.eventType_ = eventType_;
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Event) {
return mergeFrom((context.ContextOuterClass.Event)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Event other) {
if (other == context.ContextOuterClass.Event.getDefaultInstance()) return this;
if (other.hasTimestamp()) {
mergeTimestamp(other.getTimestamp());
}
if (other.eventType_ != 0) {
setEventTypeValue(other.getEventTypeValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Event parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Event) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Timestamp timestamp_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
public boolean hasTimestamp() {
return timestampBuilder_ != null || timestamp_ != null;
* <code>.context.Timestamp timestamp = 1;</code>
* @return The timestamp.
public context.ContextOuterClass.Timestamp getTimestamp() {
if (timestampBuilder_ == null) {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
return timestampBuilder_.getMessage();
* <code>.context.Timestamp timestamp = 1;</code>
public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
timestampBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Timestamp timestamp = 1;</code>
public Builder setTimestamp(
context.ContextOuterClass.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
timestampBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Timestamp timestamp = 1;</code>
public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (timestamp_ != null) {
timestamp_ =
context.ContextOuterClass.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
timestamp_ = value;
}
onChanged();
} else {
timestampBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Timestamp timestamp = 1;</code>
public Builder clearTimestamp() {
if (timestampBuilder_ == null) {
timestamp_ = null;
timestamp_ = null;
timestampBuilder_ = null;
}
return this;
}
/**
* <code>.context.Timestamp timestamp = 1;</code>
public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
return getTimestampFieldBuilder().getBuilder();
* <code>.context.Timestamp timestamp = 1;</code>
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
if (timestampBuilder_ != null) {
return timestampBuilder_.getMessageOrBuilder();
return timestamp_ == null ?
context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
* <code>.context.Timestamp timestamp = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
getTimestampFieldBuilder() {
if (timestampBuilder_ == null) {
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
getTimestamp(),
getParentForChildren(),
isClean());
timestamp_ = null;
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
return timestampBuilder_;
}
private int eventType_ = 0;
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The enum numeric value on the wire for eventType.
*/
@java.lang.Override public int getEventTypeValue() {
return eventType_;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @param value The enum numeric value on the wire for eventType to set.
* @return This builder for chaining.
*/
public Builder setEventTypeValue(int value) {
eventType_ = value;
onChanged();
return this;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
@java.lang.Override
public context.ContextOuterClass.EventTypeEnum getEventType() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @param value The eventType to set.
* @return This builder for chaining.
*/
public Builder setEventType(context.ContextOuterClass.EventTypeEnum value) {
if (value == null) {
throw new NullPointerException();
}
eventType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearEventType() {
eventType_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Event)
// @@protoc_insertion_point(class_scope:context.Event)
private static final context.ContextOuterClass.Event DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.Event();
public static context.ContextOuterClass.Event getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Event>
PARSER = new com.google.protobuf.AbstractParser<Event>() {
public Event parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Event(input, extensionRegistry);
public static com.google.protobuf.Parser<Event> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Event> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Event getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContextIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ContextId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
boolean hasContextUuid();
* <code>.context.Uuid context_uuid = 1;</code>
* @return The contextUuid.
context.ContextOuterClass.Uuid getContextUuid();
* <code>.context.Uuid context_uuid = 1;</code>
context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder();
* <pre>
* ----- Context -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ContextId}
public static final class ContextId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ContextId)
ContextIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContextId.newBuilder() to construct.
private ContextId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ContextId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContextId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContextId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (contextUuid_ != null) {
subBuilder = contextUuid_.toBuilder();
contextUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
subBuilder.mergeFrom(contextUuid_);
contextUuid_ = subBuilder.buildPartial();
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
public static final int CONTEXT_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid contextUuid_;
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
public boolean hasContextUuid() {
return contextUuid_ != null;
* <code>.context.Uuid context_uuid = 1;</code>
* @return The contextUuid.
public context.ContextOuterClass.Uuid getContextUuid() {
return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
* <code>.context.Uuid context_uuid = 1;</code>
public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
return getContextUuid();
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contextUuid_ != null) {
output.writeMessage(1, getContextUuid());
}
unknownFields.writeTo(output);
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ContextId)) {
context.ContextOuterClass.ContextId other = (context.ContextOuterClass.ContextId) obj;
if (hasContextUuid() != other.hasContextUuid()) return false;
if (hasContextUuid()) {
if (!getContextUuid()
.equals(other.getContextUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContextUuid()) {
hash = (37 * hash) + CONTEXT_UUID_FIELD_NUMBER;
hash = (53 * hash) + getContextUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ContextId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ContextId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Context -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ContextId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ContextId)
context.ContextOuterClass.ContextIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
// Construct using context.ContextOuterClass.ContextId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextUuidBuilder_ == null) {
contextUuid_ = null;
contextUuid_ = null;
contextUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
return context.ContextOuterClass.ContextId.getDefaultInstance();
public context.ContextOuterClass.ContextId build() {
context.ContextOuterClass.ContextId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ContextId buildPartial() {
context.ContextOuterClass.ContextId result = new context.ContextOuterClass.ContextId(this);
if (contextUuidBuilder_ == null) {
result.contextUuid_ = contextUuid_;
result.contextUuid_ = contextUuidBuilder_.build();
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ContextId) {
return mergeFrom((context.ContextOuterClass.ContextId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ContextId other) {
if (other == context.ContextOuterClass.ContextId.getDefaultInstance()) return this;
if (other.hasContextUuid()) {
mergeContextUuid(other.getContextUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ContextId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ContextId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Uuid contextUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> contextUuidBuilder_;
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
public boolean hasContextUuid() {
return contextUuidBuilder_ != null || contextUuid_ != null;
* <code>.context.Uuid context_uuid = 1;</code>
* @return The contextUuid.
public context.ContextOuterClass.Uuid getContextUuid() {
if (contextUuidBuilder_ == null) {
return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
return contextUuidBuilder_.getMessage();
* <code>.context.Uuid context_uuid = 1;</code>
public Builder setContextUuid(context.ContextOuterClass.Uuid value) {
if (contextUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextUuid_ = value;
contextUuidBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Uuid context_uuid = 1;</code>
public Builder setContextUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (contextUuidBuilder_ == null) {
contextUuid_ = builderForValue.build();
contextUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Uuid context_uuid = 1;</code>
public Builder mergeContextUuid(context.ContextOuterClass.Uuid value) {
if (contextUuidBuilder_ == null) {
if (contextUuid_ != null) {
contextUuid_ =
context.ContextOuterClass.Uuid.newBuilder(contextUuid_).mergeFrom(value).buildPartial();
contextUuid_ = value;
}
onChanged();
} else {
contextUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Uuid context_uuid = 1;</code>
public Builder clearContextUuid() {
if (contextUuidBuilder_ == null) {
contextUuid_ = null;
contextUuid_ = null;
contextUuidBuilder_ = null;
}
return this;
}
/**
* <code>.context.Uuid context_uuid = 1;</code>
public context.ContextOuterClass.Uuid.Builder getContextUuidBuilder() {
return getContextUuidFieldBuilder().getBuilder();
* <code>.context.Uuid context_uuid = 1;</code>
public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
if (contextUuidBuilder_ != null) {
return contextUuidBuilder_.getMessageOrBuilder();
return contextUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
* <code>.context.Uuid context_uuid = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getContextUuidFieldBuilder() {
if (contextUuidBuilder_ == null) {
contextUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getContextUuid(),
getParentForChildren(),
isClean());
contextUuid_ = null;
return contextUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
// @@protoc_insertion_point(builder_scope:context.ContextId)
}
// @@protoc_insertion_point(class_scope:context.ContextId)
private static final context.ContextOuterClass.ContextId DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ContextId();
}
public static context.ContextOuterClass.ContextId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ContextId>
PARSER = new com.google.protobuf.AbstractParser<ContextId>() {
@java.lang.Override
public ContextId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContextId(input, extensionRegistry);
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
};
public static com.google.protobuf.Parser<ContextId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ContextId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Context)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
boolean hasContextId();
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
context.ContextOuterClass.ContextId getContextId();
/**
* <code>.context.ContextId context_id = 1;</code>
*/
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
java.util.List<context.ContextOuterClass.TopologyId>
getTopologyIdsList();
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
context.ContextOuterClass.TopologyId getTopologyIds(int index);
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
int getTopologyIdsCount();
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList();
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index);
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.ServiceId>
getServiceIdsList();
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
context.ContextOuterClass.ServiceId getServiceIds(int index);
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
int getServiceIdsCount();
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList();
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index);
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return Whether the controller field is set.
*/
boolean hasController();
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return The controller.
*/
context.ContextOuterClass.TeraFlowController getController();
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder();
}
/**
* Protobuf type {@code context.Context}
*/
public static final class Context extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Context)
ContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use Context.newBuilder() to construct.
private Context(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Context() {
topologyIds_ = java.util.Collections.emptyList();
serviceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Context();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Context(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ContextId.Builder subBuilder = null;
if (contextId_ != null) {
subBuilder = contextId_.toBuilder();
}
contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contextId_);
contextId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>();
mutable_bitField0_ |= 0x00000001;
}
topologyIds_.add(
input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>();
mutable_bitField0_ |= 0x00000002;
}
serviceIds_.add(
input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
break;
}
case 34: {
context.ContextOuterClass.TeraFlowController.Builder subBuilder = null;
if (controller_ != null) {
subBuilder = controller_.toBuilder();
}
controller_ = input.readMessage(context.ContextOuterClass.TeraFlowController.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(controller_);
controller_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Context_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
}
public static final int CONTEXT_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ContextId contextId_;
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
@java.lang.Override
public boolean hasContextId() {
return contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
@java.lang.Override
public context.ContextOuterClass.ContextId getContextId() {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
return getContextId();
}
public static final int TOPOLOGY_IDS_FIELD_NUMBER = 2;
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
@java.lang.Override
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
@java.lang.Override
public int getTopologyIdsCount() {
return topologyIds_.size();
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
return topologyIds_.get(index);
}
public static final int SERVICE_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_;
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
return serviceIds_;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
return serviceIds_;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
@java.lang.Override
public int getServiceIdsCount() {
return serviceIds_.size();
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
return serviceIds_.get(index);
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
return serviceIds_.get(index);
}
public static final int CONTROLLER_FIELD_NUMBER = 4;
private context.ContextOuterClass.TeraFlowController controller_;
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return Whether the controller field is set.
*/
@java.lang.Override
public boolean hasController() {
return controller_ != null;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return The controller.
*/
@java.lang.Override
public context.ContextOuterClass.TeraFlowController getController() {
return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
return getController();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contextId_ != null) {
output.writeMessage(1, getContextId());
}
for (int i = 0; i < topologyIds_.size(); i++) {
output.writeMessage(2, topologyIds_.get(i));
}
for (int i = 0; i < serviceIds_.size(); i++) {
output.writeMessage(3, serviceIds_.get(i));
}
if (controller_ != null) {
output.writeMessage(4, getController());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextId());
}
for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, topologyIds_.get(i));
}
for (int i = 0; i < serviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, serviceIds_.get(i));
}
if (controller_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getController());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Context)) {
return super.equals(obj);
}
context.ContextOuterClass.Context other = (context.ContextOuterClass.Context) obj;
if (hasContextId() != other.hasContextId()) return false;
if (hasContextId()) {
if (!getContextId()
.equals(other.getContextId())) return false;
}
if (!getTopologyIdsList()
.equals(other.getTopologyIdsList())) return false;
if (!getServiceIdsList()
.equals(other.getServiceIdsList())) return false;
if (hasController() != other.hasController()) return false;
if (hasController()) {
if (!getController()
.equals(other.getController())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContextId()) {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
}
if (getTopologyIdsCount() > 0) {
hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTopologyIdsList().hashCode();
}
if (getServiceIdsCount() > 0) {
hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getServiceIdsList().hashCode();
}
if (hasController()) {
hash = (37 * hash) + CONTROLLER_FIELD_NUMBER;
hash = (53 * hash) + getController().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Context parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Context parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Context parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Context parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Context parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Context parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Context parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Context parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Context parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Context parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Context parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Context parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Context prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Context}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Context)
context.ContextOuterClass.ContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Context_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
}
// Construct using context.ContextOuterClass.Context.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTopologyIdsFieldBuilder();
getServiceIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextIdBuilder_ == null) {
contextId_ = null;
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
topologyIdsBuilder_.clear();
}
if (serviceIdsBuilder_ == null) {
serviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
serviceIdsBuilder_.clear();
}
if (controllerBuilder_ == null) {
controller_ = null;
} else {
controller_ = null;
controllerBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Context_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Context getDefaultInstanceForType() {
return context.ContextOuterClass.Context.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Context build() {
context.ContextOuterClass.Context result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Context buildPartial() {
context.ContextOuterClass.Context result = new context.ContextOuterClass.Context(this);
int from_bitField0_ = bitField0_;
if (contextIdBuilder_ == null) {
result.contextId_ = contextId_;
} else {
result.contextId_ = contextIdBuilder_.build();
}
if (topologyIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologyIds_ = topologyIds_;
} else {
result.topologyIds_ = topologyIdsBuilder_.build();
}
if (serviceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.serviceIds_ = serviceIds_;
} else {
result.serviceIds_ = serviceIdsBuilder_.build();
}
if (controllerBuilder_ == null) {
result.controller_ = controller_;
} else {
result.controller_ = controllerBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Context) {
return mergeFrom((context.ContextOuterClass.Context)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Context other) {
if (other == context.ContextOuterClass.Context.getDefaultInstance()) return this;
if (other.hasContextId()) {
mergeContextId(other.getContextId());
}
if (topologyIdsBuilder_ == null) {
if (!other.topologyIds_.isEmpty()) {
if (topologyIds_.isEmpty()) {
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTopologyIdsIsMutable();
topologyIds_.addAll(other.topologyIds_);
}
onChanged();
}
} else {
if (!other.topologyIds_.isEmpty()) {
if (topologyIdsBuilder_.isEmpty()) {
topologyIdsBuilder_.dispose();
topologyIdsBuilder_ = null;
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
topologyIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTopologyIdsFieldBuilder() : null;
} else {
topologyIdsBuilder_.addAllMessages(other.topologyIds_);
}
}
}
if (serviceIdsBuilder_ == null) {
if (!other.serviceIds_.isEmpty()) {
if (serviceIds_.isEmpty()) {
serviceIds_ = other.serviceIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureServiceIdsIsMutable();
serviceIds_.addAll(other.serviceIds_);
}
onChanged();
}
} else {
if (!other.serviceIds_.isEmpty()) {
if (serviceIdsBuilder_.isEmpty()) {
serviceIdsBuilder_.dispose();
serviceIdsBuilder_ = null;
serviceIds_ = other.serviceIds_;
bitField0_ = (bitField0_ & ~0x00000002);
serviceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceIdsFieldBuilder() : null;
} else {
serviceIdsBuilder_.addAllMessages(other.serviceIds_);
}
}
}
if (other.hasController()) {
mergeController(other.getController());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Context parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Context) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private context.ContextOuterClass.ContextId contextId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
public boolean hasContextId() {
return contextIdBuilder_ != null || contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
public context.ContextOuterClass.ContextId getContextId() {
if (contextIdBuilder_ == null) {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
} else {
return contextIdBuilder_.getMessage();
}
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextId_ = value;
onChanged();
} else {
contextIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
onChanged();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (contextId_ != null) {
contextId_ =
context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
contextId_ = value;
}
onChanged();
} else {
contextIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder clearContextId() {
if (contextIdBuilder_ == null) {
contextId_ = null;
onChanged();
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
} else {
return contextId_ == null ?
context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
getContextId(),
getParentForChildren(),
isClean());
contextId_ = null;
}
return contextIdBuilder_;
}
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ =
java.util.Collections.emptyList();
private void ensureTopologyIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
if (topologyIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(topologyIds_);
} else {
return topologyIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
return topologyIds_.size();
} else {
return topologyIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index);
} else {
return topologyIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.set(index, value);
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.set(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(index, value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder addTopologyIds(
context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder addAllTopologyIds(
java.lang.Iterable<? extends context.ContextOuterClass.TopologyId> values) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, topologyIds_);
onChanged();
} else {
topologyIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder clearTopologyIds() {
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
topologyIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public Builder removeTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.remove(index);
onChanged();
} else {
topologyIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index); } else {
return topologyIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
if (topologyIdsBuilder_ != null) {
return topologyIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(topologyIds_);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
return getTopologyIdsFieldBuilder().addBuilder(
context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 2;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId.Builder>
getTopologyIdsBuilderList() {
return getTopologyIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsFieldBuilder() {
if (topologyIdsBuilder_ == null) {
topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
topologyIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
topologyIds_ = null;
}
return topologyIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_ =
java.util.Collections.emptyList();
private void ensureServiceIdsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(serviceIds_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdsBuilder_;
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
if (serviceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceIds_);
} else {
return serviceIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public int getServiceIdsCount() {
if (serviceIdsBuilder_ == null) {
return serviceIds_.size();
} else {
return serviceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
return serviceIds_.get(index);
} else {
return serviceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.set(index, value);
onChanged();
} else {
serviceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.set(index, builderForValue.build());
onChanged();
} else {
serviceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.add(value);
onChanged();
} else {
serviceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.add(index, value);
onChanged();
} else {
serviceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder addServiceIds(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.add(builderForValue.build());
onChanged();
} else {
serviceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.add(index, builderForValue.build());
onChanged();
} else {
serviceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder addAllServiceIds(
java.lang.Iterable<? extends context.ContextOuterClass.ServiceId> values) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceIds_);
onChanged();
} else {
serviceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder clearServiceIds() {
if (serviceIdsBuilder_ == null) {
serviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
serviceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public Builder removeServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.remove(index);
onChanged();
} else {
serviceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
int index) {
return getServiceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
if (serviceIdsBuilder_ == null) {
return serviceIds_.get(index); } else {
return serviceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
if (serviceIdsBuilder_ != null) {
return serviceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceIds_);
}
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
return getServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
int index) {
return getServiceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId service_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId.Builder>
getServiceIdsBuilderList() {
return getServiceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsFieldBuilder() {
if (serviceIdsBuilder_ == null) {
serviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
serviceIds_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
serviceIds_ = null;
}
return serviceIdsBuilder_;
}
private context.ContextOuterClass.TeraFlowController controller_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder> controllerBuilder_;
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return Whether the controller field is set.
*/
public boolean hasController() {
return controllerBuilder_ != null || controller_ != null;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
* @return The controller.
*/
public context.ContextOuterClass.TeraFlowController getController() {
if (controllerBuilder_ == null) {
return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
} else {
return controllerBuilder_.getMessage();
}
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public Builder setController(context.ContextOuterClass.TeraFlowController value) {
if (controllerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
controller_ = value;
onChanged();
} else {
controllerBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public Builder setController(
context.ContextOuterClass.TeraFlowController.Builder builderForValue) {
if (controllerBuilder_ == null) {
controller_ = builderForValue.build();
onChanged();
} else {
controllerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public Builder mergeController(context.ContextOuterClass.TeraFlowController value) {
if (controllerBuilder_ == null) {
if (controller_ != null) {
controller_ =
context.ContextOuterClass.TeraFlowController.newBuilder(controller_).mergeFrom(value).buildPartial();
} else {
controller_ = value;
}
onChanged();
} else {
controllerBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public Builder clearController() {
if (controllerBuilder_ == null) {
controller_ = null;
onChanged();
} else {
controller_ = null;
controllerBuilder_ = null;
}
return this;
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
onChanged();
return getControllerFieldBuilder().getBuilder();
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
if (controllerBuilder_ != null) {
return controllerBuilder_.getMessageOrBuilder();
} else {
return controller_ == null ?
context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
}
}
/**
* <code>.context.TeraFlowController controller = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>
getControllerFieldBuilder() {
if (controllerBuilder_ == null) {
controllerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>(
getController(),
getParentForChildren(),
isClean());
controller_ = null;
}
return controllerBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Context)
}
// @@protoc_insertion_point(class_scope:context.Context)
private static final context.ContextOuterClass.Context DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Context();
}
public static context.ContextOuterClass.Context getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Context>
PARSER = new com.google.protobuf.AbstractParser<Context>() {
@java.lang.Override
public Context parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Context(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Context> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Context> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Context getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContextIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ContextIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
java.util.List<context.ContextOuterClass.ContextId>
getContextIdsList();
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
context.ContextOuterClass.ContextId getContextIds(int index);
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
int getContextIdsCount();
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder>
getContextIdsOrBuilderList();
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.ContextIdList}
*/
public static final class ContextIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ContextIdList)
ContextIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContextIdList.newBuilder() to construct.
private ContextIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ContextIdList() {
contextIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContextIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContextIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
contextIds_ = new java.util.ArrayList<context.ContextOuterClass.ContextId>();
mutable_bitField0_ |= 0x00000001;
}
contextIds_.add(
input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
}
public static final int CONTEXT_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ContextId> contextIds_;
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ContextId> getContextIdsList() {
return contextIds_;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder>
getContextIdsOrBuilderList() {
return contextIds_;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public int getContextIdsCount() {
return contextIds_.size();
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextId getContextIds(int index) {
return contextIds_.get(index);
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
int index) {
return contextIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < contextIds_.size(); i++) {
output.writeMessage(1, contextIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < contextIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, contextIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ContextIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.ContextIdList other = (context.ContextOuterClass.ContextIdList) obj;
if (!getContextIdsList()
.equals(other.getContextIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getContextIdsCount() > 0) {
hash = (37 * hash) + CONTEXT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getContextIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ContextIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ContextIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ContextIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ContextIdList)
context.ContextOuterClass.ContextIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
}
// Construct using context.ContextOuterClass.ContextIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getContextIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextIdsBuilder_ == null) {
contextIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
contextIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
return context.ContextOuterClass.ContextIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ContextIdList build() {
context.ContextOuterClass.ContextIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ContextIdList buildPartial() {
context.ContextOuterClass.ContextIdList result = new context.ContextOuterClass.ContextIdList(this);
int from_bitField0_ = bitField0_;
if (contextIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.contextIds_ = contextIds_;
} else {
result.contextIds_ = contextIdsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ContextIdList) {
return mergeFrom((context.ContextOuterClass.ContextIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ContextIdList other) {
if (other == context.ContextOuterClass.ContextIdList.getDefaultInstance()) return this;
if (contextIdsBuilder_ == null) {
if (!other.contextIds_.isEmpty()) {
if (contextIds_.isEmpty()) {
contextIds_ = other.contextIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureContextIdsIsMutable();
contextIds_.addAll(other.contextIds_);
}
onChanged();
}
} else {
if (!other.contextIds_.isEmpty()) {
if (contextIdsBuilder_.isEmpty()) {
contextIdsBuilder_.dispose();
contextIdsBuilder_ = null;
contextIds_ = other.contextIds_;
bitField0_ = (bitField0_ & ~0x00000001);
contextIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getContextIdsFieldBuilder() : null;
} else {
contextIdsBuilder_.addAllMessages(other.contextIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ContextIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ContextIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.ContextId> contextIds_ =
java.util.Collections.emptyList();
private void ensureContextIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
contextIds_ = new java.util.ArrayList<context.ContextOuterClass.ContextId>(contextIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdsBuilder_;
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ContextId> getContextIdsList() {
if (contextIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(contextIds_);
} else {
return contextIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public int getContextIdsCount() {
if (contextIdsBuilder_ == null) {
return contextIds_.size();
} else {
return contextIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public context.ContextOuterClass.ContextId getContextIds(int index) {
if (contextIdsBuilder_ == null) {
return contextIds_.get(index);
} else {
return contextIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder setContextIds(
int index, context.ContextOuterClass.ContextId value) {
if (contextIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextIdsIsMutable();
contextIds_.set(index, value);
onChanged();
} else {
contextIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder setContextIds(
int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
contextIds_.set(index, builderForValue.build());
onChanged();
} else {
contextIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder addContextIds(context.ContextOuterClass.ContextId value) {
if (contextIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextIdsIsMutable();
contextIds_.add(value);
onChanged();
} else {
contextIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder addContextIds(
int index, context.ContextOuterClass.ContextId value) {
if (contextIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextIdsIsMutable();
contextIds_.add(index, value);
onChanged();
} else {
contextIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder addContextIds(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
contextIds_.add(builderForValue.build());
onChanged();
} else {
contextIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder addContextIds(
int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
contextIds_.add(index, builderForValue.build());
onChanged();
} else {
contextIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder addAllContextIds(
java.lang.Iterable<? extends context.ContextOuterClass.ContextId> values) {
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, contextIds_);
onChanged();
} else {
contextIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder clearContextIds() {
if (contextIdsBuilder_ == null) {
contextIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
contextIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public Builder removeContextIds(int index) {
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
contextIds_.remove(index);
onChanged();
} else {
contextIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdsBuilder(
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
int index) {
return getContextIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
int index) {
if (contextIdsBuilder_ == null) {
return contextIds_.get(index); } else {
return contextIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder>
getContextIdsOrBuilderList() {
if (contextIdsBuilder_ != null) {
return contextIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(contextIds_);
}
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder() {
return getContextIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ContextId.getDefaultInstance());
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder(
int index) {
return getContextIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ContextId.getDefaultInstance());
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ContextId.Builder>
getContextIdsBuilderList() {
return getContextIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdsFieldBuilder() {
if (contextIdsBuilder_ == null) {
contextIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
contextIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
contextIds_ = null;
}
return contextIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ContextIdList)
}
// @@protoc_insertion_point(class_scope:context.ContextIdList)
private static final context.ContextOuterClass.ContextIdList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ContextIdList();
}
public static context.ContextOuterClass.ContextIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ContextIdList>
PARSER = new com.google.protobuf.AbstractParser<ContextIdList>() {
@java.lang.Override
public ContextIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContextIdList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ContextIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ContextIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContextListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ContextList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
java.util.List<context.ContextOuterClass.Context>
getContextsList();
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
context.ContextOuterClass.Context getContexts(int index);
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
int getContextsCount();
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.ContextOrBuilder>
getContextsOrBuilderList();
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.ContextList}
*/
public static final class ContextList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ContextList)
ContextListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContextList.newBuilder() to construct.
private ContextList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ContextList() {
contexts_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContextList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContextList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
contexts_ = new java.util.ArrayList<context.ContextOuterClass.Context>();
mutable_bitField0_ |= 0x00000001;
}
contexts_.add(
input.readMessage(context.ContextOuterClass.Context.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
contexts_ = java.util.Collections.unmodifiableList(contexts_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
}
public static final int CONTEXTS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Context> contexts_;
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Context> getContextsList() {
return contexts_;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ContextOrBuilder>
getContextsOrBuilderList() {
return contexts_;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
@java.lang.Override
public int getContextsCount() {
return contexts_.size();
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Context getContexts(int index) {
return contexts_.get(index);
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
int index) {
return contexts_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < contexts_.size(); i++) {
output.writeMessage(1, contexts_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < contexts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, contexts_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ContextList)) {
return super.equals(obj);
}
context.ContextOuterClass.ContextList other = (context.ContextOuterClass.ContextList) obj;
if (!getContextsList()
.equals(other.getContextsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getContextsCount() > 0) {
hash = (37 * hash) + CONTEXTS_FIELD_NUMBER;
hash = (53 * hash) + getContextsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ContextList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ContextList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ContextList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ContextList)
context.ContextOuterClass.ContextListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
}
// Construct using context.ContextOuterClass.ContextList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getContextsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextsBuilder_ == null) {
contexts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
contextsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
return context.ContextOuterClass.ContextList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ContextList build() {
context.ContextOuterClass.ContextList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ContextList buildPartial() {
context.ContextOuterClass.ContextList result = new context.ContextOuterClass.ContextList(this);
int from_bitField0_ = bitField0_;
if (contextsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
contexts_ = java.util.Collections.unmodifiableList(contexts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.contexts_ = contexts_;
} else {
result.contexts_ = contextsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ContextList) {
return mergeFrom((context.ContextOuterClass.ContextList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ContextList other) {
if (other == context.ContextOuterClass.ContextList.getDefaultInstance()) return this;
if (contextsBuilder_ == null) {
if (!other.contexts_.isEmpty()) {
if (contexts_.isEmpty()) {
contexts_ = other.contexts_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureContextsIsMutable();
contexts_.addAll(other.contexts_);
}
onChanged();
}
} else {
if (!other.contexts_.isEmpty()) {
if (contextsBuilder_.isEmpty()) {
contextsBuilder_.dispose();
contextsBuilder_ = null;
contexts_ = other.contexts_;
bitField0_ = (bitField0_ & ~0x00000001);
contextsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getContextsFieldBuilder() : null;
} else {
contextsBuilder_.addAllMessages(other.contexts_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ContextList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ContextList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Context> contexts_ =
java.util.Collections.emptyList();
private void ensureContextsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
contexts_ = new java.util.ArrayList<context.ContextOuterClass.Context>(contexts_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder> contextsBuilder_;
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Context> getContextsList() {
if (contextsBuilder_ == null) {
return java.util.Collections.unmodifiableList(contexts_);
} else {
return contextsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public int getContextsCount() {
if (contextsBuilder_ == null) {
return contexts_.size();
} else {
return contextsBuilder_.getCount();
}
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public context.ContextOuterClass.Context getContexts(int index) {
if (contextsBuilder_ == null) {
return contexts_.get(index);
} else {
return contextsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder setContexts(
int index, context.ContextOuterClass.Context value) {
if (contextsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextsIsMutable();
contexts_.set(index, value);
onChanged();
} else {
contextsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder setContexts(
int index, context.ContextOuterClass.Context.Builder builderForValue) {
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
contexts_.set(index, builderForValue.build());
onChanged();
} else {
contextsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder addContexts(context.ContextOuterClass.Context value) {
if (contextsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextsIsMutable();
contexts_.add(value);
onChanged();
} else {
contextsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder addContexts(
int index, context.ContextOuterClass.Context value) {
if (contextsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContextsIsMutable();
contexts_.add(index, value);
onChanged();
} else {
contextsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder addContexts(
context.ContextOuterClass.Context.Builder builderForValue) {
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
contexts_.add(builderForValue.build());
onChanged();
} else {
contextsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder addContexts(
int index, context.ContextOuterClass.Context.Builder builderForValue) {
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
contexts_.add(index, builderForValue.build());
onChanged();
} else {
contextsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder addAllContexts(
java.lang.Iterable<? extends context.ContextOuterClass.Context> values) {
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, contexts_);
onChanged();
} else {
contextsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder clearContexts() {
if (contextsBuilder_ == null) {
contexts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
contextsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public Builder removeContexts(int index) {
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
contexts_.remove(index);
onChanged();
} else {
contextsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public context.ContextOuterClass.Context.Builder getContextsBuilder(
int index) {
return getContextsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
int index) {
if (contextsBuilder_ == null) {
return contexts_.get(index); } else {
return contextsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ContextOrBuilder>
getContextsOrBuilderList() {
if (contextsBuilder_ != null) {
return contextsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(contexts_);
}
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public context.ContextOuterClass.Context.Builder addContextsBuilder() {
return getContextsFieldBuilder().addBuilder(
context.ContextOuterClass.Context.getDefaultInstance());
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public context.ContextOuterClass.Context.Builder addContextsBuilder(
int index) {
return getContextsFieldBuilder().addBuilder(
index, context.ContextOuterClass.Context.getDefaultInstance());
}
/**
* <code>repeated .context.Context contexts = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Context.Builder>
getContextsBuilderList() {
return getContextsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder>
getContextsFieldBuilder() {
if (contextsBuilder_ == null) {
contextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder>(
contexts_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
contexts_ = null;
}
return contextsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ContextList)
}
// @@protoc_insertion_point(class_scope:context.ContextList)
private static final context.ContextOuterClass.ContextList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ContextList();
}
public static context.ContextOuterClass.ContextList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ContextList>
PARSER = new com.google.protobuf.AbstractParser<ContextList>() {
@java.lang.Override
public ContextList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContextList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ContextList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ContextList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContextEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ContextEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
context.ContextOuterClass.Event getEvent();
/**
* <code>.context.Event event = 1;</code>
*/
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
* <code>.context.ContextId context_id = 2;</code>
* @return Whether the contextId field is set.
*/
boolean hasContextId();
/**
* <code>.context.ContextId context_id = 2;</code>
* @return The contextId.
*/
context.ContextOuterClass.ContextId getContextId();
/**
* <code>.context.ContextId context_id = 2;</code>
*/
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
}
/**
* Protobuf type {@code context.ContextEvent}
*/
public static final class ContextEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ContextEvent)
ContextEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContextEvent.newBuilder() to construct.
private ContextEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ContextEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContextEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContextEvent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.ContextId.Builder subBuilder = null;
if (contextId_ != null) {
subBuilder = contextId_.toBuilder();
}
contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contextId_);
contextId_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
@java.lang.Override
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
* <code>.context.Event event = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
}
public static final int CONTEXT_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.ContextId contextId_;
/**
* <code>.context.ContextId context_id = 2;</code>
* @return Whether the contextId field is set.
*/
@java.lang.Override
public boolean hasContextId() {
return contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 2;</code>
* @return The contextId.
*/
@java.lang.Override
public context.ContextOuterClass.ContextId getContextId() {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
return getContextId();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (contextId_ != null) {
output.writeMessage(2, getContextId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
}
if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getContextId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ContextEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.ContextEvent other = (context.ContextOuterClass.ContextEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasContextId() != other.hasContextId()) return false;
if (hasContextId()) {
if (!getContextId()
.equals(other.getContextId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasContextId()) {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ContextEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ContextEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ContextEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ContextEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ContextEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ContextEvent)
context.ContextOuterClass.ContextEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
}
// Construct using context.ContextOuterClass.ContextEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
} else {
event_ = null;
eventBuilder_ = null;
}
if (contextIdBuilder_ == null) {
contextId_ = null;
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
return context.ContextOuterClass.ContextEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ContextEvent build() {
context.ContextOuterClass.ContextEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ContextEvent buildPartial() {
context.ContextOuterClass.ContextEvent result = new context.ContextOuterClass.ContextEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
if (contextIdBuilder_ == null) {
result.contextId_ = contextId_;
} else {
result.contextId_ = contextIdBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ContextEvent) {
return mergeFrom((context.ContextOuterClass.ContextEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ContextEvent other) {
if (other == context.ContextOuterClass.ContextEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasContextId()) {
mergeContextId(other.getContextId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ContextEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ContextEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
onChanged();
} else {
event_ = null;
eventBuilder_ = null;
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
* <code>.context.Event event = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
private context.ContextOuterClass.ContextId contextId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
/**
* <code>.context.ContextId context_id = 2;</code>
* @return Whether the contextId field is set.
*/
public boolean hasContextId() {
return contextIdBuilder_ != null || contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 2;</code>
* @return The contextId.
*/
public context.ContextOuterClass.ContextId getContextId() {
if (contextIdBuilder_ == null) {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
} else {
return contextIdBuilder_.getMessage();
}
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextId_ = value;
onChanged();
} else {
contextIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder setContextId(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
onChanged();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (contextId_ != null) {
contextId_ =
context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
contextId_ = value;
}
onChanged();
} else {
contextIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder clearContextId() {
if (contextIdBuilder_ == null) {
contextId_ = null;
onChanged();
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
} else {
return contextId_ == null ?
context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
getContextId(),
getParentForChildren(),
isClean());
contextId_ = null;
}
return contextIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ContextEvent)
}
// @@protoc_insertion_point(class_scope:context.ContextEvent)
private static final context.ContextOuterClass.ContextEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ContextEvent();
}
public static context.ContextOuterClass.ContextEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ContextEvent>
PARSER = new com.google.protobuf.AbstractParser<ContextEvent>() {
@java.lang.Override
public ContextEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContextEvent(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ContextEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ContextEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.TopologyId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
boolean hasContextId();
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
context.ContextOuterClass.ContextId getContextId();
/**
* <code>.context.ContextId context_id = 1;</code>
*/
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return Whether the topologyUuid field is set.
*/
boolean hasTopologyUuid();
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return The topologyUuid.
*/
context.ContextOuterClass.Uuid getTopologyUuid();
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder();
}
/**
* <pre>
* ----- Topology ------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.TopologyId}
*/
public static final class TopologyId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.TopologyId)
TopologyIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyId.newBuilder() to construct.
private TopologyId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TopologyId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TopologyId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ContextId.Builder subBuilder = null;
if (contextId_ != null) {
subBuilder = contextId_.toBuilder();
}
contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contextId_);
contextId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (topologyUuid_ != null) {
subBuilder = topologyUuid_.toBuilder();
}
topologyUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(topologyUuid_);
topologyUuid_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
}
public static final int CONTEXT_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ContextId contextId_;
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
@java.lang.Override
public boolean hasContextId() {
return contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
@java.lang.Override
public context.ContextOuterClass.ContextId getContextId() {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
return getContextId();
}
public static final int TOPOLOGY_UUID_FIELD_NUMBER = 2;
private context.ContextOuterClass.Uuid topologyUuid_;
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return Whether the topologyUuid field is set.
*/
@java.lang.Override
public boolean hasTopologyUuid() {
return topologyUuid_ != null;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return The topologyUuid.
*/
@java.lang.Override
public context.ContextOuterClass.Uuid getTopologyUuid() {
return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
return getTopologyUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contextId_ != null) {
output.writeMessage(1, getContextId());
}
if (topologyUuid_ != null) {
output.writeMessage(2, getTopologyUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextId());
}
if (topologyUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTopologyUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyId)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyId other = (context.ContextOuterClass.TopologyId) obj;
if (hasContextId() != other.hasContextId()) return false;
if (hasContextId()) {
if (!getContextId()
.equals(other.getContextId())) return false;
}
if (hasTopologyUuid() != other.hasTopologyUuid()) return false;
if (hasTopologyUuid()) {
if (!getTopologyUuid()
.equals(other.getTopologyUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContextId()) {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
}
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
if (hasTopologyUuid()) {
hash = (37 * hash) + TOPOLOGY_UUID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Topology ------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.TopologyId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.TopologyId)
context.ContextOuterClass.TopologyIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextIdBuilder_ == null) {
contextId_ = null;
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
if (topologyUuidBuilder_ == null) {
topologyUuid_ = null;
} else {
topologyUuid_ = null;
topologyUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyId build() {
context.ContextOuterClass.TopologyId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyId buildPartial() {
context.ContextOuterClass.TopologyId result = new context.ContextOuterClass.TopologyId(this);
if (contextIdBuilder_ == null) {
result.contextId_ = contextId_;
} else {
result.contextId_ = contextIdBuilder_.build();
}
if (topologyUuidBuilder_ == null) {
result.topologyUuid_ = topologyUuid_;
} else {
result.topologyUuid_ = topologyUuidBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyId) {
return mergeFrom((context.ContextOuterClass.TopologyId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyId other) {
if (other == context.ContextOuterClass.TopologyId.getDefaultInstance()) return this;
if (other.hasContextId()) {
mergeContextId(other.getContextId());
}
if (other.hasTopologyUuid()) {
mergeTopologyUuid(other.getTopologyUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.TopologyId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.TopologyId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.ContextId contextId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
public boolean hasContextId() {
return contextIdBuilder_ != null || contextId_ != null;
}
/**
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
*/
public context.ContextOuterClass.ContextId getContextId() {
if (contextIdBuilder_ == null) {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
} else {
return contextIdBuilder_.getMessage();
}
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextId_ = value;
onChanged();
} else {
contextIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
onChanged();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (contextId_ != null) {
contextId_ =
context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
contextId_ = value;
}
onChanged();
} else {
contextIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder clearContextId() {
if (contextIdBuilder_ == null) {
contextId_ = null;
onChanged();
} else {
contextId_ = null;
contextIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
} else {
return contextId_ == null ?
context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
getContextId(),
getParentForChildren(),
isClean());
contextId_ = null;
}
return contextIdBuilder_;
}
private context.ContextOuterClass.Uuid topologyUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> topologyUuidBuilder_;
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return Whether the topologyUuid field is set.
*/
public boolean hasTopologyUuid() {
return topologyUuidBuilder_ != null || topologyUuid_ != null;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
* @return The topologyUuid.
*/
public context.ContextOuterClass.Uuid getTopologyUuid() {
if (topologyUuidBuilder_ == null) {
return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
} else {
return topologyUuidBuilder_.getMessage();
}
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder setTopologyUuid(context.ContextOuterClass.Uuid value) {
if (topologyUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
topologyUuid_ = value;
onChanged();
} else {
topologyUuidBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder setTopologyUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (topologyUuidBuilder_ == null) {
topologyUuid_ = builderForValue.build();
onChanged();
} else {
topologyUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder mergeTopologyUuid(context.ContextOuterClass.Uuid value) {
if (topologyUuidBuilder_ == null) {
if (topologyUuid_ != null) {
topologyUuid_ =
context.ContextOuterClass.Uuid.newBuilder(topologyUuid_).mergeFrom(value).buildPartial();
} else {
topologyUuid_ = value;
}
onChanged();
} else {
topologyUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder clearTopologyUuid() {
if (topologyUuidBuilder_ == null) {
topologyUuid_ = null;
onChanged();
} else {
topologyUuid_ = null;
topologyUuidBuilder_ = null;
}
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public context.ContextOuterClass.Uuid.Builder getTopologyUuidBuilder() {
onChanged();
return getTopologyUuidFieldBuilder().getBuilder();
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
if (topologyUuidBuilder_ != null) {
return topologyUuidBuilder_.getMessageOrBuilder();
} else {
return topologyUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
}
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getTopologyUuidFieldBuilder() {
if (topologyUuidBuilder_ == null) {
topologyUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getTopologyUuid(),
getParentForChildren(),
isClean());
topologyUuid_ = null;
}
return topologyUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyId)
}
// @@protoc_insertion_point(class_scope:context.TopologyId)
private static final context.ContextOuterClass.TopologyId DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyId();
}
public static context.ContextOuterClass.TopologyId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyId>
PARSER = new com.google.protobuf.AbstractParser<TopologyId>() {
@java.lang.Override
public TopologyId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TopologyId(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TopologyId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Topology)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return Whether the topologyId field is set.
*/
boolean hasTopologyId();
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return The topologyId.
*/
context.ContextOuterClass.TopologyId getTopologyId();
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
java.util.List<context.ContextOuterClass.DeviceId>
getDeviceIdsList();
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
context.ContextOuterClass.DeviceId getDeviceIds(int index);
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
int getDeviceIdsCount();
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList();
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index);
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.LinkId>
getLinkIdsList();
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
context.ContextOuterClass.LinkId getLinkIds(int index);
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
int getLinkIdsCount();
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList();
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.Topology}
*/
public static final class Topology extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Topology)
TopologyOrBuilder {
private static final long serialVersionUID = 0L;
// Use Topology.newBuilder() to construct.
private Topology(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Topology() {
deviceIds_ = java.util.Collections.emptyList();
linkIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Topology();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Topology(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.TopologyId.Builder subBuilder = null;
if (topologyId_ != null) {
subBuilder = topologyId_.toBuilder();
}
topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(topologyId_);
topologyId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>();
mutable_bitField0_ |= 0x00000001;
}
deviceIds_.add(
input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>();
mutable_bitField0_ |= 0x00000002;
}
linkIds_.add(
input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Topology_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Topology_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Topology.class, context.ContextOuterClass.Topology.Builder.class);
}
public static final int TOPOLOGY_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.TopologyId topologyId_;
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return Whether the topologyId field is set.
*/
@java.lang.Override
public boolean hasTopologyId() {
return topologyId_ != null;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return The topologyId.
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyId() {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
return getTopologyId();
}
public static final int DEVICE_IDS_FIELD_NUMBER = 2;
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_;
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
@java.lang.Override
public int getDeviceIdsCount() {
return deviceIds_.size();
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
return deviceIds_.get(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
return deviceIds_.get(index);
}
public static final int LINK_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.LinkId> linkIds_;
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
return linkIds_;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
return linkIds_;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
@java.lang.Override
public int getLinkIdsCount() {
return linkIds_.size();
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.LinkId getLinkIds(int index) {
return linkIds_.get(index);
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index) {
return linkIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (topologyId_ != null) {
output.writeMessage(1, getTopologyId());
}
for (int i = 0; i < deviceIds_.size(); i++) {
output.writeMessage(2, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
output.writeMessage(3, linkIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (topologyId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTopologyId());
}
for (int i = 0; i < deviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, linkIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Topology)) {
return super.equals(obj);
}
context.ContextOuterClass.Topology other = (context.ContextOuterClass.Topology) obj;
if (hasTopologyId() != other.hasTopologyId()) return false;
if (hasTopologyId()) {
if (!getTopologyId()
.equals(other.getTopologyId())) return false;
}
if (!getDeviceIdsList()
.equals(other.getDeviceIdsList())) return false;
if (!getLinkIdsList()
.equals(other.getLinkIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTopologyId()) {
hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyId().hashCode();
}
if (getDeviceIdsCount() > 0) {
hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDeviceIdsList().hashCode();
}
if (getLinkIdsCount() > 0) {
hash = (37 * hash) + LINK_IDS_FIELD_NUMBER;
hash = (53 * hash) + getLinkIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Topology parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Topology parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Topology parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Topology parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Topology parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Topology parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Topology parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Topology parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Topology parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Topology parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Topology parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Topology parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Topology prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Topology}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Topology)
context.ContextOuterClass.TopologyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Topology_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Topology_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Topology.class, context.ContextOuterClass.Topology.Builder.class);
}
// Construct using context.ContextOuterClass.Topology.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeviceIdsFieldBuilder();
getLinkIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (topologyIdBuilder_ == null) {
topologyId_ = null;
} else {
topologyId_ = null;
topologyIdBuilder_ = null;
}
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
deviceIdsBuilder_.clear();
}
if (linkIdsBuilder_ == null) {
linkIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
linkIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Topology_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Topology getDefaultInstanceForType() {
return context.ContextOuterClass.Topology.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Topology build() {
context.ContextOuterClass.Topology result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Topology buildPartial() {
context.ContextOuterClass.Topology result = new context.ContextOuterClass.Topology(this);
int from_bitField0_ = bitField0_;
if (topologyIdBuilder_ == null) {
result.topologyId_ = topologyId_;
} else {
result.topologyId_ = topologyIdBuilder_.build();
}
if (deviceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deviceIds_ = deviceIds_;
} else {
result.deviceIds_ = deviceIdsBuilder_.build();
}
if (linkIdsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.linkIds_ = linkIds_;
} else {
result.linkIds_ = linkIdsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Topology) {
return mergeFrom((context.ContextOuterClass.Topology)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Topology other) {
if (other == context.ContextOuterClass.Topology.getDefaultInstance()) return this;
if (other.hasTopologyId()) {
mergeTopologyId(other.getTopologyId());
}
if (deviceIdsBuilder_ == null) {
if (!other.deviceIds_.isEmpty()) {
if (deviceIds_.isEmpty()) {
deviceIds_ = other.deviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeviceIdsIsMutable();
deviceIds_.addAll(other.deviceIds_);
}
onChanged();
}
} else {
if (!other.deviceIds_.isEmpty()) {
if (deviceIdsBuilder_.isEmpty()) {
deviceIdsBuilder_.dispose();
deviceIdsBuilder_ = null;
deviceIds_ = other.deviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
deviceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeviceIdsFieldBuilder() : null;
} else {
deviceIdsBuilder_.addAllMessages(other.deviceIds_);
}
}
}
if (linkIdsBuilder_ == null) {
if (!other.linkIds_.isEmpty()) {
if (linkIds_.isEmpty()) {
linkIds_ = other.linkIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureLinkIdsIsMutable();
linkIds_.addAll(other.linkIds_);
}
onChanged();
}
} else {
if (!other.linkIds_.isEmpty()) {
if (linkIdsBuilder_.isEmpty()) {
linkIdsBuilder_.dispose();
linkIdsBuilder_ = null;
linkIds_ = other.linkIds_;
bitField0_ = (bitField0_ & ~0x00000002);
linkIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLinkIdsFieldBuilder() : null;
} else {
linkIdsBuilder_.addAllMessages(other.linkIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Topology parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Topology) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private context.ContextOuterClass.TopologyId topologyId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return Whether the topologyId field is set.
*/
public boolean hasTopologyId() {
return topologyIdBuilder_ != null || topologyId_ != null;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return The topologyId.
*/
public context.ContextOuterClass.TopologyId getTopologyId() {
if (topologyIdBuilder_ == null) {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
} else {
return topologyIdBuilder_.getMessage();
}
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
topologyId_ = value;
onChanged();
} else {
topologyIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder setTopologyId(
context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdBuilder_ == null) {
topologyId_ = builderForValue.build();
onChanged();
} else {
topologyIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
if (topologyId_ != null) {
topologyId_ =
context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
} else {
topologyId_ = value;
}
onChanged();
} else {
topologyIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder clearTopologyId() {
if (topologyIdBuilder_ == null) {
topologyId_ = null;
onChanged();
} else {
topologyId_ = null;
topologyIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
onChanged();
return getTopologyIdFieldBuilder().getBuilder();
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
if (topologyIdBuilder_ != null) {
return topologyIdBuilder_.getMessageOrBuilder();
} else {
return topologyId_ == null ?
context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdFieldBuilder() {
if (topologyIdBuilder_ == null) {
topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
getTopologyId(),
getParentForChildren(),
isClean());
topologyId_ = null;
}
return topologyIdBuilder_;
}
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_ =
java.util.Collections.emptyList();
private void ensureDeviceIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>(deviceIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdsBuilder_;
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
if (deviceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(deviceIds_);
} else {
return deviceIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public int getDeviceIdsCount() {
if (deviceIdsBuilder_ == null) {
return deviceIds_.size();
} else {
return deviceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
return deviceIds_.get(index);
} else {
return deviceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.set(index, value);
onChanged();
} else {
deviceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.set(index, builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder addDeviceIds(context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.add(value);
onChanged();
} else {
deviceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.add(index, value);
onChanged();
} else {
deviceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder addDeviceIds(
context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.add(builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.add(index, builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder addAllDeviceIds(
java.lang.Iterable<? extends context.ContextOuterClass.DeviceId> values) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deviceIds_);
onChanged();
} else {
deviceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder clearDeviceIds() {
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
deviceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public Builder removeDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.remove(index);
onChanged();
} else {
deviceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
if (deviceIdsBuilder_ == null) {
return deviceIds_.get(index); } else {
return deviceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
if (deviceIdsBuilder_ != null) {
return deviceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deviceIds_);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
return getDeviceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 2;</code>
*/
public java.util.List<context.ContextOuterClass.DeviceId.Builder>
getDeviceIdsBuilderList() {
return getDeviceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsFieldBuilder() {
if (deviceIdsBuilder_ == null) {
deviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
deviceIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deviceIds_ = null;
}
return deviceIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.LinkId> linkIds_ =
java.util.Collections.emptyList();
private void ensureLinkIdsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>(linkIds_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdsBuilder_;
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
if (linkIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(linkIds_);
} else {
return linkIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public int getLinkIdsCount() {
if (linkIdsBuilder_ == null) {
return linkIds_.size();
} else {
return linkIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public context.ContextOuterClass.LinkId getLinkIds(int index) {
if (linkIdsBuilder_ == null) {
return linkIds_.get(index);
} else {
return linkIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.set(index, value);
onChanged();
} else {
linkIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.set(index, builderForValue.build());
onChanged();
} else {
linkIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.add(value);
onChanged();
} else {
linkIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.add(index, value);
onChanged();
} else {
linkIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder addLinkIds(
context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.add(builderForValue.build());
onChanged();
} else {
linkIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.add(index, builderForValue.build());
onChanged();
} else {
linkIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder addAllLinkIds(
java.lang.Iterable<? extends context.ContextOuterClass.LinkId> values) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, linkIds_);
onChanged();
} else {
linkIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder clearLinkIds() {
if (linkIdsBuilder_ == null) {
linkIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
linkIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public Builder removeLinkIds(int index) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.remove(index);
onChanged();
} else {
linkIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
int index) {
return getLinkIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index) {
if (linkIdsBuilder_ == null) {
return linkIds_.get(index); } else {
return linkIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
if (linkIdsBuilder_ != null) {
return linkIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(linkIds_);
}
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
return getLinkIdsFieldBuilder().addBuilder(
context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
int index) {
return getLinkIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
* <code>repeated .context.LinkId link_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.LinkId.Builder>
getLinkIdsBuilderList() {
return getLinkIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsFieldBuilder() {
if (linkIdsBuilder_ == null) {
linkIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
linkIds_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
linkIds_ = null;
}
return linkIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Topology)
}
// @@protoc_insertion_point(class_scope:context.Topology)
private static final context.ContextOuterClass.Topology DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Topology();
}
public static context.ContextOuterClass.Topology getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Topology>
PARSER = new com.google.protobuf.AbstractParser<Topology>() {
@java.lang.Override
public Topology parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Topology(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Topology> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Topology> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Topology getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.TopologyIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
java.util.List<context.ContextOuterClass.TopologyId>
getTopologyIdsList();
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
context.ContextOuterClass.TopologyId getTopologyIds(int index);
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
int getTopologyIdsCount();
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList();
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.TopologyIdList}
*/
public static final class TopologyIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.TopologyIdList)
TopologyIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyIdList.newBuilder() to construct.
private TopologyIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyIdList() {
topologyIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TopologyIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TopologyIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>();
mutable_bitField0_ |= 0x00000001;
}
topologyIds_.add(
input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
}
public static final int TOPOLOGY_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public int getTopologyIdsCount() {
return topologyIds_.size();
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
return topologyIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < topologyIds_.size(); i++) {
output.writeMessage(1, topologyIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, topologyIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyIdList other = (context.ContextOuterClass.TopologyIdList) obj;
if (!getTopologyIdsList()
.equals(other.getTopologyIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTopologyIdsCount() > 0) {
hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTopologyIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.TopologyIdList)
context.ContextOuterClass.TopologyIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTopologyIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
topologyIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList build() {
context.ContextOuterClass.TopologyIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList buildPartial() {
context.ContextOuterClass.TopologyIdList result = new context.ContextOuterClass.TopologyIdList(this);
int from_bitField0_ = bitField0_;
if (topologyIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologyIds_ = topologyIds_;
} else {
result.topologyIds_ = topologyIdsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyIdList) {
return mergeFrom((context.ContextOuterClass.TopologyIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyIdList other) {
if (other == context.ContextOuterClass.TopologyIdList.getDefaultInstance()) return this;
if (topologyIdsBuilder_ == null) {
if (!other.topologyIds_.isEmpty()) {
if (topologyIds_.isEmpty()) {
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTopologyIdsIsMutable();
topologyIds_.addAll(other.topologyIds_);
}
onChanged();
}
} else {
if (!other.topologyIds_.isEmpty()) {
if (topologyIdsBuilder_.isEmpty()) {
topologyIdsBuilder_.dispose();
topologyIdsBuilder_ = null;
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
topologyIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTopologyIdsFieldBuilder() : null;
} else {
topologyIdsBuilder_.addAllMessages(other.topologyIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.TopologyIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.TopologyIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ =
java.util.Collections.emptyList();
private void ensureTopologyIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
if (topologyIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(topologyIds_);
} else {
return topologyIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
return topologyIds_.size();
} else {
return topologyIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index);
} else {
return topologyIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.set(index, value);
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.set(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(index, value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(
context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addAllTopologyIds(
java.lang.Iterable<? extends context.ContextOuterClass.TopologyId> values) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, topologyIds_);
onChanged();
} else {
topologyIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder clearTopologyIds() {
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
topologyIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder removeTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.remove(index);
onChanged();
} else {
topologyIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index); } else {
return topologyIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
if (topologyIdsBuilder_ != null) {
return topologyIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(topologyIds_);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
return getTopologyIdsFieldBuilder().addBuilder(
context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId.Builder>
getTopologyIdsBuilderList() {
return getTopologyIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsFieldBuilder() {
if (topologyIdsBuilder_ == null) {
topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
topologyIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
topologyIds_ = null;
}
return topologyIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyIdList)
}
// @@protoc_insertion_point(class_scope:context.TopologyIdList)
private static final context.ContextOuterClass.TopologyIdList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyIdList();
}
public static context.ContextOuterClass.TopologyIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyIdList>
PARSER = new com.google.protobuf.AbstractParser<TopologyIdList>() {
@java.lang.Override
public TopologyIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TopologyIdList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TopologyIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.TopologyList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
java.util.List<context.ContextOuterClass.Topology>
getTopologiesList();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
context.ContextOuterClass.Topology getTopologies(int index);
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
int getTopologiesCount();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder>
getTopologiesOrBuilderList();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
int index);
}
/**
* Protobuf type {@code context.TopologyList}
*/
public static final class TopologyList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.TopologyList)
TopologyListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyList.newBuilder() to construct.
private TopologyList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyList() {
topologies_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TopologyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TopologyList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
topologies_ = new java.util.ArrayList<context.ContextOuterClass.Topology>();
mutable_bitField0_ |= 0x00000001;
}
topologies_.add(
input.readMessage(context.ContextOuterClass.Topology.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
topologies_ = java.util.Collections.unmodifiableList(topologies_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyList.class, context.ContextOuterClass.TopologyList.Builder.class);
}
public static final int TOPOLOGIES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Topology> topologies_;
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Topology> getTopologiesList() {
return topologies_;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder>
getTopologiesOrBuilderList() {
return topologies_;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public int getTopologiesCount() {
return topologies_.size();
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Topology getTopologies(int index) {
return topologies_.get(index);
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
int index) {
return topologies_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < topologies_.size(); i++) {
output.writeMessage(1, topologies_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < topologies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, topologies_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyList)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyList other = (context.ContextOuterClass.TopologyList) obj;
if (!getTopologiesList()
.equals(other.getTopologiesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTopologiesCount() > 0) {
hash = (37 * hash) + TOPOLOGIES_FIELD_NUMBER;
hash = (53 * hash) + getTopologiesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.TopologyList)
context.ContextOuterClass.TopologyListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyList.class, context.ContextOuterClass.TopologyList.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTopologiesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (topologiesBuilder_ == null) {
topologies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
topologiesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyList build() {
context.ContextOuterClass.TopologyList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList buildPartial() {
context.ContextOuterClass.TopologyList result = new context.ContextOuterClass.TopologyList(this);
int from_bitField0_ = bitField0_;
if (topologiesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologies_ = java.util.Collections.unmodifiableList(topologies_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologies_ = topologies_;
} else {
result.topologies_ = topologiesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyList) {
return mergeFrom((context.ContextOuterClass.TopologyList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyList other) {
if (other == context.ContextOuterClass.TopologyList.getDefaultInstance()) return this;
if (topologiesBuilder_ == null) {
if (!other.topologies_.isEmpty()) {
if (topologies_.isEmpty()) {
topologies_ = other.topologies_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTopologiesIsMutable();
topologies_.addAll(other.topologies_);
}
onChanged();
}
} else {
if (!other.topologies_.isEmpty()) {
if (topologiesBuilder_.isEmpty()) {
topologiesBuilder_.dispose();
topologiesBuilder_ = null;
topologies_ = other.topologies_;
bitField0_ = (bitField0_ & ~0x00000001);
topologiesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTopologiesFieldBuilder() : null;
} else {
topologiesBuilder_.addAllMessages(other.topologies_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.TopologyList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.TopologyList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Topology> topologies_ =
java.util.Collections.emptyList();
private void ensureTopologiesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
topologies_ = new java.util.ArrayList<context.ContextOuterClass.Topology>(topologies_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder> topologiesBuilder_;
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Topology> getTopologiesList() {
if (topologiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(topologies_);
} else {
return topologiesBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public int getTopologiesCount() {
if (topologiesBuilder_ == null) {
return topologies_.size();
} else {
return topologiesBuilder_.getCount();
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology getTopologies(int index) {
if (topologiesBuilder_ == null) {
return topologies_.get(index);
} else {
return topologiesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder setTopologies(
int index, context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.set(index, value);
onChanged();
} else {
topologiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder setTopologies(
int index, context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.set(index, builderForValue.build());
onChanged();
} else {
topologiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.add(value);
onChanged();
} else {
topologiesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(
int index, context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.add(index, value);
onChanged();
} else {
topologiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(
context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.add(builderForValue.build());
onChanged();
} else {
topologiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(
int index, context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.add(index, builderForValue.build());
onChanged();
} else {
topologiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addAllTopologies(
java.lang.Iterable<? extends context.ContextOuterClass.Topology> values) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, topologies_);
onChanged();
} else {
topologiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder clearTopologies() {
if (topologiesBuilder_ == null) {
topologies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
topologiesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder removeTopologies(int index) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.remove(index);
onChanged();
} else {
topologiesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder getTopologiesBuilder(
int index) {
return getTopologiesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
int index) {
if (topologiesBuilder_ == null) {
return topologies_.get(index); } else {
return topologiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder>
getTopologiesOrBuilderList() {
if (topologiesBuilder_ != null) {
return topologiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(topologies_);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder addTopologiesBuilder() {
return getTopologiesFieldBuilder().addBuilder(
context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder addTopologiesBuilder(
int index) {
return getTopologiesFieldBuilder().addBuilder(
index, context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Topology.Builder>
getTopologiesBuilderList() {
return getTopologiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder>
getTopologiesFieldBuilder() {
if (topologiesBuilder_ == null) {
topologiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder>(
topologies_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
topologies_ = null;
}
return topologiesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyList)
}
// @@protoc_insertion_point(class_scope:context.TopologyList)
private static final context.ContextOuterClass.TopologyList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyList();
}
public static context.ContextOuterClass.TopologyList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyList>
PARSER = new com.google.protobuf.AbstractParser<TopologyList>() {
@java.lang.Override
public TopologyList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TopologyList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TopologyList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.TopologyEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
context.ContextOuterClass.Event getEvent();
/**
* <code>.context.Event event = 1;</code>
*/
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
boolean hasTopologyId();
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
context.ContextOuterClass.TopologyId getTopologyId();
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
}
/**
* Protobuf type {@code context.TopologyEvent}
*/
public static final class TopologyEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.TopologyEvent)
TopologyEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyEvent.newBuilder() to construct.
private TopologyEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TopologyEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TopologyEvent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.TopologyId.Builder subBuilder = null;
if (topologyId_ != null) {
subBuilder = topologyId_.toBuilder();
}
topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(topologyId_);
topologyId_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyEvent.class, context.ContextOuterClass.TopologyEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
@java.lang.Override
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
* <code>.context.Event event = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
}
public static final int TOPOLOGY_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.TopologyId topologyId_;
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
@java.lang.Override
public boolean hasTopologyId() {
return topologyId_ != null;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyId() {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
return getTopologyId();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (topologyId_ != null) {
output.writeMessage(2, getTopologyId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
}
if (topologyId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTopologyId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyEvent other = (context.ContextOuterClass.TopologyEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasTopologyId() != other.hasTopologyId()) return false;
if (hasTopologyId()) {
if (!getTopologyId()
.equals(other.getTopologyId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasTopologyId()) {
hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.TopologyEvent)
context.ContextOuterClass.TopologyEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.TopologyEvent.class, context.ContextOuterClass.TopologyEvent.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
} else {
event_ = null;
eventBuilder_ = null;
}
if (topologyIdBuilder_ == null) {
topologyId_ = null;
} else {
topologyId_ = null;
topologyIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent build() {
context.ContextOuterClass.TopologyEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent buildPartial() {
context.ContextOuterClass.TopologyEvent result = new context.ContextOuterClass.TopologyEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
if (topologyIdBuilder_ == null) {
result.topologyId_ = topologyId_;
} else {
result.topologyId_ = topologyIdBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyEvent) {
return mergeFrom((context.ContextOuterClass.TopologyEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyEvent other) {
if (other == context.ContextOuterClass.TopologyEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasTopologyId()) {
mergeTopologyId(other.getTopologyId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.TopologyEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.TopologyEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
onChanged();
} else {
event_ = null;
eventBuilder_ = null;
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
* <code>.context.Event event = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
private context.ContextOuterClass.TopologyId topologyId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
public boolean hasTopologyId() {
return topologyIdBuilder_ != null || topologyId_ != null;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
public context.ContextOuterClass.TopologyId getTopologyId() {
if (topologyIdBuilder_ == null) {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
} else {
return topologyIdBuilder_.getMessage();
}
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
topologyId_ = value;
onChanged();
} else {
topologyIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder setTopologyId(
context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdBuilder_ == null) {
topologyId_ = builderForValue.build();
onChanged();
} else {
topologyIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
if (topologyId_ != null) {
topologyId_ =
context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
} else {
topologyId_ = value;
}
onChanged();
} else {
topologyIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder clearTopologyId() {
if (topologyIdBuilder_ == null) {
topologyId_ = null;
onChanged();
} else {
topologyId_ = null;
topologyIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
onChanged();
return getTopologyIdFieldBuilder().getBuilder();
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
if (topologyIdBuilder_ != null) {
return topologyIdBuilder_.getMessageOrBuilder();
} else {
return topologyId_ == null ?
context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdFieldBuilder() {
if (topologyIdBuilder_ == null) {
topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
getTopologyId(),
getParentForChildren(),
isClean());
topologyId_ = null;
}
return topologyIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyEvent)
}
// @@protoc_insertion_point(class_scope:context.TopologyEvent)
private static final context.ContextOuterClass.TopologyEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyEvent();
}
public static context.ContextOuterClass.TopologyEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyEvent>
PARSER = new com.google.protobuf.AbstractParser<TopologyEvent>() {
@java.lang.Override
public TopologyEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TopologyEvent(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TopologyEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.DeviceId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
boolean hasDeviceUuid();
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
context.ContextOuterClass.Uuid getDeviceUuid();
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder();
}
/**
* <pre>
* ----- Device --------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.DeviceId}
*/
public static final class DeviceId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.DeviceId)
DeviceIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceId.newBuilder() to construct.
private DeviceId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeviceId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeviceId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (deviceUuid_ != null) {
subBuilder = deviceUuid_.toBuilder();
}
deviceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceUuid_);
deviceUuid_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class);
}
public static final int DEVICE_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid deviceUuid_;
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
@java.lang.Override
public boolean hasDeviceUuid() {
return deviceUuid_ != null;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
@java.lang.Override
public context.ContextOuterClass.Uuid getDeviceUuid() {
return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
return getDeviceUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (deviceUuid_ != null) {
output.writeMessage(1, getDeviceUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (deviceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getDeviceUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceId)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceId other = (context.ContextOuterClass.DeviceId) obj;
if (hasDeviceUuid() != other.hasDeviceUuid()) return false;
if (hasDeviceUuid()) {
if (!getDeviceUuid()
.equals(other.getDeviceUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDeviceUuid()) {
hash = (37 * hash) + DEVICE_UUID_FIELD_NUMBER;
hash = (53 * hash) + getDeviceUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Device --------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.DeviceId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.DeviceId)
context.ContextOuterClass.DeviceIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (deviceUuidBuilder_ == null) {
deviceUuid_ = null;
} else {
deviceUuid_ = null;
deviceUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceId getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceId build() {
context.ContextOuterClass.DeviceId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceId buildPartial() {
context.ContextOuterClass.DeviceId result = new context.ContextOuterClass.DeviceId(this);
if (deviceUuidBuilder_ == null) {
result.deviceUuid_ = deviceUuid_;
} else {
result.deviceUuid_ = deviceUuidBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceId) {
return mergeFrom((context.ContextOuterClass.DeviceId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceId other) {
if (other == context.ContextOuterClass.DeviceId.getDefaultInstance()) return this;
if (other.hasDeviceUuid()) {
mergeDeviceUuid(other.getDeviceUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.DeviceId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.DeviceId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Uuid deviceUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> deviceUuidBuilder_;
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
public boolean hasDeviceUuid() {
return deviceUuidBuilder_ != null || deviceUuid_ != null;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
public context.ContextOuterClass.Uuid getDeviceUuid() {
if (deviceUuidBuilder_ == null) {
return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
} else {
return deviceUuidBuilder_.getMessage();
}
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public Builder setDeviceUuid(context.ContextOuterClass.Uuid value) {
if (deviceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceUuid_ = value;
onChanged();
} else {
deviceUuidBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public Builder setDeviceUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (deviceUuidBuilder_ == null) {
deviceUuid_ = builderForValue.build();
onChanged();
} else {
deviceUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public Builder mergeDeviceUuid(context.ContextOuterClass.Uuid value) {
if (deviceUuidBuilder_ == null) {
if (deviceUuid_ != null) {
deviceUuid_ =
context.ContextOuterClass.Uuid.newBuilder(deviceUuid_).mergeFrom(value).buildPartial();
} else {
deviceUuid_ = value;
}
onChanged();
} else {
deviceUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public Builder clearDeviceUuid() {
if (deviceUuidBuilder_ == null) {
deviceUuid_ = null;
onChanged();
} else {
deviceUuid_ = null;
deviceUuidBuilder_ = null;
}
return this;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public context.ContextOuterClass.Uuid.Builder getDeviceUuidBuilder() {
onChanged();
return getDeviceUuidFieldBuilder().getBuilder();
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
if (deviceUuidBuilder_ != null) {
return deviceUuidBuilder_.getMessageOrBuilder();
} else {
return deviceUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
}
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getDeviceUuidFieldBuilder() {
if (deviceUuidBuilder_ == null) {
deviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getDeviceUuid(),
getParentForChildren(),
isClean());
deviceUuid_ = null;
}
return deviceUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.DeviceId)
}
// @@protoc_insertion_point(class_scope:context.DeviceId)
private static final context.ContextOuterClass.DeviceId DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceId();
}
public static context.ContextOuterClass.DeviceId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DeviceId>
PARSER = new com.google.protobuf.AbstractParser<DeviceId>() {
@java.lang.Override
public DeviceId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeviceId(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DeviceId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeviceId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.DeviceId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Device)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return Whether the deviceId field is set.
*/
boolean hasDeviceId();
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return The deviceId.
*/
context.ContextOuterClass.DeviceId getDeviceId();
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
/**
* <code>string device_type = 2;</code>
* @return The deviceType.
*/
java.lang.String getDeviceType();
/**
* <code>string device_type = 2;</code>
* @return The bytes for deviceType.
*/
com.google.protobuf.ByteString
getDeviceTypeBytes();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
boolean hasDeviceConfig();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
context.ContextOuterClass.DeviceConfig getDeviceConfig();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The enum numeric value on the wire for deviceOperationalStatus.
*/
int getDeviceOperationalStatusValue();
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The deviceOperationalStatus.
*/
context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus();
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the deviceDrivers.
*/
java.util.List<context.ContextOuterClass.DeviceDriverEnum> getDeviceDriversList();
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return The count of deviceDrivers.
*/
int getDeviceDriversCount();
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the element to return.
* @return The deviceDrivers at the given index.
*/
context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index);
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the enum numeric values on the wire for deviceDrivers.
*/
java.util.List<java.lang.Integer>
getDeviceDriversValueList();
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the value to return.
* @return The enum numeric value on the wire of deviceDrivers at the given index.
*/
int getDeviceDriversValue(int index);
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
java.util.List<context.ContextOuterClass.EndPoint>
getDeviceEndpointsList();
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
context.ContextOuterClass.EndPoint getDeviceEndpoints(int index);
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
int getDeviceEndpointsCount();
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
java.util.List<? extends context.ContextOuterClass.EndPointOrBuilder>
getDeviceEndpointsOrBuilderList();
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.Device}
*/
public static final class Device extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Device)
DeviceOrBuilder {
private static final long serialVersionUID = 0L;
// Use Device.newBuilder() to construct.
private Device(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Device() {
deviceType_ = "";
deviceOperationalStatus_ = 0;
deviceDrivers_ = java.util.Collections.emptyList();
deviceEndpoints_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Device();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Device(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.DeviceId.Builder subBuilder = null;
if (deviceId_ != null) {
subBuilder = deviceId_.toBuilder();
}
deviceId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceId_);
deviceId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
deviceType_ = s;
break;
}
case 26: {
context.ContextOuterClass.DeviceConfig.Builder subBuilder = null;
if (deviceConfig_ != null) {
subBuilder = deviceConfig_.toBuilder();
}
deviceConfig_ = input.readMessage(context.ContextOuterClass.DeviceConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceConfig_);
deviceConfig_ = subBuilder.buildPartial();
}
break;
}
case 32: {
int rawValue = input.readEnum();
deviceOperationalStatus_ = rawValue;
break;
}
case 40: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deviceDrivers_ = new java.util.ArrayList<java.lang.Integer>();
mutable_bitField0_ |= 0x00000001;
}
deviceDrivers_.add(rawValue);
break;
}
case 42: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deviceDrivers_ = new java.util.ArrayList<java.lang.Integer>();
mutable_bitField0_ |= 0x00000001;
}
deviceDrivers_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
deviceEndpoints_ = new java.util.ArrayList<context.ContextOuterClass.EndPoint>();
mutable_bitField0_ |= 0x00000002;
}
deviceEndpoints_.add(
input.readMessage(context.ContextOuterClass.EndPoint.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deviceDrivers_ = java.util.Collections.unmodifiableList(deviceDrivers_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
deviceEndpoints_ = java.util.Collections.unmodifiableList(deviceEndpoints_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Device_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Device_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Device.class, context.ContextOuterClass.Device.Builder.class);
}
public static final int DEVICE_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.DeviceId deviceId_;
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return Whether the deviceId field is set.
*/
@java.lang.Override
public boolean hasDeviceId() {
return deviceId_ != null;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return The deviceId.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceId() {
return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
return getDeviceId();
}
public static final int DEVICE_TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object deviceType_;
/**
* <code>string device_type = 2;</code>
* @return The deviceType.
*/
@java.lang.Override
public java.lang.String getDeviceType() {
java.lang.Object ref = deviceType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deviceType_ = s;
return s;
}
}
/**
* <code>string device_type = 2;</code>
* @return The bytes for deviceType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeviceTypeBytes() {
java.lang.Object ref = deviceType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEVICE_CONFIG_FIELD_NUMBER = 3;
private context.ContextOuterClass.DeviceConfig deviceConfig_;
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
@java.lang.Override
public boolean hasDeviceConfig() {
return deviceConfig_ != null;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
return getDeviceConfig();
}
public static final int DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER = 4;
private int deviceOperationalStatus_;
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The enum numeric value on the wire for deviceOperationalStatus.
*/
@java.lang.Override public int getDeviceOperationalStatusValue() {
return deviceOperationalStatus_;
}
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The deviceOperationalStatus.
*/
@java.lang.Override public context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.DeviceOperationalStatusEnum result = context.ContextOuterClass.DeviceOperationalStatusEnum.valueOf(deviceOperationalStatus_);
return result == null ? context.ContextOuterClass.DeviceOperationalStatusEnum.UNRECOGNIZED : result;
}
public static final int DEVICE_DRIVERS_FIELD_NUMBER = 5;
private java.util.List<java.lang.Integer> deviceDrivers_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, context.ContextOuterClass.DeviceDriverEnum> deviceDrivers_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, context.ContextOuterClass.DeviceDriverEnum>() {
public context.ContextOuterClass.DeviceDriverEnum convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
context.ContextOuterClass.DeviceDriverEnum result = context.ContextOuterClass.DeviceDriverEnum.valueOf(from);
return result == null ? context.ContextOuterClass.DeviceDriverEnum.UNRECOGNIZED : result;
}
};
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the deviceDrivers.
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.DeviceDriverEnum> getDeviceDriversList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, context.ContextOuterClass.DeviceDriverEnum>(deviceDrivers_, deviceDrivers_converter_);
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return The count of deviceDrivers.
*/
@java.lang.Override
public int getDeviceDriversCount() {
return deviceDrivers_.size();
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the element to return.
* @return The deviceDrivers at the given index.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the enum numeric values on the wire for deviceDrivers.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getDeviceDriversValueList() {
return deviceDrivers_;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the value to return.
* @return The enum numeric value on the wire of deviceDrivers at the given index.
*/
@java.lang.Override
public int getDeviceDriversValue(int index) {
return deviceDrivers_.get(index);
}
private int deviceDriversMemoizedSerializedSize;
public static final int DEVICE_ENDPOINTS_FIELD_NUMBER = 6;
private java.util.List<context.ContextOuterClass.EndPoint> deviceEndpoints_;
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.EndPoint> getDeviceEndpointsList() {
return deviceEndpoints_;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.EndPointOrBuilder>
getDeviceEndpointsOrBuilderList() {
return deviceEndpoints_;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
@java.lang.Override
public int getDeviceEndpointsCount() {
return deviceEndpoints_.size();
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
return deviceEndpoints_.get(index);
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
int index) {
return deviceEndpoints_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (deviceId_ != null) {
output.writeMessage(1, getDeviceId());
}
if (!getDeviceTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deviceType_);
}
if (deviceConfig_ != null) {
output.writeMessage(3, getDeviceConfig());
}
if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
output.writeEnum(4, deviceOperationalStatus_);
}
if (getDeviceDriversList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(deviceDriversMemoizedSerializedSize);
}
for (int i = 0; i < deviceDrivers_.size(); i++) {
output.writeEnumNoTag(deviceDrivers_.get(i));
}
for (int i = 0; i < deviceEndpoints_.size(); i++) {
output.writeMessage(6, deviceEndpoints_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (deviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getDeviceId());
}
if (!getDeviceTypeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deviceType_);
}
if (deviceConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDeviceConfig());
}
if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, deviceOperationalStatus_);
}
{
int dataSize = 0;
for (int i = 0; i < deviceDrivers_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(deviceDrivers_.get(i));
}
size += dataSize;
if (!getDeviceDriversList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}deviceDriversMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < deviceEndpoints_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, deviceEndpoints_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Device)) {
return super.equals(obj);
}
context.ContextOuterClass.Device other = (context.ContextOuterClass.Device) obj;
if (hasDeviceId() != other.hasDeviceId()) return false;
if (hasDeviceId()) {
if (!getDeviceId()
.equals(other.getDeviceId())) return false;
}
if (!getDeviceType()
.equals(other.getDeviceType())) return false;
if (hasDeviceConfig() != other.hasDeviceConfig()) return false;
if (hasDeviceConfig()) {
if (!getDeviceConfig()
.equals(other.getDeviceConfig())) return false;
}
if (deviceOperationalStatus_ != other.deviceOperationalStatus_) return false;
if (!deviceDrivers_.equals(other.deviceDrivers_)) return false;
if (!getDeviceEndpointsList()
.equals(other.getDeviceEndpointsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDeviceId()) {
hash = (37 * hash) + DEVICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getDeviceId().hashCode();
}
hash = (37 * hash) + DEVICE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getDeviceType().hashCode();
if (hasDeviceConfig()) {
hash = (37 * hash) + DEVICE_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getDeviceConfig().hashCode();
}
hash = (37 * hash) + DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER;
hash = (53 * hash) + deviceOperationalStatus_;
if (getDeviceDriversCount() > 0) {
hash = (37 * hash) + DEVICE_DRIVERS_FIELD_NUMBER;
hash = (53 * hash) + deviceDrivers_.hashCode();
}
if (getDeviceEndpointsCount() > 0) {
hash = (37 * hash) + DEVICE_ENDPOINTS_FIELD_NUMBER;
hash = (53 * hash) + getDeviceEndpointsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Device parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Device parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Device parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Device parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Device parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Device parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Device parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Device parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Device prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Device}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Device)
context.ContextOuterClass.DeviceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Device_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Device_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Device.class, context.ContextOuterClass.Device.Builder.class);
}
// Construct using context.ContextOuterClass.Device.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeviceEndpointsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (deviceIdBuilder_ == null) {
deviceId_ = null;
} else {
deviceId_ = null;
deviceIdBuilder_ = null;
}
deviceType_ = "";
if (deviceConfigBuilder_ == null) {
deviceConfig_ = null;
} else {
deviceConfig_ = null;
deviceConfigBuilder_ = null;
}
deviceOperationalStatus_ = 0;
deviceDrivers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (deviceEndpointsBuilder_ == null) {
deviceEndpoints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
deviceEndpointsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Device_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Device getDefaultInstanceForType() {
return context.ContextOuterClass.Device.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Device build() {
context.ContextOuterClass.Device result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Device buildPartial() {
context.ContextOuterClass.Device result = new context.ContextOuterClass.Device(this);
int from_bitField0_ = bitField0_;
if (deviceIdBuilder_ == null) {
result.deviceId_ = deviceId_;
} else {
result.deviceId_ = deviceIdBuilder_.build();
}
result.deviceType_ = deviceType_;
if (deviceConfigBuilder_ == null) {
result.deviceConfig_ = deviceConfig_;
} else {
result.deviceConfig_ = deviceConfigBuilder_.build();
}
result.deviceOperationalStatus_ = deviceOperationalStatus_;
if (((bitField0_ & 0x00000001) != 0)) {
deviceDrivers_ = java.util.Collections.unmodifiableList(deviceDrivers_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deviceDrivers_ = deviceDrivers_;
if (deviceEndpointsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
deviceEndpoints_ = java.util.Collections.unmodifiableList(deviceEndpoints_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.deviceEndpoints_ = deviceEndpoints_;
} else {
result.deviceEndpoints_ = deviceEndpointsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Device) {
return mergeFrom((context.ContextOuterClass.Device)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Device other) {
if (other == context.ContextOuterClass.Device.getDefaultInstance()) return this;
if (other.hasDeviceId()) {
mergeDeviceId(other.getDeviceId());
}
if (!other.getDeviceType().isEmpty()) {
deviceType_ = other.deviceType_;
onChanged();
}
if (other.hasDeviceConfig()) {
mergeDeviceConfig(other.getDeviceConfig());
}
if (other.deviceOperationalStatus_ != 0) {
setDeviceOperationalStatusValue(other.getDeviceOperationalStatusValue());
}
if (!other.deviceDrivers_.isEmpty()) {
if (deviceDrivers_.isEmpty()) {
deviceDrivers_ = other.deviceDrivers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeviceDriversIsMutable();
deviceDrivers_.addAll(other.deviceDrivers_);
}
onChanged();
}
if (deviceEndpointsBuilder_ == null) {
if (!other.deviceEndpoints_.isEmpty()) {
if (deviceEndpoints_.isEmpty()) {
deviceEndpoints_ = other.deviceEndpoints_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.addAll(other.deviceEndpoints_);
}
onChanged();
}
} else {
if (!other.deviceEndpoints_.isEmpty()) {
if (deviceEndpointsBuilder_.isEmpty()) {
deviceEndpointsBuilder_.dispose();
deviceEndpointsBuilder_ = null;
deviceEndpoints_ = other.deviceEndpoints_;
bitField0_ = (bitField0_ & ~0x00000002);
deviceEndpointsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeviceEndpointsFieldBuilder() : null;
} else {
deviceEndpointsBuilder_.addAllMessages(other.deviceEndpoints_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Device parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Device) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private context.ContextOuterClass.DeviceId deviceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdBuilder_;
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return Whether the deviceId field is set.
*/
public boolean hasDeviceId() {
return deviceIdBuilder_ != null || deviceId_ != null;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
* @return The deviceId.
*/
public context.ContextOuterClass.DeviceId getDeviceId() {
if (deviceIdBuilder_ == null) {
return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
} else {
return deviceIdBuilder_.getMessage();
}
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
if (deviceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceId_ = value;
onChanged();
} else {
deviceIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public Builder setDeviceId(
context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdBuilder_ == null) {
deviceId_ = builderForValue.build();
onChanged();
} else {
deviceIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public Builder mergeDeviceId(context.ContextOuterClass.DeviceId value) {
if (deviceIdBuilder_ == null) {
if (deviceId_ != null) {
deviceId_ =
context.ContextOuterClass.DeviceId.newBuilder(deviceId_).mergeFrom(value).buildPartial();
} else {
deviceId_ = value;
}
onChanged();
} else {
deviceIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public Builder clearDeviceId() {
if (deviceIdBuilder_ == null) {
deviceId_ = null;
onChanged();
} else {
deviceId_ = null;
deviceIdBuilder_ = null;
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
}
return this;
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
onChanged();
return getDeviceIdFieldBuilder().getBuilder();
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
if (deviceIdBuilder_ != null) {
return deviceIdBuilder_.getMessageOrBuilder();
} else {
return deviceId_ == null ?
context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
}
/**
* <code>.context.DeviceId device_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdFieldBuilder() {
if (deviceIdBuilder_ == null) {
deviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
getDeviceId(),
getParentForChildren(),
isClean());
deviceId_ = null;
}
return deviceIdBuilder_;
}
private java.lang.Object deviceType_ = "";
/**
* <code>string device_type = 2;</code>
* @return The deviceType.
*/
public java.lang.String getDeviceType() {
java.lang.Object ref = deviceType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deviceType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string device_type = 2;</code>
* @return The bytes for deviceType.
*/
public com.google.protobuf.ByteString
getDeviceTypeBytes() {
java.lang.Object ref = deviceType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string device_type = 2;</code>
* @param value The deviceType to set.
* @return This builder for chaining.
*/
public Builder setDeviceType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
deviceType_ = value;
onChanged();
return this;
}
/**
* <code>string device_type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDeviceType() {
deviceType_ = getDefaultInstance().getDeviceType();
onChanged();
return this;
}
/**
* <code>string device_type = 2;</code>
* @param value The bytes for deviceType to set.
* @return This builder for chaining.
*/
public Builder setDeviceTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
deviceType_ = value;
onChanged();
return this;
}
private context.ContextOuterClass.DeviceConfig deviceConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder> deviceConfigBuilder_;
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
public boolean hasDeviceConfig() {
return deviceConfigBuilder_ != null || deviceConfig_ != null;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
if (deviceConfigBuilder_ == null) {
return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
} else {
return deviceConfigBuilder_.getMessage();
}
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder setDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
if (deviceConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceConfig_ = value;
onChanged();
} else {
deviceConfigBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder setDeviceConfig(
context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
if (deviceConfigBuilder_ == null) {
deviceConfig_ = builderForValue.build();
onChanged();
} else {
deviceConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder mergeDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
if (deviceConfigBuilder_ == null) {
if (deviceConfig_ != null) {
deviceConfig_ =
context.ContextOuterClass.DeviceConfig.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
} else {
deviceConfig_ = value;
}
onChanged();
} else {
deviceConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder clearDeviceConfig() {
if (deviceConfigBuilder_ == null) {
deviceConfig_ = null;
onChanged();
} else {
deviceConfig_ = null;
deviceConfigBuilder_ = null;
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
onChanged();
return getDeviceConfigFieldBuilder().getBuilder();
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
if (deviceConfigBuilder_ != null) {
return deviceConfigBuilder_.getMessageOrBuilder();
} else {
return deviceConfig_ == null ?
context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
}
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>
getDeviceConfigFieldBuilder() {
if (deviceConfigBuilder_ == null) {
deviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>(
getDeviceConfig(),
getParentForChildren(),
isClean());
deviceConfig_ = null;
}
return deviceConfigBuilder_;
}
private int deviceOperationalStatus_ = 0;
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The enum numeric value on the wire for deviceOperationalStatus.
*/
@java.lang.Override public int getDeviceOperationalStatusValue() {
return deviceOperationalStatus_;
}
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @param value The enum numeric value on the wire for deviceOperationalStatus to set.
* @return This builder for chaining.
*/
public Builder setDeviceOperationalStatusValue(int value) {
deviceOperationalStatus_ = value;
onChanged();
return this;
}
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return The deviceOperationalStatus.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.DeviceOperationalStatusEnum result = context.ContextOuterClass.DeviceOperationalStatusEnum.valueOf(deviceOperationalStatus_);
return result == null ? context.ContextOuterClass.DeviceOperationalStatusEnum.UNRECOGNIZED : result;
}
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @param value The deviceOperationalStatus to set.
* @return This builder for chaining.
*/
public Builder setDeviceOperationalStatus(context.ContextOuterClass.DeviceOperationalStatusEnum value) {
if (value == null) {
throw new NullPointerException();
}
deviceOperationalStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.context.DeviceOperationalStatusEnum device_operational_status = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDeviceOperationalStatus() {
deviceOperationalStatus_ = 0;
onChanged();
return this;
}
private java.util.List<java.lang.Integer> deviceDrivers_ =
java.util.Collections.emptyList();
private void ensureDeviceDriversIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deviceDrivers_ = new java.util.ArrayList<java.lang.Integer>(deviceDrivers_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the deviceDrivers.
*/
public java.util.List<context.ContextOuterClass.DeviceDriverEnum> getDeviceDriversList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, context.ContextOuterClass.DeviceDriverEnum>(deviceDrivers_, deviceDrivers_converter_);
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return The count of deviceDrivers.
*/
public int getDeviceDriversCount() {
return deviceDrivers_.size();
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the element to return.
* @return The deviceDrivers at the given index.
*/
public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index to set the value at.
* @param value The deviceDrivers to set.
* @return This builder for chaining.
*/
public Builder setDeviceDrivers(
int index, context.ContextOuterClass.DeviceDriverEnum value) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceDriversIsMutable();
deviceDrivers_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param value The deviceDrivers to add.
* @return This builder for chaining.
*/
public Builder addDeviceDrivers(context.ContextOuterClass.DeviceDriverEnum value) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceDriversIsMutable();
deviceDrivers_.add(value.getNumber());
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param values The deviceDrivers to add.
* @return This builder for chaining.
*/
public Builder addAllDeviceDrivers(
java.lang.Iterable<? extends context.ContextOuterClass.DeviceDriverEnum> values) {
ensureDeviceDriversIsMutable();
for (context.ContextOuterClass.DeviceDriverEnum value : values) {
deviceDrivers_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDeviceDrivers() {
deviceDrivers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @return A list containing the enum numeric values on the wire for deviceDrivers.
*/
public java.util.List<java.lang.Integer>
getDeviceDriversValueList() {
return java.util.Collections.unmodifiableList(deviceDrivers_);
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the value to return.
* @return The enum numeric value on the wire of deviceDrivers at the given index.
*/
public int getDeviceDriversValue(int index) {
return deviceDrivers_.get(index);
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param index The index of the value to return.
* @return The enum numeric value on the wire of deviceDrivers at the given index.
* @return This builder for chaining.
*/
public Builder setDeviceDriversValue(
int index, int value) {
ensureDeviceDriversIsMutable();
deviceDrivers_.set(index, value);
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param value The enum numeric value on the wire for deviceDrivers to add.
* @return This builder for chaining.
*/
public Builder addDeviceDriversValue(int value) {
ensureDeviceDriversIsMutable();
deviceDrivers_.add(value);
onChanged();
return this;
}
/**
* <code>repeated .context.DeviceDriverEnum device_drivers = 5;</code>
* @param values The enum numeric values on the wire for deviceDrivers to add.
* @return This builder for chaining.
*/
public Builder addAllDeviceDriversValue(
java.lang.Iterable<java.lang.Integer> values) {
ensureDeviceDriversIsMutable();
for (int value : values) {
deviceDrivers_.add(value);
}
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.EndPoint> deviceEndpoints_ =
java.util.Collections.emptyList();
private void ensureDeviceEndpointsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
deviceEndpoints_ = new java.util.ArrayList<context.ContextOuterClass.EndPoint>(deviceEndpoints_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPoint, context.ContextOuterClass.EndPoint.Builder, context.ContextOuterClass.EndPointOrBuilder> deviceEndpointsBuilder_;
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public java.util.List<context.ContextOuterClass.EndPoint> getDeviceEndpointsList() {
if (deviceEndpointsBuilder_ == null) {
return java.util.Collections.unmodifiableList(deviceEndpoints_);
} else {
return deviceEndpointsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public int getDeviceEndpointsCount() {
if (deviceEndpointsBuilder_ == null) {
return deviceEndpoints_.size();
} else {
return deviceEndpointsBuilder_.getCount();
}
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
if (deviceEndpointsBuilder_ == null) {
return deviceEndpoints_.get(index);
} else {
return deviceEndpointsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder setDeviceEndpoints(
int index, context.ContextOuterClass.EndPoint value) {
if (deviceEndpointsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.set(index, value);
onChanged();
} else {
deviceEndpointsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder setDeviceEndpoints(
int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
if (deviceEndpointsBuilder_ == null) {
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.set(index, builderForValue.build());
onChanged();
} else {
deviceEndpointsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder addDeviceEndpoints(context.ContextOuterClass.EndPoint value) {
if (deviceEndpointsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.add(value);
onChanged();
} else {
deviceEndpointsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder addDeviceEndpoints(
int index, context.ContextOuterClass.EndPoint value) {
if (deviceEndpointsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.add(index, value);
onChanged();
} else {
deviceEndpointsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder addDeviceEndpoints(
context.ContextOuterClass.EndPoint.Builder builderForValue) {
if (deviceEndpointsBuilder_ == null) {
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.add(builderForValue.build());
onChanged();
} else {
deviceEndpointsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder addDeviceEndpoints(
int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
if (deviceEndpointsBuilder_ == null) {
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.add(index, builderForValue.build());
onChanged();
} else {
deviceEndpointsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder addAllDeviceEndpoints(
java.lang.Iterable<? extends context.ContextOuterClass.EndPoint> values) {
if (deviceEndpointsBuilder_ == null) {
ensureDeviceEndpointsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deviceEndpoints_);
onChanged();
} else {
deviceEndpointsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder clearDeviceEndpoints() {
if (deviceEndpointsBuilder_ == null) {
deviceEndpoints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
deviceEndpointsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public Builder removeDeviceEndpoints(int index) {
if (deviceEndpointsBuilder_ == null) {
ensureDeviceEndpointsIsMutable();
deviceEndpoints_.remove(index);
onChanged();
} else {
deviceEndpointsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public context.ContextOuterClass.EndPoint.Builder getDeviceEndpointsBuilder(
int index) {
return getDeviceEndpointsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
int index) {
if (deviceEndpointsBuilder_ == null) {
return deviceEndpoints_.get(index); } else {
return deviceEndpointsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public java.util.List<? extends context.ContextOuterClass.EndPointOrBuilder>
getDeviceEndpointsOrBuilderList() {
if (deviceEndpointsBuilder_ != null) {
return deviceEndpointsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deviceEndpoints_);
}
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder() {
return getDeviceEndpointsFieldBuilder().addBuilder(
context.ContextOuterClass.EndPoint.getDefaultInstance());
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder(
int index) {
return getDeviceEndpointsFieldBuilder().addBuilder(
index, context.ContextOuterClass.EndPoint.getDefaultInstance());
}
/**
* <code>repeated .context.EndPoint device_endpoints = 6;</code>
*/
public java.util.List<context.ContextOuterClass.EndPoint.Builder>
getDeviceEndpointsBuilderList() {
return getDeviceEndpointsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPoint, context.ContextOuterClass.EndPoint.Builder, context.ContextOuterClass.EndPointOrBuilder>
getDeviceEndpointsFieldBuilder() {
if (deviceEndpointsBuilder_ == null) {
deviceEndpointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPoint, context.ContextOuterClass.EndPoint.Builder, context.ContextOuterClass.EndPointOrBuilder>(
deviceEndpoints_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
deviceEndpoints_ = null;
}
return deviceEndpointsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Device)
}
// @@protoc_insertion_point(class_scope:context.Device)
private static final context.ContextOuterClass.Device DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Device();
}
public static context.ContextOuterClass.Device getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Device>
PARSER = new com.google.protobuf.AbstractParser<Device>() {
@java.lang.Override
public Device parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Device(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Device> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Device> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Device getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.DeviceConfig)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
java.util.List<context.ContextOuterClass.ConfigRule>
getConfigRulesList();
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
context.ContextOuterClass.ConfigRule getConfigRules(int index);
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
int getConfigRulesCount();
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList();
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index);
}
/**
* Protobuf type {@code context.DeviceConfig}
*/
public static final class DeviceConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.DeviceConfig)
DeviceConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceConfig.newBuilder() to construct.
private DeviceConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceConfig() {
configRules_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeviceConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeviceConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>();
mutable_bitField0_ |= 0x00000001;
}
configRules_.add(
input.readMessage(context.ContextOuterClass.ConfigRule.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceConfig.class, context.ContextOuterClass.DeviceConfig.Builder.class);
}
public static final int CONFIG_RULES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_;
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
return configRules_;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
return configRules_;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public int getConfigRulesCount() {
return configRules_.size();
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
return configRules_.get(index);
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
return configRules_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < configRules_.size(); i++) {
output.writeMessage(1, configRules_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < configRules_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, configRules_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceConfig)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceConfig other = (context.ContextOuterClass.DeviceConfig) obj;
if (!getConfigRulesList()
.equals(other.getConfigRulesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getConfigRulesCount() > 0) {
hash = (37 * hash) + CONFIG_RULES_FIELD_NUMBER;
hash = (53 * hash) + getConfigRulesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.DeviceConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.DeviceConfig)
context.ContextOuterClass.DeviceConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceConfig.class, context.ContextOuterClass.DeviceConfig.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConfigRulesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
configRulesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceConfig_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceConfig getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceConfig.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceConfig build() {
context.ContextOuterClass.DeviceConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceConfig buildPartial() {
context.ContextOuterClass.DeviceConfig result = new context.ContextOuterClass.DeviceConfig(this);
int from_bitField0_ = bitField0_;
if (configRulesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configRules_ = configRules_;
} else {
result.configRules_ = configRulesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceConfig) {
return mergeFrom((context.ContextOuterClass.DeviceConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceConfig other) {
if (other == context.ContextOuterClass.DeviceConfig.getDefaultInstance()) return this;
if (configRulesBuilder_ == null) {
if (!other.configRules_.isEmpty()) {
if (configRules_.isEmpty()) {
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigRulesIsMutable();
configRules_.addAll(other.configRules_);
}
onChanged();
}
} else {
if (!other.configRules_.isEmpty()) {
if (configRulesBuilder_.isEmpty()) {
configRulesBuilder_.dispose();
configRulesBuilder_ = null;
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigRulesFieldBuilder() : null;
} else {
configRulesBuilder_.addAllMessages(other.configRules_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.DeviceConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.DeviceConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_ =
java.util.Collections.emptyList();
private void ensureConfigRulesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>(configRules_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder> configRulesBuilder_;
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
if (configRulesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configRules_);
} else {
return configRulesBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public int getConfigRulesCount() {
if (configRulesBuilder_ == null) {
return configRules_.size();
} else {
return configRulesBuilder_.getCount();
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index);
} else {
return configRulesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.set(index, value);
onChanged();
} else {
configRulesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.set(index, builderForValue.build());
onChanged();
} else {
configRulesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.add(value);
onChanged();
} else {
configRulesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.add(index, value);
onChanged();
} else {
configRulesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(builderForValue.build());
onChanged();
} else {
configRulesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(index, builderForValue.build());
onChanged();
} else {
configRulesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addAllConfigRules(
java.lang.Iterable<? extends context.ContextOuterClass.ConfigRule> values) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configRules_);
onChanged();
} else {
configRulesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder clearConfigRules() {
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
configRulesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder removeConfigRules(int index) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.remove(index);
onChanged();
} else {
configRulesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index); } else {
return configRulesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
if (configRulesBuilder_ != null) {
return configRulesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configRules_);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
return getConfigRulesFieldBuilder().addBuilder(
context.ContextOuterClass.ConfigRule.getDefaultInstance());
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().addBuilder(
index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ConfigRule.Builder>
getConfigRulesBuilderList() {
return getConfigRulesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesFieldBuilder() {
if (configRulesBuilder_ == null) {
configRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>(
configRules_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configRules_ = null;
}
return configRulesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.DeviceConfig)
}
// @@protoc_insertion_point(class_scope:context.DeviceConfig)
private static final context.ContextOuterClass.DeviceConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceConfig();
}
public static context.ContextOuterClass.DeviceConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DeviceConfig>
PARSER = new com.google.protobuf.AbstractParser<DeviceConfig>() {
@java.lang.Override
public DeviceConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeviceConfig(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DeviceConfig> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeviceConfig> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.DeviceConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.DeviceIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
java.util.List<context.ContextOuterClass.DeviceId>
getDeviceIdsList();
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
context.ContextOuterClass.DeviceId getDeviceIds(int index);
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
int getDeviceIdsCount();
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList();
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.DeviceIdList}
*/
public static final class DeviceIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.DeviceIdList)
DeviceIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceIdList.newBuilder() to construct.
private DeviceIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceIdList() {
deviceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeviceIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeviceIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>();
mutable_bitField0_ |= 0x00000001;
}
deviceIds_.add(
input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceIdList.class, context.ContextOuterClass.DeviceIdList.Builder.class);
}
public static final int DEVICE_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_;
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
@java.lang.Override
public int getDeviceIdsCount() {
return deviceIds_.size();
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
return deviceIds_.get(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
return deviceIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < deviceIds_.size(); i++) {
output.writeMessage(1, deviceIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < deviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, deviceIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceIdList other = (context.ContextOuterClass.DeviceIdList) obj;
if (!getDeviceIdsList()
.equals(other.getDeviceIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDeviceIdsCount() > 0) {
hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDeviceIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.DeviceIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.DeviceIdList)
context.ContextOuterClass.DeviceIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceIdList.class, context.ContextOuterClass.DeviceIdList.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeviceIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
deviceIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceIdList getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceIdList build() {
context.ContextOuterClass.DeviceIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceIdList buildPartial() {
context.ContextOuterClass.DeviceIdList result = new context.ContextOuterClass.DeviceIdList(this);
int from_bitField0_ = bitField0_;
if (deviceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deviceIds_ = deviceIds_;
} else {
result.deviceIds_ = deviceIdsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceIdList) {
return mergeFrom((context.ContextOuterClass.DeviceIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceIdList other) {
if (other == context.ContextOuterClass.DeviceIdList.getDefaultInstance()) return this;
if (deviceIdsBuilder_ == null) {
if (!other.deviceIds_.isEmpty()) {
if (deviceIds_.isEmpty()) {
deviceIds_ = other.deviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeviceIdsIsMutable();
deviceIds_.addAll(other.deviceIds_);
}
onChanged();
}
} else {
if (!other.deviceIds_.isEmpty()) {
if (deviceIdsBuilder_.isEmpty()) {
deviceIdsBuilder_.dispose();
deviceIdsBuilder_ = null;
deviceIds_ = other.deviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
deviceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeviceIdsFieldBuilder() : null;
} else {
deviceIdsBuilder_.addAllMessages(other.deviceIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
context.ContextOuterClass.DeviceIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.DeviceIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_ =
java.util.Collections.emptyList();
private void ensureDeviceIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>(deviceIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdsBuilder_;
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
if (deviceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(deviceIds_);
} else {
return deviceIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public int getDeviceIdsCount() {
if (deviceIdsBuilder_ == null) {
return deviceIds_.size();
} else {
return deviceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
return deviceIds_.get(index);
} else {
return deviceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.set(index, value);
onChanged();
} else {
deviceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.set(index, builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder addDeviceIds(context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.add(value);
onChanged();
} else {
deviceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeviceIdsIsMutable();
deviceIds_.add(index, value);
onChanged();
} else {
deviceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder addDeviceIds(
context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.add(builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.add(index, builderForValue.build());
onChanged();
} else {
deviceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder addAllDeviceIds(
java.lang.Iterable<? extends context.ContextOuterClass.DeviceId> values) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deviceIds_);
onChanged();
} else {
deviceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder clearDeviceIds() {
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
deviceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public Builder removeDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.remove(index);
onChanged();
} else {
deviceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
if (deviceIdsBuilder_ == null) {
return deviceIds_.get(index); } else {
return deviceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
if (deviceIdsBuilder_ != null) {
return deviceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deviceIds_);
}
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
return getDeviceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.DeviceId.Builder>
getDeviceIdsBuilderList() {
return getDeviceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsFieldBuilder() {
if (deviceIdsBuilder_ == null) {
deviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
deviceIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deviceIds_ = null;
}
return deviceIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.DeviceIdList)
}
// @@protoc_insertion_point(class_scope:context.DeviceIdList)
private static final context.ContextOuterClass.DeviceIdList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceIdList();
}
public static context.ContextOuterClass.DeviceIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DeviceIdList>
PARSER = new com.google.protobuf.AbstractParser<DeviceIdList>() {
@java.lang.Override
public DeviceIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeviceIdList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DeviceIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeviceIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.DeviceIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.DeviceList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Device devices = 1;</code>
*/
java.util.List<context.ContextOuterClass.Device>
getDevicesList();
/**
* <code>repeated .context.Device devices = 1;</code>
*/
context.ContextOuterClass.Device getDevices(int index);
/**
* <code>repeated .context.Device devices = 1;</code>
*/
int getDevicesCount();
/**
* <code>repeated .context.Device devices = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList();
/**
* <code>repeated .context.Device devices = 1;</code>
*/
context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index);
}
/**
* Protobuf type {@code context.DeviceList}
*/
public static final class DeviceList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.DeviceList)
DeviceListOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceList.newBuilder() to construct.
private DeviceList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceList() {
devices_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeviceList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeviceList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
devices_ = new java.util.ArrayList<context.ContextOuterClass.Device>();
mutable_bitField0_ |= 0x00000001;
}
devices_.add(
input.readMessage(context.ContextOuterClass.Device.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
devices_ = java.util.Collections.unmodifiableList(devices_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceList.class, context.ContextOuterClass.DeviceList.Builder.class);
}
public static final int DEVICES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Device> devices_;
/**
* <code>repeated .context.Device devices = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
return devices_;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList() {
return devices_;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
@java.lang.Override
public int getDevicesCount() {
return devices_.size();
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Device getDevices(int index) {
return devices_.get(index);
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index) {
return devices_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < devices_.size(); i++) {
output.writeMessage(1, devices_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < devices_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, devices_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceList)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceList other = (context.ContextOuterClass.DeviceList) obj;
if (!getDevicesList()
.equals(other.getDevicesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDevicesCount() > 0) {
hash = (37 * hash) + DEVICES_FIELD_NUMBER;
hash = (53 * hash) + getDevicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.DeviceList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.DeviceList)
context.ContextOuterClass.DeviceListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceList.class, context.ContextOuterClass.DeviceList.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDevicesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
devicesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceList getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceList build() {
context.ContextOuterClass.DeviceList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceList buildPartial() {
context.ContextOuterClass.DeviceList result = new context.ContextOuterClass.DeviceList(this);
int from_bitField0_ = bitField0_;
if (devicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
devices_ = java.util.Collections.unmodifiableList(devices_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.devices_ = devices_;
} else {
result.devices_ = devicesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceList) {
return mergeFrom((context.ContextOuterClass.DeviceList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceList other) {
if (other == context.ContextOuterClass.DeviceList.getDefaultInstance()) return this;
if (devicesBuilder_ == null) {
if (!other.devices_.isEmpty()) {
if (devices_.isEmpty()) {
devices_ = other.devices_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDevicesIsMutable();
devices_.addAll(other.devices_);
}
onChanged();
}
} else {
if (!other.devices_.isEmpty()) {
if (devicesBuilder_.isEmpty()) {
devicesBuilder_.dispose();
devicesBuilder_ = null;
devices_ = other.devices_;
bitField0_ = (bitField0_ & ~0x00000001);
devicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDevicesFieldBuilder() : null;
} else {
devicesBuilder_.addAllMessages(other.devices_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.DeviceList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.DeviceList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Device> devices_ =
java.util.Collections.emptyList();
private void ensureDevicesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
devices_ = new java.util.ArrayList<context.ContextOuterClass.Device>(devices_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder> devicesBuilder_;
/**
* <code>repeated .context.Device devices = 1;</code>
public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
if (devicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(devices_);
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
return devicesBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public int getDevicesCount() {
if (devicesBuilder_ == null) {
return devices_.size();
} else {
return devicesBuilder_.getCount();
}
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public context.ContextOuterClass.Device getDevices(int index) {
if (devicesBuilder_ == null) {
return devices_.get(index);
} else {
return devicesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder setDevices(
int index, context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.set(index, value);
onChanged();
} else {
devicesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder setDevices(
int index, context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.set(index, builderForValue.build());
onChanged();
} else {
devicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder addDevices(context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.add(value);
onChanged();
} else {
devicesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder addDevices(
int index, context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.add(index, value);
onChanged();
} else {
devicesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder addDevices(
context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.add(builderForValue.build());
onChanged();
} else {
devicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder addDevices(
int index, context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.add(index, builderForValue.build());
onChanged();
} else {
devicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder addAllDevices(
java.lang.Iterable<? extends context.ContextOuterClass.Device> values) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, devices_);
onChanged();
} else {
devicesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder clearDevices() {
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
devicesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public Builder removeDevices(int index) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.remove(index);
onChanged();
} else {
devicesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public context.ContextOuterClass.Device.Builder getDevicesBuilder(
int index) {
return getDevicesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index) {
if (devicesBuilder_ == null) {
return devices_.get(index); } else {
return devicesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList() {
if (devicesBuilder_ != null) {
return devicesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(devices_);
}
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public context.ContextOuterClass.Device.Builder addDevicesBuilder() {
return getDevicesFieldBuilder().addBuilder(
context.ContextOuterClass.Device.getDefaultInstance());
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public context.ContextOuterClass.Device.Builder addDevicesBuilder(
int index) {
return getDevicesFieldBuilder().addBuilder(
index, context.ContextOuterClass.Device.getDefaultInstance());
}
/**
* <code>repeated .context.Device devices = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Device.Builder>
getDevicesBuilderList() {
return getDevicesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder>
getDevicesFieldBuilder() {
if (devicesBuilder_ == null) {
devicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder>(
devices_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
devices_ = null;
}
return devicesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.DeviceList)
}
// @@protoc_insertion_point(class_scope:context.DeviceList)
private static final context.ContextOuterClass.DeviceList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceList();
}
public static context.ContextOuterClass.DeviceList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DeviceList>
PARSER = new com.google.protobuf.AbstractParser<DeviceList>() {
@java.lang.Override
public DeviceList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeviceList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DeviceList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeviceList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.DeviceList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.DeviceEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
context.ContextOuterClass.Event getEvent();
/**
* <code>.context.Event event = 1;</code>
*/
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
* <code>.context.DeviceId device_id = 2;</code>
* @return Whether the deviceId field is set.
*/
boolean hasDeviceId();
/**
* <code>.context.DeviceId device_id = 2;</code>
* @return The deviceId.
*/
context.ContextOuterClass.DeviceId getDeviceId();
/**
* <code>.context.DeviceId device_id = 2;</code>
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
boolean hasDeviceConfig();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
context.ContextOuterClass.DeviceConfig getDeviceConfig();
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
}
/**
* Protobuf type {@code context.DeviceEvent}
*/
public static final class DeviceEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.DeviceEvent)
DeviceEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceEvent.newBuilder() to construct.
private DeviceEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeviceEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeviceEvent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.DeviceId.Builder subBuilder = null;
if (deviceId_ != null) {
subBuilder = deviceId_.toBuilder();
}
deviceId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceId_);
deviceId_ = subBuilder.buildPartial();
}
break;
}
case 26: {
context.ContextOuterClass.DeviceConfig.Builder subBuilder = null;
if (deviceConfig_ != null) {
subBuilder = deviceConfig_.toBuilder();
}
deviceConfig_ = input.readMessage(context.ContextOuterClass.DeviceConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceConfig_);
deviceConfig_ = subBuilder.buildPartial();
}
break;
}
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceEvent.class, context.ContextOuterClass.DeviceEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
@java.lang.Override
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
* <code>.context.Event event = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
}
public static final int DEVICE_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.DeviceId deviceId_;
/**
* <code>.context.DeviceId device_id = 2;</code>
* @return Whether the deviceId field is set.
*/
@java.lang.Override
public boolean hasDeviceId() {
return deviceId_ != null;
}
/**
* <code>.context.DeviceId device_id = 2;</code>
* @return The deviceId.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceId() {
return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
/**
* <code>.context.DeviceId device_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
return getDeviceId();
}
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
public static final int DEVICE_CONFIG_FIELD_NUMBER = 3;
private context.ContextOuterClass.DeviceConfig deviceConfig_;
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
@java.lang.Override
public boolean hasDeviceConfig() {
return deviceConfig_ != null;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
@java.lang.Override
public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
return getDeviceConfig();
}
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (deviceId_ != null) {
output.writeMessage(2, getDeviceId());
}
if (deviceConfig_ != null) {
output.writeMessage(3, getDeviceConfig());
}
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
}
if (deviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDeviceId());
}
if (deviceConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDeviceConfig());
}
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceEvent other = (context.ContextOuterClass.DeviceEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasDeviceId() != other.hasDeviceId()) return false;
if (hasDeviceId()) {
if (!getDeviceId()
.equals(other.getDeviceId())) return false;
}
if (hasDeviceConfig() != other.hasDeviceConfig()) return false;
if (hasDeviceConfig()) {
if (!getDeviceConfig()
.equals(other.getDeviceConfig())) return false;
}
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasDeviceId()) {
hash = (37 * hash) + DEVICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getDeviceId().hashCode();
}
if (hasDeviceConfig()) {
hash = (37 * hash) + DEVICE_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getDeviceConfig().hashCode();
}
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.DeviceEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.DeviceEvent)
context.ContextOuterClass.DeviceEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.DeviceEvent.class, context.ContextOuterClass.DeviceEvent.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
if (deviceIdBuilder_ == null) {
deviceId_ = null;
deviceId_ = null;
deviceIdBuilder_ = null;
if (deviceConfigBuilder_ == null) {
deviceConfig_ = null;
} else {
deviceConfig_ = null;
deviceConfigBuilder_ = null;
}
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceEvent getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceEvent build() {
context.ContextOuterClass.DeviceEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceEvent buildPartial() {
context.ContextOuterClass.DeviceEvent result = new context.ContextOuterClass.DeviceEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
result.event_ = eventBuilder_.build();
if (deviceIdBuilder_ == null) {
result.deviceId_ = deviceId_;
} else {
result.deviceId_ = deviceIdBuilder_.build();
}
if (deviceConfigBuilder_ == null) {
result.deviceConfig_ = deviceConfig_;
} else {
result.deviceConfig_ = deviceConfigBuilder_.build();
}
onBuilt();
return result;
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceEvent) {
return mergeFrom((context.ContextOuterClass.DeviceEvent)other);
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceEvent other) {
if (other == context.ContextOuterClass.DeviceEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
if (other.hasDeviceId()) {
mergeDeviceId(other.getDeviceId());
}
if (other.hasDeviceConfig()) {
mergeDeviceConfig(other.getDeviceConfig());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.DeviceEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.DeviceEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
return eventBuilder_.getMessage();
* <code>.context.Event event = 1;</code>
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
eventBuilder_.setMessage(value);
* <code>.context.Event event = 1;</code>
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
eventBuilder_.setMessage(builderForValue.build());
* <code>.context.Event event = 1;</code>
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
eventBuilder_.mergeFrom(value);
* <code>.context.Event event = 1;</code>
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
return getEventFieldBuilder().getBuilder();
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
return eventBuilder_;
}
private context.ContextOuterClass.DeviceId deviceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdBuilder_;
* <code>.context.DeviceId device_id = 2;</code>
* @return Whether the deviceId field is set.
public boolean hasDeviceId() {
return deviceIdBuilder_ != null || deviceId_ != null;
}
/**
* <code>.context.DeviceId device_id = 2;</code>
* @return The deviceId.
*/
public context.ContextOuterClass.DeviceId getDeviceId() {
if (deviceIdBuilder_ == null) {
return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
return deviceIdBuilder_.getMessage();
* <code>.context.DeviceId device_id = 2;</code>
public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
if (deviceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceId_ = value;
onChanged();
deviceIdBuilder_.setMessage(value);
return this;
* <code>.context.DeviceId device_id = 2;</code>
public Builder setDeviceId(
context.ContextOuterClass.DeviceId.Builder builderForValue) {
if (deviceIdBuilder_ == null) {
deviceId_ = builderForValue.build();
onChanged();
deviceIdBuilder_.setMessage(builderForValue.build());
return this;
* <code>.context.DeviceId device_id = 2;</code>
public Builder mergeDeviceId(context.ContextOuterClass.DeviceId value) {
if (deviceIdBuilder_ == null) {
if (deviceId_ != null) {
deviceId_ =
context.ContextOuterClass.DeviceId.newBuilder(deviceId_).mergeFrom(value).buildPartial();
} else {
deviceId_ = value;
}
onChanged();
} else {
deviceIdBuilder_.mergeFrom(value);
* <code>.context.DeviceId device_id = 2;</code>
public Builder clearDeviceId() {
if (deviceIdBuilder_ == null) {
deviceId_ = null;
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
deviceId_ = null;
deviceIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.DeviceId device_id = 2;</code>
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
onChanged();
return getDeviceIdFieldBuilder().getBuilder();
}
/**
* <code>.context.DeviceId device_id = 2;</code>
*/
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
if (deviceIdBuilder_ != null) {
return deviceIdBuilder_.getMessageOrBuilder();
} else {
return deviceId_ == null ?
context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
}
/**
* <code>.context.DeviceId device_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdFieldBuilder() {
if (deviceIdBuilder_ == null) {
deviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
getDeviceId(),
getParentForChildren(),
isClean());
deviceId_ = null;
}
return deviceIdBuilder_;
}
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
private context.ContextOuterClass.DeviceConfig deviceConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder> deviceConfigBuilder_;
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return Whether the deviceConfig field is set.
*/
public boolean hasDeviceConfig() {
return deviceConfigBuilder_ != null || deviceConfig_ != null;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
* @return The deviceConfig.
*/
public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
if (deviceConfigBuilder_ == null) {
return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
} else {
return deviceConfigBuilder_.getMessage();
}
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder setDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
if (deviceConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceConfig_ = value;
onChanged();
} else {
deviceConfigBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder setDeviceConfig(
context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
if (deviceConfigBuilder_ == null) {
deviceConfig_ = builderForValue.build();
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
onChanged();
} else {
deviceConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder mergeDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
if (deviceConfigBuilder_ == null) {
if (deviceConfig_ != null) {
deviceConfig_ =
context.ContextOuterClass.DeviceConfig.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
} else {
deviceConfig_ = value;
}
onChanged();
} else {
deviceConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public Builder clearDeviceConfig() {
if (deviceConfigBuilder_ == null) {
deviceConfig_ = null;
onChanged();
} else {
deviceConfig_ = null;
deviceConfigBuilder_ = null;
}
return this;
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
onChanged();
return getDeviceConfigFieldBuilder().getBuilder();
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
if (deviceConfigBuilder_ != null) {
return deviceConfigBuilder_.getMessageOrBuilder();
} else {
return deviceConfig_ == null ?
context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
}
}
/**
* <code>.context.DeviceConfig device_config = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>
getDeviceConfigFieldBuilder() {
if (deviceConfigBuilder_ == null) {
deviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>(
getDeviceConfig(),
getParentForChildren(),
isClean());
deviceConfig_ = null;
}
return deviceConfigBuilder_;
}
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.DeviceEvent)
}
// @@protoc_insertion_point(class_scope:context.DeviceEvent)
private static final context.ContextOuterClass.DeviceEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceEvent();
}
public static context.ContextOuterClass.DeviceEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DeviceEvent>
PARSER = new com.google.protobuf.AbstractParser<DeviceEvent>() {
@java.lang.Override
public DeviceEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeviceEvent(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DeviceEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeviceEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.DeviceEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LinkIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.LinkId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid link_uuid = 1;</code>
* @return Whether the linkUuid field is set.
*/
boolean hasLinkUuid();
/**
* <code>.context.Uuid link_uuid = 1;</code>
* @return The linkUuid.
*/
context.ContextOuterClass.Uuid getLinkUuid();
/**
* <code>.context.Uuid link_uuid = 1;</code>
*/
context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder();
}
/**
* <pre>
* ----- Link ----------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.LinkId}
*/
public static final class LinkId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.LinkId)
LinkIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use LinkId.newBuilder() to construct.
private LinkId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LinkId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LinkId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LinkId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (linkUuid_ != null) {
subBuilder = linkUuid_.toBuilder();
}
linkUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(linkUuid_);
linkUuid_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkId.class, context.ContextOuterClass.LinkId.Builder.class);
}
public static final int LINK_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid linkUuid_;
/**
* <code>.context.Uuid link_uuid = 1;</code>
* @return Whether the linkUuid field is set.
*/
@java.lang.Override
public boolean hasLinkUuid() {
return linkUuid_ != null;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
* @return The linkUuid.
*/
@java.lang.Override
public context.ContextOuterClass.Uuid getLinkUuid() {
return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
return getLinkUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (linkUuid_ != null) {
output.writeMessage(1, getLinkUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (linkUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getLinkUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.LinkId)) {
return super.equals(obj);
}
context.ContextOuterClass.LinkId other = (context.ContextOuterClass.LinkId) obj;
if (hasLinkUuid() != other.hasLinkUuid()) return false;
if (hasLinkUuid()) {
if (!getLinkUuid()
.equals(other.getLinkUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLinkUuid()) {
hash = (37 * hash) + LINK_UUID_FIELD_NUMBER;
hash = (53 * hash) + getLinkUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.LinkId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.LinkId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Link ----------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.LinkId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.LinkId)
context.ContextOuterClass.LinkIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkId.class, context.ContextOuterClass.LinkId.Builder.class);
}
// Construct using context.ContextOuterClass.LinkId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
@java.lang.Override
public Builder clear() {
super.clear();
if (linkUuidBuilder_ == null) {
linkUuid_ = null;
linkUuid_ = null;
linkUuidBuilder_ = null;
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_LinkId_descriptor;
@java.lang.Override
public context.ContextOuterClass.LinkId getDefaultInstanceForType() {
return context.ContextOuterClass.LinkId.getDefaultInstance();
@java.lang.Override
public context.ContextOuterClass.LinkId build() {
context.ContextOuterClass.LinkId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
return result;
@java.lang.Override
public context.ContextOuterClass.LinkId buildPartial() {
context.ContextOuterClass.LinkId result = new context.ContextOuterClass.LinkId(this);
if (linkUuidBuilder_ == null) {
result.linkUuid_ = linkUuid_;
result.linkUuid_ = linkUuidBuilder_.build();
onBuilt();
return result;
@java.lang.Override
public Builder clone() {
return super.clone();
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.LinkId) {
return mergeFrom((context.ContextOuterClass.LinkId)other);
super.mergeFrom(other);
return this;
public Builder mergeFrom(context.ContextOuterClass.LinkId other) {
if (other == context.ContextOuterClass.LinkId.getDefaultInstance()) return this;
if (other.hasLinkUuid()) {
mergeLinkUuid(other.getLinkUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@java.lang.Override
public final boolean isInitialized() {
return true;
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.LinkId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.LinkId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
return this;
private context.ContextOuterClass.Uuid linkUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> linkUuidBuilder_;
* <code>.context.Uuid link_uuid = 1;</code>
* @return Whether the linkUuid field is set.
public boolean hasLinkUuid() {
return linkUuidBuilder_ != null || linkUuid_ != null;
* <code>.context.Uuid link_uuid = 1;</code>
* @return The linkUuid.
public context.ContextOuterClass.Uuid getLinkUuid() {
if (linkUuidBuilder_ == null) {
return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
return linkUuidBuilder_.getMessage();
* <code>.context.Uuid link_uuid = 1;</code>
public Builder setLinkUuid(context.ContextOuterClass.Uuid value) {
if (linkUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
linkUuid_ = value;
linkUuidBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
public Builder setLinkUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (linkUuidBuilder_ == null) {
linkUuid_ = builderForValue.build();
linkUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
public Builder mergeLinkUuid(context.ContextOuterClass.Uuid value) {
if (linkUuidBuilder_ == null) {
if (linkUuid_ != null) {
linkUuid_ =
context.ContextOuterClass.Uuid.newBuilder(linkUuid_).mergeFrom(value).buildPartial();
linkUuid_ = value;
}
onChanged();
} else {
linkUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
public Builder clearLinkUuid() {
if (linkUuidBuilder_ == null) {
linkUuid_ = null;
linkUuid_ = null;
linkUuidBuilder_ = null;
}
return this;
}
/**
* <code>.context.Uuid link_uuid = 1;</code>
public context.ContextOuterClass.Uuid.Builder getLinkUuidBuilder() {
return getLinkUuidFieldBuilder().getBuilder();
* <code>.context.Uuid link_uuid = 1;</code>
public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
if (linkUuidBuilder_ != null) {
return linkUuidBuilder_.getMessageOrBuilder();
return linkUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
* <code>.context.Uuid link_uuid = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getLinkUuidFieldBuilder() {
if (linkUuidBuilder_ == null) {
linkUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getLinkUuid(),
getParentForChildren(),
isClean());
linkUuid_ = null;
return linkUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.LinkId)
// @@protoc_insertion_point(class_scope:context.LinkId)
private static final context.ContextOuterClass.LinkId DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.LinkId();
public static context.ContextOuterClass.LinkId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LinkId>
PARSER = new com.google.protobuf.AbstractParser<LinkId>() {
public LinkId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LinkId(input, extensionRegistry);
public static com.google.protobuf.Parser<LinkId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LinkId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.LinkId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LinkOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Link)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.LinkId link_id = 1;</code>
* @return Whether the linkId field is set.
boolean hasLinkId();
* <code>.context.LinkId link_id = 1;</code>
* @return The linkId.
context.ContextOuterClass.LinkId getLinkId();
* <code>.context.LinkId link_id = 1;</code>
context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder();
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
java.util.List<context.ContextOuterClass.EndPointId>
getLinkEndpointIdsList();
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
context.ContextOuterClass.EndPointId getLinkEndpointIds(int index);
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
*/
int getLinkEndpointIdsCount();
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
*/
java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getLinkEndpointIdsOrBuilderList();
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
*/
context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
* Protobuf type {@code context.Link}
public static final class Link extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Link)
LinkOrBuilder {
private static final long serialVersionUID = 0L;
// Use Link.newBuilder() to construct.
private Link(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Link() {
linkEndpointIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Link();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Link(
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.LinkId.Builder subBuilder = null;
if (linkId_ != null) {
subBuilder = linkId_.toBuilder();
}
linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(linkId_);
linkId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
linkEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>();
mutable_bitField0_ |= 0x00000001;
}
linkEndpointIds_.add(
input.readMessage(context.ContextOuterClass.EndPointId.parser(), extensionRegistry));
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
linkEndpointIds_ = java.util.Collections.unmodifiableList(linkEndpointIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Link_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Link_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Link.class, context.ContextOuterClass.Link.Builder.class);
public static final int LINK_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.LinkId linkId_;
* <code>.context.LinkId link_id = 1;</code>
* @return Whether the linkId field is set.
public boolean hasLinkId() {
return linkId_ != null;
* <code>.context.LinkId link_id = 1;</code>
* @return The linkId.
public context.ContextOuterClass.LinkId getLinkId() {
return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
* <code>.context.LinkId link_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
return getLinkId();
}
public static final int LINK_ENDPOINT_IDS_FIELD_NUMBER = 2;
private java.util.List<context.ContextOuterClass.EndPointId> linkEndpointIds_;
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.EndPointId> getLinkEndpointIdsList() {
return linkEndpointIds_;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getLinkEndpointIdsOrBuilderList() {
return linkEndpointIds_;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public int getLinkEndpointIdsCount() {
return linkEndpointIds_.size();
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
return linkEndpointIds_.get(index);
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
return linkEndpointIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (linkId_ != null) {
output.writeMessage(1, getLinkId());
}
for (int i = 0; i < linkEndpointIds_.size(); i++) {
output.writeMessage(2, linkEndpointIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (linkId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getLinkId());
}
for (int i = 0; i < linkEndpointIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, linkEndpointIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Link)) {
return super.equals(obj);
}
context.ContextOuterClass.Link other = (context.ContextOuterClass.Link) obj;
if (hasLinkId() != other.hasLinkId()) return false;
if (hasLinkId()) {
if (!getLinkId()
.equals(other.getLinkId())) return false;
}
if (!getLinkEndpointIdsList()
.equals(other.getLinkEndpointIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLinkId()) {
hash = (37 * hash) + LINK_ID_FIELD_NUMBER;
hash = (53 * hash) + getLinkId().hashCode();
}
if (getLinkEndpointIdsCount() > 0) {
hash = (37 * hash) + LINK_ENDPOINT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getLinkEndpointIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Link parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Link parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Link parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Link parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Link parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Link parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Link parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Link parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Link prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Link}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Link)
context.ContextOuterClass.LinkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Link_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Link_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Link.class, context.ContextOuterClass.Link.Builder.class);
// Construct using context.ContextOuterClass.Link.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLinkEndpointIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (linkIdBuilder_ == null) {
linkId_ = null;
} else {
linkId_ = null;
linkIdBuilder_ = null;
}
if (linkEndpointIdsBuilder_ == null) {
linkEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
linkEndpointIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Link_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Link getDefaultInstanceForType() {
return context.ContextOuterClass.Link.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Link build() {
context.ContextOuterClass.Link result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Link buildPartial() {
context.ContextOuterClass.Link result = new context.ContextOuterClass.Link(this);
int from_bitField0_ = bitField0_;
if (linkIdBuilder_ == null) {
result.linkId_ = linkId_;
} else {
result.linkId_ = linkIdBuilder_.build();
}
if (linkEndpointIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
linkEndpointIds_ = java.util.Collections.unmodifiableList(linkEndpointIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.linkEndpointIds_ = linkEndpointIds_;
result.linkEndpointIds_ = linkEndpointIdsBuilder_.build();
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Link) {
return mergeFrom((context.ContextOuterClass.Link)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Link other) {
if (other == context.ContextOuterClass.Link.getDefaultInstance()) return this;
if (other.hasLinkId()) {
mergeLinkId(other.getLinkId());
}
if (linkEndpointIdsBuilder_ == null) {
if (!other.linkEndpointIds_.isEmpty()) {
if (linkEndpointIds_.isEmpty()) {
linkEndpointIds_ = other.linkEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.addAll(other.linkEndpointIds_);
}
onChanged();
}
} else {
if (!other.linkEndpointIds_.isEmpty()) {
if (linkEndpointIdsBuilder_.isEmpty()) {
linkEndpointIdsBuilder_.dispose();
linkEndpointIdsBuilder_ = null;
linkEndpointIds_ = other.linkEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
linkEndpointIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLinkEndpointIdsFieldBuilder() : null;
linkEndpointIdsBuilder_.addAllMessages(other.linkEndpointIds_);
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Link parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Link) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
private context.ContextOuterClass.LinkId linkId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdBuilder_;
/**
* <code>.context.LinkId link_id = 1;</code>
* @return Whether the linkId field is set.
*/
public boolean hasLinkId() {
return linkIdBuilder_ != null || linkId_ != null;
}
/**
* <code>.context.LinkId link_id = 1;</code>
* @return The linkId.
*/
public context.ContextOuterClass.LinkId getLinkId() {
if (linkIdBuilder_ == null) {
return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
} else {
return linkIdBuilder_.getMessage();
}
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public Builder setLinkId(context.ContextOuterClass.LinkId value) {
if (linkIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
linkId_ = value;
onChanged();
} else {
linkIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public Builder setLinkId(
context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdBuilder_ == null) {
linkId_ = builderForValue.build();
onChanged();
} else {
linkIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
if (linkIdBuilder_ == null) {
if (linkId_ != null) {
linkId_ =
context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
} else {
linkId_ = value;
}
onChanged();
} else {
linkIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public Builder clearLinkId() {
if (linkIdBuilder_ == null) {
linkId_ = null;
onChanged();
} else {
linkId_ = null;
linkIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
onChanged();
return getLinkIdFieldBuilder().getBuilder();
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
if (linkIdBuilder_ != null) {
return linkIdBuilder_.getMessageOrBuilder();
} else {
return linkId_ == null ?
context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
}
}
/**
* <code>.context.LinkId link_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdFieldBuilder() {
if (linkIdBuilder_ == null) {
linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
getLinkId(),
getParentForChildren(),
isClean());
linkId_ = null;
}
return linkIdBuilder_;
}
private java.util.List<context.ContextOuterClass.EndPointId> linkEndpointIds_ =
java.util.Collections.emptyList();
private void ensureLinkEndpointIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
linkEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>(linkEndpointIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder> linkEndpointIdsBuilder_;
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public java.util.List<context.ContextOuterClass.EndPointId> getLinkEndpointIdsList() {
if (linkEndpointIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(linkEndpointIds_);
return linkEndpointIdsBuilder_.getMessageList();
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public int getLinkEndpointIdsCount() {
if (linkEndpointIdsBuilder_ == null) {
return linkEndpointIds_.size();
return linkEndpointIdsBuilder_.getCount();
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
if (linkEndpointIdsBuilder_ == null) {
return linkEndpointIds_.get(index);
return linkEndpointIdsBuilder_.getMessage(index);
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder setLinkEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.set(index, value);
linkEndpointIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder setLinkEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (linkEndpointIdsBuilder_ == null) {
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.set(index, builderForValue.build());
linkEndpointIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder addLinkEndpointIds(context.ContextOuterClass.EndPointId value) {
if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.add(value);
linkEndpointIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder addLinkEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.add(index, value);
linkEndpointIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder addLinkEndpointIds(
context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (linkEndpointIdsBuilder_ == null) {
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.add(builderForValue.build());
linkEndpointIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder addLinkEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (linkEndpointIdsBuilder_ == null) {
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.add(index, builderForValue.build());
linkEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder addAllLinkEndpointIds(
java.lang.Iterable<? extends context.ContextOuterClass.EndPointId> values) {
if (linkEndpointIdsBuilder_ == null) {
ensureLinkEndpointIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, linkEndpointIds_);
linkEndpointIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder clearLinkEndpointIds() {
if (linkEndpointIdsBuilder_ == null) {
linkEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
linkEndpointIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public Builder removeLinkEndpointIds(int index) {
if (linkEndpointIdsBuilder_ == null) {
ensureLinkEndpointIdsIsMutable();
linkEndpointIds_.remove(index);
linkEndpointIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointId.Builder getLinkEndpointIdsBuilder(
return getLinkEndpointIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
if (linkEndpointIdsBuilder_ == null) {
return linkEndpointIds_.get(index); } else {
return linkEndpointIdsBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getLinkEndpointIdsOrBuilderList() {
if (linkEndpointIdsBuilder_ != null) {
return linkEndpointIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(linkEndpointIds_);
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder() {
return getLinkEndpointIdsFieldBuilder().addBuilder(
context.ContextOuterClass.EndPointId.getDefaultInstance());
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder(
return getLinkEndpointIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.EndPointId.getDefaultInstance());
* <code>repeated .context.EndPointId link_endpoint_ids = 2;</code>
public java.util.List<context.ContextOuterClass.EndPointId.Builder>
getLinkEndpointIdsBuilderList() {
return getLinkEndpointIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>
getLinkEndpointIdsFieldBuilder() {
if (linkEndpointIdsBuilder_ == null) {
linkEndpointIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>(
linkEndpointIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
linkEndpointIds_ = null;
return linkEndpointIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Link)
// @@protoc_insertion_point(class_scope:context.Link)
private static final context.ContextOuterClass.Link DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.Link();
public static context.ContextOuterClass.Link getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Link>
PARSER = new com.google.protobuf.AbstractParser<Link>() {
public Link parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Link(input, extensionRegistry);
public static com.google.protobuf.Parser<Link> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Link> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Link getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LinkIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.LinkIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
java.util.List<context.ContextOuterClass.LinkId>
getLinkIdsList();
* <code>repeated .context.LinkId link_ids = 1;</code>
context.ContextOuterClass.LinkId getLinkIds(int index);
* <code>repeated .context.LinkId link_ids = 1;</code>
int getLinkIdsCount();
* <code>repeated .context.LinkId link_ids = 1;</code>
java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList();
* <code>repeated .context.LinkId link_ids = 1;</code>
context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
* Protobuf type {@code context.LinkIdList}
public static final class LinkIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.LinkIdList)
LinkIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use LinkIdList.newBuilder() to construct.
private LinkIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private LinkIdList() {
linkIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LinkIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LinkIdList(
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>();
mutable_bitField0_ |= 0x00000001;
}
linkIds_.add(
input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry));
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkIdList.class, context.ContextOuterClass.LinkIdList.Builder.class);
public static final int LINK_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.LinkId> linkIds_;
* <code>repeated .context.LinkId link_ids = 1;</code>
public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
return linkIds_;
* <code>repeated .context.LinkId link_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
return linkIds_;
* <code>repeated .context.LinkId link_ids = 1;</code>
public int getLinkIdsCount() {
return linkIds_.size();
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkId getLinkIds(int index) {
return linkIds_.get(index);
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
return linkIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < linkIds_.size(); i++) {
output.writeMessage(1, linkIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, linkIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.LinkIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.LinkIdList other = (context.ContextOuterClass.LinkIdList) obj;
if (!getLinkIdsList()
.equals(other.getLinkIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLinkIdsCount() > 0) {
hash = (37 * hash) + LINK_IDS_FIELD_NUMBER;
hash = (53 * hash) + getLinkIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.LinkIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.LinkIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.LinkIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.LinkIdList)
context.ContextOuterClass.LinkIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkIdList.class, context.ContextOuterClass.LinkIdList.Builder.class);
// Construct using context.ContextOuterClass.LinkIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLinkIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (linkIdsBuilder_ == null) {
linkIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
linkIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_LinkIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.LinkIdList getDefaultInstanceForType() {
return context.ContextOuterClass.LinkIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.LinkIdList build() {
context.ContextOuterClass.LinkIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.LinkIdList buildPartial() {
context.ContextOuterClass.LinkIdList result = new context.ContextOuterClass.LinkIdList(this);
int from_bitField0_ = bitField0_;
if (linkIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.linkIds_ = linkIds_;
result.linkIds_ = linkIdsBuilder_.build();
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.LinkIdList) {
return mergeFrom((context.ContextOuterClass.LinkIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.LinkIdList other) {
if (other == context.ContextOuterClass.LinkIdList.getDefaultInstance()) return this;
if (linkIdsBuilder_ == null) {
if (!other.linkIds_.isEmpty()) {
if (linkIds_.isEmpty()) {
linkIds_ = other.linkIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLinkIdsIsMutable();
linkIds_.addAll(other.linkIds_);
}
onChanged();
}
} else {
if (!other.linkIds_.isEmpty()) {
if (linkIdsBuilder_.isEmpty()) {
linkIdsBuilder_.dispose();
linkIdsBuilder_ = null;
linkIds_ = other.linkIds_;
bitField0_ = (bitField0_ & ~0x00000001);
linkIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLinkIdsFieldBuilder() : null;
linkIdsBuilder_.addAllMessages(other.linkIds_);
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.LinkIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.LinkIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.LinkId> linkIds_ =
java.util.Collections.emptyList();
private void ensureLinkIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>(linkIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdsBuilder_;
* <code>repeated .context.LinkId link_ids = 1;</code>
public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
if (linkIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(linkIds_);
return linkIdsBuilder_.getMessageList();
* <code>repeated .context.LinkId link_ids = 1;</code>
public int getLinkIdsCount() {
if (linkIdsBuilder_ == null) {
return linkIds_.size();
return linkIdsBuilder_.getCount();
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkId getLinkIds(int index) {
if (linkIdsBuilder_ == null) {
return linkIds_.get(index);
return linkIdsBuilder_.getMessage(index);
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.set(index, value);
linkIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.set(index, builderForValue.build());
linkIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.add(value);
linkIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinkIdsIsMutable();
linkIds_.add(index, value);
linkIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder addLinkIds(
context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.add(builderForValue.build());
linkIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.add(index, builderForValue.build());
linkIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder addAllLinkIds(
java.lang.Iterable<? extends context.ContextOuterClass.LinkId> values) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, linkIds_);
linkIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder clearLinkIds() {
if (linkIdsBuilder_ == null) {
linkIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
linkIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public Builder removeLinkIds(int index) {
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.remove(index);
linkIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
return getLinkIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
if (linkIdsBuilder_ == null) {
return linkIds_.get(index); } else {
return linkIdsBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.LinkId link_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
if (linkIdsBuilder_ != null) {
return linkIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(linkIds_);
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
return getLinkIdsFieldBuilder().addBuilder(
context.ContextOuterClass.LinkId.getDefaultInstance());
* <code>repeated .context.LinkId link_ids = 1;</code>
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
return getLinkIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.LinkId.getDefaultInstance());
* <code>repeated .context.LinkId link_ids = 1;</code>
public java.util.List<context.ContextOuterClass.LinkId.Builder>
getLinkIdsBuilderList() {
return getLinkIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsFieldBuilder() {
if (linkIdsBuilder_ == null) {
linkIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
linkIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
linkIds_ = null;
return linkIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.LinkIdList)
// @@protoc_insertion_point(class_scope:context.LinkIdList)
private static final context.ContextOuterClass.LinkIdList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.LinkIdList();
public static context.ContextOuterClass.LinkIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LinkIdList>
PARSER = new com.google.protobuf.AbstractParser<LinkIdList>() {
public LinkIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LinkIdList(input, extensionRegistry);
public static com.google.protobuf.Parser<LinkIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LinkIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.LinkIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LinkListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.LinkList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Link links = 1;</code>
java.util.List<context.ContextOuterClass.Link>
getLinksList();
* <code>repeated .context.Link links = 1;</code>
context.ContextOuterClass.Link getLinks(int index);
* <code>repeated .context.Link links = 1;</code>
int getLinksCount();
* <code>repeated .context.Link links = 1;</code>
java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList();
* <code>repeated .context.Link links = 1;</code>
context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
int index);
* Protobuf type {@code context.LinkList}
public static final class LinkList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.LinkList)
LinkListOrBuilder {
private static final long serialVersionUID = 0L;
// Use LinkList.newBuilder() to construct.
private LinkList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private LinkList() {
links_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LinkList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LinkList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
links_ = new java.util.ArrayList<context.ContextOuterClass.Link>();
mutable_bitField0_ |= 0x00000001;
links_.add(
input.readMessage(context.ContextOuterClass.Link.parser(), extensionRegistry));
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
links_ = java.util.Collections.unmodifiableList(links_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkList.class, context.ContextOuterClass.LinkList.Builder.class);
public static final int LINKS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Link> links_;
* <code>repeated .context.Link links = 1;</code>
public java.util.List<context.ContextOuterClass.Link> getLinksList() {
return links_;
* <code>repeated .context.Link links = 1;</code>
public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList() {
return links_;
* <code>repeated .context.Link links = 1;</code>
public int getLinksCount() {
return links_.size();
* <code>repeated .context.Link links = 1;</code>
public context.ContextOuterClass.Link getLinks(int index) {
return links_.get(index);
* <code>repeated .context.Link links = 1;</code>
public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
int index) {
return links_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < links_.size(); i++) {
output.writeMessage(1, links_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < links_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, links_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.LinkList)) {
return super.equals(obj);
}
context.ContextOuterClass.LinkList other = (context.ContextOuterClass.LinkList) obj;
if (!getLinksList()
.equals(other.getLinksList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLinksCount() > 0) {
hash = (37 * hash) + LINKS_FIELD_NUMBER;
hash = (53 * hash) + getLinksList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.LinkList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.LinkList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.LinkList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.LinkList)
context.ContextOuterClass.LinkListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkList.class, context.ContextOuterClass.LinkList.Builder.class);
// Construct using context.ContextOuterClass.LinkList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLinksFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
linksBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_LinkList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.LinkList getDefaultInstanceForType() {
return context.ContextOuterClass.LinkList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.LinkList build() {
context.ContextOuterClass.LinkList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.LinkList buildPartial() {
context.ContextOuterClass.LinkList result = new context.ContextOuterClass.LinkList(this);
int from_bitField0_ = bitField0_;
if (linksBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
links_ = java.util.Collections.unmodifiableList(links_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.links_ = links_;
result.links_ = linksBuilder_.build();
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.LinkList) {
return mergeFrom((context.ContextOuterClass.LinkList)other);
} else {
super.mergeFrom(other);
return this;
}
}
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
public Builder mergeFrom(context.ContextOuterClass.LinkList other) {
if (other == context.ContextOuterClass.LinkList.getDefaultInstance()) return this;
if (linksBuilder_ == null) {
if (!other.links_.isEmpty()) {
if (links_.isEmpty()) {
links_ = other.links_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLinksIsMutable();
links_.addAll(other.links_);
}
onChanged();
}
} else {
if (!other.links_.isEmpty()) {
if (linksBuilder_.isEmpty()) {
linksBuilder_.dispose();
linksBuilder_ = null;
links_ = other.links_;
bitField0_ = (bitField0_ & ~0x00000001);
linksBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLinksFieldBuilder() : null;
} else {
linksBuilder_.addAllMessages(other.links_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.LinkList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.LinkList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Link> links_ =
java.util.Collections.emptyList();
private void ensureLinksIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
links_ = new java.util.ArrayList<context.ContextOuterClass.Link>(links_);
bitField0_ |= 0x00000001;
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder> linksBuilder_;
* <code>repeated .context.Link links = 1;</code>
public java.util.List<context.ContextOuterClass.Link> getLinksList() {
if (linksBuilder_ == null) {
return java.util.Collections.unmodifiableList(links_);
return linksBuilder_.getMessageList();
* <code>repeated .context.Link links = 1;</code>
public int getLinksCount() {
if (linksBuilder_ == null) {
return links_.size();
return linksBuilder_.getCount();
* <code>repeated .context.Link links = 1;</code>
public context.ContextOuterClass.Link getLinks(int index) {
if (linksBuilder_ == null) {
return links_.get(index);
return linksBuilder_.getMessage(index);
* <code>repeated .context.Link links = 1;</code>
public Builder setLinks(
int index, context.ContextOuterClass.Link value) {
if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureLinksIsMutable();
links_.set(index, value);
linksBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public Builder setLinks(
int index, context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.set(index, builderForValue.build());
linksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public Builder addLinks(context.ContextOuterClass.Link value) {
if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinksIsMutable();
links_.add(value);
onChanged();
linksBuilder_.addMessage(value);
return this;
* <code>repeated .context.Link links = 1;</code>
public Builder addLinks(
int index, context.ContextOuterClass.Link value) {
if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinksIsMutable();
links_.add(index, value);
onChanged();
} else {
linksBuilder_.addMessage(index, value);
return this;
* <code>repeated .context.Link links = 1;</code>
public Builder addLinks(
context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.add(builderForValue.build());
onChanged();
linksBuilder_.addMessage(builderForValue.build());
return this;
* <code>repeated .context.Link links = 1;</code>
public Builder addLinks(
int index, context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.add(index, builderForValue.build());
linksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public Builder addAllLinks(
java.lang.Iterable<? extends context.ContextOuterClass.Link> values) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, links_);
linksBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public Builder clearLinks() {
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
linksBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public Builder removeLinks(int index) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.remove(index);
linksBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Link links = 1;</code>
public context.ContextOuterClass.Link.Builder getLinksBuilder(
int index) {
return getLinksFieldBuilder().getBuilder(index);
* <code>repeated .context.Link links = 1;</code>
public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
int index) {
if (linksBuilder_ == null) {
return links_.get(index); } else {
return linksBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Link links = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList() {
if (linksBuilder_ != null) {
return linksBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(links_);
* <code>repeated .context.Link links = 1;</code>
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
public context.ContextOuterClass.Link.Builder addLinksBuilder() {
return getLinksFieldBuilder().addBuilder(
context.ContextOuterClass.Link.getDefaultInstance());
}
/**
* <code>repeated .context.Link links = 1;</code>
*/
public context.ContextOuterClass.Link.Builder addLinksBuilder(
int index) {
return getLinksFieldBuilder().addBuilder(
index, context.ContextOuterClass.Link.getDefaultInstance());
}
/**
* <code>repeated .context.Link links = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Link.Builder>
getLinksBuilderList() {
return getLinksFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder>
getLinksFieldBuilder() {
if (linksBuilder_ == null) {
linksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder>(
links_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
links_ = null;
return linksBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.LinkList)
// @@protoc_insertion_point(class_scope:context.LinkList)
private static final context.ContextOuterClass.LinkList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.LinkList();
public static context.ContextOuterClass.LinkList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LinkList>
PARSER = new com.google.protobuf.AbstractParser<LinkList>() {
public LinkList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LinkList(input, extensionRegistry);
public static com.google.protobuf.Parser<LinkList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LinkList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.LinkList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LinkEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.LinkEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
boolean hasEvent();
* <code>.context.Event event = 1;</code>
* @return The event.
context.ContextOuterClass.Event getEvent();
* <code>.context.Event event = 1;</code>
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
* <code>.context.LinkId link_id = 2;</code>
* @return Whether the linkId field is set.
boolean hasLinkId();
* <code>.context.LinkId link_id = 2;</code>
* @return The linkId.
context.ContextOuterClass.LinkId getLinkId();
* <code>.context.LinkId link_id = 2;</code>
context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder();
* Protobuf type {@code context.LinkEvent}
public static final class LinkEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.LinkEvent)
LinkEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use LinkEvent.newBuilder() to construct.
private LinkEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private LinkEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LinkEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LinkEvent(
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.LinkId.Builder subBuilder = null;
if (linkId_ != null) {
subBuilder = linkId_.toBuilder();
linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry);
subBuilder.mergeFrom(linkId_);
linkId_ = subBuilder.buildPartial();
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkEvent.class, context.ContextOuterClass.LinkEvent.Builder.class);
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return event_ != null;
* <code>.context.Event event = 1;</code>
* @return The event.
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
public static final int LINK_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.LinkId linkId_;
* <code>.context.LinkId link_id = 2;</code>
* @return Whether the linkId field is set.
public boolean hasLinkId() {
return linkId_ != null;
* <code>.context.LinkId link_id = 2;</code>
* @return The linkId.
public context.ContextOuterClass.LinkId getLinkId() {
return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
* <code>.context.LinkId link_id = 2;</code>
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
return getLinkId();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
if (linkId_ != null) {
output.writeMessage(2, getLinkId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
if (linkId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLinkId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.LinkEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.LinkEvent other = (context.ContextOuterClass.LinkEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
if (hasLinkId() != other.hasLinkId()) return false;
if (hasLinkId()) {
if (!getLinkId()
.equals(other.getLinkId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
if (hasLinkId()) {
hash = (37 * hash) + LINK_ID_FIELD_NUMBER;
hash = (53 * hash) + getLinkId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.LinkEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.LinkEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.LinkEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.LinkEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.LinkEvent)
context.ContextOuterClass.LinkEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_LinkEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_LinkEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.LinkEvent.class, context.ContextOuterClass.LinkEvent.Builder.class);
// Construct using context.ContextOuterClass.LinkEvent.newBuilder()
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
if (linkIdBuilder_ == null) {
linkId_ = null;
linkId_ = null;
linkIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_LinkEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.LinkEvent getDefaultInstanceForType() {
return context.ContextOuterClass.LinkEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.LinkEvent build() {
context.ContextOuterClass.LinkEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.LinkEvent buildPartial() {
context.ContextOuterClass.LinkEvent result = new context.ContextOuterClass.LinkEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
result.event_ = eventBuilder_.build();
if (linkIdBuilder_ == null) {
result.linkId_ = linkId_;
result.linkId_ = linkIdBuilder_.build();
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.LinkEvent) {
return mergeFrom((context.ContextOuterClass.LinkEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.LinkEvent other) {
if (other == context.ContextOuterClass.LinkEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
if (other.hasLinkId()) {
mergeLinkId(other.getLinkId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.LinkEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.LinkEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
* <code>.context.Event event = 1;</code>
* @return The event.
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
return eventBuilder_.getMessage();
* <code>.context.Event event = 1;</code>
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
eventBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.Event.Builder getEventBuilder() {
return getEventFieldBuilder().getBuilder();
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
return eventBuilder_;
private context.ContextOuterClass.LinkId linkId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdBuilder_;
* <code>.context.LinkId link_id = 2;</code>
* @return Whether the linkId field is set.
public boolean hasLinkId() {
return linkIdBuilder_ != null || linkId_ != null;
* <code>.context.LinkId link_id = 2;</code>
* @return The linkId.
public context.ContextOuterClass.LinkId getLinkId() {
if (linkIdBuilder_ == null) {
return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
return linkIdBuilder_.getMessage();
* <code>.context.LinkId link_id = 2;</code>
public Builder setLinkId(context.ContextOuterClass.LinkId value) {
if (linkIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
linkId_ = value;
linkIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.LinkId link_id = 2;</code>
public Builder setLinkId(
context.ContextOuterClass.LinkId.Builder builderForValue) {
if (linkIdBuilder_ == null) {
linkId_ = builderForValue.build();
linkIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.LinkId link_id = 2;</code>
public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
if (linkIdBuilder_ == null) {
if (linkId_ != null) {
linkId_ =
context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
linkId_ = value;
}
onChanged();
} else {
linkIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.LinkId link_id = 2;</code>
public Builder clearLinkId() {
if (linkIdBuilder_ == null) {
linkId_ = null;
linkId_ = null;
linkIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.LinkId link_id = 2;</code>
public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
return getLinkIdFieldBuilder().getBuilder();
* <code>.context.LinkId link_id = 2;</code>
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
if (linkIdBuilder_ != null) {
return linkIdBuilder_.getMessageOrBuilder();
return linkId_ == null ?
context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
* <code>.context.LinkId link_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdFieldBuilder() {
if (linkIdBuilder_ == null) {
linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
getLinkId(),
getParentForChildren(),
isClean());
linkId_ = null;
return linkIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.LinkEvent)
// @@protoc_insertion_point(class_scope:context.LinkEvent)
private static final context.ContextOuterClass.LinkEvent DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.LinkEvent();
public static context.ContextOuterClass.LinkEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<LinkEvent>
PARSER = new com.google.protobuf.AbstractParser<LinkEvent>() {
public LinkEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LinkEvent(input, extensionRegistry);
public static com.google.protobuf.Parser<LinkEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LinkEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.LinkEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
boolean hasContextId();
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
context.ContextOuterClass.ContextId getContextId();
* <code>.context.ContextId context_id = 1;</code>
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
* <code>.context.Uuid service_uuid = 2;</code>
* @return Whether the serviceUuid field is set.
boolean hasServiceUuid();
* <code>.context.Uuid service_uuid = 2;</code>
* @return The serviceUuid.
context.ContextOuterClass.Uuid getServiceUuid();
* <code>.context.Uuid service_uuid = 2;</code>
context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder();
* <pre>
* ----- Service -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ServiceId}
public static final class ServiceId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceId)
ServiceIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceId.newBuilder() to construct.
private ServiceId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceId(
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ContextId.Builder subBuilder = null;
if (contextId_ != null) {
subBuilder = contextId_.toBuilder();
contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
subBuilder.mergeFrom(contextId_);
contextId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (serviceUuid_ != null) {
subBuilder = serviceUuid_.toBuilder();
serviceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceUuid_);
serviceUuid_ = subBuilder.buildPartial();
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceId.class, context.ContextOuterClass.ServiceId.Builder.class);
public static final int CONTEXT_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ContextId contextId_;
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
public boolean hasContextId() {
return contextId_ != null;
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
public context.ContextOuterClass.ContextId getContextId() {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
* <code>.context.ContextId context_id = 1;</code>
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
return getContextId();
public static final int SERVICE_UUID_FIELD_NUMBER = 2;
private context.ContextOuterClass.Uuid serviceUuid_;
* <code>.context.Uuid service_uuid = 2;</code>
* @return Whether the serviceUuid field is set.
public boolean hasServiceUuid() {
return serviceUuid_ != null;
* <code>.context.Uuid service_uuid = 2;</code>
* @return The serviceUuid.
public context.ContextOuterClass.Uuid getServiceUuid() {
return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
* <code>.context.Uuid service_uuid = 2;</code>
public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
return getServiceUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contextId_ != null) {
output.writeMessage(1, getContextId());
if (serviceUuid_ != null) {
output.writeMessage(2, getServiceUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextId());
if (serviceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServiceUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceId)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceId other = (context.ContextOuterClass.ServiceId) obj;
if (hasContextId() != other.hasContextId()) return false;
if (hasContextId()) {
if (!getContextId()
.equals(other.getContextId())) return false;
}
if (hasServiceUuid() != other.hasServiceUuid()) return false;
if (hasServiceUuid()) {
if (!getServiceUuid()
.equals(other.getServiceUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContextId()) {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
if (hasServiceUuid()) {
hash = (37 * hash) + SERVICE_UUID_FIELD_NUMBER;
hash = (53 * hash) + getServiceUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Service -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ServiceId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceId)
context.ContextOuterClass.ServiceIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceId.class, context.ContextOuterClass.ServiceId.Builder.class);
// Construct using context.ContextOuterClass.ServiceId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextIdBuilder_ == null) {
contextId_ = null;
contextId_ = null;
contextIdBuilder_ = null;
if (serviceUuidBuilder_ == null) {
serviceUuid_ = null;
serviceUuid_ = null;
serviceUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ServiceId getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ServiceId build() {
context.ContextOuterClass.ServiceId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceId buildPartial() {
context.ContextOuterClass.ServiceId result = new context.ContextOuterClass.ServiceId(this);
if (contextIdBuilder_ == null) {
result.contextId_ = contextId_;
result.contextId_ = contextIdBuilder_.build();
if (serviceUuidBuilder_ == null) {
result.serviceUuid_ = serviceUuid_;
result.serviceUuid_ = serviceUuidBuilder_.build();
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceId) {
return mergeFrom((context.ContextOuterClass.ServiceId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ServiceId other) {
if (other == context.ContextOuterClass.ServiceId.getDefaultInstance()) return this;
if (other.hasContextId()) {
mergeContextId(other.getContextId());
if (other.hasServiceUuid()) {
mergeServiceUuid(other.getServiceUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.ContextId contextId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
public boolean hasContextId() {
return contextIdBuilder_ != null || contextId_ != null;
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
public context.ContextOuterClass.ContextId getContextId() {
if (contextIdBuilder_ == null) {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
return contextIdBuilder_.getMessage();
* <code>.context.ContextId context_id = 1;</code>
public Builder setContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextId_ = value;
contextIdBuilder_.setMessage(value);
* <code>.context.ContextId context_id = 1;</code>
public Builder setContextId(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
contextIdBuilder_.setMessage(builderForValue.build());
* <code>.context.ContextId context_id = 1;</code>
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (contextId_ != null) {
contextId_ =
context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
contextId_ = value;
}
onChanged();
} else {
contextIdBuilder_.mergeFrom(value);
* <code>.context.ContextId context_id = 1;</code>
public Builder clearContextId() {
if (contextIdBuilder_ == null) {
contextId_ = null;
contextId_ = null;
contextIdBuilder_ = null;
* <code>.context.ContextId context_id = 1;</code>
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
return contextId_ == null ?
context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
* <code>.context.ContextId context_id = 1;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
getContextId(),
getParentForChildren(),
isClean());
contextId_ = null;
return contextIdBuilder_;
private context.ContextOuterClass.Uuid serviceUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> serviceUuidBuilder_;
* <code>.context.Uuid service_uuid = 2;</code>
* @return Whether the serviceUuid field is set.
public boolean hasServiceUuid() {
return serviceUuidBuilder_ != null || serviceUuid_ != null;
}
/**
* <code>.context.Uuid service_uuid = 2;</code>
* @return The serviceUuid.
*/
public context.ContextOuterClass.Uuid getServiceUuid() {
if (serviceUuidBuilder_ == null) {
return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
return serviceUuidBuilder_.getMessage();
* <code>.context.Uuid service_uuid = 2;</code>
public Builder setServiceUuid(context.ContextOuterClass.Uuid value) {
if (serviceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceUuid_ = value;
serviceUuidBuilder_.setMessage(value);
* <code>.context.Uuid service_uuid = 2;</code>
public Builder setServiceUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (serviceUuidBuilder_ == null) {
serviceUuid_ = builderForValue.build();
serviceUuidBuilder_.setMessage(builderForValue.build());
* <code>.context.Uuid service_uuid = 2;</code>
public Builder mergeServiceUuid(context.ContextOuterClass.Uuid value) {
if (serviceUuidBuilder_ == null) {
if (serviceUuid_ != null) {
serviceUuid_ =
context.ContextOuterClass.Uuid.newBuilder(serviceUuid_).mergeFrom(value).buildPartial();
} else {
serviceUuid_ = value;
}
onChanged();
} else {
serviceUuidBuilder_.mergeFrom(value);
return this;
* <code>.context.Uuid service_uuid = 2;</code>
public Builder clearServiceUuid() {
if (serviceUuidBuilder_ == null) {
serviceUuid_ = null;
onChanged();
serviceUuid_ = null;
serviceUuidBuilder_ = null;
return this;
* <code>.context.Uuid service_uuid = 2;</code>
public context.ContextOuterClass.Uuid.Builder getServiceUuidBuilder() {
onChanged();
return getServiceUuidFieldBuilder().getBuilder();
* <code>.context.Uuid service_uuid = 2;</code>
public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
if (serviceUuidBuilder_ != null) {
return serviceUuidBuilder_.getMessageOrBuilder();
} else {
return serviceUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
}
* <code>.context.Uuid service_uuid = 2;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getServiceUuidFieldBuilder() {
if (serviceUuidBuilder_ == null) {
serviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getServiceUuid(),
getParentForChildren(),
isClean());
serviceUuid_ = null;
return serviceUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceId)
// @@protoc_insertion_point(class_scope:context.ServiceId)
private static final context.ContextOuterClass.ServiceId DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceId();
public static context.ContextOuterClass.ServiceId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceId>
PARSER = new com.google.protobuf.AbstractParser<ServiceId>() {
public ServiceId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceId(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Service)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ServiceId service_id = 1;</code>
* @return Whether the serviceId field is set.
boolean hasServiceId();
* <code>.context.ServiceId service_id = 1;</code>
* @return The serviceId.
context.ContextOuterClass.ServiceId getServiceId();
* <code>.context.ServiceId service_id = 1;</code>
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The enum numeric value on the wire for serviceType.
int getServiceTypeValue();
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The serviceType.
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
context.ContextOuterClass.ServiceTypeEnum getServiceType();
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.EndPointId>
getServiceEndpointIdsList();
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
context.ContextOuterClass.EndPointId getServiceEndpointIds(int index);
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
int getServiceEndpointIdsCount();
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getServiceEndpointIdsOrBuilderList();
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
int index);
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
java.util.List<context.ContextOuterClass.Constraint>
getServiceConstraintsList();
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
context.ContextOuterClass.Constraint getServiceConstraints(int index);
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
int getServiceConstraintsCount();
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getServiceConstraintsOrBuilderList();
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return Whether the serviceStatus field is set.
*/
boolean hasServiceStatus();
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return The serviceStatus.
*/
context.ContextOuterClass.ServiceStatus getServiceStatus();
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder();
/**
* <code>.context.ServiceConfig service_config = 6;</code>
* @return Whether the serviceConfig field is set.
*/
boolean hasServiceConfig();
/**
* <code>.context.ServiceConfig service_config = 6;</code>
* @return The serviceConfig.
*/
context.ContextOuterClass.ServiceConfig getServiceConfig();
/**
* <code>.context.ServiceConfig service_config = 6;</code>
*/
context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder();
/**
* <code>.context.Timestamp timestamp = 7;</code>
* @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
* <code>.context.Timestamp timestamp = 7;</code>
* @return The timestamp.
*/
context.ContextOuterClass.Timestamp getTimestamp();
/**
* <code>.context.Timestamp timestamp = 7;</code>
*/
context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
* Protobuf type {@code context.Service}
public static final class Service extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Service)
ServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use Service.newBuilder() to construct.
private Service(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Service() {
serviceType_ = 0;
serviceEndpointIds_ = java.util.Collections.emptyList();
serviceConstraints_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Service();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
private Service(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ServiceId.Builder subBuilder = null;
if (serviceId_ != null) {
subBuilder = serviceId_.toBuilder();
}
serviceId_ = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceId_);
serviceId_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
serviceType_ = rawValue;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
serviceEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>();
mutable_bitField0_ |= 0x00000001;
}
serviceEndpointIds_.add(
input.readMessage(context.ContextOuterClass.EndPointId.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
serviceConstraints_ = new java.util.ArrayList<context.ContextOuterClass.Constraint>();
mutable_bitField0_ |= 0x00000002;
}
serviceConstraints_.add(
input.readMessage(context.ContextOuterClass.Constraint.parser(), extensionRegistry));
break;
}
case 42: {
context.ContextOuterClass.ServiceStatus.Builder subBuilder = null;
if (serviceStatus_ != null) {
subBuilder = serviceStatus_.toBuilder();
}
serviceStatus_ = input.readMessage(context.ContextOuterClass.ServiceStatus.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceStatus_);
serviceStatus_ = subBuilder.buildPartial();
}
break;
}
case 50: {
context.ContextOuterClass.ServiceConfig.Builder subBuilder = null;
if (serviceConfig_ != null) {
subBuilder = serviceConfig_.toBuilder();
}
serviceConfig_ = input.readMessage(context.ContextOuterClass.ServiceConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceConfig_);
serviceConfig_ = subBuilder.buildPartial();
}
}
case 58: {
context.ContextOuterClass.Timestamp.Builder subBuilder = null;
if (timestamp_ != null) {
subBuilder = timestamp_.toBuilder();
timestamp_ = input.readMessage(context.ContextOuterClass.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timestamp_);
timestamp_ = subBuilder.buildPartial();
}
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
serviceEndpointIds_ = java.util.Collections.unmodifiableList(serviceEndpointIds_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
serviceConstraints_ = java.util.Collections.unmodifiableList(serviceConstraints_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Service_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Service_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Service.class, context.ContextOuterClass.Service.Builder.class);
public static final int SERVICE_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ServiceId serviceId_;
* <code>.context.ServiceId service_id = 1;</code>
* @return Whether the serviceId field is set.
public boolean hasServiceId() {
return serviceId_ != null;
* <code>.context.ServiceId service_id = 1;</code>
* @return The serviceId.
public context.ContextOuterClass.ServiceId getServiceId() {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
* <code>.context.ServiceId service_id = 1;</code>
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
return getServiceId();
public static final int SERVICE_TYPE_FIELD_NUMBER = 2;
private int serviceType_;
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The enum numeric value on the wire for serviceType.
*/
@java.lang.Override public int getServiceTypeValue() {
return serviceType_;
}
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The serviceType.
*/
@java.lang.Override public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
}
public static final int SERVICE_ENDPOINT_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.EndPointId> serviceEndpointIds_;
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public java.util.List<context.ContextOuterClass.EndPointId> getServiceEndpointIdsList() {
return serviceEndpointIds_;
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getServiceEndpointIdsOrBuilderList() {
return serviceEndpointIds_;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
@java.lang.Override
public int getServiceEndpointIdsCount() {
return serviceEndpointIds_.size();
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
return serviceEndpointIds_.get(index);
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
return serviceEndpointIds_.get(index);
}
public static final int SERVICE_CONSTRAINTS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.Constraint> serviceConstraints_;
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Constraint> getServiceConstraintsList() {
return serviceConstraints_;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getServiceConstraintsOrBuilderList() {
return serviceConstraints_;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
@java.lang.Override
public int getServiceConstraintsCount() {
return serviceConstraints_.size();
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Constraint getServiceConstraints(int index) {
return serviceConstraints_.get(index);
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
int index) {
return serviceConstraints_.get(index);
}
public static final int SERVICE_STATUS_FIELD_NUMBER = 5;
private context.ContextOuterClass.ServiceStatus serviceStatus_;
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return Whether the serviceStatus field is set.
*/
@java.lang.Override
public boolean hasServiceStatus() {
return serviceStatus_ != null;
}
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return The serviceStatus.
*/
@java.lang.Override
public context.ContextOuterClass.ServiceStatus getServiceStatus() {
return serviceStatus_ == null ? context.ContextOuterClass.ServiceStatus.getDefaultInstance() : serviceStatus_;
}
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder() {
return getServiceStatus();
}
public static final int SERVICE_CONFIG_FIELD_NUMBER = 6;
private context.ContextOuterClass.ServiceConfig serviceConfig_;
/**
* <code>.context.ServiceConfig service_config = 6;</code>
* @return Whether the serviceConfig field is set.
*/
@java.lang.Override
public boolean hasServiceConfig() {
return serviceConfig_ != null;
}
/**
* <code>.context.ServiceConfig service_config = 6;</code>
* @return The serviceConfig.
*/
@java.lang.Override
public context.ContextOuterClass.ServiceConfig getServiceConfig() {
return serviceConfig_ == null ? context.ContextOuterClass.ServiceConfig.getDefaultInstance() : serviceConfig_;
}
/**
* <code>.context.ServiceConfig service_config = 6;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder() {
return getServiceConfig();
}
public static final int TIMESTAMP_FIELD_NUMBER = 7;
private context.ContextOuterClass.Timestamp timestamp_;
/**
* <code>.context.Timestamp timestamp = 7;</code>
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return timestamp_ != null;
}
/**
* <code>.context.Timestamp timestamp = 7;</code>
* @return The timestamp.
*/
@java.lang.Override
public context.ContextOuterClass.Timestamp getTimestamp() {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
/**
* <code>.context.Timestamp timestamp = 7;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
return getTimestamp();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
if (serviceId_ != null) {
output.writeMessage(1, getServiceId());
}
if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
output.writeEnum(2, serviceType_);
}
for (int i = 0; i < serviceEndpointIds_.size(); i++) {
output.writeMessage(3, serviceEndpointIds_.get(i));
}
for (int i = 0; i < serviceConstraints_.size(); i++) {
output.writeMessage(4, serviceConstraints_.get(i));
}
if (serviceStatus_ != null) {
output.writeMessage(5, getServiceStatus());
}
if (serviceConfig_ != null) {
output.writeMessage(6, getServiceConfig());
}
if (timestamp_ != null) {
output.writeMessage(7, getTimestamp());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (serviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
.computeMessageSize(1, getServiceId());
}
if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, serviceType_);
}
for (int i = 0; i < serviceEndpointIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, serviceEndpointIds_.get(i));
}
for (int i = 0; i < serviceConstraints_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, serviceConstraints_.get(i));
}
if (serviceStatus_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getServiceStatus());
}
if (serviceConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getServiceConfig());
}
if (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTimestamp());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Service)) {
return super.equals(obj);
}
context.ContextOuterClass.Service other = (context.ContextOuterClass.Service) obj;
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
if (hasServiceId() != other.hasServiceId()) return false;
if (hasServiceId()) {
if (!getServiceId()
.equals(other.getServiceId())) return false;
}
if (serviceType_ != other.serviceType_) return false;
if (!getServiceEndpointIdsList()
.equals(other.getServiceEndpointIdsList())) return false;
if (!getServiceConstraintsList()
.equals(other.getServiceConstraintsList())) return false;
if (hasServiceStatus() != other.hasServiceStatus()) return false;
if (hasServiceStatus()) {
if (!getServiceStatus()
.equals(other.getServiceStatus())) return false;
}
if (hasServiceConfig() != other.hasServiceConfig()) return false;
if (hasServiceConfig()) {
if (!getServiceConfig()
.equals(other.getServiceConfig())) return false;
}
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (!getTimestamp()
.equals(other.getTimestamp())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
if (hasServiceId()) {
hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getServiceId().hashCode();
}
hash = (37 * hash) + SERVICE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + serviceType_;
if (getServiceEndpointIdsCount() > 0) {
hash = (37 * hash) + SERVICE_ENDPOINT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getServiceEndpointIdsList().hashCode();
}
if (getServiceConstraintsCount() > 0) {
hash = (37 * hash) + SERVICE_CONSTRAINTS_FIELD_NUMBER;
hash = (53 * hash) + getServiceConstraintsList().hashCode();
}
if (hasServiceStatus()) {
hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getServiceStatus().hashCode();
}
if (hasServiceConfig()) {
hash = (37 * hash) + SERVICE_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getServiceConfig().hashCode();
}
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Service parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Service parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Service parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Service parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Service parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Service parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Service parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Service parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Service parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Service parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Service parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Service parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Service prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Service}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Service)
context.ContextOuterClass.ServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Service_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Service_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Service.class, context.ContextOuterClass.Service.Builder.class);
// Construct using context.ContextOuterClass.Service.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServiceEndpointIdsFieldBuilder();
getServiceConstraintsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (serviceIdBuilder_ == null) {
serviceId_ = null;
} else {
serviceId_ = null;
serviceIdBuilder_ = null;
}
serviceType_ = 0;
if (serviceEndpointIdsBuilder_ == null) {
serviceEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
serviceEndpointIdsBuilder_.clear();
}
if (serviceConstraintsBuilder_ == null) {
serviceConstraints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
serviceConstraintsBuilder_.clear();
}
if (serviceStatusBuilder_ == null) {
serviceStatus_ = null;
} else {
serviceStatus_ = null;
serviceStatusBuilder_ = null;
}
if (serviceConfigBuilder_ == null) {
serviceConfig_ = null;
} else {
serviceConfig_ = null;
serviceConfigBuilder_ = null;
}
if (timestampBuilder_ == null) {
timestamp_ = null;
} else {
timestamp_ = null;
timestampBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Service_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Service getDefaultInstanceForType() {
return context.ContextOuterClass.Service.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Service build() {
context.ContextOuterClass.Service result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Service buildPartial() {
context.ContextOuterClass.Service result = new context.ContextOuterClass.Service(this);
int from_bitField0_ = bitField0_;
if (serviceIdBuilder_ == null) {
result.serviceId_ = serviceId_;
} else {
result.serviceId_ = serviceIdBuilder_.build();
}
result.serviceType_ = serviceType_;
if (serviceEndpointIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
serviceEndpointIds_ = java.util.Collections.unmodifiableList(serviceEndpointIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.serviceEndpointIds_ = serviceEndpointIds_;
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
result.serviceEndpointIds_ = serviceEndpointIdsBuilder_.build();
}
if (serviceConstraintsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
serviceConstraints_ = java.util.Collections.unmodifiableList(serviceConstraints_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.serviceConstraints_ = serviceConstraints_;
} else {
result.serviceConstraints_ = serviceConstraintsBuilder_.build();
}
if (serviceStatusBuilder_ == null) {
result.serviceStatus_ = serviceStatus_;
} else {
result.serviceStatus_ = serviceStatusBuilder_.build();
}
if (serviceConfigBuilder_ == null) {
result.serviceConfig_ = serviceConfig_;
} else {
result.serviceConfig_ = serviceConfigBuilder_.build();
}
if (timestampBuilder_ == null) {
result.timestamp_ = timestamp_;
} else {
result.timestamp_ = timestampBuilder_.build();
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Service) {
return mergeFrom((context.ContextOuterClass.Service)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Service other) {
if (other == context.ContextOuterClass.Service.getDefaultInstance()) return this;
if (other.hasServiceId()) {
mergeServiceId(other.getServiceId());
}
if (other.serviceType_ != 0) {
setServiceTypeValue(other.getServiceTypeValue());
}
if (serviceEndpointIdsBuilder_ == null) {
if (!other.serviceEndpointIds_.isEmpty()) {
if (serviceEndpointIds_.isEmpty()) {
serviceEndpointIds_ = other.serviceEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.addAll(other.serviceEndpointIds_);
}
onChanged();
}
} else {
if (!other.serviceEndpointIds_.isEmpty()) {
if (serviceEndpointIdsBuilder_.isEmpty()) {
serviceEndpointIdsBuilder_.dispose();
serviceEndpointIdsBuilder_ = null;
serviceEndpointIds_ = other.serviceEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
serviceEndpointIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceEndpointIdsFieldBuilder() : null;
} else {
serviceEndpointIdsBuilder_.addAllMessages(other.serviceEndpointIds_);
}
}
}
if (serviceConstraintsBuilder_ == null) {
if (!other.serviceConstraints_.isEmpty()) {
if (serviceConstraints_.isEmpty()) {
serviceConstraints_ = other.serviceConstraints_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureServiceConstraintsIsMutable();
serviceConstraints_.addAll(other.serviceConstraints_);
}
onChanged();
}
} else {
if (!other.serviceConstraints_.isEmpty()) {
if (serviceConstraintsBuilder_.isEmpty()) {
serviceConstraintsBuilder_.dispose();
serviceConstraintsBuilder_ = null;
serviceConstraints_ = other.serviceConstraints_;
bitField0_ = (bitField0_ & ~0x00000002);
serviceConstraintsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceConstraintsFieldBuilder() : null;
serviceConstraintsBuilder_.addAllMessages(other.serviceConstraints_);
if (other.hasServiceStatus()) {
mergeServiceStatus(other.getServiceStatus());
}
if (other.hasServiceConfig()) {
mergeServiceConfig(other.getServiceConfig());
}
if (other.hasTimestamp()) {
mergeTimestamp(other.getTimestamp());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
context.ContextOuterClass.Service parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Service) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
private context.ContextOuterClass.ServiceId serviceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdBuilder_;
/**
* <code>.context.ServiceId service_id = 1;</code>
* @return Whether the serviceId field is set.
*/
public boolean hasServiceId() {
return serviceIdBuilder_ != null || serviceId_ != null;
}
/**
* <code>.context.ServiceId service_id = 1;</code>
* @return The serviceId.
*/
public context.ContextOuterClass.ServiceId getServiceId() {
if (serviceIdBuilder_ == null) {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
} else {
return serviceIdBuilder_.getMessage();
}
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceId_ = value;
onChanged();
} else {
serviceIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public Builder setServiceId(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdBuilder_ == null) {
serviceId_ = builderForValue.build();
onChanged();
} else {
serviceIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (serviceId_ != null) {
serviceId_ =
context.ContextOuterClass.ServiceId.newBuilder(serviceId_).mergeFrom(value).buildPartial();
} else {
serviceId_ = value;
}
onChanged();
} else {
serviceIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public Builder clearServiceId() {
if (serviceIdBuilder_ == null) {
serviceId_ = null;
onChanged();
} else {
serviceId_ = null;
serviceIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
onChanged();
return getServiceIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
if (serviceIdBuilder_ != null) {
return serviceIdBuilder_.getMessageOrBuilder();
} else {
return serviceId_ == null ?
context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
}
}
/**
* <code>.context.ServiceId service_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdFieldBuilder() {
if (serviceIdBuilder_ == null) {
serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
getServiceId(),
getParentForChildren(),
isClean());
serviceId_ = null;
}
return serviceIdBuilder_;
}
private int serviceType_ = 0;
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The enum numeric value on the wire for serviceType.
*/
@java.lang.Override public int getServiceTypeValue() {
return serviceType_;
}
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @param value The enum numeric value on the wire for serviceType to set.
* @return This builder for chaining.
*/
public Builder setServiceTypeValue(int value) {
serviceType_ = value;
onChanged();
return this;
}
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return The serviceType.
*/
@java.lang.Override
public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
}
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @param value The serviceType to set.
* @return This builder for chaining.
*/
public Builder setServiceType(context.ContextOuterClass.ServiceTypeEnum value) {
if (value == null) {
throw new NullPointerException();
}
serviceType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.context.ServiceTypeEnum service_type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServiceType() {
serviceType_ = 0;
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.EndPointId> serviceEndpointIds_ =
java.util.Collections.emptyList();
private void ensureServiceEndpointIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
serviceEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>(serviceEndpointIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder> serviceEndpointIdsBuilder_;
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public java.util.List<context.ContextOuterClass.EndPointId> getServiceEndpointIdsList() {
if (serviceEndpointIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceEndpointIds_);
return serviceEndpointIdsBuilder_.getMessageList();
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public int getServiceEndpointIdsCount() {
if (serviceEndpointIdsBuilder_ == null) {
return serviceEndpointIds_.size();
return serviceEndpointIdsBuilder_.getCount();
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
if (serviceEndpointIdsBuilder_ == null) {
return serviceEndpointIds_.get(index);
return serviceEndpointIdsBuilder_.getMessage(index);
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder setServiceEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (serviceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.set(index, value);
serviceEndpointIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder setServiceEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (serviceEndpointIdsBuilder_ == null) {
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.set(index, builderForValue.build());
serviceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder addServiceEndpointIds(context.ContextOuterClass.EndPointId value) {
if (serviceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.add(value);
serviceEndpointIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder addServiceEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (serviceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.add(index, value);
serviceEndpointIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder addServiceEndpointIds(
context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (serviceEndpointIdsBuilder_ == null) {
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.add(builderForValue.build());
serviceEndpointIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder addServiceEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (serviceEndpointIdsBuilder_ == null) {
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.add(index, builderForValue.build());
serviceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
public Builder addAllServiceEndpointIds(
java.lang.Iterable<? extends context.ContextOuterClass.EndPointId> values) {
if (serviceEndpointIdsBuilder_ == null) {
ensureServiceEndpointIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
values, serviceEndpointIds_);
onChanged();
} else {
serviceEndpointIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public Builder clearServiceEndpointIds() {
if (serviceEndpointIdsBuilder_ == null) {
serviceEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
serviceEndpointIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public Builder removeServiceEndpointIds(int index) {
if (serviceEndpointIdsBuilder_ == null) {
ensureServiceEndpointIdsIsMutable();
serviceEndpointIds_.remove(index);
onChanged();
} else {
serviceEndpointIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder getServiceEndpointIdsBuilder(
int index) {
return getServiceEndpointIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
int index) {
if (serviceEndpointIdsBuilder_ == null) {
return serviceEndpointIds_.get(index); } else {
return serviceEndpointIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getServiceEndpointIdsOrBuilderList() {
if (serviceEndpointIdsBuilder_ != null) {
return serviceEndpointIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceEndpointIds_);
}
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addServiceEndpointIdsBuilder() {
return getServiceEndpointIdsFieldBuilder().addBuilder(
context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addServiceEndpointIdsBuilder(
int index) {
return getServiceEndpointIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
* <code>repeated .context.EndPointId service_endpoint_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.EndPointId.Builder>
getServiceEndpointIdsBuilderList() {
return getServiceEndpointIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>
getServiceEndpointIdsFieldBuilder() {
if (serviceEndpointIdsBuilder_ == null) {
serviceEndpointIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>(
serviceEndpointIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
serviceEndpointIds_ = null;
}
return serviceEndpointIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.Constraint> serviceConstraints_ =
java.util.Collections.emptyList();
private void ensureServiceConstraintsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
serviceConstraints_ = new java.util.ArrayList<context.ContextOuterClass.Constraint>(serviceConstraints_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder> serviceConstraintsBuilder_;
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public java.util.List<context.ContextOuterClass.Constraint> getServiceConstraintsList() {
if (serviceConstraintsBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceConstraints_);
} else {
return serviceConstraintsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public int getServiceConstraintsCount() {
if (serviceConstraintsBuilder_ == null) {
return serviceConstraints_.size();
} else {
return serviceConstraintsBuilder_.getCount();
}
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public context.ContextOuterClass.Constraint getServiceConstraints(int index) {
if (serviceConstraintsBuilder_ == null) {
return serviceConstraints_.get(index);
} else {
return serviceConstraintsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public Builder setServiceConstraints(
int index, context.ContextOuterClass.Constraint value) {
if (serviceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceConstraintsIsMutable();
serviceConstraints_.set(index, value);
onChanged();
} else {
serviceConstraintsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public Builder setServiceConstraints(
int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
if (serviceConstraintsBuilder_ == null) {
ensureServiceConstraintsIsMutable();
serviceConstraints_.set(index, builderForValue.build());
onChanged();
} else {
serviceConstraintsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public Builder addServiceConstraints(context.ContextOuterClass.Constraint value) {
if (serviceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceConstraintsIsMutable();
serviceConstraints_.add(value);
serviceConstraintsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
public Builder addServiceConstraints(
int index, context.ContextOuterClass.Constraint value) {
if (serviceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceConstraintsIsMutable();
serviceConstraints_.add(index, value);
serviceConstraintsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
public Builder addServiceConstraints(
context.ContextOuterClass.Constraint.Builder builderForValue) {
if (serviceConstraintsBuilder_ == null) {
ensureServiceConstraintsIsMutable();
serviceConstraints_.add(builderForValue.build());
serviceConstraintsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
public Builder addServiceConstraints(
int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
if (serviceConstraintsBuilder_ == null) {
ensureServiceConstraintsIsMutable();
serviceConstraints_.add(index, builderForValue.build());
onChanged();
serviceConstraintsBuilder_.addMessage(index, builderForValue.build());
return this;
* <code>repeated .context.Constraint service_constraints = 4;</code>
public Builder addAllServiceConstraints(
java.lang.Iterable<? extends context.ContextOuterClass.Constraint> values) {
if (serviceConstraintsBuilder_ == null) {
ensureServiceConstraintsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceConstraints_);
onChanged();
} else {
serviceConstraintsBuilder_.addAllMessages(values);
return this;
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public Builder clearServiceConstraints() {
if (serviceConstraintsBuilder_ == null) {
serviceConstraints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
serviceConstraintsBuilder_.clear();
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public Builder removeServiceConstraints(int index) {
if (serviceConstraintsBuilder_ == null) {
ensureServiceConstraintsIsMutable();
serviceConstraints_.remove(index);
onChanged();
} else {
serviceConstraintsBuilder_.remove(index);
}
return this;
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public context.ContextOuterClass.Constraint.Builder getServiceConstraintsBuilder(
int index) {
return getServiceConstraintsFieldBuilder().getBuilder(index);
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
int index) {
if (serviceConstraintsBuilder_ == null) {
return serviceConstraints_.get(index); } else {
return serviceConstraintsBuilder_.getMessageOrBuilder(index);
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getServiceConstraintsOrBuilderList() {
if (serviceConstraintsBuilder_ != null) {
return serviceConstraintsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(serviceConstraints_);
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public context.ContextOuterClass.Constraint.Builder addServiceConstraintsBuilder() {
return getServiceConstraintsFieldBuilder().addBuilder(
context.ContextOuterClass.Constraint.getDefaultInstance());
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public context.ContextOuterClass.Constraint.Builder addServiceConstraintsBuilder(
int index) {
return getServiceConstraintsFieldBuilder().addBuilder(
index, context.ContextOuterClass.Constraint.getDefaultInstance());
/**
* <code>repeated .context.Constraint service_constraints = 4;</code>
*/
public java.util.List<context.ContextOuterClass.Constraint.Builder>
getServiceConstraintsBuilderList() {
return getServiceConstraintsFieldBuilder().getBuilderList();
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder>
getServiceConstraintsFieldBuilder() {
if (serviceConstraintsBuilder_ == null) {
serviceConstraintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder>(
serviceConstraints_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
serviceConstraints_ = null;
}
return serviceConstraintsBuilder_;
private context.ContextOuterClass.ServiceStatus serviceStatus_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceStatus, context.ContextOuterClass.ServiceStatus.Builder, context.ContextOuterClass.ServiceStatusOrBuilder> serviceStatusBuilder_;
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return Whether the serviceStatus field is set.
*/
public boolean hasServiceStatus() {
return serviceStatusBuilder_ != null || serviceStatus_ != null;
/**
* <code>.context.ServiceStatus service_status = 5;</code>
* @return The serviceStatus.
*/
public context.ContextOuterClass.ServiceStatus getServiceStatus() {
if (serviceStatusBuilder_ == null) {
return serviceStatus_ == null ? context.ContextOuterClass.ServiceStatus.getDefaultInstance() : serviceStatus_;
return serviceStatusBuilder_.getMessage();
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
public Builder setServiceStatus(context.ContextOuterClass.ServiceStatus value) {
if (serviceStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
serviceStatus_ = value;
onChanged();
serviceStatusBuilder_.setMessage(value);
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
public Builder setServiceStatus(
context.ContextOuterClass.ServiceStatus.Builder builderForValue) {
if (serviceStatusBuilder_ == null) {
serviceStatus_ = builderForValue.build();
onChanged();
} else {
serviceStatusBuilder_.setMessage(builderForValue.build());
}
return this;
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
public Builder mergeServiceStatus(context.ContextOuterClass.ServiceStatus value) {
if (serviceStatusBuilder_ == null) {
if (serviceStatus_ != null) {
serviceStatus_ =
context.ContextOuterClass.ServiceStatus.newBuilder(serviceStatus_).mergeFrom(value).buildPartial();
} else {
serviceStatus_ = value;
onChanged();
} else {
serviceStatusBuilder_.mergeFrom(value);
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
public Builder clearServiceStatus() {
if (serviceStatusBuilder_ == null) {
serviceStatus_ = null;
onChanged();
} else {
serviceStatus_ = null;
serviceStatusBuilder_ = null;
}
return this;
* <code>.context.ServiceStatus service_status = 5;</code>
public context.ContextOuterClass.ServiceStatus.Builder getServiceStatusBuilder() {
onChanged();
return getServiceStatusFieldBuilder().getBuilder();
}
/**
* <code>.context.ServiceStatus service_status = 5;</code>
*/
public context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder() {
if (serviceStatusBuilder_ != null) {
return serviceStatusBuilder_.getMessageOrBuilder();
return serviceStatus_ == null ?
context.ContextOuterClass.ServiceStatus.getDefaultInstance() : serviceStatus_;
* <code>.context.ServiceStatus service_status = 5;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceStatus, context.ContextOuterClass.ServiceStatus.Builder, context.ContextOuterClass.ServiceStatusOrBuilder>
getServiceStatusFieldBuilder() {
if (serviceStatusBuilder_ == null) {
serviceStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceStatus, context.ContextOuterClass.ServiceStatus.Builder, context.ContextOuterClass.ServiceStatusOrBuilder>(
getServiceStatus(),
getParentForChildren(),
isClean());
serviceStatus_ = null;
return serviceStatusBuilder_;
private context.ContextOuterClass.ServiceConfig serviceConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceConfig, context.ContextOuterClass.ServiceConfig.Builder, context.ContextOuterClass.ServiceConfigOrBuilder> serviceConfigBuilder_;
* <code>.context.ServiceConfig service_config = 6;</code>
* @return Whether the serviceConfig field is set.
public boolean hasServiceConfig() {
return serviceConfigBuilder_ != null || serviceConfig_ != null;
}
/**
* <code>.context.ServiceConfig service_config = 6;</code>
* @return The serviceConfig.
*/
public context.ContextOuterClass.ServiceConfig getServiceConfig() {
if (serviceConfigBuilder_ == null) {
return serviceConfig_ == null ? context.ContextOuterClass.ServiceConfig.getDefaultInstance() : serviceConfig_;
return serviceConfigBuilder_.getMessage();
* <code>.context.ServiceConfig service_config = 6;</code>
public Builder setServiceConfig(context.ContextOuterClass.ServiceConfig value) {
if (serviceConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceConfig_ = value;
serviceConfigBuilder_.setMessage(value);
* <code>.context.ServiceConfig service_config = 6;</code>
public Builder setServiceConfig(
context.ContextOuterClass.ServiceConfig.Builder builderForValue) {
if (serviceConfigBuilder_ == null) {
serviceConfig_ = builderForValue.build();
serviceConfigBuilder_.setMessage(builderForValue.build());
* <code>.context.ServiceConfig service_config = 6;</code>
public Builder mergeServiceConfig(context.ContextOuterClass.ServiceConfig value) {
if (serviceConfigBuilder_ == null) {
if (serviceConfig_ != null) {
serviceConfig_ =
context.ContextOuterClass.ServiceConfig.newBuilder(serviceConfig_).mergeFrom(value).buildPartial();
} else {
serviceConfig_ = value;
}
onChanged();
} else {
serviceConfigBuilder_.mergeFrom(value);
* <code>.context.ServiceConfig service_config = 6;</code>
public Builder clearServiceConfig() {
if (serviceConfigBuilder_ == null) {
serviceConfig_ = null;
serviceConfig_ = null;
serviceConfigBuilder_ = null;
* <code>.context.ServiceConfig service_config = 6;</code>
public context.ContextOuterClass.ServiceConfig.Builder getServiceConfigBuilder() {
onChanged();
return getServiceConfigFieldBuilder().getBuilder();
}
/**
* <code>.context.ServiceConfig service_config = 6;</code>
*/
public context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder() {
if (serviceConfigBuilder_ != null) {
return serviceConfigBuilder_.getMessageOrBuilder();
return serviceConfig_ == null ?
context.ContextOuterClass.ServiceConfig.getDefaultInstance() : serviceConfig_;
* <code>.context.ServiceConfig service_config = 6;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceConfig, context.ContextOuterClass.ServiceConfig.Builder, context.ContextOuterClass.ServiceConfigOrBuilder>
getServiceConfigFieldBuilder() {
if (serviceConfigBuilder_ == null) {
serviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceConfig, context.ContextOuterClass.ServiceConfig.Builder, context.ContextOuterClass.ServiceConfigOrBuilder>(
getServiceConfig(),
getParentForChildren(),
isClean());
serviceConfig_ = null;
return serviceConfigBuilder_;
private context.ContextOuterClass.Timestamp timestamp_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
* <code>.context.Timestamp timestamp = 7;</code>
* @return Whether the timestamp field is set.
public boolean hasTimestamp() {
return timestampBuilder_ != null || timestamp_ != null;
}
/**
* <code>.context.Timestamp timestamp = 7;</code>
* @return The timestamp.
*/
public context.ContextOuterClass.Timestamp getTimestamp() {
if (timestampBuilder_ == null) {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
return timestampBuilder_.getMessage();
* <code>.context.Timestamp timestamp = 7;</code>
public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
timestampBuilder_.setMessage(value);
* <code>.context.Timestamp timestamp = 7;</code>
public Builder setTimestamp(
context.ContextOuterClass.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
timestampBuilder_.setMessage(builderForValue.build());
* <code>.context.Timestamp timestamp = 7;</code>
public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (timestamp_ != null) {
timestamp_ =
context.ContextOuterClass.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
} else {
timestamp_ = value;
}
onChanged();
} else {
timestampBuilder_.mergeFrom(value);
return this;
* <code>.context.Timestamp timestamp = 7;</code>
public Builder clearTimestamp() {
if (timestampBuilder_ == null) {
timestamp_ = null;
onChanged();
timestamp_ = null;
timestampBuilder_ = null;
return this;
* <code>.context.Timestamp timestamp = 7;</code>
public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
onChanged();
return getTimestampFieldBuilder().getBuilder();
* <code>.context.Timestamp timestamp = 7;</code>
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
if (timestampBuilder_ != null) {
return timestampBuilder_.getMessageOrBuilder();
} else {
return timestamp_ == null ?
context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
/**
* <code>.context.Timestamp timestamp = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
getTimestampFieldBuilder() {
if (timestampBuilder_ == null) {
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
getTimestamp(),
getParentForChildren(),
isClean());
timestamp_ = null;
return timestampBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Service)
// @@protoc_insertion_point(class_scope:context.Service)
private static final context.ContextOuterClass.Service DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.Service();
public static context.ContextOuterClass.Service getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Service>
PARSER = new com.google.protobuf.AbstractParser<Service>() {
public Service parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Service(input, extensionRegistry);
public static com.google.protobuf.Parser<Service> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Service> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Service getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceStatus)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The enum numeric value on the wire for serviceStatus.
int getServiceStatusValue();
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The serviceStatus.
context.ContextOuterClass.ServiceStatusEnum getServiceStatus();
* Protobuf type {@code context.ServiceStatus}
public static final class ServiceStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceStatus)
ServiceStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceStatus.newBuilder() to construct.
private ServiceStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceStatus() {
serviceStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceStatus();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceStatus(
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
serviceStatus_ = rawValue;
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceStatus.class, context.ContextOuterClass.ServiceStatus.Builder.class);
public static final int SERVICE_STATUS_FIELD_NUMBER = 1;
private int serviceStatus_;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The enum numeric value on the wire for serviceStatus.
@java.lang.Override public int getServiceStatusValue() {
return serviceStatus_;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The serviceStatus.
@java.lang.Override public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
output.writeEnum(1, serviceStatus_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, serviceStatus_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceStatus)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceStatus other = (context.ContextOuterClass.ServiceStatus) obj;
if (serviceStatus_ != other.serviceStatus_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + serviceStatus_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ServiceStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceStatus)
context.ContextOuterClass.ServiceStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceStatus.class, context.ContextOuterClass.ServiceStatus.Builder.class);
// Construct using context.ContextOuterClass.ServiceStatus.newBuilder()
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
serviceStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceStatus_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ServiceStatus getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceStatus.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ServiceStatus build() {
context.ContextOuterClass.ServiceStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceStatus buildPartial() {
context.ContextOuterClass.ServiceStatus result = new context.ContextOuterClass.ServiceStatus(this);
result.serviceStatus_ = serviceStatus_;
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceStatus) {
return mergeFrom((context.ContextOuterClass.ServiceStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ServiceStatus other) {
if (other == context.ContextOuterClass.ServiceStatus.getDefaultInstance()) return this;
if (other.serviceStatus_ != 0) {
setServiceStatusValue(other.getServiceStatusValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int serviceStatus_ = 0;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The enum numeric value on the wire for serviceStatus.
@java.lang.Override public int getServiceStatusValue() {
return serviceStatus_;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @param value The enum numeric value on the wire for serviceStatus to set.
* @return This builder for chaining.
public Builder setServiceStatusValue(int value) {
serviceStatus_ = value;
return this;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return The serviceStatus.
@java.lang.Override
public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @param value The serviceStatus to set.
* @return This builder for chaining.
public Builder setServiceStatus(context.ContextOuterClass.ServiceStatusEnum value) {
if (value == null) {
throw new NullPointerException();
serviceStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.context.ServiceStatusEnum service_status = 1;</code>
* @return This builder for chaining.
*/
public Builder clearServiceStatus() {
serviceStatus_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceStatus)
// @@protoc_insertion_point(class_scope:context.ServiceStatus)
private static final context.ContextOuterClass.ServiceStatus DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceStatus();
public static context.ContextOuterClass.ServiceStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceStatus>
PARSER = new com.google.protobuf.AbstractParser<ServiceStatus>() {
public ServiceStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceStatus(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceStatus> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceStatus> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceConfig)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
java.util.List<context.ContextOuterClass.ConfigRule>
getConfigRulesList();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
context.ContextOuterClass.ConfigRule getConfigRules(int index);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
int getConfigRulesCount();
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList();
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index);
* Protobuf type {@code context.ServiceConfig}
public static final class ServiceConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceConfig)
ServiceConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceConfig.newBuilder() to construct.
private ServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceConfig() {
configRules_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>();
mutable_bitField0_ |= 0x00000001;
configRules_.add(
input.readMessage(context.ContextOuterClass.ConfigRule.parser(), extensionRegistry));
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceConfig.class, context.ContextOuterClass.ServiceConfig.Builder.class);
public static final int CONFIG_RULES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
return configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
return configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
public int getConfigRulesCount() {
return configRules_.size();
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
return configRules_.get(index);
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
return configRules_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < configRules_.size(); i++) {
output.writeMessage(1, configRules_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < configRules_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, configRules_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceConfig)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceConfig other = (context.ContextOuterClass.ServiceConfig) obj;
if (!getConfigRulesList()
.equals(other.getConfigRulesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getConfigRulesCount() > 0) {
hash = (37 * hash) + CONFIG_RULES_FIELD_NUMBER;
hash = (53 * hash) + getConfigRulesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ServiceConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceConfig)
context.ContextOuterClass.ServiceConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceConfig.class, context.ContextOuterClass.ServiceConfig.Builder.class);
// Construct using context.ContextOuterClass.ServiceConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConfigRulesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceConfig_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ServiceConfig getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceConfig.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ServiceConfig build() {
context.ContextOuterClass.ServiceConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceConfig buildPartial() {
context.ContextOuterClass.ServiceConfig result = new context.ContextOuterClass.ServiceConfig(this);
int from_bitField0_ = bitField0_;
if (configRulesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configRules_ = configRules_;
result.configRules_ = configRulesBuilder_.build();
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceConfig) {
return mergeFrom((context.ContextOuterClass.ServiceConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
public Builder mergeFrom(context.ContextOuterClass.ServiceConfig other) {
if (other == context.ContextOuterClass.ServiceConfig.getDefaultInstance()) return this;
if (configRulesBuilder_ == null) {
if (!other.configRules_.isEmpty()) {
if (configRules_.isEmpty()) {
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigRulesIsMutable();
configRules_.addAll(other.configRules_);
}
onChanged();
}
} else {
if (!other.configRules_.isEmpty()) {
if (configRulesBuilder_.isEmpty()) {
configRulesBuilder_.dispose();
configRulesBuilder_ = null;
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigRulesFieldBuilder() : null;
} else {
configRulesBuilder_.addAllMessages(other.configRules_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_ =
java.util.Collections.emptyList();
private void ensureConfigRulesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>(configRules_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder> configRulesBuilder_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
if (configRulesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configRules_);
} else {
return configRulesBuilder_.getMessageList();
}
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public int getConfigRulesCount() {
if (configRulesBuilder_ == null) {
return configRules_.size();
return configRulesBuilder_.getCount();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index);
} else {
return configRulesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.set(index, value);
configRulesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.set(index, builderForValue.build());
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
configRulesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.add(value);
onChanged();
} else {
configRulesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.add(index, value);
onChanged();
} else {
configRulesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(builderForValue.build());
onChanged();
} else {
configRulesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(index, builderForValue.build());
onChanged();
} else {
configRulesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public Builder addAllConfigRules(
java.lang.Iterable<? extends context.ContextOuterClass.ConfigRule> values) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configRules_);
onChanged();
} else {
configRulesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder clearConfigRules() {
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder removeConfigRules(int index) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.remove(index);
configRulesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().getBuilder(index);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index); } else {
return configRulesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
if (configRulesBuilder_ != null) {
return configRulesBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(configRules_);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
return getConfigRulesFieldBuilder().addBuilder(
context.ContextOuterClass.ConfigRule.getDefaultInstance());
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().addBuilder(
index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ConfigRule.Builder>
getConfigRulesBuilderList() {
return getConfigRulesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesFieldBuilder() {
if (configRulesBuilder_ == null) {
configRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>(
configRules_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configRules_ = null;
return configRulesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceConfig)
// @@protoc_insertion_point(class_scope:context.ServiceConfig)
private static final context.ContextOuterClass.ServiceConfig DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceConfig();
public static context.ContextOuterClass.ServiceConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceConfig>
PARSER = new com.google.protobuf.AbstractParser<ServiceConfig>() {
public ServiceConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceConfig(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceConfig> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceConfig> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
java.util.List<context.ContextOuterClass.ServiceId>
getServiceIdsList();
* <code>repeated .context.ServiceId service_ids = 1;</code>
context.ContextOuterClass.ServiceId getServiceIds(int index);
* <code>repeated .context.ServiceId service_ids = 1;</code>
int getServiceIdsCount();
* <code>repeated .context.ServiceId service_ids = 1;</code>
java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList();
* <code>repeated .context.ServiceId service_ids = 1;</code>
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
* Protobuf type {@code context.ServiceIdList}
public static final class ServiceIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceIdList)
ServiceIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceIdList.newBuilder() to construct.
private ServiceIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceIdList() {
serviceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceIdList(
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>();
mutable_bitField0_ |= 0x00000001;
}
serviceIds_.add(
input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceIdList.class, context.ContextOuterClass.ServiceIdList.Builder.class);
public static final int SERVICE_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_;
* <code>repeated .context.ServiceId service_ids = 1;</code>
public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
return serviceIds_;
* <code>repeated .context.ServiceId service_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
return serviceIds_;
* <code>repeated .context.ServiceId service_ids = 1;</code>
public int getServiceIdsCount() {
return serviceIds_.size();
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
return serviceIds_.get(index);
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
return serviceIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < serviceIds_.size(); i++) {
output.writeMessage(1, serviceIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < serviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, serviceIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceIdList other = (context.ContextOuterClass.ServiceIdList) obj;
if (!getServiceIdsList()
.equals(other.getServiceIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServiceIdsCount() > 0) {
hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getServiceIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ServiceIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceIdList)
context.ContextOuterClass.ServiceIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceIdList_descriptor;
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceIdList.class, context.ContextOuterClass.ServiceIdList.Builder.class);
// Construct using context.ContextOuterClass.ServiceIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServiceIdsFieldBuilder();
@java.lang.Override
public Builder clear() {
super.clear();
if (serviceIdsBuilder_ == null) {
serviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
serviceIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceIdList_descriptor;
@java.lang.Override
public context.ContextOuterClass.ServiceIdList getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceIdList.getDefaultInstance();
@java.lang.Override
public context.ContextOuterClass.ServiceIdList build() {
context.ContextOuterClass.ServiceIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceIdList buildPartial() {
context.ContextOuterClass.ServiceIdList result = new context.ContextOuterClass.ServiceIdList(this);
int from_bitField0_ = bitField0_;
if (serviceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.serviceIds_ = serviceIds_;
} else {
result.serviceIds_ = serviceIdsBuilder_.build();
onBuilt();
return result;
@java.lang.Override
public Builder clone() {
return super.clone();
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceIdList) {
return mergeFrom((context.ContextOuterClass.ServiceIdList)other);
} else {
super.mergeFrom(other);
return this;
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
public Builder mergeFrom(context.ContextOuterClass.ServiceIdList other) {
if (other == context.ContextOuterClass.ServiceIdList.getDefaultInstance()) return this;
if (serviceIdsBuilder_ == null) {
if (!other.serviceIds_.isEmpty()) {
if (serviceIds_.isEmpty()) {
serviceIds_ = other.serviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServiceIdsIsMutable();
serviceIds_.addAll(other.serviceIds_);
}
onChanged();
}
} else {
if (!other.serviceIds_.isEmpty()) {
if (serviceIdsBuilder_.isEmpty()) {
serviceIdsBuilder_.dispose();
serviceIdsBuilder_ = null;
serviceIds_ = other.serviceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
serviceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceIdsFieldBuilder() : null;
} else {
serviceIdsBuilder_.addAllMessages(other.serviceIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_ =
java.util.Collections.emptyList();
private void ensureServiceIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(serviceIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdsBuilder_;
* <code>repeated .context.ServiceId service_ids = 1;</code>
public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
if (serviceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceIds_);
return serviceIdsBuilder_.getMessageList();
* <code>repeated .context.ServiceId service_ids = 1;</code>
public int getServiceIdsCount() {
if (serviceIdsBuilder_ == null) {
return serviceIds_.size();
return serviceIdsBuilder_.getCount();
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
return serviceIds_.get(index);
return serviceIdsBuilder_.getMessage(index);
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.set(index, value);
serviceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.set(index, builderForValue.build());
serviceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.add(value);
serviceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceIdsIsMutable();
serviceIds_.add(index, value);
serviceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder addServiceIds(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.add(builderForValue.build());
serviceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.add(index, builderForValue.build());
serviceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder addAllServiceIds(
java.lang.Iterable<? extends context.ContextOuterClass.ServiceId> values) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceIds_);
serviceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder clearServiceIds() {
if (serviceIdsBuilder_ == null) {
serviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
serviceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public Builder removeServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.remove(index);
serviceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
return getServiceIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
if (serviceIdsBuilder_ == null) {
return serviceIds_.get(index); } else {
return serviceIdsBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.ServiceId service_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
if (serviceIdsBuilder_ != null) {
return serviceIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(serviceIds_);
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
return getServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
* <code>repeated .context.ServiceId service_ids = 1;</code>
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
return getServiceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
* <code>repeated .context.ServiceId service_ids = 1;</code>
public java.util.List<context.ContextOuterClass.ServiceId.Builder>
getServiceIdsBuilderList() {
return getServiceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsFieldBuilder() {
if (serviceIdsBuilder_ == null) {
serviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
serviceIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
serviceIds_ = null;
return serviceIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceIdList)
// @@protoc_insertion_point(class_scope:context.ServiceIdList)
private static final context.ContextOuterClass.ServiceIdList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceIdList();
public static context.ContextOuterClass.ServiceIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceIdList>
PARSER = new com.google.protobuf.AbstractParser<ServiceIdList>() {
public ServiceIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceIdList(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Service services = 1;</code>
java.util.List<context.ContextOuterClass.Service>
getServicesList();
* <code>repeated .context.Service services = 1;</code>
context.ContextOuterClass.Service getServices(int index);
* <code>repeated .context.Service services = 1;</code>
int getServicesCount();
* <code>repeated .context.Service services = 1;</code>
java.util.List<? extends context.ContextOuterClass.ServiceOrBuilder>
getServicesOrBuilderList();
* <code>repeated .context.Service services = 1;</code>
context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
* Protobuf type {@code context.ServiceList}
public static final class ServiceList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceList)
ServiceListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceList.newBuilder() to construct.
private ServiceList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceList() {
services_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceList(
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
services_ = new java.util.ArrayList<context.ContextOuterClass.Service>();
mutable_bitField0_ |= 0x00000001;
}
services_.add(
input.readMessage(context.ContextOuterClass.Service.parser(), extensionRegistry));
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
services_ = java.util.Collections.unmodifiableList(services_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceList.class, context.ContextOuterClass.ServiceList.Builder.class);
public static final int SERVICES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Service> services_;
* <code>repeated .context.Service services = 1;</code>
public java.util.List<context.ContextOuterClass.Service> getServicesList() {
return services_;
* <code>repeated .context.Service services = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ServiceOrBuilder>
getServicesOrBuilderList() {
return services_;
* <code>repeated .context.Service services = 1;</code>
public int getServicesCount() {
return services_.size();
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.Service getServices(int index) {
return services_.get(index);
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
return services_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < services_.size(); i++) {
output.writeMessage(1, services_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < services_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, services_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceList)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceList other = (context.ContextOuterClass.ServiceList) obj;
if (!getServicesList()
.equals(other.getServicesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServicesCount() > 0) {
hash = (37 * hash) + SERVICES_FIELD_NUMBER;
hash = (53 * hash) + getServicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ServiceList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceList)
context.ContextOuterClass.ServiceListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceList.class, context.ContextOuterClass.ServiceList.Builder.class);
// Construct using context.ContextOuterClass.ServiceList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getServicesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (servicesBuilder_ == null) {
services_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
servicesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ServiceList getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ServiceList build() {
context.ContextOuterClass.ServiceList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceList buildPartial() {
context.ContextOuterClass.ServiceList result = new context.ContextOuterClass.ServiceList(this);
int from_bitField0_ = bitField0_;
if (servicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
services_ = java.util.Collections.unmodifiableList(services_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.services_ = services_;
result.services_ = servicesBuilder_.build();
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceList) {
return mergeFrom((context.ContextOuterClass.ServiceList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ServiceList other) {
if (other == context.ContextOuterClass.ServiceList.getDefaultInstance()) return this;
if (servicesBuilder_ == null) {
if (!other.services_.isEmpty()) {
if (services_.isEmpty()) {
services_ = other.services_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServicesIsMutable();
services_.addAll(other.services_);
}
onChanged();
}
} else {
if (!other.services_.isEmpty()) {
if (servicesBuilder_.isEmpty()) {
servicesBuilder_.dispose();
servicesBuilder_ = null;
services_ = other.services_;
bitField0_ = (bitField0_ & ~0x00000001);
servicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServicesFieldBuilder() : null;
servicesBuilder_.addAllMessages(other.services_);
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Service> services_ =
java.util.Collections.emptyList();
private void ensureServicesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
services_ = new java.util.ArrayList<context.ContextOuterClass.Service>(services_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Service, context.ContextOuterClass.Service.Builder, context.ContextOuterClass.ServiceOrBuilder> servicesBuilder_;
* <code>repeated .context.Service services = 1;</code>
public java.util.List<context.ContextOuterClass.Service> getServicesList() {
if (servicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(services_);
return servicesBuilder_.getMessageList();
* <code>repeated .context.Service services = 1;</code>
public int getServicesCount() {
if (servicesBuilder_ == null) {
return services_.size();
return servicesBuilder_.getCount();
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.Service getServices(int index) {
if (servicesBuilder_ == null) {
return services_.get(index);
return servicesBuilder_.getMessage(index);
* <code>repeated .context.Service services = 1;</code>
*/
public Builder setServices(
int index, context.ContextOuterClass.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.set(index, value);
servicesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder setServices(
int index, context.ContextOuterClass.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.set(index, builderForValue.build());
servicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder addServices(context.ContextOuterClass.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.add(value);
servicesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder addServices(
int index, context.ContextOuterClass.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.add(index, value);
servicesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder addServices(
context.ContextOuterClass.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.add(builderForValue.build());
servicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder addServices(
int index, context.ContextOuterClass.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.add(index, builderForValue.build());
servicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder addAllServices(
java.lang.Iterable<? extends context.ContextOuterClass.Service> values) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, services_);
servicesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder clearServices() {
if (servicesBuilder_ == null) {
services_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
servicesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public Builder removeServices(int index) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.remove(index);
servicesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.Service.Builder getServicesBuilder(
return getServicesFieldBuilder().getBuilder(index);
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
if (servicesBuilder_ == null) {
return services_.get(index); } else {
return servicesBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.Service services = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ServiceOrBuilder>
getServicesOrBuilderList() {
if (servicesBuilder_ != null) {
return servicesBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(services_);
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.Service.Builder addServicesBuilder() {
return getServicesFieldBuilder().addBuilder(
context.ContextOuterClass.Service.getDefaultInstance());
* <code>repeated .context.Service services = 1;</code>
public context.ContextOuterClass.Service.Builder addServicesBuilder(
return getServicesFieldBuilder().addBuilder(
index, context.ContextOuterClass.Service.getDefaultInstance());
* <code>repeated .context.Service services = 1;</code>
public java.util.List<context.ContextOuterClass.Service.Builder>
getServicesBuilderList() {
return getServicesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Service, context.ContextOuterClass.Service.Builder, context.ContextOuterClass.ServiceOrBuilder>
getServicesFieldBuilder() {
if (servicesBuilder_ == null) {
servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Service, context.ContextOuterClass.Service.Builder, context.ContextOuterClass.ServiceOrBuilder>(
services_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
services_ = null;
return servicesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceList)
// @@protoc_insertion_point(class_scope:context.ServiceList)
private static final context.ContextOuterClass.ServiceList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceList();
public static context.ContextOuterClass.ServiceList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceList>
PARSER = new com.google.protobuf.AbstractParser<ServiceList>() {
public ServiceList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceList(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ServiceEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
boolean hasEvent();
* <code>.context.Event event = 1;</code>
* @return The event.
context.ContextOuterClass.Event getEvent();
* <code>.context.Event event = 1;</code>
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
boolean hasServiceId();
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
context.ContextOuterClass.ServiceId getServiceId();
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
* Protobuf type {@code context.ServiceEvent}
public static final class ServiceEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ServiceEvent)
ServiceEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceEvent.newBuilder() to construct.
private ServiceEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ServiceEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceEvent(
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.ServiceId.Builder subBuilder = null;
if (serviceId_ != null) {
subBuilder = serviceId_.toBuilder();
}
serviceId_ = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceId_);
serviceId_ = subBuilder.buildPartial();
}
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceEvent.class, context.ContextOuterClass.ServiceEvent.Builder.class);
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return event_ != null;
* <code>.context.Event event = 1;</code>
* @return The event.
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
public static final int SERVICE_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.ServiceId serviceId_;
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
public boolean hasServiceId() {
return serviceId_ != null;
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
public context.ContextOuterClass.ServiceId getServiceId() {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
return getServiceId();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (serviceId_ != null) {
output.writeMessage(2, getServiceId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
}
if (serviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServiceId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ServiceEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.ServiceEvent other = (context.ContextOuterClass.ServiceEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasServiceId() != other.hasServiceId()) return false;
if (hasServiceId()) {
if (!getServiceId()
.equals(other.getServiceId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasServiceId()) {
hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getServiceId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ServiceEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ServiceEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ServiceEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ServiceEvent)
context.ContextOuterClass.ServiceEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ServiceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ServiceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ServiceEvent.class, context.ContextOuterClass.ServiceEvent.Builder.class);
// Construct using context.ContextOuterClass.ServiceEvent.newBuilder()
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
}
if (serviceIdBuilder_ == null) {
serviceId_ = null;
} else {
serviceId_ = null;
serviceIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ServiceEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ServiceEvent getDefaultInstanceForType() {
return context.ContextOuterClass.ServiceEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ServiceEvent build() {
context.ContextOuterClass.ServiceEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ServiceEvent buildPartial() {
context.ContextOuterClass.ServiceEvent result = new context.ContextOuterClass.ServiceEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
result.event_ = eventBuilder_.build();
}
if (serviceIdBuilder_ == null) {
result.serviceId_ = serviceId_;
} else {
result.serviceId_ = serviceIdBuilder_.build();
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ServiceEvent) {
return mergeFrom((context.ContextOuterClass.ServiceEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ServiceEvent other) {
if (other == context.ContextOuterClass.ServiceEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasServiceId()) {
mergeServiceId(other.getServiceId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ServiceEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ServiceEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
* <code>.context.Event event = 1;</code>
* @return The event.
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
return eventBuilder_.getMessage();
* <code>.context.Event event = 1;</code>
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
eventBuilder_.setMessage(value);
* <code>.context.Event event = 1;</code>
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
eventBuilder_.setMessage(builderForValue.build());
* <code>.context.Event event = 1;</code>
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
* <code>.context.Event event = 1;</code>
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
return eventBuilder_;
}
private context.ContextOuterClass.ServiceId serviceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdBuilder_;
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
*/
public boolean hasServiceId() {
return serviceIdBuilder_ != null || serviceId_ != null;
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
public context.ContextOuterClass.ServiceId getServiceId() {
if (serviceIdBuilder_ == null) {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
return serviceIdBuilder_.getMessage();
* <code>.context.ServiceId service_id = 2;</code>
public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceId_ = value;
serviceIdBuilder_.setMessage(value);
* <code>.context.ServiceId service_id = 2;</code>
public Builder setServiceId(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdBuilder_ == null) {
serviceId_ = builderForValue.build();
serviceIdBuilder_.setMessage(builderForValue.build());
* <code>.context.ServiceId service_id = 2;</code>
public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (serviceId_ != null) {
serviceId_ =
context.ContextOuterClass.ServiceId.newBuilder(serviceId_).mergeFrom(value).buildPartial();
} else {
serviceId_ = value;
}
onChanged();
} else {
serviceIdBuilder_.mergeFrom(value);
return this;
* <code>.context.ServiceId service_id = 2;</code>
public Builder clearServiceId() {
if (serviceIdBuilder_ == null) {
serviceId_ = null;
onChanged();
serviceId_ = null;
serviceIdBuilder_ = null;
return this;
* <code>.context.ServiceId service_id = 2;</code>
public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
onChanged();
return getServiceIdFieldBuilder().getBuilder();
* <code>.context.ServiceId service_id = 2;</code>
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
if (serviceIdBuilder_ != null) {
return serviceIdBuilder_.getMessageOrBuilder();
} else {
return serviceId_ == null ?
context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
}
* <code>.context.ServiceId service_id = 2;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdFieldBuilder() {
if (serviceIdBuilder_ == null) {
serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
getServiceId(),
getParentForChildren(),
isClean());
serviceId_ = null;
return serviceIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ServiceEvent)
// @@protoc_insertion_point(class_scope:context.ServiceEvent)
private static final context.ContextOuterClass.ServiceEvent DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceEvent();
public static context.ContextOuterClass.ServiceEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ServiceEvent>
PARSER = new com.google.protobuf.AbstractParser<ServiceEvent>() {
public ServiceEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceEvent(input, extensionRegistry);
public static com.google.protobuf.Parser<ServiceEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ServiceEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
boolean hasContextId();
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
context.ContextOuterClass.ContextId getContextId();
* <code>.context.ContextId context_id = 1;</code>
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
* <code>.context.Uuid slice_uuid = 2;</code>
* @return Whether the sliceUuid field is set.
boolean hasSliceUuid();
* <code>.context.Uuid slice_uuid = 2;</code>
* @return The sliceUuid.
context.ContextOuterClass.Uuid getSliceUuid();
/**
* <code>.context.Uuid slice_uuid = 2;</code>
*/
context.ContextOuterClass.UuidOrBuilder getSliceUuidOrBuilder();
* <pre>
* ----- Slice ---------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.SliceId}
public static final class SliceId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceId)
SliceIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceId.newBuilder() to construct.
private SliceId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceId(
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ContextId.Builder subBuilder = null;
if (contextId_ != null) {
subBuilder = contextId_.toBuilder();
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contextId_);
contextId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (sliceUuid_ != null) {
subBuilder = sliceUuid_.toBuilder();
}
sliceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sliceUuid_);
sliceUuid_ = subBuilder.buildPartial();
}
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceId.class, context.ContextOuterClass.SliceId.Builder.class);
public static final int CONTEXT_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ContextId contextId_;
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
public boolean hasContextId() {
return contextId_ != null;
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
public context.ContextOuterClass.ContextId getContextId() {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
* <code>.context.ContextId context_id = 1;</code>
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
return getContextId();
public static final int SLICE_UUID_FIELD_NUMBER = 2;
private context.ContextOuterClass.Uuid sliceUuid_;
* <code>.context.Uuid slice_uuid = 2;</code>
* @return Whether the sliceUuid field is set.
public boolean hasSliceUuid() {
return sliceUuid_ != null;
* <code>.context.Uuid slice_uuid = 2;</code>
* @return The sliceUuid.
public context.ContextOuterClass.Uuid getSliceUuid() {
return sliceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : sliceUuid_;
}
/**
* <code>.context.Uuid slice_uuid = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getSliceUuidOrBuilder() {
return getSliceUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contextId_ != null) {
output.writeMessage(1, getContextId());
}
if (sliceUuid_ != null) {
output.writeMessage(2, getSliceUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextId());
}
if (sliceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSliceUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceId)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceId other = (context.ContextOuterClass.SliceId) obj;
if (hasContextId() != other.hasContextId()) return false;
if (hasContextId()) {
if (!getContextId()
.equals(other.getContextId())) return false;
}
if (hasSliceUuid() != other.hasSliceUuid()) return false;
if (hasSliceUuid()) {
if (!getSliceUuid()
.equals(other.getSliceUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContextId()) {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
}
if (hasSliceUuid()) {
hash = (37 * hash) + SLICE_UUID_FIELD_NUMBER;
hash = (53 * hash) + getSliceUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Slice ---------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.SliceId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceId)
context.ContextOuterClass.SliceIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceId.class, context.ContextOuterClass.SliceId.Builder.class);
// Construct using context.ContextOuterClass.SliceId.newBuilder()
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (contextIdBuilder_ == null) {
contextId_ = null;
contextId_ = null;
contextIdBuilder_ = null;
}
if (sliceUuidBuilder_ == null) {
sliceUuid_ = null;
} else {
sliceUuid_ = null;
sliceUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceId getDefaultInstanceForType() {
return context.ContextOuterClass.SliceId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceId build() {
context.ContextOuterClass.SliceId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceId buildPartial() {
context.ContextOuterClass.SliceId result = new context.ContextOuterClass.SliceId(this);
if (contextIdBuilder_ == null) {
result.contextId_ = contextId_;
result.contextId_ = contextIdBuilder_.build();
}
if (sliceUuidBuilder_ == null) {
result.sliceUuid_ = sliceUuid_;
} else {
result.sliceUuid_ = sliceUuidBuilder_.build();
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceId) {
return mergeFrom((context.ContextOuterClass.SliceId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.SliceId other) {
if (other == context.ContextOuterClass.SliceId.getDefaultInstance()) return this;
if (other.hasContextId()) {
mergeContextId(other.getContextId());
}
if (other.hasSliceUuid()) {
mergeSliceUuid(other.getSliceUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.ContextId contextId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
public boolean hasContextId() {
return contextIdBuilder_ != null || contextId_ != null;
* <code>.context.ContextId context_id = 1;</code>
* @return The contextId.
public context.ContextOuterClass.ContextId getContextId() {
if (contextIdBuilder_ == null) {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
return contextIdBuilder_.getMessage();
* <code>.context.ContextId context_id = 1;</code>
public Builder setContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextId_ = value;
contextIdBuilder_.setMessage(value);
* <code>.context.ContextId context_id = 1;</code>
public Builder setContextId(
context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
contextIdBuilder_.setMessage(builderForValue.build());
* <code>.context.ContextId context_id = 1;</code>
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
if (contextId_ != null) {
contextId_ =
context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
contextId_ = value;
}
onChanged();
} else {
contextIdBuilder_.mergeFrom(value);
* <code>.context.ContextId context_id = 1;</code>
public Builder clearContextId() {
if (contextIdBuilder_ == null) {
contextId_ = null;
contextId_ = null;
contextIdBuilder_ = null;
* <code>.context.ContextId context_id = 1;</code>
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
return contextId_ == null ?
context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
* <code>.context.ContextId context_id = 1;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
getContextId(),
getParentForChildren(),
isClean());
contextId_ = null;
return contextIdBuilder_;
private context.ContextOuterClass.Uuid sliceUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> sliceUuidBuilder_;
* <code>.context.Uuid slice_uuid = 2;</code>
* @return Whether the sliceUuid field is set.
public boolean hasSliceUuid() {
return sliceUuidBuilder_ != null || sliceUuid_ != null;
}
/**
* <code>.context.Uuid slice_uuid = 2;</code>
* @return The sliceUuid.
*/
public context.ContextOuterClass.Uuid getSliceUuid() {
if (sliceUuidBuilder_ == null) {
return sliceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : sliceUuid_;
return sliceUuidBuilder_.getMessage();
* <code>.context.Uuid slice_uuid = 2;</code>
public Builder setSliceUuid(context.ContextOuterClass.Uuid value) {
if (sliceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceUuid_ = value;
sliceUuidBuilder_.setMessage(value);
* <code>.context.Uuid slice_uuid = 2;</code>
public Builder setSliceUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (sliceUuidBuilder_ == null) {
sliceUuid_ = builderForValue.build();
sliceUuidBuilder_.setMessage(builderForValue.build());
* <code>.context.Uuid slice_uuid = 2;</code>
public Builder mergeSliceUuid(context.ContextOuterClass.Uuid value) {
if (sliceUuidBuilder_ == null) {
if (sliceUuid_ != null) {
sliceUuid_ =
context.ContextOuterClass.Uuid.newBuilder(sliceUuid_).mergeFrom(value).buildPartial();
} else {
sliceUuid_ = value;
}
onChanged();
} else {
sliceUuidBuilder_.mergeFrom(value);
return this;
* <code>.context.Uuid slice_uuid = 2;</code>
public Builder clearSliceUuid() {
if (sliceUuidBuilder_ == null) {
sliceUuid_ = null;
onChanged();
sliceUuid_ = null;
sliceUuidBuilder_ = null;
return this;
* <code>.context.Uuid slice_uuid = 2;</code>
public context.ContextOuterClass.Uuid.Builder getSliceUuidBuilder() {
onChanged();
return getSliceUuidFieldBuilder().getBuilder();
* <code>.context.Uuid slice_uuid = 2;</code>
public context.ContextOuterClass.UuidOrBuilder getSliceUuidOrBuilder() {
if (sliceUuidBuilder_ != null) {
return sliceUuidBuilder_.getMessageOrBuilder();
} else {
return sliceUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : sliceUuid_;
}
* <code>.context.Uuid slice_uuid = 2;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getSliceUuidFieldBuilder() {
if (sliceUuidBuilder_ == null) {
sliceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getSliceUuid(),
getParentForChildren(),
isClean());
sliceUuid_ = null;
return sliceUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceId)
// @@protoc_insertion_point(class_scope:context.SliceId)
private static final context.ContextOuterClass.SliceId DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceId();
public static context.ContextOuterClass.SliceId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceId>
PARSER = new com.google.protobuf.AbstractParser<SliceId>() {
public SliceId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceId(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceId> getParserForType() {
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
@java.lang.Override
public context.ContextOuterClass.SliceId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Slice)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.SliceId slice_id = 1;</code>
* @return Whether the sliceId field is set.
*/
boolean hasSliceId();
/**
* <code>.context.SliceId slice_id = 1;</code>
* @return The sliceId.
*/
context.ContextOuterClass.SliceId getSliceId();
/**
* <code>.context.SliceId slice_id = 1;</code>
*/
context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder();
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
java.util.List<context.ContextOuterClass.EndPointId>
getSliceEndpointIdsList();
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
context.ContextOuterClass.EndPointId getSliceEndpointIds(int index);
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
int getSliceEndpointIdsCount();
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getSliceEndpointIdsOrBuilderList();
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
context.ContextOuterClass.EndPointIdOrBuilder getSliceEndpointIdsOrBuilder(
int index);
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
java.util.List<context.ContextOuterClass.Constraint>
getSliceConstraintsList();
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
context.ContextOuterClass.Constraint getSliceConstraints(int index);
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
int getSliceConstraintsCount();
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getSliceConstraintsOrBuilderList();
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
context.ContextOuterClass.ConstraintOrBuilder getSliceConstraintsOrBuilder(
int index);
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
java.util.List<context.ContextOuterClass.ServiceId>
getSliceServiceIdsList();
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceId getSliceServiceIds(int index);
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
int getSliceServiceIdsCount();
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSliceServiceIdsOrBuilderList();
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getSliceServiceIdsOrBuilder(
int index);
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
java.util.List<context.ContextOuterClass.SliceId>
getSliceSubsliceIdsList();
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
context.ContextOuterClass.SliceId getSliceSubsliceIds(int index);
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
int getSliceSubsliceIdsCount();
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceSubsliceIdsOrBuilderList();
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
context.ContextOuterClass.SliceIdOrBuilder getSliceSubsliceIdsOrBuilder(
int index);
/**
* <code>.context.SliceStatus slice_status = 6;</code>
* @return Whether the sliceStatus field is set.
*/
boolean hasSliceStatus();
/**
* <code>.context.SliceStatus slice_status = 6;</code>
* @return The sliceStatus.
*/
context.ContextOuterClass.SliceStatus getSliceStatus();
/**
* <code>.context.SliceStatus slice_status = 6;</code>
*/
context.ContextOuterClass.SliceStatusOrBuilder getSliceStatusOrBuilder();
* <code>.context.SliceConfig slice_config = 7;</code>
* @return Whether the sliceConfig field is set.
*/
boolean hasSliceConfig();
/**
* <code>.context.SliceConfig slice_config = 7;</code>
* @return The sliceConfig.
*/
context.ContextOuterClass.SliceConfig getSliceConfig();
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
context.ContextOuterClass.SliceConfigOrBuilder getSliceConfigOrBuilder();
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return Whether the sliceOwner field is set.
boolean hasSliceOwner();
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return The sliceOwner.
context.ContextOuterClass.SliceOwner getSliceOwner();
* <code>.context.SliceOwner slice_owner = 8;</code>
context.ContextOuterClass.SliceOwnerOrBuilder getSliceOwnerOrBuilder();
* <code>.context.Timestamp timestamp = 9;</code>
* @return Whether the timestamp field is set.
boolean hasTimestamp();
* <code>.context.Timestamp timestamp = 9;</code>
* @return The timestamp.
context.ContextOuterClass.Timestamp getTimestamp();
* <code>.context.Timestamp timestamp = 9;</code>
context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
* Protobuf type {@code context.Slice}
public static final class Slice extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Slice)
SliceOrBuilder {
private static final long serialVersionUID = 0L;
// Use Slice.newBuilder() to construct.
private Slice(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Slice() {
sliceEndpointIds_ = java.util.Collections.emptyList();
sliceConstraints_ = java.util.Collections.emptyList();
sliceServiceIds_ = java.util.Collections.emptyList();
sliceSubsliceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Slice();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Slice(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.SliceId.Builder subBuilder = null;
if (sliceId_ != null) {
subBuilder = sliceId_.toBuilder();
sliceId_ = input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry);
subBuilder.mergeFrom(sliceId_);
sliceId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
sliceEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>();
mutable_bitField0_ |= 0x00000001;
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
sliceEndpointIds_.add(
input.readMessage(context.ContextOuterClass.EndPointId.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
sliceConstraints_ = new java.util.ArrayList<context.ContextOuterClass.Constraint>();
mutable_bitField0_ |= 0x00000002;
}
sliceConstraints_.add(
input.readMessage(context.ContextOuterClass.Constraint.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
sliceServiceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>();
mutable_bitField0_ |= 0x00000004;
}
sliceServiceIds_.add(
input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
sliceSubsliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>();
mutable_bitField0_ |= 0x00000008;
}
sliceSubsliceIds_.add(
input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry));
break;
}
case 50: {
context.ContextOuterClass.SliceStatus.Builder subBuilder = null;
if (sliceStatus_ != null) {
subBuilder = sliceStatus_.toBuilder();
}
sliceStatus_ = input.readMessage(context.ContextOuterClass.SliceStatus.parser(), extensionRegistry);
subBuilder.mergeFrom(sliceStatus_);
sliceStatus_ = subBuilder.buildPartial();
}
break;
}
case 58: {
context.ContextOuterClass.SliceConfig.Builder subBuilder = null;
if (sliceConfig_ != null) {
subBuilder = sliceConfig_.toBuilder();
}
sliceConfig_ = input.readMessage(context.ContextOuterClass.SliceConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sliceConfig_);
sliceConfig_ = subBuilder.buildPartial();
}
break;
}
case 66: {
context.ContextOuterClass.SliceOwner.Builder subBuilder = null;
if (sliceOwner_ != null) {
subBuilder = sliceOwner_.toBuilder();
}
sliceOwner_ = input.readMessage(context.ContextOuterClass.SliceOwner.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sliceOwner_);
sliceOwner_ = subBuilder.buildPartial();
}
break;
}
case 74: {
context.ContextOuterClass.Timestamp.Builder subBuilder = null;
if (timestamp_ != null) {
subBuilder = timestamp_.toBuilder();
}
timestamp_ = input.readMessage(context.ContextOuterClass.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timestamp_);
timestamp_ = subBuilder.buildPartial();
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
sliceEndpointIds_ = java.util.Collections.unmodifiableList(sliceEndpointIds_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
sliceConstraints_ = java.util.Collections.unmodifiableList(sliceConstraints_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
sliceServiceIds_ = java.util.Collections.unmodifiableList(sliceServiceIds_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
sliceSubsliceIds_ = java.util.Collections.unmodifiableList(sliceSubsliceIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Slice_descriptor;
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Slice_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Slice.class, context.ContextOuterClass.Slice.Builder.class);
public static final int SLICE_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.SliceId sliceId_;
* <code>.context.SliceId slice_id = 1;</code>
* @return Whether the sliceId field is set.
public boolean hasSliceId() {
return sliceId_ != null;
* <code>.context.SliceId slice_id = 1;</code>
* @return The sliceId.
public context.ContextOuterClass.SliceId getSliceId() {
return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
* <code>.context.SliceId slice_id = 1;</code>
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
return getSliceId();
public static final int SLICE_ENDPOINT_IDS_FIELD_NUMBER = 2;
private java.util.List<context.ContextOuterClass.EndPointId> sliceEndpointIds_;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public java.util.List<context.ContextOuterClass.EndPointId> getSliceEndpointIdsList() {
return sliceEndpointIds_;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getSliceEndpointIdsOrBuilderList() {
return sliceEndpointIds_;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
public int getSliceEndpointIdsCount() {
return sliceEndpointIds_.size();
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointId getSliceEndpointIds(int index) {
return sliceEndpointIds_.get(index);
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointIdOrBuilder getSliceEndpointIdsOrBuilder(
int index) {
return sliceEndpointIds_.get(index);
}
public static final int SLICE_CONSTRAINTS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.Constraint> sliceConstraints_;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Constraint> getSliceConstraintsList() {
return sliceConstraints_;
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getSliceConstraintsOrBuilderList() {
return sliceConstraints_;
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
@java.lang.Override
public int getSliceConstraintsCount() {
return sliceConstraints_.size();
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Constraint getSliceConstraints(int index) {
return sliceConstraints_.get(index);
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConstraintOrBuilder getSliceConstraintsOrBuilder(
int index) {
return sliceConstraints_.get(index);
}
public static final int SLICE_SERVICE_IDS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.ServiceId> sliceServiceIds_;
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ServiceId> getSliceServiceIdsList() {
return sliceServiceIds_;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSliceServiceIdsOrBuilderList() {
return sliceServiceIds_;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
@java.lang.Override
public int getSliceServiceIdsCount() {
return sliceServiceIds_.size();
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getSliceServiceIds(int index) {
return sliceServiceIds_.get(index);
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getSliceServiceIdsOrBuilder(
int index) {
return sliceServiceIds_.get(index);
}
public static final int SLICE_SUBSLICE_IDS_FIELD_NUMBER = 5;
private java.util.List<context.ContextOuterClass.SliceId> sliceSubsliceIds_;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.SliceId> getSliceSubsliceIdsList() {
return sliceSubsliceIds_;
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceSubsliceIdsOrBuilderList() {
return sliceSubsliceIds_;
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
@java.lang.Override
public int getSliceSubsliceIdsCount() {
return sliceSubsliceIds_.size();
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceId getSliceSubsliceIds(int index) {
return sliceSubsliceIds_.get(index);
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceIdOrBuilder getSliceSubsliceIdsOrBuilder(
int index) {
return sliceSubsliceIds_.get(index);
}
public static final int SLICE_STATUS_FIELD_NUMBER = 6;
private context.ContextOuterClass.SliceStatus sliceStatus_;
/**
* <code>.context.SliceStatus slice_status = 6;</code>
* @return Whether the sliceStatus field is set.
*/
@java.lang.Override
public boolean hasSliceStatus() {
return sliceStatus_ != null;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
* @return The sliceStatus.
*/
@java.lang.Override
public context.ContextOuterClass.SliceStatus getSliceStatus() {
return sliceStatus_ == null ? context.ContextOuterClass.SliceStatus.getDefaultInstance() : sliceStatus_;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceStatusOrBuilder getSliceStatusOrBuilder() {
return getSliceStatus();
}
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
public static final int SLICE_CONFIG_FIELD_NUMBER = 7;
private context.ContextOuterClass.SliceConfig sliceConfig_;
/**
* <code>.context.SliceConfig slice_config = 7;</code>
* @return Whether the sliceConfig field is set.
*/
@java.lang.Override
public boolean hasSliceConfig() {
return sliceConfig_ != null;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
* @return The sliceConfig.
*/
@java.lang.Override
public context.ContextOuterClass.SliceConfig getSliceConfig() {
return sliceConfig_ == null ? context.ContextOuterClass.SliceConfig.getDefaultInstance() : sliceConfig_;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceConfigOrBuilder getSliceConfigOrBuilder() {
return getSliceConfig();
}
public static final int SLICE_OWNER_FIELD_NUMBER = 8;
private context.ContextOuterClass.SliceOwner sliceOwner_;
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return Whether the sliceOwner field is set.
*/
@java.lang.Override
public boolean hasSliceOwner() {
return sliceOwner_ != null;
}
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return The sliceOwner.
*/
@java.lang.Override
public context.ContextOuterClass.SliceOwner getSliceOwner() {
return sliceOwner_ == null ? context.ContextOuterClass.SliceOwner.getDefaultInstance() : sliceOwner_;
}
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceOwnerOrBuilder getSliceOwnerOrBuilder() {
return getSliceOwner();
}
public static final int TIMESTAMP_FIELD_NUMBER = 9;
private context.ContextOuterClass.Timestamp timestamp_;
/**
* <code>.context.Timestamp timestamp = 9;</code>
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return timestamp_ != null;
}
/**
* <code>.context.Timestamp timestamp = 9;</code>
* @return The timestamp.
*/
@java.lang.Override
public context.ContextOuterClass.Timestamp getTimestamp() {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
/**
* <code>.context.Timestamp timestamp = 9;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
return getTimestamp();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sliceId_ != null) {
output.writeMessage(1, getSliceId());
for (int i = 0; i < sliceEndpointIds_.size(); i++) {
output.writeMessage(2, sliceEndpointIds_.get(i));
}
for (int i = 0; i < sliceConstraints_.size(); i++) {
output.writeMessage(3, sliceConstraints_.get(i));
}
for (int i = 0; i < sliceServiceIds_.size(); i++) {
output.writeMessage(4, sliceServiceIds_.get(i));
}
for (int i = 0; i < sliceSubsliceIds_.size(); i++) {
output.writeMessage(5, sliceSubsliceIds_.get(i));
}
if (sliceStatus_ != null) {
output.writeMessage(6, getSliceStatus());
}
if (sliceConfig_ != null) {
output.writeMessage(7, getSliceConfig());
}
if (sliceOwner_ != null) {
output.writeMessage(8, getSliceOwner());
}
if (timestamp_ != null) {
output.writeMessage(9, getTimestamp());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sliceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSliceId());
for (int i = 0; i < sliceEndpointIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
.computeMessageSize(2, sliceEndpointIds_.get(i));
}
for (int i = 0; i < sliceConstraints_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, sliceConstraints_.get(i));
}
for (int i = 0; i < sliceServiceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, sliceServiceIds_.get(i));
}
for (int i = 0; i < sliceSubsliceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, sliceSubsliceIds_.get(i));
}
if (sliceStatus_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getSliceStatus());
}
if (sliceConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getSliceConfig());
}
if (sliceOwner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getSliceOwner());
}
if (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getTimestamp());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
if (!(obj instanceof context.ContextOuterClass.Slice)) {
return super.equals(obj);
}
context.ContextOuterClass.Slice other = (context.ContextOuterClass.Slice) obj;
if (hasSliceId() != other.hasSliceId()) return false;
if (hasSliceId()) {
if (!getSliceId()
.equals(other.getSliceId())) return false;
}
if (!getSliceEndpointIdsList()
.equals(other.getSliceEndpointIdsList())) return false;
if (!getSliceConstraintsList()
.equals(other.getSliceConstraintsList())) return false;
if (!getSliceServiceIdsList()
.equals(other.getSliceServiceIdsList())) return false;
if (!getSliceSubsliceIdsList()
.equals(other.getSliceSubsliceIdsList())) return false;
if (hasSliceStatus() != other.hasSliceStatus()) return false;
if (hasSliceStatus()) {
if (!getSliceStatus()
.equals(other.getSliceStatus())) return false;
if (hasSliceConfig() != other.hasSliceConfig()) return false;
if (hasSliceConfig()) {
if (!getSliceConfig()
.equals(other.getSliceConfig())) return false;
}
if (hasSliceOwner() != other.hasSliceOwner()) return false;
if (hasSliceOwner()) {
if (!getSliceOwner()
.equals(other.getSliceOwner())) return false;
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (!getTimestamp()
.equals(other.getTimestamp())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSliceId()) {
hash = (37 * hash) + SLICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSliceId().hashCode();
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
if (getSliceEndpointIdsCount() > 0) {
hash = (37 * hash) + SLICE_ENDPOINT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSliceEndpointIdsList().hashCode();
}
if (getSliceConstraintsCount() > 0) {
hash = (37 * hash) + SLICE_CONSTRAINTS_FIELD_NUMBER;
hash = (53 * hash) + getSliceConstraintsList().hashCode();
}
if (getSliceServiceIdsCount() > 0) {
hash = (37 * hash) + SLICE_SERVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSliceServiceIdsList().hashCode();
}
if (getSliceSubsliceIdsCount() > 0) {
hash = (37 * hash) + SLICE_SUBSLICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSliceSubsliceIdsList().hashCode();
}
if (hasSliceStatus()) {
hash = (37 * hash) + SLICE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getSliceStatus().hashCode();
}
if (hasSliceConfig()) {
hash = (37 * hash) + SLICE_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getSliceConfig().hashCode();
}
if (hasSliceOwner()) {
hash = (37 * hash) + SLICE_OWNER_FIELD_NUMBER;
hash = (53 * hash) + getSliceOwner().hashCode();
}
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Slice parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Slice parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Slice parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Slice parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Slice parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Slice parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Slice parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Slice parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Slice parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Slice parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Slice parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Slice parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Slice prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Slice}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Slice)
context.ContextOuterClass.SliceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Slice_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Slice_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Slice.class, context.ContextOuterClass.Slice.Builder.class);
// Construct using context.ContextOuterClass.Slice.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSliceEndpointIdsFieldBuilder();
getSliceConstraintsFieldBuilder();
getSliceServiceIdsFieldBuilder();
getSliceSubsliceIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (sliceIdBuilder_ == null) {
sliceId_ = null;
sliceId_ = null;
sliceIdBuilder_ = null;
if (sliceEndpointIdsBuilder_ == null) {
sliceEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
sliceEndpointIdsBuilder_.clear();
}
if (sliceConstraintsBuilder_ == null) {
sliceConstraints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
sliceConstraintsBuilder_.clear();
}
if (sliceServiceIdsBuilder_ == null) {
sliceServiceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
sliceServiceIdsBuilder_.clear();
}
if (sliceSubsliceIdsBuilder_ == null) {
sliceSubsliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
sliceSubsliceIdsBuilder_.clear();
}
if (sliceStatusBuilder_ == null) {
sliceStatus_ = null;
} else {
sliceStatus_ = null;
sliceStatusBuilder_ = null;
}
if (sliceConfigBuilder_ == null) {
sliceConfig_ = null;
} else {
sliceConfig_ = null;
sliceConfigBuilder_ = null;
}
if (sliceOwnerBuilder_ == null) {
sliceOwner_ = null;
} else {
sliceOwner_ = null;
sliceOwnerBuilder_ = null;
}
if (timestampBuilder_ == null) {
timestamp_ = null;
} else {
timestamp_ = null;
timestampBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Slice_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Slice getDefaultInstanceForType() {
return context.ContextOuterClass.Slice.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Slice build() {
context.ContextOuterClass.Slice result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Slice buildPartial() {
context.ContextOuterClass.Slice result = new context.ContextOuterClass.Slice(this);
int from_bitField0_ = bitField0_;
if (sliceIdBuilder_ == null) {
result.sliceId_ = sliceId_;
result.sliceId_ = sliceIdBuilder_.build();
if (sliceEndpointIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
sliceEndpointIds_ = java.util.Collections.unmodifiableList(sliceEndpointIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sliceEndpointIds_ = sliceEndpointIds_;
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
result.sliceEndpointIds_ = sliceEndpointIdsBuilder_.build();
}
if (sliceConstraintsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
sliceConstraints_ = java.util.Collections.unmodifiableList(sliceConstraints_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.sliceConstraints_ = sliceConstraints_;
} else {
result.sliceConstraints_ = sliceConstraintsBuilder_.build();
}
if (sliceServiceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
sliceServiceIds_ = java.util.Collections.unmodifiableList(sliceServiceIds_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.sliceServiceIds_ = sliceServiceIds_;
} else {
result.sliceServiceIds_ = sliceServiceIdsBuilder_.build();
}
if (sliceSubsliceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
sliceSubsliceIds_ = java.util.Collections.unmodifiableList(sliceSubsliceIds_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.sliceSubsliceIds_ = sliceSubsliceIds_;
} else {
result.sliceSubsliceIds_ = sliceSubsliceIdsBuilder_.build();
}
if (sliceStatusBuilder_ == null) {
result.sliceStatus_ = sliceStatus_;
} else {
result.sliceStatus_ = sliceStatusBuilder_.build();
}
if (sliceConfigBuilder_ == null) {
result.sliceConfig_ = sliceConfig_;
} else {
result.sliceConfig_ = sliceConfigBuilder_.build();
}
if (sliceOwnerBuilder_ == null) {
result.sliceOwner_ = sliceOwner_;
} else {
result.sliceOwner_ = sliceOwnerBuilder_.build();
}
if (timestampBuilder_ == null) {
result.timestamp_ = timestamp_;
} else {
result.timestamp_ = timestampBuilder_.build();
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Slice) {
return mergeFrom((context.ContextOuterClass.Slice)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Slice other) {
if (other == context.ContextOuterClass.Slice.getDefaultInstance()) return this;
if (other.hasSliceId()) {
mergeSliceId(other.getSliceId());
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
if (sliceEndpointIdsBuilder_ == null) {
if (!other.sliceEndpointIds_.isEmpty()) {
if (sliceEndpointIds_.isEmpty()) {
sliceEndpointIds_ = other.sliceEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.addAll(other.sliceEndpointIds_);
}
onChanged();
}
} else {
if (!other.sliceEndpointIds_.isEmpty()) {
if (sliceEndpointIdsBuilder_.isEmpty()) {
sliceEndpointIdsBuilder_.dispose();
sliceEndpointIdsBuilder_ = null;
sliceEndpointIds_ = other.sliceEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
sliceEndpointIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceEndpointIdsFieldBuilder() : null;
} else {
sliceEndpointIdsBuilder_.addAllMessages(other.sliceEndpointIds_);
}
}
}
if (sliceConstraintsBuilder_ == null) {
if (!other.sliceConstraints_.isEmpty()) {
if (sliceConstraints_.isEmpty()) {
sliceConstraints_ = other.sliceConstraints_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSliceConstraintsIsMutable();
sliceConstraints_.addAll(other.sliceConstraints_);
}
onChanged();
}
} else {
if (!other.sliceConstraints_.isEmpty()) {
if (sliceConstraintsBuilder_.isEmpty()) {
sliceConstraintsBuilder_.dispose();
sliceConstraintsBuilder_ = null;
sliceConstraints_ = other.sliceConstraints_;
bitField0_ = (bitField0_ & ~0x00000002);
sliceConstraintsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceConstraintsFieldBuilder() : null;
} else {
sliceConstraintsBuilder_.addAllMessages(other.sliceConstraints_);
}
}
}
if (sliceServiceIdsBuilder_ == null) {
if (!other.sliceServiceIds_.isEmpty()) {
if (sliceServiceIds_.isEmpty()) {
sliceServiceIds_ = other.sliceServiceIds_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.addAll(other.sliceServiceIds_);
}
onChanged();
}
} else {
if (!other.sliceServiceIds_.isEmpty()) {
if (sliceServiceIdsBuilder_.isEmpty()) {
sliceServiceIdsBuilder_.dispose();
sliceServiceIdsBuilder_ = null;
sliceServiceIds_ = other.sliceServiceIds_;
bitField0_ = (bitField0_ & ~0x00000004);
sliceServiceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceServiceIdsFieldBuilder() : null;
} else {
sliceServiceIdsBuilder_.addAllMessages(other.sliceServiceIds_);
}
}
}
if (sliceSubsliceIdsBuilder_ == null) {
if (!other.sliceSubsliceIds_.isEmpty()) {
if (sliceSubsliceIds_.isEmpty()) {
sliceSubsliceIds_ = other.sliceSubsliceIds_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.addAll(other.sliceSubsliceIds_);
}
onChanged();
}
} else {
if (!other.sliceSubsliceIds_.isEmpty()) {
if (sliceSubsliceIdsBuilder_.isEmpty()) {
sliceSubsliceIdsBuilder_.dispose();
sliceSubsliceIdsBuilder_ = null;
sliceSubsliceIds_ = other.sliceSubsliceIds_;
bitField0_ = (bitField0_ & ~0x00000008);
sliceSubsliceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceSubsliceIdsFieldBuilder() : null;
} else {
sliceSubsliceIdsBuilder_.addAllMessages(other.sliceSubsliceIds_);
}
}
}
if (other.hasSliceStatus()) {
mergeSliceStatus(other.getSliceStatus());
}
if (other.hasSliceConfig()) {
mergeSliceConfig(other.getSliceConfig());
}
if (other.hasSliceOwner()) {
mergeSliceOwner(other.getSliceOwner());
}
if (other.hasTimestamp()) {
mergeTimestamp(other.getTimestamp());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Slice parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Slice) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private context.ContextOuterClass.SliceId sliceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdBuilder_;
* <code>.context.SliceId slice_id = 1;</code>
* @return Whether the sliceId field is set.
public boolean hasSliceId() {
return sliceIdBuilder_ != null || sliceId_ != null;
* <code>.context.SliceId slice_id = 1;</code>
* @return The sliceId.
public context.ContextOuterClass.SliceId getSliceId() {
if (sliceIdBuilder_ == null) {
return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
return sliceIdBuilder_.getMessage();
* <code>.context.SliceId slice_id = 1;</code>
public Builder setSliceId(context.ContextOuterClass.SliceId value) {
if (sliceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceId_ = value;
sliceIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.SliceId slice_id = 1;</code>
public Builder setSliceId(
context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdBuilder_ == null) {
sliceId_ = builderForValue.build();
sliceIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.SliceId slice_id = 1;</code>
public Builder mergeSliceId(context.ContextOuterClass.SliceId value) {
if (sliceIdBuilder_ == null) {
if (sliceId_ != null) {
sliceId_ =
context.ContextOuterClass.SliceId.newBuilder(sliceId_).mergeFrom(value).buildPartial();
sliceId_ = value;
}
onChanged();
} else {
sliceIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.SliceId slice_id = 1;</code>
public Builder clearSliceId() {
if (sliceIdBuilder_ == null) {
sliceId_ = null;
sliceId_ = null;
sliceIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.SliceId slice_id = 1;</code>
public context.ContextOuterClass.SliceId.Builder getSliceIdBuilder() {
return getSliceIdFieldBuilder().getBuilder();
* <code>.context.SliceId slice_id = 1;</code>
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
if (sliceIdBuilder_ != null) {
return sliceIdBuilder_.getMessageOrBuilder();
return sliceId_ == null ?
context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
* <code>.context.SliceId slice_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdFieldBuilder() {
if (sliceIdBuilder_ == null) {
sliceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
getSliceId(),
getParentForChildren(),
isClean());
sliceId_ = null;
return sliceIdBuilder_;
private java.util.List<context.ContextOuterClass.EndPointId> sliceEndpointIds_ =
java.util.Collections.emptyList();
private void ensureSliceEndpointIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
sliceEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>(sliceEndpointIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder> sliceEndpointIdsBuilder_;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public java.util.List<context.ContextOuterClass.EndPointId> getSliceEndpointIdsList() {
if (sliceEndpointIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sliceEndpointIds_);
} else {
return sliceEndpointIdsBuilder_.getMessageList();
}
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public int getSliceEndpointIdsCount() {
if (sliceEndpointIdsBuilder_ == null) {
return sliceEndpointIds_.size();
} else {
return sliceEndpointIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public context.ContextOuterClass.EndPointId getSliceEndpointIds(int index) {
if (sliceEndpointIdsBuilder_ == null) {
return sliceEndpointIds_.get(index);
} else {
return sliceEndpointIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public Builder setSliceEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (sliceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.set(index, value);
onChanged();
} else {
sliceEndpointIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder setSliceEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (sliceEndpointIdsBuilder_ == null) {
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.set(index, builderForValue.build());
onChanged();
sliceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
return this;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder addSliceEndpointIds(context.ContextOuterClass.EndPointId value) {
if (sliceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.add(value);
sliceEndpointIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder addSliceEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (sliceEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.add(index, value);
sliceEndpointIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder addSliceEndpointIds(
context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (sliceEndpointIdsBuilder_ == null) {
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.add(builderForValue.build());
sliceEndpointIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder addSliceEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (sliceEndpointIdsBuilder_ == null) {
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.add(index, builderForValue.build());
sliceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder addAllSliceEndpointIds(
java.lang.Iterable<? extends context.ContextOuterClass.EndPointId> values) {
if (sliceEndpointIdsBuilder_ == null) {
ensureSliceEndpointIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sliceEndpointIds_);
onChanged();
} else {
sliceEndpointIdsBuilder_.addAllMessages(values);
}
return this;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder clearSliceEndpointIds() {
if (sliceEndpointIdsBuilder_ == null) {
sliceEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
sliceEndpointIdsBuilder_.clear();
return this;
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
public Builder removeSliceEndpointIds(int index) {
if (sliceEndpointIdsBuilder_ == null) {
ensureSliceEndpointIdsIsMutable();
sliceEndpointIds_.remove(index);
onChanged();
} else {
sliceEndpointIdsBuilder_.remove(index);
return this;
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public context.ContextOuterClass.EndPointId.Builder getSliceEndpointIdsBuilder(
int index) {
return getSliceEndpointIdsFieldBuilder().getBuilder(index);
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public context.ContextOuterClass.EndPointIdOrBuilder getSliceEndpointIdsOrBuilder(
int index) {
if (sliceEndpointIdsBuilder_ == null) {
return sliceEndpointIds_.get(index); } else {
return sliceEndpointIdsBuilder_.getMessageOrBuilder(index);
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getSliceEndpointIdsOrBuilderList() {
if (sliceEndpointIdsBuilder_ != null) {
return sliceEndpointIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sliceEndpointIds_);
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder() {
return getSliceEndpointIdsFieldBuilder().addBuilder(
context.ContextOuterClass.EndPointId.getDefaultInstance());
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder(
int index) {
return getSliceEndpointIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
* <code>repeated .context.EndPointId slice_endpoint_ids = 2;</code>
*/
public java.util.List<context.ContextOuterClass.EndPointId.Builder>
getSliceEndpointIdsBuilderList() {
return getSliceEndpointIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>
getSliceEndpointIdsFieldBuilder() {
if (sliceEndpointIdsBuilder_ == null) {
sliceEndpointIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>(
sliceEndpointIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
sliceEndpointIds_ = null;
}
return sliceEndpointIdsBuilder_;
private java.util.List<context.ContextOuterClass.Constraint> sliceConstraints_ =
java.util.Collections.emptyList();
private void ensureSliceConstraintsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
sliceConstraints_ = new java.util.ArrayList<context.ContextOuterClass.Constraint>(sliceConstraints_);
bitField0_ |= 0x00000002;
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder> sliceConstraintsBuilder_;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public java.util.List<context.ContextOuterClass.Constraint> getSliceConstraintsList() {
if (sliceConstraintsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sliceConstraints_);
} else {
return sliceConstraintsBuilder_.getMessageList();
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public int getSliceConstraintsCount() {
if (sliceConstraintsBuilder_ == null) {
return sliceConstraints_.size();
} else {
return sliceConstraintsBuilder_.getCount();
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public context.ContextOuterClass.Constraint getSliceConstraints(int index) {
if (sliceConstraintsBuilder_ == null) {
return sliceConstraints_.get(index);
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
return sliceConstraintsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder setSliceConstraints(
int index, context.ContextOuterClass.Constraint value) {
if (sliceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceConstraintsIsMutable();
sliceConstraints_.set(index, value);
onChanged();
} else {
sliceConstraintsBuilder_.setMessage(index, value);
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder setSliceConstraints(
int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
if (sliceConstraintsBuilder_ == null) {
ensureSliceConstraintsIsMutable();
sliceConstraints_.set(index, builderForValue.build());
onChanged();
} else {
sliceConstraintsBuilder_.setMessage(index, builderForValue.build());
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder addSliceConstraints(context.ContextOuterClass.Constraint value) {
if (sliceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceConstraintsIsMutable();
sliceConstraints_.add(value);
onChanged();
} else {
sliceConstraintsBuilder_.addMessage(value);
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder addSliceConstraints(
int index, context.ContextOuterClass.Constraint value) {
if (sliceConstraintsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceConstraintsIsMutable();
sliceConstraints_.add(index, value);
onChanged();
} else {
sliceConstraintsBuilder_.addMessage(index, value);
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder addSliceConstraints(
context.ContextOuterClass.Constraint.Builder builderForValue) {
if (sliceConstraintsBuilder_ == null) {
ensureSliceConstraintsIsMutable();
sliceConstraints_.add(builderForValue.build());
onChanged();
sliceConstraintsBuilder_.addMessage(builderForValue.build());
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder addSliceConstraints(
int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
if (sliceConstraintsBuilder_ == null) {
ensureSliceConstraintsIsMutable();
sliceConstraints_.add(index, builderForValue.build());
onChanged();
} else {
sliceConstraintsBuilder_.addMessage(index, builderForValue.build());
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder addAllSliceConstraints(
java.lang.Iterable<? extends context.ContextOuterClass.Constraint> values) {
if (sliceConstraintsBuilder_ == null) {
ensureSliceConstraintsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sliceConstraints_);
onChanged();
} else {
sliceConstraintsBuilder_.addAllMessages(values);
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder clearSliceConstraints() {
if (sliceConstraintsBuilder_ == null) {
sliceConstraints_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
sliceConstraintsBuilder_.clear();
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public Builder removeSliceConstraints(int index) {
if (sliceConstraintsBuilder_ == null) {
ensureSliceConstraintsIsMutable();
sliceConstraints_.remove(index);
onChanged();
} else {
sliceConstraintsBuilder_.remove(index);
}
return this;
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public context.ContextOuterClass.Constraint.Builder getSliceConstraintsBuilder(
int index) {
return getSliceConstraintsFieldBuilder().getBuilder(index);
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public context.ContextOuterClass.ConstraintOrBuilder getSliceConstraintsOrBuilder(
int index) {
if (sliceConstraintsBuilder_ == null) {
return sliceConstraints_.get(index); } else {
return sliceConstraintsBuilder_.getMessageOrBuilder(index);
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ConstraintOrBuilder>
getSliceConstraintsOrBuilderList() {
if (sliceConstraintsBuilder_ != null) {
return sliceConstraintsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(sliceConstraints_);
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public context.ContextOuterClass.Constraint.Builder addSliceConstraintsBuilder() {
return getSliceConstraintsFieldBuilder().addBuilder(
context.ContextOuterClass.Constraint.getDefaultInstance());
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public context.ContextOuterClass.Constraint.Builder addSliceConstraintsBuilder(
int index) {
return getSliceConstraintsFieldBuilder().addBuilder(
index, context.ContextOuterClass.Constraint.getDefaultInstance());
}
/**
* <code>repeated .context.Constraint slice_constraints = 3;</code>
*/
public java.util.List<context.ContextOuterClass.Constraint.Builder>
getSliceConstraintsBuilderList() {
return getSliceConstraintsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder>
getSliceConstraintsFieldBuilder() {
if (sliceConstraintsBuilder_ == null) {
sliceConstraintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Constraint, context.ContextOuterClass.Constraint.Builder, context.ContextOuterClass.ConstraintOrBuilder>(
sliceConstraints_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
sliceConstraints_ = null;
return sliceConstraintsBuilder_;
private java.util.List<context.ContextOuterClass.ServiceId> sliceServiceIds_ =
java.util.Collections.emptyList();
private void ensureSliceServiceIdsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
sliceServiceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(sliceServiceIds_);
bitField0_ |= 0x00000004;
}
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> sliceServiceIdsBuilder_;
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId> getSliceServiceIdsList() {
if (sliceServiceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sliceServiceIds_);
} else {
return sliceServiceIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public int getSliceServiceIdsCount() {
if (sliceServiceIdsBuilder_ == null) {
return sliceServiceIds_.size();
} else {
return sliceServiceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId getSliceServiceIds(int index) {
if (sliceServiceIdsBuilder_ == null) {
return sliceServiceIds_.get(index);
} else {
return sliceServiceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public Builder setSliceServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (sliceServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.set(index, value);
onChanged();
} else {
sliceServiceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public Builder setSliceServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (sliceServiceIdsBuilder_ == null) {
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.set(index, builderForValue.build());
onChanged();
} else {
sliceServiceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public Builder addSliceServiceIds(context.ContextOuterClass.ServiceId value) {
if (sliceServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.add(value);
onChanged();
sliceServiceIdsBuilder_.addMessage(value);
return this;
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public Builder addSliceServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (sliceServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.add(index, value);
sliceServiceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public Builder addSliceServiceIds(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (sliceServiceIdsBuilder_ == null) {
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.add(builderForValue.build());
sliceServiceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
public Builder addSliceServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (sliceServiceIdsBuilder_ == null) {
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.add(index, builderForValue.build());
onChanged();
} else {
sliceServiceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public Builder addAllSliceServiceIds(
java.lang.Iterable<? extends context.ContextOuterClass.ServiceId> values) {
if (sliceServiceIdsBuilder_ == null) {
ensureSliceServiceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sliceServiceIds_);
onChanged();
} else {
sliceServiceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public Builder clearSliceServiceIds() {
if (sliceServiceIdsBuilder_ == null) {
sliceServiceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
sliceServiceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public Builder removeSliceServiceIds(int index) {
if (sliceServiceIdsBuilder_ == null) {
ensureSliceServiceIdsIsMutable();
sliceServiceIds_.remove(index);
sliceServiceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public context.ContextOuterClass.ServiceId.Builder getSliceServiceIdsBuilder(
int index) {
return getSliceServiceIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public context.ContextOuterClass.ServiceIdOrBuilder getSliceServiceIdsOrBuilder(
int index) {
if (sliceServiceIdsBuilder_ == null) {
return sliceServiceIds_.get(index); } else {
return sliceServiceIdsBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSliceServiceIdsOrBuilderList() {
if (sliceServiceIdsBuilder_ != null) {
return sliceServiceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sliceServiceIds_);
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addSliceServiceIdsBuilder() {
return getSliceServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addSliceServiceIdsBuilder(
int index) {
return getSliceServiceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId slice_service_ids = 4;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId.Builder>
getSliceServiceIdsBuilderList() {
return getSliceServiceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getSliceServiceIdsFieldBuilder() {
if (sliceServiceIdsBuilder_ == null) {
sliceServiceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
sliceServiceIds_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
sliceServiceIds_ = null;
}
return sliceServiceIdsBuilder_;
private java.util.List<context.ContextOuterClass.SliceId> sliceSubsliceIds_ =
java.util.Collections.emptyList();
private void ensureSliceSubsliceIdsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
sliceSubsliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>(sliceSubsliceIds_);
bitField0_ |= 0x00000008;
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceSubsliceIdsBuilder_;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public java.util.List<context.ContextOuterClass.SliceId> getSliceSubsliceIdsList() {
if (sliceSubsliceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sliceSubsliceIds_);
} else {
return sliceSubsliceIdsBuilder_.getMessageList();
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public int getSliceSubsliceIdsCount() {
if (sliceSubsliceIdsBuilder_ == null) {
return sliceSubsliceIds_.size();
} else {
return sliceSubsliceIdsBuilder_.getCount();
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId getSliceSubsliceIds(int index) {
if (sliceSubsliceIdsBuilder_ == null) {
return sliceSubsliceIds_.get(index);
return sliceSubsliceIdsBuilder_.getMessage(index);
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder setSliceSubsliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.set(index, value);
onChanged();
sliceSubsliceIdsBuilder_.setMessage(index, value);
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder setSliceSubsliceIds(
int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceSubsliceIdsBuilder_ == null) {
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.set(index, builderForValue.build());
onChanged();
} else {
sliceSubsliceIdsBuilder_.setMessage(index, builderForValue.build());
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder addSliceSubsliceIds(context.ContextOuterClass.SliceId value) {
if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.add(value);
onChanged();
sliceSubsliceIdsBuilder_.addMessage(value);
return this;
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder addSliceSubsliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.add(index, value);
onChanged();
sliceSubsliceIdsBuilder_.addMessage(index, value);
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder addSliceSubsliceIds(
context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceSubsliceIdsBuilder_ == null) {
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.add(builderForValue.build());
onChanged();
} else {
sliceSubsliceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder addSliceSubsliceIds(
int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceSubsliceIdsBuilder_ == null) {
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.add(index, builderForValue.build());
onChanged();
} else {
sliceSubsliceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder addAllSliceSubsliceIds(
java.lang.Iterable<? extends context.ContextOuterClass.SliceId> values) {
if (sliceSubsliceIdsBuilder_ == null) {
ensureSliceSubsliceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sliceSubsliceIds_);
onChanged();
} else {
sliceSubsliceIdsBuilder_.addAllMessages(values);
}
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder clearSliceSubsliceIds() {
if (sliceSubsliceIdsBuilder_ == null) {
sliceSubsliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
sliceSubsliceIdsBuilder_.clear();
}
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public Builder removeSliceSubsliceIds(int index) {
if (sliceSubsliceIdsBuilder_ == null) {
ensureSliceSubsliceIdsIsMutable();
sliceSubsliceIds_.remove(index);
onChanged();
sliceSubsliceIdsBuilder_.remove(index);
return this;
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder getSliceSubsliceIdsBuilder(
int index) {
return getSliceSubsliceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceIdOrBuilder getSliceSubsliceIdsOrBuilder(
int index) {
if (sliceSubsliceIdsBuilder_ == null) {
return sliceSubsliceIds_.get(index); } else {
return sliceSubsliceIdsBuilder_.getMessageOrBuilder(index);
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceSubsliceIdsOrBuilderList() {
if (sliceSubsliceIdsBuilder_ != null) {
return sliceSubsliceIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(sliceSubsliceIds_);
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder addSliceSubsliceIdsBuilder() {
return getSliceSubsliceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.SliceId.getDefaultInstance());
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder addSliceSubsliceIdsBuilder(
int index) {
return getSliceSubsliceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.SliceId.getDefaultInstance());
}
/**
* <code>repeated .context.SliceId slice_subslice_ids = 5;</code>
*/
public java.util.List<context.ContextOuterClass.SliceId.Builder>
getSliceSubsliceIdsBuilderList() {
return getSliceSubsliceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
getSliceSubsliceIdsFieldBuilder() {
if (sliceSubsliceIdsBuilder_ == null) {
sliceSubsliceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
sliceSubsliceIds_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
sliceSubsliceIds_ = null;
return sliceSubsliceIdsBuilder_;
private context.ContextOuterClass.SliceStatus sliceStatus_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceStatus, context.ContextOuterClass.SliceStatus.Builder, context.ContextOuterClass.SliceStatusOrBuilder> sliceStatusBuilder_;
* <code>.context.SliceStatus slice_status = 6;</code>
* @return Whether the sliceStatus field is set.
public boolean hasSliceStatus() {
return sliceStatusBuilder_ != null || sliceStatus_ != null;
* <code>.context.SliceStatus slice_status = 6;</code>
* @return The sliceStatus.
public context.ContextOuterClass.SliceStatus getSliceStatus() {
if (sliceStatusBuilder_ == null) {
return sliceStatus_ == null ? context.ContextOuterClass.SliceStatus.getDefaultInstance() : sliceStatus_;
return sliceStatusBuilder_.getMessage();
* <code>.context.SliceStatus slice_status = 6;</code>
public Builder setSliceStatus(context.ContextOuterClass.SliceStatus value) {
if (sliceStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceStatus_ = value;
sliceStatusBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
public Builder setSliceStatus(
context.ContextOuterClass.SliceStatus.Builder builderForValue) {
if (sliceStatusBuilder_ == null) {
sliceStatus_ = builderForValue.build();
sliceStatusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
public Builder mergeSliceStatus(context.ContextOuterClass.SliceStatus value) {
if (sliceStatusBuilder_ == null) {
if (sliceStatus_ != null) {
sliceStatus_ =
context.ContextOuterClass.SliceStatus.newBuilder(sliceStatus_).mergeFrom(value).buildPartial();
sliceStatus_ = value;
}
onChanged();
} else {
sliceStatusBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
public Builder clearSliceStatus() {
if (sliceStatusBuilder_ == null) {
sliceStatus_ = null;
sliceStatus_ = null;
sliceStatusBuilder_ = null;
}
return this;
}
/**
* <code>.context.SliceStatus slice_status = 6;</code>
public context.ContextOuterClass.SliceStatus.Builder getSliceStatusBuilder() {
return getSliceStatusFieldBuilder().getBuilder();
* <code>.context.SliceStatus slice_status = 6;</code>
public context.ContextOuterClass.SliceStatusOrBuilder getSliceStatusOrBuilder() {
if (sliceStatusBuilder_ != null) {
return sliceStatusBuilder_.getMessageOrBuilder();
return sliceStatus_ == null ?
context.ContextOuterClass.SliceStatus.getDefaultInstance() : sliceStatus_;
* <code>.context.SliceStatus slice_status = 6;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceStatus, context.ContextOuterClass.SliceStatus.Builder, context.ContextOuterClass.SliceStatusOrBuilder>
getSliceStatusFieldBuilder() {
if (sliceStatusBuilder_ == null) {
sliceStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceStatus, context.ContextOuterClass.SliceStatus.Builder, context.ContextOuterClass.SliceStatusOrBuilder>(
getSliceStatus(),
getParentForChildren(),
isClean());
sliceStatus_ = null;
return sliceStatusBuilder_;
}
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
private context.ContextOuterClass.SliceConfig sliceConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceConfig, context.ContextOuterClass.SliceConfig.Builder, context.ContextOuterClass.SliceConfigOrBuilder> sliceConfigBuilder_;
/**
* <code>.context.SliceConfig slice_config = 7;</code>
* @return Whether the sliceConfig field is set.
*/
public boolean hasSliceConfig() {
return sliceConfigBuilder_ != null || sliceConfig_ != null;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
* @return The sliceConfig.
*/
public context.ContextOuterClass.SliceConfig getSliceConfig() {
if (sliceConfigBuilder_ == null) {
return sliceConfig_ == null ? context.ContextOuterClass.SliceConfig.getDefaultInstance() : sliceConfig_;
} else {
return sliceConfigBuilder_.getMessage();
}
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public Builder setSliceConfig(context.ContextOuterClass.SliceConfig value) {
if (sliceConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceConfig_ = value;
onChanged();
} else {
sliceConfigBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public Builder setSliceConfig(
context.ContextOuterClass.SliceConfig.Builder builderForValue) {
if (sliceConfigBuilder_ == null) {
sliceConfig_ = builderForValue.build();
onChanged();
} else {
sliceConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public Builder mergeSliceConfig(context.ContextOuterClass.SliceConfig value) {
if (sliceConfigBuilder_ == null) {
if (sliceConfig_ != null) {
sliceConfig_ =
context.ContextOuterClass.SliceConfig.newBuilder(sliceConfig_).mergeFrom(value).buildPartial();
} else {
sliceConfig_ = value;
}
onChanged();
} else {
sliceConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public Builder clearSliceConfig() {
if (sliceConfigBuilder_ == null) {
sliceConfig_ = null;
onChanged();
} else {
sliceConfig_ = null;
sliceConfigBuilder_ = null;
}
return this;
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public context.ContextOuterClass.SliceConfig.Builder getSliceConfigBuilder() {
onChanged();
return getSliceConfigFieldBuilder().getBuilder();
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
public context.ContextOuterClass.SliceConfigOrBuilder getSliceConfigOrBuilder() {
if (sliceConfigBuilder_ != null) {
return sliceConfigBuilder_.getMessageOrBuilder();
} else {
return sliceConfig_ == null ?
context.ContextOuterClass.SliceConfig.getDefaultInstance() : sliceConfig_;
}
}
/**
* <code>.context.SliceConfig slice_config = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceConfig, context.ContextOuterClass.SliceConfig.Builder, context.ContextOuterClass.SliceConfigOrBuilder>
getSliceConfigFieldBuilder() {
if (sliceConfigBuilder_ == null) {
sliceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceConfig, context.ContextOuterClass.SliceConfig.Builder, context.ContextOuterClass.SliceConfigOrBuilder>(
getSliceConfig(),
getParentForChildren(),
isClean());
sliceConfig_ = null;
}
return sliceConfigBuilder_;
}
private context.ContextOuterClass.SliceOwner sliceOwner_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceOwner, context.ContextOuterClass.SliceOwner.Builder, context.ContextOuterClass.SliceOwnerOrBuilder> sliceOwnerBuilder_;
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return Whether the sliceOwner field is set.
*/
public boolean hasSliceOwner() {
return sliceOwnerBuilder_ != null || sliceOwner_ != null;
* <code>.context.SliceOwner slice_owner = 8;</code>
* @return The sliceOwner.
public context.ContextOuterClass.SliceOwner getSliceOwner() {
if (sliceOwnerBuilder_ == null) {
return sliceOwner_ == null ? context.ContextOuterClass.SliceOwner.getDefaultInstance() : sliceOwner_;
return sliceOwnerBuilder_.getMessage();
* <code>.context.SliceOwner slice_owner = 8;</code>
public Builder setSliceOwner(context.ContextOuterClass.SliceOwner value) {
if (sliceOwnerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceOwner_ = value;
sliceOwnerBuilder_.setMessage(value);
* <code>.context.SliceOwner slice_owner = 8;</code>
public Builder setSliceOwner(
context.ContextOuterClass.SliceOwner.Builder builderForValue) {
if (sliceOwnerBuilder_ == null) {
sliceOwner_ = builderForValue.build();
sliceOwnerBuilder_.setMessage(builderForValue.build());
* <code>.context.SliceOwner slice_owner = 8;</code>
public Builder mergeSliceOwner(context.ContextOuterClass.SliceOwner value) {
if (sliceOwnerBuilder_ == null) {
if (sliceOwner_ != null) {
sliceOwner_ =
context.ContextOuterClass.SliceOwner.newBuilder(sliceOwner_).mergeFrom(value).buildPartial();
} else {
sliceOwner_ = value;
}
onChanged();
} else {
sliceOwnerBuilder_.mergeFrom(value);
* <code>.context.SliceOwner slice_owner = 8;</code>
public Builder clearSliceOwner() {
if (sliceOwnerBuilder_ == null) {
sliceOwner_ = null;
sliceOwner_ = null;
sliceOwnerBuilder_ = null;
* <code>.context.SliceOwner slice_owner = 8;</code>
public context.ContextOuterClass.SliceOwner.Builder getSliceOwnerBuilder() {
onChanged();
return getSliceOwnerFieldBuilder().getBuilder();
}
/**
* <code>.context.SliceOwner slice_owner = 8;</code>
*/
public context.ContextOuterClass.SliceOwnerOrBuilder getSliceOwnerOrBuilder() {
if (sliceOwnerBuilder_ != null) {
return sliceOwnerBuilder_.getMessageOrBuilder();
return sliceOwner_ == null ?
context.ContextOuterClass.SliceOwner.getDefaultInstance() : sliceOwner_;
* <code>.context.SliceOwner slice_owner = 8;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceOwner, context.ContextOuterClass.SliceOwner.Builder, context.ContextOuterClass.SliceOwnerOrBuilder>
getSliceOwnerFieldBuilder() {
if (sliceOwnerBuilder_ == null) {
sliceOwnerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceOwner, context.ContextOuterClass.SliceOwner.Builder, context.ContextOuterClass.SliceOwnerOrBuilder>(
getSliceOwner(),
getParentForChildren(),
isClean());
sliceOwner_ = null;
return sliceOwnerBuilder_;
private context.ContextOuterClass.Timestamp timestamp_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
* <code>.context.Timestamp timestamp = 9;</code>
* @return Whether the timestamp field is set.
public boolean hasTimestamp() {
return timestampBuilder_ != null || timestamp_ != null;
}
/**
* <code>.context.Timestamp timestamp = 9;</code>
* @return The timestamp.
*/
public context.ContextOuterClass.Timestamp getTimestamp() {
if (timestampBuilder_ == null) {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
return timestampBuilder_.getMessage();
* <code>.context.Timestamp timestamp = 9;</code>
public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
timestampBuilder_.setMessage(value);
* <code>.context.Timestamp timestamp = 9;</code>
public Builder setTimestamp(
context.ContextOuterClass.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
timestampBuilder_.setMessage(builderForValue.build());
* <code>.context.Timestamp timestamp = 9;</code>
public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (timestamp_ != null) {
timestamp_ =
context.ContextOuterClass.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
} else {
timestamp_ = value;
}
onChanged();
} else {
timestampBuilder_.mergeFrom(value);
return this;
* <code>.context.Timestamp timestamp = 9;</code>
public Builder clearTimestamp() {
if (timestampBuilder_ == null) {
timestamp_ = null;
onChanged();
timestamp_ = null;
timestampBuilder_ = null;
return this;
* <code>.context.Timestamp timestamp = 9;</code>
public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
onChanged();
return getTimestampFieldBuilder().getBuilder();
* <code>.context.Timestamp timestamp = 9;</code>
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
if (timestampBuilder_ != null) {
return timestampBuilder_.getMessageOrBuilder();
} else {
return timestamp_ == null ?
context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
* <code>.context.Timestamp timestamp = 9;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
getTimestampFieldBuilder() {
if (timestampBuilder_ == null) {
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
getTimestamp(),
getParentForChildren(),
isClean());
timestamp_ = null;
return timestampBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Slice)
// @@protoc_insertion_point(class_scope:context.Slice)
private static final context.ContextOuterClass.Slice DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.Slice();
public static context.ContextOuterClass.Slice getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Slice>
PARSER = new com.google.protobuf.AbstractParser<Slice>() {
public Slice parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Slice(input, extensionRegistry);
public static com.google.protobuf.Parser<Slice> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Slice> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Slice getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceOwnerOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceOwner)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid owner_uuid = 1;</code>
* @return Whether the ownerUuid field is set.
boolean hasOwnerUuid();
* <code>.context.Uuid owner_uuid = 1;</code>
* @return The ownerUuid.
context.ContextOuterClass.Uuid getOwnerUuid();
* <code>.context.Uuid owner_uuid = 1;</code>
context.ContextOuterClass.UuidOrBuilder getOwnerUuidOrBuilder();
* <code>string owner_string = 2;</code>
* @return The ownerString.
java.lang.String getOwnerString();
* <code>string owner_string = 2;</code>
* @return The bytes for ownerString.
com.google.protobuf.ByteString
getOwnerStringBytes();
* Protobuf type {@code context.SliceOwner}
public static final class SliceOwner extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceOwner)
SliceOwnerOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceOwner.newBuilder() to construct.
private SliceOwner(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceOwner() {
ownerString_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceOwner();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceOwner(
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (ownerUuid_ != null) {
subBuilder = ownerUuid_.toBuilder();
ownerUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ownerUuid_);
ownerUuid_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ownerString_ = s;
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceOwner_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceOwner_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceOwner.class, context.ContextOuterClass.SliceOwner.Builder.class);
public static final int OWNER_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid ownerUuid_;
* <code>.context.Uuid owner_uuid = 1;</code>
* @return Whether the ownerUuid field is set.
public boolean hasOwnerUuid() {
return ownerUuid_ != null;
* <code>.context.Uuid owner_uuid = 1;</code>
* @return The ownerUuid.
public context.ContextOuterClass.Uuid getOwnerUuid() {
return ownerUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : ownerUuid_;
* <code>.context.Uuid owner_uuid = 1;</code>
public context.ContextOuterClass.UuidOrBuilder getOwnerUuidOrBuilder() {
return getOwnerUuid();
public static final int OWNER_STRING_FIELD_NUMBER = 2;
private volatile java.lang.Object ownerString_;
* <code>string owner_string = 2;</code>
* @return The ownerString.
public java.lang.String getOwnerString() {
java.lang.Object ref = ownerString_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ownerString_ = s;
return s;
}
* <code>string owner_string = 2;</code>
* @return The bytes for ownerString.
public com.google.protobuf.ByteString
getOwnerStringBytes() {
java.lang.Object ref = ownerString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (ownerUuid_ != null) {
output.writeMessage(1, getOwnerUuid());
}
if (!getOwnerStringBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerString_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ownerUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOwnerUuid());
}
if (!getOwnerStringBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerString_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceOwner)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceOwner other = (context.ContextOuterClass.SliceOwner) obj;
if (hasOwnerUuid() != other.hasOwnerUuid()) return false;
if (hasOwnerUuid()) {
if (!getOwnerUuid()
.equals(other.getOwnerUuid())) return false;
}
if (!getOwnerString()
.equals(other.getOwnerString())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOwnerUuid()) {
hash = (37 * hash) + OWNER_UUID_FIELD_NUMBER;
hash = (53 * hash) + getOwnerUuid().hashCode();
hash = (37 * hash) + OWNER_STRING_FIELD_NUMBER;
hash = (53 * hash) + getOwnerString().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceOwner parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceOwner parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceOwner parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceOwner parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceOwner parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceOwner parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceOwner prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceOwner}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceOwner)
context.ContextOuterClass.SliceOwnerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceOwner_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceOwner_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceOwner.class, context.ContextOuterClass.SliceOwner.Builder.class);
// Construct using context.ContextOuterClass.SliceOwner.newBuilder()
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (ownerUuidBuilder_ == null) {
ownerUuid_ = null;
ownerUuid_ = null;
ownerUuidBuilder_ = null;
ownerString_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceOwner_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceOwner getDefaultInstanceForType() {
return context.ContextOuterClass.SliceOwner.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceOwner build() {
context.ContextOuterClass.SliceOwner result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceOwner buildPartial() {
context.ContextOuterClass.SliceOwner result = new context.ContextOuterClass.SliceOwner(this);
if (ownerUuidBuilder_ == null) {
result.ownerUuid_ = ownerUuid_;
result.ownerUuid_ = ownerUuidBuilder_.build();
result.ownerString_ = ownerString_;
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceOwner) {
return mergeFrom((context.ContextOuterClass.SliceOwner)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.SliceOwner other) {
if (other == context.ContextOuterClass.SliceOwner.getDefaultInstance()) return this;
if (other.hasOwnerUuid()) {
mergeOwnerUuid(other.getOwnerUuid());
}
if (!other.getOwnerString().isEmpty()) {
ownerString_ = other.ownerString_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceOwner parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceOwner) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Uuid ownerUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> ownerUuidBuilder_;
* <code>.context.Uuid owner_uuid = 1;</code>
* @return Whether the ownerUuid field is set.
public boolean hasOwnerUuid() {
return ownerUuidBuilder_ != null || ownerUuid_ != null;
* <code>.context.Uuid owner_uuid = 1;</code>
* @return The ownerUuid.
public context.ContextOuterClass.Uuid getOwnerUuid() {
if (ownerUuidBuilder_ == null) {
return ownerUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : ownerUuid_;
return ownerUuidBuilder_.getMessage();
* <code>.context.Uuid owner_uuid = 1;</code>
public Builder setOwnerUuid(context.ContextOuterClass.Uuid value) {
if (ownerUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ownerUuid_ = value;
ownerUuidBuilder_.setMessage(value);
* <code>.context.Uuid owner_uuid = 1;</code>
*/
public Builder setOwnerUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (ownerUuidBuilder_ == null) {
ownerUuid_ = builderForValue.build();
ownerUuidBuilder_.setMessage(builderForValue.build());
* <code>.context.Uuid owner_uuid = 1;</code>
public Builder mergeOwnerUuid(context.ContextOuterClass.Uuid value) {
if (ownerUuidBuilder_ == null) {
if (ownerUuid_ != null) {
ownerUuid_ =
context.ContextOuterClass.Uuid.newBuilder(ownerUuid_).mergeFrom(value).buildPartial();
} else {
ownerUuid_ = value;
}
ownerUuidBuilder_.mergeFrom(value);
* <code>.context.Uuid owner_uuid = 1;</code>
public Builder clearOwnerUuid() {
if (ownerUuidBuilder_ == null) {
ownerUuid_ = null;
ownerUuid_ = null;
ownerUuidBuilder_ = null;
* <code>.context.Uuid owner_uuid = 1;</code>
public context.ContextOuterClass.Uuid.Builder getOwnerUuidBuilder() {
onChanged();
return getOwnerUuidFieldBuilder().getBuilder();
* <code>.context.Uuid owner_uuid = 1;</code>
public context.ContextOuterClass.UuidOrBuilder getOwnerUuidOrBuilder() {
if (ownerUuidBuilder_ != null) {
return ownerUuidBuilder_.getMessageOrBuilder();
} else {
return ownerUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : ownerUuid_;
* <code>.context.Uuid owner_uuid = 1;</code>
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getOwnerUuidFieldBuilder() {
if (ownerUuidBuilder_ == null) {
ownerUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getOwnerUuid(),
getParentForChildren(),
isClean());
ownerUuid_ = null;
}
return ownerUuidBuilder_;
}
private java.lang.Object ownerString_ = "";
/**
* <code>string owner_string = 2;</code>
* @return The ownerString.
*/
public java.lang.String getOwnerString() {
java.lang.Object ref = ownerString_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ownerString_ = s;
return s;
return (java.lang.String) ref;
* <code>string owner_string = 2;</code>
* @return The bytes for ownerString.
public com.google.protobuf.ByteString
getOwnerStringBytes() {
java.lang.Object ref = ownerString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
* <code>string owner_string = 2;</code>
* @param value The ownerString to set.
* @return This builder for chaining.
public Builder setOwnerString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ownerString_ = value;
onChanged();
return this;
* <code>string owner_string = 2;</code>
* @return This builder for chaining.
public Builder clearOwnerString() {
ownerString_ = getDefaultInstance().getOwnerString();
onChanged();
return this;
/**
* <code>string owner_string = 2;</code>
* @param value The bytes for ownerString to set.
* @return This builder for chaining.
*/
public Builder setOwnerStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ownerString_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceOwner)
// @@protoc_insertion_point(class_scope:context.SliceOwner)
private static final context.ContextOuterClass.SliceOwner DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceOwner();
public static context.ContextOuterClass.SliceOwner getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceOwner>
PARSER = new com.google.protobuf.AbstractParser<SliceOwner>() {
public SliceOwner parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceOwner(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceOwner> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceOwner> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceOwner getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceStatus)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The enum numeric value on the wire for sliceStatus.
int getSliceStatusValue();
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The sliceStatus.
context.ContextOuterClass.SliceStatusEnum getSliceStatus();
* Protobuf type {@code context.SliceStatus}
public static final class SliceStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceStatus)
SliceStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceStatus.newBuilder() to construct.
private SliceStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceStatus() {
sliceStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceStatus();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceStatus(
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
sliceStatus_ = rawValue;
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceStatus.class, context.ContextOuterClass.SliceStatus.Builder.class);
public static final int SLICE_STATUS_FIELD_NUMBER = 1;
private int sliceStatus_;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The enum numeric value on the wire for sliceStatus.
@java.lang.Override public int getSliceStatusValue() {
return sliceStatus_;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The sliceStatus.
@java.lang.Override public context.ContextOuterClass.SliceStatusEnum getSliceStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.SliceStatusEnum result = context.ContextOuterClass.SliceStatusEnum.valueOf(sliceStatus_);
return result == null ? context.ContextOuterClass.SliceStatusEnum.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sliceStatus_ != context.ContextOuterClass.SliceStatusEnum.SLICESTATUS_UNDEFINED.getNumber()) {
output.writeEnum(1, sliceStatus_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sliceStatus_ != context.ContextOuterClass.SliceStatusEnum.SLICESTATUS_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, sliceStatus_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceStatus)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceStatus other = (context.ContextOuterClass.SliceStatus) obj;
if (sliceStatus_ != other.sliceStatus_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SLICE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + sliceStatus_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceStatus)
context.ContextOuterClass.SliceStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceStatus.class, context.ContextOuterClass.SliceStatus.Builder.class);
// Construct using context.ContextOuterClass.SliceStatus.newBuilder()
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sliceStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceStatus_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceStatus getDefaultInstanceForType() {
return context.ContextOuterClass.SliceStatus.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceStatus build() {
context.ContextOuterClass.SliceStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceStatus buildPartial() {
context.ContextOuterClass.SliceStatus result = new context.ContextOuterClass.SliceStatus(this);
result.sliceStatus_ = sliceStatus_;
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceStatus) {
return mergeFrom((context.ContextOuterClass.SliceStatus)other);
super.mergeFrom(other);
return this;
public Builder mergeFrom(context.ContextOuterClass.SliceStatus other) {
if (other == context.ContextOuterClass.SliceStatus.getDefaultInstance()) return this;
if (other.sliceStatus_ != 0) {
setSliceStatusValue(other.getSliceStatusValue());
this.mergeUnknownFields(other.unknownFields);
onChanged();
@java.lang.Override
public final boolean isInitialized() {
return true;
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
private int sliceStatus_ = 0;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The enum numeric value on the wire for sliceStatus.
@java.lang.Override public int getSliceStatusValue() {
return sliceStatus_;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @param value The enum numeric value on the wire for sliceStatus to set.
* @return This builder for chaining.
public Builder setSliceStatusValue(int value) {
sliceStatus_ = value;
onChanged();
return this;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return The sliceStatus.
@java.lang.Override
public context.ContextOuterClass.SliceStatusEnum getSliceStatus() {
@SuppressWarnings("deprecation")
context.ContextOuterClass.SliceStatusEnum result = context.ContextOuterClass.SliceStatusEnum.valueOf(sliceStatus_);
return result == null ? context.ContextOuterClass.SliceStatusEnum.UNRECOGNIZED : result;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @param value The sliceStatus to set.
* @return This builder for chaining.
public Builder setSliceStatus(context.ContextOuterClass.SliceStatusEnum value) {
if (value == null) {
throw new NullPointerException();
sliceStatus_ = value.getNumber();
onChanged();
return this;
* <code>.context.SliceStatusEnum slice_status = 1;</code>
* @return This builder for chaining.
public Builder clearSliceStatus() {
sliceStatus_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceStatus)
// @@protoc_insertion_point(class_scope:context.SliceStatus)
private static final context.ContextOuterClass.SliceStatus DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceStatus();
public static context.ContextOuterClass.SliceStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceStatus>
PARSER = new com.google.protobuf.AbstractParser<SliceStatus>() {
public SliceStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceStatus(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceStatus> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceStatus> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceConfig)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
java.util.List<context.ContextOuterClass.ConfigRule>
getConfigRulesList();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
context.ContextOuterClass.ConfigRule getConfigRules(int index);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
int getConfigRulesCount();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index);
* Protobuf type {@code context.SliceConfig}
public static final class SliceConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceConfig)
SliceConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceConfig.newBuilder() to construct.
private SliceConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceConfig() {
configRules_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>();
mutable_bitField0_ |= 0x00000001;
configRules_.add(
input.readMessage(context.ContextOuterClass.ConfigRule.parser(), extensionRegistry));
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceConfig.class, context.ContextOuterClass.SliceConfig.Builder.class);
public static final int CONFIG_RULES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
return configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
return configRules_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public int getConfigRulesCount() {
return configRules_.size();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
return configRules_.get(index);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
return configRules_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < configRules_.size(); i++) {
output.writeMessage(1, configRules_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < configRules_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, configRules_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceConfig)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceConfig other = (context.ContextOuterClass.SliceConfig) obj;
if (!getConfigRulesList()
.equals(other.getConfigRulesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getConfigRulesCount() > 0) {
hash = (37 * hash) + CONFIG_RULES_FIELD_NUMBER;
hash = (53 * hash) + getConfigRulesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceConfig)
context.ContextOuterClass.SliceConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceConfig.class, context.ContextOuterClass.SliceConfig.Builder.class);
// Construct using context.ContextOuterClass.SliceConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConfigRulesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceConfig_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceConfig getDefaultInstanceForType() {
return context.ContextOuterClass.SliceConfig.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceConfig build() {
context.ContextOuterClass.SliceConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceConfig buildPartial() {
context.ContextOuterClass.SliceConfig result = new context.ContextOuterClass.SliceConfig(this);
int from_bitField0_ = bitField0_;
if (configRulesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configRules_ = java.util.Collections.unmodifiableList(configRules_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configRules_ = configRules_;
result.configRules_ = configRulesBuilder_.build();
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceConfig) {
return mergeFrom((context.ContextOuterClass.SliceConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.SliceConfig other) {
if (other == context.ContextOuterClass.SliceConfig.getDefaultInstance()) return this;
if (configRulesBuilder_ == null) {
if (!other.configRules_.isEmpty()) {
if (configRules_.isEmpty()) {
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigRulesIsMutable();
configRules_.addAll(other.configRules_);
}
onChanged();
}
} else {
if (!other.configRules_.isEmpty()) {
if (configRulesBuilder_.isEmpty()) {
configRulesBuilder_.dispose();
configRulesBuilder_ = null;
configRules_ = other.configRules_;
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigRulesFieldBuilder() : null;
} else {
configRulesBuilder_.addAllMessages(other.configRules_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.ConfigRule> configRules_ =
java.util.Collections.emptyList();
private void ensureConfigRulesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configRules_ = new java.util.ArrayList<context.ContextOuterClass.ConfigRule>(configRules_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder> configRulesBuilder_;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<context.ContextOuterClass.ConfigRule> getConfigRulesList() {
if (configRulesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configRules_);
} else {
return configRulesBuilder_.getMessageList();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public int getConfigRulesCount() {
if (configRulesBuilder_ == null) {
return configRules_.size();
return configRulesBuilder_.getCount();
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index);
} else {
return configRulesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.set(index, value);
configRulesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder setConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.set(index, builderForValue.build());
configRulesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureConfigRulesIsMutable();
configRules_.add(value);
configRulesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule value) {
if (configRulesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigRulesIsMutable();
configRules_.add(index, value);
configRulesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder addConfigRules(
context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(builderForValue.build());
onChanged();
configRulesBuilder_.addMessage(builderForValue.build());
return this;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder addConfigRules(
int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.add(index, builderForValue.build());
onChanged();
} else {
configRulesBuilder_.addMessage(index, builderForValue.build());
return this;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder addAllConfigRules(
java.lang.Iterable<? extends context.ContextOuterClass.ConfigRule> values) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configRules_);
onChanged();
configRulesBuilder_.addAllMessages(values);
return this;
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder clearConfigRules() {
if (configRulesBuilder_ == null) {
configRules_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
configRulesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public Builder removeConfigRules(int index) {
if (configRulesBuilder_ == null) {
ensureConfigRulesIsMutable();
configRules_.remove(index);
configRulesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
int index) {
if (configRulesBuilder_ == null) {
return configRules_.get(index); } else {
return configRulesBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<? extends context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesOrBuilderList() {
if (configRulesBuilder_ != null) {
return configRulesBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(configRules_);
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
return getConfigRulesFieldBuilder().addBuilder(
context.ContextOuterClass.ConfigRule.getDefaultInstance());
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
int index) {
return getConfigRulesFieldBuilder().addBuilder(
index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
* <code>repeated .context.ConfigRule config_rules = 1;</code>
public java.util.List<context.ContextOuterClass.ConfigRule.Builder>
getConfigRulesBuilderList() {
return getConfigRulesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>
getConfigRulesFieldBuilder() {
if (configRulesBuilder_ == null) {
configRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder>(
configRules_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configRules_ = null;
return configRulesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceConfig)
// @@protoc_insertion_point(class_scope:context.SliceConfig)
private static final context.ContextOuterClass.SliceConfig DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceConfig();
public static context.ContextOuterClass.SliceConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceConfig>
PARSER = new com.google.protobuf.AbstractParser<SliceConfig>() {
public SliceConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceConfig(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceConfig> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceConfig> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
java.util.List<context.ContextOuterClass.SliceId>
getSliceIdsList();
* <code>repeated .context.SliceId slice_ids = 1;</code>
context.ContextOuterClass.SliceId getSliceIds(int index);
* <code>repeated .context.SliceId slice_ids = 1;</code>
int getSliceIdsCount();
* <code>repeated .context.SliceId slice_ids = 1;</code>
java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList();
* <code>repeated .context.SliceId slice_ids = 1;</code>
context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
int index);
* Protobuf type {@code context.SliceIdList}
public static final class SliceIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceIdList)
SliceIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceIdList.newBuilder() to construct.
private SliceIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceIdList() {
sliceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>();
mutable_bitField0_ |= 0x00000001;
sliceIds_.add(
input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry));
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceIdList.class, context.ContextOuterClass.SliceIdList.Builder.class);
public static final int SLICE_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.SliceId> sliceIds_;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public java.util.List<context.ContextOuterClass.SliceId> getSliceIdsList() {
return sliceIds_;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList() {
return sliceIds_;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public int getSliceIdsCount() {
return sliceIds_.size();
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceId getSliceIds(int index) {
return sliceIds_.get(index);
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
int index) {
return sliceIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < sliceIds_.size(); i++) {
output.writeMessage(1, sliceIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < sliceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, sliceIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceIdList other = (context.ContextOuterClass.SliceIdList) obj;
if (!getSliceIdsList()
.equals(other.getSliceIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSliceIdsCount() > 0) {
hash = (37 * hash) + SLICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSliceIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceIdList)
context.ContextOuterClass.SliceIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceIdList.class, context.ContextOuterClass.SliceIdList.Builder.class);
// Construct using context.ContextOuterClass.SliceIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSliceIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (sliceIdsBuilder_ == null) {
sliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
sliceIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceIdList getDefaultInstanceForType() {
return context.ContextOuterClass.SliceIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceIdList build() {
context.ContextOuterClass.SliceIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceIdList buildPartial() {
context.ContextOuterClass.SliceIdList result = new context.ContextOuterClass.SliceIdList(this);
int from_bitField0_ = bitField0_;
if (sliceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sliceIds_ = sliceIds_;
result.sliceIds_ = sliceIdsBuilder_.build();
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceIdList) {
return mergeFrom((context.ContextOuterClass.SliceIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.SliceIdList other) {
if (other == context.ContextOuterClass.SliceIdList.getDefaultInstance()) return this;
if (sliceIdsBuilder_ == null) {
if (!other.sliceIds_.isEmpty()) {
if (sliceIds_.isEmpty()) {
sliceIds_ = other.sliceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSliceIdsIsMutable();
sliceIds_.addAll(other.sliceIds_);
}
onChanged();
}
} else {
if (!other.sliceIds_.isEmpty()) {
if (sliceIdsBuilder_.isEmpty()) {
sliceIdsBuilder_.dispose();
sliceIdsBuilder_ = null;
sliceIds_ = other.sliceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
sliceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceIdsFieldBuilder() : null;
} else {
sliceIdsBuilder_.addAllMessages(other.sliceIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.SliceId> sliceIds_ =
java.util.Collections.emptyList();
private void ensureSliceIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>(sliceIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdsBuilder_;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public java.util.List<context.ContextOuterClass.SliceId> getSliceIdsList() {
if (sliceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sliceIds_);
} else {
return sliceIdsBuilder_.getMessageList();
* <code>repeated .context.SliceId slice_ids = 1;</code>
public int getSliceIdsCount() {
if (sliceIdsBuilder_ == null) {
return sliceIds_.size();
return sliceIdsBuilder_.getCount();
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceId getSliceIds(int index) {
if (sliceIdsBuilder_ == null) {
return sliceIds_.get(index);
} else {
return sliceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder setSliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceIdsIsMutable();
sliceIds_.set(index, value);
sliceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder setSliceIds(
int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.set(index, builderForValue.build());
sliceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder addSliceIds(context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureSliceIdsIsMutable();
sliceIds_.add(value);
sliceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder addSliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceIdsIsMutable();
sliceIds_.add(index, value);
sliceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder addSliceIds(
context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.add(builderForValue.build());
onChanged();
sliceIdsBuilder_.addMessage(builderForValue.build());
return this;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder addSliceIds(
int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.add(index, builderForValue.build());
onChanged();
} else {
sliceIdsBuilder_.addMessage(index, builderForValue.build());
return this;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder addAllSliceIds(
java.lang.Iterable<? extends context.ContextOuterClass.SliceId> values) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sliceIds_);
onChanged();
sliceIdsBuilder_.addAllMessages(values);
return this;
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder clearSliceIds() {
if (sliceIdsBuilder_ == null) {
sliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
sliceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public Builder removeSliceIds(int index) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.remove(index);
sliceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceId.Builder getSliceIdsBuilder(
int index) {
return getSliceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
int index) {
if (sliceIdsBuilder_ == null) {
return sliceIds_.get(index); } else {
return sliceIdsBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.SliceId slice_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList() {
if (sliceIdsBuilder_ != null) {
return sliceIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(sliceIds_);
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder() {
return getSliceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.SliceId.getDefaultInstance());
* <code>repeated .context.SliceId slice_ids = 1;</code>
public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder(
int index) {
return getSliceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.SliceId.getDefaultInstance());
* <code>repeated .context.SliceId slice_ids = 1;</code>
public java.util.List<context.ContextOuterClass.SliceId.Builder>
getSliceIdsBuilderList() {
return getSliceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsFieldBuilder() {
if (sliceIdsBuilder_ == null) {
sliceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
sliceIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
sliceIds_ = null;
return sliceIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceIdList)
// @@protoc_insertion_point(class_scope:context.SliceIdList)
private static final context.ContextOuterClass.SliceIdList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceIdList();
public static context.ContextOuterClass.SliceIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceIdList>
PARSER = new com.google.protobuf.AbstractParser<SliceIdList>() {
public SliceIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceIdList(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceIdList getDefaultInstanceForType() {
}
public interface SliceListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceList)
com.google.protobuf.MessageOrBuilder {
* <code>repeated .context.Slice slices = 1;</code>
java.util.List<context.ContextOuterClass.Slice>
getSlicesList();
* <code>repeated .context.Slice slices = 1;</code>
context.ContextOuterClass.Slice getSlices(int index);
* <code>repeated .context.Slice slices = 1;</code>
int getSlicesCount();
* <code>repeated .context.Slice slices = 1;</code>
java.util.List<? extends context.ContextOuterClass.SliceOrBuilder>
getSlicesOrBuilderList();
* <code>repeated .context.Slice slices = 1;</code>
context.ContextOuterClass.SliceOrBuilder getSlicesOrBuilder(
int index);
* Protobuf type {@code context.SliceList}
public static final class SliceList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceList)
SliceListOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceList.newBuilder() to construct.
private SliceList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private SliceList() {
slices_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
slices_ = new java.util.ArrayList<context.ContextOuterClass.Slice>();
mutable_bitField0_ |= 0x00000001;
slices_.add(
input.readMessage(context.ContextOuterClass.Slice.parser(), extensionRegistry));
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
slices_ = java.util.Collections.unmodifiableList(slices_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceList.class, context.ContextOuterClass.SliceList.Builder.class);
public static final int SLICES_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.Slice> slices_;
* <code>repeated .context.Slice slices = 1;</code>
public java.util.List<context.ContextOuterClass.Slice> getSlicesList() {
return slices_;
* <code>repeated .context.Slice slices = 1;</code>
public java.util.List<? extends context.ContextOuterClass.SliceOrBuilder>
getSlicesOrBuilderList() {
return slices_;
* <code>repeated .context.Slice slices = 1;</code>
public int getSlicesCount() {
return slices_.size();
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.Slice getSlices(int index) {
return slices_.get(index);
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.SliceOrBuilder getSlicesOrBuilder(
int index) {
return slices_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < slices_.size(); i++) {
output.writeMessage(1, slices_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < slices_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, slices_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceList)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceList other = (context.ContextOuterClass.SliceList) obj;
if (!getSlicesList()
.equals(other.getSlicesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSlicesCount() > 0) {
hash = (37 * hash) + SLICES_FIELD_NUMBER;
hash = (53 * hash) + getSlicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceList)
context.ContextOuterClass.SliceListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceList.class, context.ContextOuterClass.SliceList.Builder.class);
// Construct using context.ContextOuterClass.SliceList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSlicesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (slicesBuilder_ == null) {
slices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
slicesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.SliceList getDefaultInstanceForType() {
return context.ContextOuterClass.SliceList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.SliceList build() {
context.ContextOuterClass.SliceList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.SliceList buildPartial() {
context.ContextOuterClass.SliceList result = new context.ContextOuterClass.SliceList(this);
int from_bitField0_ = bitField0_;
if (slicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
slices_ = java.util.Collections.unmodifiableList(slices_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.slices_ = slices_;
result.slices_ = slicesBuilder_.build();
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceList) {
return mergeFrom((context.ContextOuterClass.SliceList)other);
} else {
super.mergeFrom(other);
return this;
}
}
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
public Builder mergeFrom(context.ContextOuterClass.SliceList other) {
if (other == context.ContextOuterClass.SliceList.getDefaultInstance()) return this;
if (slicesBuilder_ == null) {
if (!other.slices_.isEmpty()) {
if (slices_.isEmpty()) {
slices_ = other.slices_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSlicesIsMutable();
slices_.addAll(other.slices_);
}
onChanged();
}
} else {
if (!other.slices_.isEmpty()) {
if (slicesBuilder_.isEmpty()) {
slicesBuilder_.dispose();
slicesBuilder_ = null;
slices_ = other.slices_;
bitField0_ = (bitField0_ & ~0x00000001);
slicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSlicesFieldBuilder() : null;
} else {
slicesBuilder_.addAllMessages(other.slices_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Slice> slices_ =
java.util.Collections.emptyList();
private void ensureSlicesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
slices_ = new java.util.ArrayList<context.ContextOuterClass.Slice>(slices_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Slice, context.ContextOuterClass.Slice.Builder, context.ContextOuterClass.SliceOrBuilder> slicesBuilder_;
* <code>repeated .context.Slice slices = 1;</code>
public java.util.List<context.ContextOuterClass.Slice> getSlicesList() {
if (slicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(slices_);
} else {
return slicesBuilder_.getMessageList();
}
* <code>repeated .context.Slice slices = 1;</code>
public int getSlicesCount() {
if (slicesBuilder_ == null) {
return slices_.size();
return slicesBuilder_.getCount();
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.Slice getSlices(int index) {
if (slicesBuilder_ == null) {
return slices_.get(index);
} else {
return slicesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Slice slices = 1;</code>
*/
public Builder setSlices(
int index, context.ContextOuterClass.Slice value) {
if (slicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSlicesIsMutable();
slices_.set(index, value);
slicesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Slice slices = 1;</code>
public Builder setSlices(
int index, context.ContextOuterClass.Slice.Builder builderForValue) {
if (slicesBuilder_ == null) {
ensureSlicesIsMutable();
slices_.set(index, builderForValue.build());
slicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Slice slices = 1;</code>
public Builder addSlices(context.ContextOuterClass.Slice value) {
if (slicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureSlicesIsMutable();
slices_.add(value);
slicesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Slice slices = 1;</code>
public Builder addSlices(
int index, context.ContextOuterClass.Slice value) {
if (slicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSlicesIsMutable();
slices_.add(index, value);
slicesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Slice slices = 1;</code>
public Builder addSlices(
context.ContextOuterClass.Slice.Builder builderForValue) {
if (slicesBuilder_ == null) {
ensureSlicesIsMutable();
slices_.add(builderForValue.build());
onChanged();
slicesBuilder_.addMessage(builderForValue.build());
return this;
* <code>repeated .context.Slice slices = 1;</code>
public Builder addSlices(
int index, context.ContextOuterClass.Slice.Builder builderForValue) {
if (slicesBuilder_ == null) {
ensureSlicesIsMutable();
slices_.add(index, builderForValue.build());
onChanged();
} else {
slicesBuilder_.addMessage(index, builderForValue.build());
return this;
* <code>repeated .context.Slice slices = 1;</code>
public Builder addAllSlices(
java.lang.Iterable<? extends context.ContextOuterClass.Slice> values) {
if (slicesBuilder_ == null) {
ensureSlicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, slices_);
onChanged();
slicesBuilder_.addAllMessages(values);
return this;
* <code>repeated .context.Slice slices = 1;</code>
public Builder clearSlices() {
if (slicesBuilder_ == null) {
slices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
slicesBuilder_.clear();
return this;
* <code>repeated .context.Slice slices = 1;</code>
public Builder removeSlices(int index) {
if (slicesBuilder_ == null) {
ensureSlicesIsMutable();
slices_.remove(index);
onChanged();
slicesBuilder_.remove(index);
return this;
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.Slice.Builder getSlicesBuilder(
int index) {
return getSlicesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Slice slices = 1;</code>
*/
public context.ContextOuterClass.SliceOrBuilder getSlicesOrBuilder(
int index) {
if (slicesBuilder_ == null) {
return slices_.get(index); } else {
return slicesBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.Slice slices = 1;</code>
public java.util.List<? extends context.ContextOuterClass.SliceOrBuilder>
getSlicesOrBuilderList() {
if (slicesBuilder_ != null) {
return slicesBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(slices_);
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.Slice.Builder addSlicesBuilder() {
return getSlicesFieldBuilder().addBuilder(
context.ContextOuterClass.Slice.getDefaultInstance());
}
/**
* <code>repeated .context.Slice slices = 1;</code>
public context.ContextOuterClass.Slice.Builder addSlicesBuilder(
int index) {
return getSlicesFieldBuilder().addBuilder(
index, context.ContextOuterClass.Slice.getDefaultInstance());
* <code>repeated .context.Slice slices = 1;</code>
public java.util.List<context.ContextOuterClass.Slice.Builder>
getSlicesBuilderList() {
return getSlicesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Slice, context.ContextOuterClass.Slice.Builder, context.ContextOuterClass.SliceOrBuilder>
getSlicesFieldBuilder() {
if (slicesBuilder_ == null) {
slicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Slice, context.ContextOuterClass.Slice.Builder, context.ContextOuterClass.SliceOrBuilder>(
slices_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
slices_ = null;
return slicesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceList)
}
// @@protoc_insertion_point(class_scope:context.SliceList)
private static final context.ContextOuterClass.SliceList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceList();
}
public static context.ContextOuterClass.SliceList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceList>
PARSER = new com.google.protobuf.AbstractParser<SliceList>() {
@java.lang.Override
public SliceList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<SliceList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SliceEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.SliceEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
boolean hasEvent();
* <code>.context.Event event = 1;</code>
* @return The event.
context.ContextOuterClass.Event getEvent();
* <code>.context.Event event = 1;</code>
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return Whether the sliceId field is set.
*/
boolean hasSliceId();
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return The sliceId.
*/
context.ContextOuterClass.SliceId getSliceId();
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder();
}
/**
* Protobuf type {@code context.SliceEvent}
public static final class SliceEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.SliceEvent)
SliceEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use SliceEvent.newBuilder() to construct.
private SliceEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SliceEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SliceEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SliceEvent(
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Event.Builder subBuilder = null;
if (event_ != null) {
subBuilder = event_.toBuilder();
event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.SliceId.Builder subBuilder = null;
if (sliceId_ != null) {
subBuilder = sliceId_.toBuilder();
}
sliceId_ = input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sliceId_);
sliceId_ = subBuilder.buildPartial();
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceEvent.class, context.ContextOuterClass.SliceEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
@java.lang.Override
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
* <code>.context.Event event = 1;</code>
*/
@java.lang.Override
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
return getEvent();
}
public static final int SLICE_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.SliceId sliceId_;
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return Whether the sliceId field is set.
*/
@java.lang.Override
public boolean hasSliceId() {
return sliceId_ != null;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return The sliceId.
*/
@java.lang.Override
public context.ContextOuterClass.SliceId getSliceId() {
return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
return getSliceId();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (sliceId_ != null) {
output.writeMessage(2, getSliceId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEvent());
if (sliceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSliceId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.SliceEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.SliceEvent other = (context.ContextOuterClass.SliceEvent) obj;
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasSliceId() != other.hasSliceId()) return false;
if (hasSliceId()) {
if (!getSliceId()
.equals(other.getSliceId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasSliceId()) {
hash = (37 * hash) + SLICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSliceId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.SliceEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.SliceEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.SliceEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.SliceEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.SliceEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.SliceEvent)
context.ContextOuterClass.SliceEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_SliceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_SliceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.SliceEvent.class, context.ContextOuterClass.SliceEvent.Builder.class);
// Construct using context.ContextOuterClass.SliceEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
@java.lang.Override
public Builder clear() {
super.clear();
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
}
if (sliceIdBuilder_ == null) {
sliceId_ = null;
} else {
sliceId_ = null;
sliceIdBuilder_ = null;
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_SliceEvent_descriptor;
@java.lang.Override
public context.ContextOuterClass.SliceEvent getDefaultInstanceForType() {
return context.ContextOuterClass.SliceEvent.getDefaultInstance();
@java.lang.Override
public context.ContextOuterClass.SliceEvent build() {
context.ContextOuterClass.SliceEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
return result;
@java.lang.Override
public context.ContextOuterClass.SliceEvent buildPartial() {
context.ContextOuterClass.SliceEvent result = new context.ContextOuterClass.SliceEvent(this);
if (eventBuilder_ == null) {
result.event_ = event_;
result.event_ = eventBuilder_.build();
}
if (sliceIdBuilder_ == null) {
result.sliceId_ = sliceId_;
} else {
result.sliceId_ = sliceIdBuilder_.build();
onBuilt();
return result;
@java.lang.Override
public Builder clone() {
return super.clone();
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.SliceEvent) {
return mergeFrom((context.ContextOuterClass.SliceEvent)other);
super.mergeFrom(other);
return this;
public Builder mergeFrom(context.ContextOuterClass.SliceEvent other) {
if (other == context.ContextOuterClass.SliceEvent.getDefaultInstance()) return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasSliceId()) {
mergeSliceId(other.getSliceId());
this.mergeUnknownFields(other.unknownFields);
onChanged();
@java.lang.Override
public final boolean isInitialized() {
return true;
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.SliceEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.SliceEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
return this;
private context.ContextOuterClass.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
* <code>.context.Event event = 1;</code>
* @return The event.
public context.ContextOuterClass.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
return eventBuilder_.getMessage();
* <code>.context.Event event = 1;</code>
public Builder setEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
eventBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder setEvent(
context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
if (event_ != null) {
event_ =
context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
event_ = null;
eventBuilder_ = null;
}
return this;
}
/**
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.Event.Builder getEventBuilder() {
return getEventFieldBuilder().getBuilder();
* <code>.context.Event event = 1;</code>
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
return event_ == null ?
context.ContextOuterClass.Event.getDefaultInstance() : event_;
* <code>.context.Event event = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
return eventBuilder_;
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
private context.ContextOuterClass.SliceId sliceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdBuilder_;
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return Whether the sliceId field is set.
*/
public boolean hasSliceId() {
return sliceIdBuilder_ != null || sliceId_ != null;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
* @return The sliceId.
*/
public context.ContextOuterClass.SliceId getSliceId() {
if (sliceIdBuilder_ == null) {
return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
} else {
return sliceIdBuilder_.getMessage();
}
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public Builder setSliceId(context.ContextOuterClass.SliceId value) {
if (sliceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sliceId_ = value;
onChanged();
} else {
sliceIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public Builder setSliceId(
context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdBuilder_ == null) {
sliceId_ = builderForValue.build();
onChanged();
} else {
sliceIdBuilder_.setMessage(builderForValue.build());
}
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
return this;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public Builder mergeSliceId(context.ContextOuterClass.SliceId value) {
if (sliceIdBuilder_ == null) {
if (sliceId_ != null) {
sliceId_ =
context.ContextOuterClass.SliceId.newBuilder(sliceId_).mergeFrom(value).buildPartial();
} else {
sliceId_ = value;
}
onChanged();
} else {
sliceIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public Builder clearSliceId() {
if (sliceIdBuilder_ == null) {
sliceId_ = null;
onChanged();
} else {
sliceId_ = null;
sliceIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public context.ContextOuterClass.SliceId.Builder getSliceIdBuilder() {
onChanged();
return getSliceIdFieldBuilder().getBuilder();
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
if (sliceIdBuilder_ != null) {
return sliceIdBuilder_.getMessageOrBuilder();
} else {
return sliceId_ == null ?
context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
}
}
/**
* <code>.context.SliceId slice_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdFieldBuilder() {
if (sliceIdBuilder_ == null) {
sliceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
getSliceId(),
getParentForChildren(),
isClean());
sliceId_ = null;
}
return sliceIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.SliceEvent)
// @@protoc_insertion_point(class_scope:context.SliceEvent)
private static final context.ContextOuterClass.SliceEvent DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.SliceEvent();
public static context.ContextOuterClass.SliceEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<SliceEvent>
PARSER = new com.google.protobuf.AbstractParser<SliceEvent>() {
public SliceEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SliceEvent(input, extensionRegistry);
public static com.google.protobuf.Parser<SliceEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SliceEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.SliceEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid connection_uuid = 1;</code>
* @return Whether the connectionUuid field is set.
boolean hasConnectionUuid();
* <code>.context.Uuid connection_uuid = 1;</code>
* @return The connectionUuid.
context.ContextOuterClass.Uuid getConnectionUuid();
/**
* <code>.context.Uuid connection_uuid = 1;</code>
*/
context.ContextOuterClass.UuidOrBuilder getConnectionUuidOrBuilder();
* <pre>
* ----- Connection ----------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ConnectionId}
public static final class ConnectionId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionId)
ConnectionIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionId.newBuilder() to construct.
private ConnectionId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionId() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionId(
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.Uuid.Builder subBuilder = null;
if (connectionUuid_ != null) {
subBuilder = connectionUuid_.toBuilder();
}
connectionUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectionUuid_);
connectionUuid_ = subBuilder.buildPartial();
}
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionId.class, context.ContextOuterClass.ConnectionId.Builder.class);
public static final int CONNECTION_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid connectionUuid_;
* <code>.context.Uuid connection_uuid = 1;</code>
* @return Whether the connectionUuid field is set.
@java.lang.Override
public boolean hasConnectionUuid() {
return connectionUuid_ != null;
* <code>.context.Uuid connection_uuid = 1;</code>
* @return The connectionUuid.
@java.lang.Override
public context.ContextOuterClass.Uuid getConnectionUuid() {
return connectionUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : connectionUuid_;
/**
* <code>.context.Uuid connection_uuid = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getConnectionUuidOrBuilder() {
return getConnectionUuid();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (connectionUuid_ != null) {
output.writeMessage(1, getConnectionUuid());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (connectionUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConnectionUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionId)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionId other = (context.ContextOuterClass.ConnectionId) obj;
if (hasConnectionUuid() != other.hasConnectionUuid()) return false;
if (hasConnectionUuid()) {
if (!getConnectionUuid()
.equals(other.getConnectionUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasConnectionUuid()) {
hash = (37 * hash) + CONNECTION_UUID_FIELD_NUMBER;
hash = (53 * hash) + getConnectionUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Connection ----------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ConnectionId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionId)
context.ContextOuterClass.ConnectionIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionId.class, context.ContextOuterClass.ConnectionId.Builder.class);
// Construct using context.ContextOuterClass.ConnectionId.newBuilder()
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (connectionUuidBuilder_ == null) {
connectionUuid_ = null;
} else {
connectionUuid_ = null;
connectionUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionId getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionId build() {
context.ContextOuterClass.ConnectionId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionId buildPartial() {
context.ContextOuterClass.ConnectionId result = new context.ContextOuterClass.ConnectionId(this);
if (connectionUuidBuilder_ == null) {
result.connectionUuid_ = connectionUuid_;
} else {
result.connectionUuid_ = connectionUuidBuilder_.build();
}
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionId) {
return mergeFrom((context.ContextOuterClass.ConnectionId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionId other) {
if (other == context.ContextOuterClass.ConnectionId.getDefaultInstance()) return this;
if (other.hasConnectionUuid()) {
mergeConnectionUuid(other.getConnectionUuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.Uuid connectionUuid_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> connectionUuidBuilder_;
* <code>.context.Uuid connection_uuid = 1;</code>
* @return Whether the connectionUuid field is set.
public boolean hasConnectionUuid() {
return connectionUuidBuilder_ != null || connectionUuid_ != null;
}
/**
* <code>.context.Uuid connection_uuid = 1;</code>
* @return The connectionUuid.
*/
public context.ContextOuterClass.Uuid getConnectionUuid() {
if (connectionUuidBuilder_ == null) {
return connectionUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : connectionUuid_;
} else {
return connectionUuidBuilder_.getMessage();
* <code>.context.Uuid connection_uuid = 1;</code>
public Builder setConnectionUuid(context.ContextOuterClass.Uuid value) {
if (connectionUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectionUuid_ = value;
onChanged();
} else {
connectionUuidBuilder_.setMessage(value);
return this;
* <code>.context.Uuid connection_uuid = 1;</code>
public Builder setConnectionUuid(
context.ContextOuterClass.Uuid.Builder builderForValue) {
if (connectionUuidBuilder_ == null) {
connectionUuid_ = builderForValue.build();
onChanged();
} else {
connectionUuidBuilder_.setMessage(builderForValue.build());
}
return this;
* <code>.context.Uuid connection_uuid = 1;</code>
public Builder mergeConnectionUuid(context.ContextOuterClass.Uuid value) {
if (connectionUuidBuilder_ == null) {
if (connectionUuid_ != null) {
connectionUuid_ =
context.ContextOuterClass.Uuid.newBuilder(connectionUuid_).mergeFrom(value).buildPartial();
} else {
connectionUuid_ = value;
}
onChanged();
} else {
connectionUuidBuilder_.mergeFrom(value);
}
* <code>.context.Uuid connection_uuid = 1;</code>
public Builder clearConnectionUuid() {
if (connectionUuidBuilder_ == null) {
connectionUuid_ = null;
onChanged();
} else {
connectionUuid_ = null;
connectionUuidBuilder_ = null;
}
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
/**
* <code>.context.Uuid connection_uuid = 1;</code>
*/
public context.ContextOuterClass.Uuid.Builder getConnectionUuidBuilder() {
onChanged();
return getConnectionUuidFieldBuilder().getBuilder();
}
/**
* <code>.context.Uuid connection_uuid = 1;</code>
*/
public context.ContextOuterClass.UuidOrBuilder getConnectionUuidOrBuilder() {
if (connectionUuidBuilder_ != null) {
return connectionUuidBuilder_.getMessageOrBuilder();
} else {
return connectionUuid_ == null ?
context.ContextOuterClass.Uuid.getDefaultInstance() : connectionUuid_;
}
}
/**
* <code>.context.Uuid connection_uuid = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
getConnectionUuidFieldBuilder() {
if (connectionUuidBuilder_ == null) {
connectionUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
getConnectionUuid(),
getParentForChildren(),
isClean());
connectionUuid_ = null;
}
return connectionUuidBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionId)
// @@protoc_insertion_point(class_scope:context.ConnectionId)
private static final context.ContextOuterClass.ConnectionId DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionId();
public static context.ContextOuterClass.ConnectionId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionId>
PARSER = new com.google.protobuf.AbstractParser<ConnectionId>() {
public ConnectionId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionId(input, extensionRegistry);
public static com.google.protobuf.Parser<ConnectionId> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionId> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionSettings_L0OrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionSettings_L0)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string lsp_symbolic_name = 1;</code>
* @return The lspSymbolicName.
java.lang.String getLspSymbolicName();
* <code>string lsp_symbolic_name = 1;</code>
* @return The bytes for lspSymbolicName.
com.google.protobuf.ByteString
getLspSymbolicNameBytes();
* Protobuf type {@code context.ConnectionSettings_L0}
public static final class ConnectionSettings_L0 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionSettings_L0)
ConnectionSettings_L0OrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionSettings_L0.newBuilder() to construct.
private ConnectionSettings_L0(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionSettings_L0() {
lspSymbolicName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionSettings_L0();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionSettings_L0(
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
lspSymbolicName_ = s;
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L0_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L0_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L0.class, context.ContextOuterClass.ConnectionSettings_L0.Builder.class);
public static final int LSP_SYMBOLIC_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object lspSymbolicName_;
* <code>string lsp_symbolic_name = 1;</code>
* @return The lspSymbolicName.
public java.lang.String getLspSymbolicName() {
java.lang.Object ref = lspSymbolicName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lspSymbolicName_ = s;
return s;
}
* <code>string lsp_symbolic_name = 1;</code>
* @return The bytes for lspSymbolicName.
public com.google.protobuf.ByteString
getLspSymbolicNameBytes() {
java.lang.Object ref = lspSymbolicName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lspSymbolicName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getLspSymbolicNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lspSymbolicName_);
unknownFields.writeTo(output);
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
if (!getLspSymbolicNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lspSymbolicName_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionSettings_L0)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionSettings_L0 other = (context.ContextOuterClass.ConnectionSettings_L0) obj;
if (!getLspSymbolicName()
.equals(other.getLspSymbolicName())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LSP_SYMBOLIC_NAME_FIELD_NUMBER;
hash = (53 * hash) + getLspSymbolicName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L0 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionSettings_L0 prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionSettings_L0}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionSettings_L0)
context.ContextOuterClass.ConnectionSettings_L0OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L0_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L0_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L0.class, context.ContextOuterClass.ConnectionSettings_L0.Builder.class);
// Construct using context.ContextOuterClass.ConnectionSettings_L0.newBuilder()
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
lspSymbolicName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L0_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L0 getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionSettings_L0.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L0 build() {
context.ContextOuterClass.ConnectionSettings_L0 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L0 buildPartial() {
context.ContextOuterClass.ConnectionSettings_L0 result = new context.ContextOuterClass.ConnectionSettings_L0(this);
result.lspSymbolicName_ = lspSymbolicName_;
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionSettings_L0) {
return mergeFrom((context.ContextOuterClass.ConnectionSettings_L0)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionSettings_L0 other) {
if (other == context.ContextOuterClass.ConnectionSettings_L0.getDefaultInstance()) return this;
if (!other.getLspSymbolicName().isEmpty()) {
lspSymbolicName_ = other.lspSymbolicName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionSettings_L0 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionSettings_L0) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object lspSymbolicName_ = "";
* <code>string lsp_symbolic_name = 1;</code>
* @return The lspSymbolicName.
public java.lang.String getLspSymbolicName() {
java.lang.Object ref = lspSymbolicName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lspSymbolicName_ = s;
return s;
return (java.lang.String) ref;
* <code>string lsp_symbolic_name = 1;</code>
* @return The bytes for lspSymbolicName.
public com.google.protobuf.ByteString
getLspSymbolicNameBytes() {
java.lang.Object ref = lspSymbolicName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lspSymbolicName_ = b;
return b;
return (com.google.protobuf.ByteString) ref;
* <code>string lsp_symbolic_name = 1;</code>
* @param value The lspSymbolicName to set.
* @return This builder for chaining.
public Builder setLspSymbolicName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lspSymbolicName_ = value;
onChanged();
* <code>string lsp_symbolic_name = 1;</code>
* @return This builder for chaining.
public Builder clearLspSymbolicName() {
lspSymbolicName_ = getDefaultInstance().getLspSymbolicName();
onChanged();
* <code>string lsp_symbolic_name = 1;</code>
* @param value The bytes for lspSymbolicName to set.
* @return This builder for chaining.
public Builder setLspSymbolicNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lspSymbolicName_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionSettings_L0)
// @@protoc_insertion_point(class_scope:context.ConnectionSettings_L0)
private static final context.ContextOuterClass.ConnectionSettings_L0 DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionSettings_L0();
public static context.ContextOuterClass.ConnectionSettings_L0 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionSettings_L0>
PARSER = new com.google.protobuf.AbstractParser<ConnectionSettings_L0>() {
public ConnectionSettings_L0 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionSettings_L0(input, extensionRegistry);
public static com.google.protobuf.Parser<ConnectionSettings_L0> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionSettings_L0> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L0 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionSettings_L2OrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionSettings_L2)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string src_mac_address = 1;</code>
* @return The srcMacAddress.
java.lang.String getSrcMacAddress();
* <code>string src_mac_address = 1;</code>
* @return The bytes for srcMacAddress.
com.google.protobuf.ByteString
getSrcMacAddressBytes();
* <code>string dst_mac_address = 2;</code>
* @return The dstMacAddress.
java.lang.String getDstMacAddress();
* <code>string dst_mac_address = 2;</code>
* @return The bytes for dstMacAddress.
com.google.protobuf.ByteString
getDstMacAddressBytes();
* <code>uint32 ether_type = 3;</code>
* @return The etherType.
int getEtherType();
/**
* <code>uint32 vlan_id = 4;</code>
* @return The vlanId.
int getVlanId();
/**
* <code>uint32 mpls_label = 5;</code>
* @return The mplsLabel.
int getMplsLabel();
/**
* <code>uint32 mpls_traffic_class = 6;</code>
* @return The mplsTrafficClass.
*/
int getMplsTrafficClass();
* Protobuf type {@code context.ConnectionSettings_L2}
public static final class ConnectionSettings_L2 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionSettings_L2)
ConnectionSettings_L2OrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionSettings_L2.newBuilder() to construct.
private ConnectionSettings_L2(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionSettings_L2() {
srcMacAddress_ = "";
dstMacAddress_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionSettings_L2();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionSettings_L2(
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
srcMacAddress_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
dstMacAddress_ = s;
break;
}
case 24: {
etherType_ = input.readUInt32();
break;
}
case 32: {
vlanId_ = input.readUInt32();
break;
}
case 40: {
mplsLabel_ = input.readUInt32();
break;
}
case 48: {
mplsTrafficClass_ = input.readUInt32();
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L2_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L2.class, context.ContextOuterClass.ConnectionSettings_L2.Builder.class);
public static final int SRC_MAC_ADDRESS_FIELD_NUMBER = 1;
private volatile java.lang.Object srcMacAddress_;
* <code>string src_mac_address = 1;</code>
* @return The srcMacAddress.
public java.lang.String getSrcMacAddress() {
java.lang.Object ref = srcMacAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
srcMacAddress_ = s;
return s;
}
* <code>string src_mac_address = 1;</code>
* @return The bytes for srcMacAddress.
public com.google.protobuf.ByteString
getSrcMacAddressBytes() {
java.lang.Object ref = srcMacAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcMacAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
public static final int DST_MAC_ADDRESS_FIELD_NUMBER = 2;
private volatile java.lang.Object dstMacAddress_;
* <code>string dst_mac_address = 2;</code>
* @return The dstMacAddress.
public java.lang.String getDstMacAddress() {
java.lang.Object ref = dstMacAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dstMacAddress_ = s;
return s;
}
* <code>string dst_mac_address = 2;</code>
* @return The bytes for dstMacAddress.
public com.google.protobuf.ByteString
getDstMacAddressBytes() {
java.lang.Object ref = dstMacAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstMacAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
public static final int ETHER_TYPE_FIELD_NUMBER = 3;
private int etherType_;
* <code>uint32 ether_type = 3;</code>
* @return The etherType.
public int getEtherType() {
return etherType_;
}
public static final int VLAN_ID_FIELD_NUMBER = 4;
private int vlanId_;
* <code>uint32 vlan_id = 4;</code>
* @return The vlanId.
*/
@java.lang.Override
public int getVlanId() {
return vlanId_;
}
public static final int MPLS_LABEL_FIELD_NUMBER = 5;
private int mplsLabel_;
* <code>uint32 mpls_label = 5;</code>
* @return The mplsLabel.
*/
@java.lang.Override
public int getMplsLabel() {
return mplsLabel_;
}
public static final int MPLS_TRAFFIC_CLASS_FIELD_NUMBER = 6;
private int mplsTrafficClass_;
/**
* <code>uint32 mpls_traffic_class = 6;</code>
* @return The mplsTrafficClass.
*/
@java.lang.Override
public int getMplsTrafficClass() {
return mplsTrafficClass_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSrcMacAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, srcMacAddress_);
if (!getDstMacAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dstMacAddress_);
if (etherType_ != 0) {
output.writeUInt32(3, etherType_);
if (vlanId_ != 0) {
output.writeUInt32(4, vlanId_);
if (mplsLabel_ != 0) {
output.writeUInt32(5, mplsLabel_);
}
if (mplsTrafficClass_ != 0) {
output.writeUInt32(6, mplsTrafficClass_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSrcMacAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, srcMacAddress_);
if (!getDstMacAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dstMacAddress_);
if (etherType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, etherType_);
if (vlanId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, vlanId_);
if (mplsLabel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, mplsLabel_);
}
if (mplsTrafficClass_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, mplsTrafficClass_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionSettings_L2)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionSettings_L2 other = (context.ContextOuterClass.ConnectionSettings_L2) obj;
if (!getSrcMacAddress()
.equals(other.getSrcMacAddress())) return false;
if (!getDstMacAddress()
.equals(other.getDstMacAddress())) return false;
if (getEtherType()
!= other.getEtherType()) return false;
if (getVlanId()
!= other.getVlanId()) return false;
if (getMplsLabel()
!= other.getMplsLabel()) return false;
if (getMplsTrafficClass()
!= other.getMplsTrafficClass()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SRC_MAC_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getSrcMacAddress().hashCode();
hash = (37 * hash) + DST_MAC_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getDstMacAddress().hashCode();
hash = (37 * hash) + ETHER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getEtherType();
hash = (37 * hash) + VLAN_ID_FIELD_NUMBER;
hash = (53 * hash) + getVlanId();
hash = (37 * hash) + MPLS_LABEL_FIELD_NUMBER;
hash = (53 * hash) + getMplsLabel();
hash = (37 * hash) + MPLS_TRAFFIC_CLASS_FIELD_NUMBER;
hash = (53 * hash) + getMplsTrafficClass();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L2 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionSettings_L2 prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionSettings_L2}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionSettings_L2)
context.ContextOuterClass.ConnectionSettings_L2OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L2_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L2.class, context.ContextOuterClass.ConnectionSettings_L2.Builder.class);
// Construct using context.ContextOuterClass.ConnectionSettings_L2.newBuilder()
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
srcMacAddress_ = "";
dstMacAddress_ = "";
etherType_ = 0;
vlanId_ = 0;
mplsLabel_ = 0;
mplsTrafficClass_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L2_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2 getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionSettings_L2.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2 build() {
context.ContextOuterClass.ConnectionSettings_L2 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2 buildPartial() {
context.ContextOuterClass.ConnectionSettings_L2 result = new context.ContextOuterClass.ConnectionSettings_L2(this);
result.srcMacAddress_ = srcMacAddress_;
result.dstMacAddress_ = dstMacAddress_;
result.etherType_ = etherType_;
result.vlanId_ = vlanId_;
result.mplsLabel_ = mplsLabel_;
result.mplsTrafficClass_ = mplsTrafficClass_;
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionSettings_L2) {
return mergeFrom((context.ContextOuterClass.ConnectionSettings_L2)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionSettings_L2 other) {
if (other == context.ContextOuterClass.ConnectionSettings_L2.getDefaultInstance()) return this;
if (!other.getSrcMacAddress().isEmpty()) {
srcMacAddress_ = other.srcMacAddress_;
onChanged();
}
if (!other.getDstMacAddress().isEmpty()) {
dstMacAddress_ = other.dstMacAddress_;
onChanged();
}
if (other.getEtherType() != 0) {
setEtherType(other.getEtherType());
if (other.getVlanId() != 0) {
setVlanId(other.getVlanId());
if (other.getMplsLabel() != 0) {
setMplsLabel(other.getMplsLabel());
}
if (other.getMplsTrafficClass() != 0) {
setMplsTrafficClass(other.getMplsTrafficClass());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionSettings_L2 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionSettings_L2) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object srcMacAddress_ = "";
* <code>string src_mac_address = 1;</code>
* @return The srcMacAddress.
public java.lang.String getSrcMacAddress() {
java.lang.Object ref = srcMacAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
srcMacAddress_ = s;
return s;
return (java.lang.String) ref;
* <code>string src_mac_address = 1;</code>
* @return The bytes for srcMacAddress.
public com.google.protobuf.ByteString
getSrcMacAddressBytes() {
java.lang.Object ref = srcMacAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcMacAddress_ = b;
return b;
return (com.google.protobuf.ByteString) ref;
* <code>string src_mac_address = 1;</code>
* @param value The srcMacAddress to set.
* @return This builder for chaining.
public Builder setSrcMacAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
srcMacAddress_ = value;
onChanged();
* <code>string src_mac_address = 1;</code>
* @return This builder for chaining.
public Builder clearSrcMacAddress() {
srcMacAddress_ = getDefaultInstance().getSrcMacAddress();
onChanged();
* <code>string src_mac_address = 1;</code>
* @param value The bytes for srcMacAddress to set.
* @return This builder for chaining.
public Builder setSrcMacAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
srcMacAddress_ = value;
onChanged();
private java.lang.Object dstMacAddress_ = "";
* <code>string dst_mac_address = 2;</code>
* @return The dstMacAddress.
public java.lang.String getDstMacAddress() {
java.lang.Object ref = dstMacAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dstMacAddress_ = s;
return s;
return (java.lang.String) ref;
* <code>string dst_mac_address = 2;</code>
* @return The bytes for dstMacAddress.
public com.google.protobuf.ByteString
getDstMacAddressBytes() {
java.lang.Object ref = dstMacAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstMacAddress_ = b;
return b;
return (com.google.protobuf.ByteString) ref;
* <code>string dst_mac_address = 2;</code>
* @param value The dstMacAddress to set.
* @return This builder for chaining.
public Builder setDstMacAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dstMacAddress_ = value;
onChanged();
* <code>string dst_mac_address = 2;</code>
* @return This builder for chaining.
public Builder clearDstMacAddress() {
dstMacAddress_ = getDefaultInstance().getDstMacAddress();
onChanged();
* <code>string dst_mac_address = 2;</code>
* @param value The bytes for dstMacAddress to set.
* @return This builder for chaining.
public Builder setDstMacAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dstMacAddress_ = value;
onChanged();
private int etherType_ ;
* <code>uint32 ether_type = 3;</code>
* @return The etherType.
@java.lang.Override
public int getEtherType() {
return etherType_;
}
/**
* <code>uint32 ether_type = 3;</code>
* @param value The etherType to set.
* @return This builder for chaining.
*/
public Builder setEtherType(int value) {
etherType_ = value;
onChanged();
* <code>uint32 ether_type = 3;</code>
* @return This builder for chaining.
public Builder clearEtherType() {
etherType_ = 0;
onChanged();
return this;
private int vlanId_ ;
* <code>uint32 vlan_id = 4;</code>
* @return The vlanId.
@java.lang.Override
public int getVlanId() {
return vlanId_;
* <code>uint32 vlan_id = 4;</code>
* @param value The vlanId to set.
* @return This builder for chaining.
public Builder setVlanId(int value) {
vlanId_ = value;
onChanged();
return this;
* <code>uint32 vlan_id = 4;</code>
* @return This builder for chaining.
public Builder clearVlanId() {
vlanId_ = 0;
onChanged();
return this;
private int mplsLabel_ ;
* <code>uint32 mpls_label = 5;</code>
* @return The mplsLabel.
@java.lang.Override
public int getMplsLabel() {
return mplsLabel_;
* <code>uint32 mpls_label = 5;</code>
* @param value The mplsLabel to set.
* @return This builder for chaining.
public Builder setMplsLabel(int value) {
mplsLabel_ = value;
onChanged();
return this;
* <code>uint32 mpls_label = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMplsLabel() {
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
mplsLabel_ = 0;
onChanged();
return this;
}
private int mplsTrafficClass_ ;
/**
* <code>uint32 mpls_traffic_class = 6;</code>
* @return The mplsTrafficClass.
*/
@java.lang.Override
public int getMplsTrafficClass() {
return mplsTrafficClass_;
}
/**
* <code>uint32 mpls_traffic_class = 6;</code>
* @param value The mplsTrafficClass to set.
* @return This builder for chaining.
*/
public Builder setMplsTrafficClass(int value) {
mplsTrafficClass_ = value;
onChanged();
return this;
}
/**
* <code>uint32 mpls_traffic_class = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMplsTrafficClass() {
mplsTrafficClass_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionSettings_L2)
// @@protoc_insertion_point(class_scope:context.ConnectionSettings_L2)
private static final context.ContextOuterClass.ConnectionSettings_L2 DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionSettings_L2();
public static context.ContextOuterClass.ConnectionSettings_L2 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionSettings_L2>
PARSER = new com.google.protobuf.AbstractParser<ConnectionSettings_L2>() {
public ConnectionSettings_L2 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionSettings_L2(input, extensionRegistry);
public static com.google.protobuf.Parser<ConnectionSettings_L2> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionSettings_L2> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionSettings_L3OrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionSettings_L3)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string src_ip_address = 1;</code>
* @return The srcIpAddress.
java.lang.String getSrcIpAddress();
/**
* <code>string src_ip_address = 1;</code>
* @return The bytes for srcIpAddress.
*/
com.google.protobuf.ByteString
getSrcIpAddressBytes();
* <code>string dst_ip_address = 2;</code>
* @return The dstIpAddress.
java.lang.String getDstIpAddress();
/**
* <code>string dst_ip_address = 2;</code>
* @return The bytes for dstIpAddress.
*/
com.google.protobuf.ByteString
getDstIpAddressBytes();
* <code>uint32 dscp = 3;</code>
* @return The dscp.
int getDscp();
* <code>uint32 protocol = 4;</code>
* @return The protocol.
*/
int getProtocol();
/**
* <code>uint32 ttl = 5;</code>
* @return The ttl.
int getTtl();
* Protobuf type {@code context.ConnectionSettings_L3}
public static final class ConnectionSettings_L3 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionSettings_L3)
ConnectionSettings_L3OrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionSettings_L3.newBuilder() to construct.
private ConnectionSettings_L3(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionSettings_L3() {
srcIpAddress_ = "";
dstIpAddress_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionSettings_L3();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionSettings_L3(
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
srcIpAddress_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
dstIpAddress_ = s;
break;
}
case 24: {
dscp_ = input.readUInt32();
break;
}
case 32: {
protocol_ = input.readUInt32();
break;
}
case 40: {
ttl_ = input.readUInt32();
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L3_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L3_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L3.class, context.ContextOuterClass.ConnectionSettings_L3.Builder.class);
public static final int SRC_IP_ADDRESS_FIELD_NUMBER = 1;
private volatile java.lang.Object srcIpAddress_;
* <code>string src_ip_address = 1;</code>
* @return The srcIpAddress.
public java.lang.String getSrcIpAddress() {
java.lang.Object ref = srcIpAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
srcIpAddress_ = s;
return s;
}
* <code>string src_ip_address = 1;</code>
* @return The bytes for srcIpAddress.
public com.google.protobuf.ByteString
getSrcIpAddressBytes() {
java.lang.Object ref = srcIpAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
public static final int DST_IP_ADDRESS_FIELD_NUMBER = 2;
private volatile java.lang.Object dstIpAddress_;
* <code>string dst_ip_address = 2;</code>
* @return The dstIpAddress.
public java.lang.String getDstIpAddress() {
java.lang.Object ref = dstIpAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dstIpAddress_ = s;
return s;
}
* <code>string dst_ip_address = 2;</code>
* @return The bytes for dstIpAddress.
public com.google.protobuf.ByteString
getDstIpAddressBytes() {
java.lang.Object ref = dstIpAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
public static final int DSCP_FIELD_NUMBER = 3;
private int dscp_;
/**
* <code>uint32 dscp = 3;</code>
* @return The dscp.
*/
@java.lang.Override
public int getDscp() {
return dscp_;
}
public static final int PROTOCOL_FIELD_NUMBER = 4;
private int protocol_;
/**
* <code>uint32 protocol = 4;</code>
* @return The protocol.
*/
@java.lang.Override
public int getProtocol() {
return protocol_;
}
public static final int TTL_FIELD_NUMBER = 5;
private int ttl_;
/**
* <code>uint32 ttl = 5;</code>
* @return The ttl.
*/
@java.lang.Override
public int getTtl() {
return ttl_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSrcIpAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, srcIpAddress_);
if (!getDstIpAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dstIpAddress_);
if (dscp_ != 0) {
output.writeUInt32(3, dscp_);
}
if (protocol_ != 0) {
output.writeUInt32(4, protocol_);
}
if (ttl_ != 0) {
output.writeUInt32(5, ttl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSrcIpAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, srcIpAddress_);
if (!getDstIpAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dstIpAddress_);
}
if (dscp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, dscp_);
if (protocol_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, protocol_);
}
if (ttl_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, ttl_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionSettings_L3)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionSettings_L3 other = (context.ContextOuterClass.ConnectionSettings_L3) obj;
if (!getSrcIpAddress()
.equals(other.getSrcIpAddress())) return false;
if (!getDstIpAddress()
.equals(other.getDstIpAddress())) return false;
if (getDscp()
!= other.getDscp()) return false;
if (getProtocol()
!= other.getProtocol()) return false;
if (getTtl()
!= other.getTtl()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SRC_IP_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getSrcIpAddress().hashCode();
hash = (37 * hash) + DST_IP_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getDstIpAddress().hashCode();
hash = (37 * hash) + DSCP_FIELD_NUMBER;
hash = (53 * hash) + getDscp();
hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
hash = (53 * hash) + getProtocol();
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + getTtl();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L3 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionSettings_L3 prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionSettings_L3}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionSettings_L3)
context.ContextOuterClass.ConnectionSettings_L3OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L3_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L3_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L3.class, context.ContextOuterClass.ConnectionSettings_L3.Builder.class);
// Construct using context.ContextOuterClass.ConnectionSettings_L3.newBuilder()
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
srcIpAddress_ = "";
dstIpAddress_ = "";
dscp_ = 0;
protocol_ = 0;
ttl_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L3_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3 getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionSettings_L3.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3 build() {
context.ContextOuterClass.ConnectionSettings_L3 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3 buildPartial() {
context.ContextOuterClass.ConnectionSettings_L3 result = new context.ContextOuterClass.ConnectionSettings_L3(this);
result.srcIpAddress_ = srcIpAddress_;
result.dstIpAddress_ = dstIpAddress_;
result.dscp_ = dscp_;
result.protocol_ = protocol_;
result.ttl_ = ttl_;
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionSettings_L3) {
return mergeFrom((context.ContextOuterClass.ConnectionSettings_L3)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionSettings_L3 other) {
if (other == context.ContextOuterClass.ConnectionSettings_L3.getDefaultInstance()) return this;
if (!other.getSrcIpAddress().isEmpty()) {
srcIpAddress_ = other.srcIpAddress_;
onChanged();
if (!other.getDstIpAddress().isEmpty()) {
dstIpAddress_ = other.dstIpAddress_;
onChanged();
if (other.getDscp() != 0) {
setDscp(other.getDscp());
}
if (other.getProtocol() != 0) {
setProtocol(other.getProtocol());
if (other.getTtl() != 0) {
setTtl(other.getTtl());
this.mergeUnknownFields(other.unknownFields);
onChanged();
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionSettings_L3 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionSettings_L3) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object srcIpAddress_ = "";
* <code>string src_ip_address = 1;</code>
* @return The srcIpAddress.
public java.lang.String getSrcIpAddress() {
java.lang.Object ref = srcIpAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
srcIpAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
* <code>string src_ip_address = 1;</code>
* @return The bytes for srcIpAddress.
*/
public com.google.protobuf.ByteString
getSrcIpAddressBytes() {
java.lang.Object ref = srcIpAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string src_ip_address = 1;</code>
* @param value The srcIpAddress to set.
* @return This builder for chaining.
public Builder setSrcIpAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
srcIpAddress_ = value;
onChanged();
* <code>string src_ip_address = 1;</code>
* @return This builder for chaining.
public Builder clearSrcIpAddress() {
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
srcIpAddress_ = getDefaultInstance().getSrcIpAddress();
onChanged();
return this;
}
/**
* <code>string src_ip_address = 1;</code>
* @param value The bytes for srcIpAddress to set.
* @return This builder for chaining.
*/
public Builder setSrcIpAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
srcIpAddress_ = value;
onChanged();
private java.lang.Object dstIpAddress_ = "";
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
* <code>string dst_ip_address = 2;</code>
* @return The dstIpAddress.
*/
public java.lang.String getDstIpAddress() {
java.lang.Object ref = dstIpAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dstIpAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string dst_ip_address = 2;</code>
* @return The bytes for dstIpAddress.
*/
public com.google.protobuf.ByteString
getDstIpAddressBytes() {
java.lang.Object ref = dstIpAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string dst_ip_address = 2;</code>
* @param value The dstIpAddress to set.
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
* @return This builder for chaining.
*/
public Builder setDstIpAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dstIpAddress_ = value;
onChanged();
return this;
}
/**
* <code>string dst_ip_address = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDstIpAddress() {
dstIpAddress_ = getDefaultInstance().getDstIpAddress();
onChanged();
return this;
}
/**
* <code>string dst_ip_address = 2;</code>
* @param value The bytes for dstIpAddress to set.
* @return This builder for chaining.
*/
public Builder setDstIpAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dstIpAddress_ = value;
onChanged();
return this;
}
private int dscp_ ;
/**
* <code>uint32 dscp = 3;</code>
* @return The dscp.
@java.lang.Override
public int getDscp() {
return dscp_;
* <code>uint32 dscp = 3;</code>
* @param value The dscp to set.
* @return This builder for chaining.
public Builder setDscp(int value) {
dscp_ = value;
onChanged();
* <code>uint32 dscp = 3;</code>
* @return This builder for chaining.
public Builder clearDscp() {
dscp_ = 0;
onChanged();
return this;
private int protocol_ ;
* <code>uint32 protocol = 4;</code>
* @return The protocol.
@java.lang.Override
public int getProtocol() {
return protocol_;
* <code>uint32 protocol = 4;</code>
* @param value The protocol to set.
* @return This builder for chaining.
public Builder setProtocol(int value) {
protocol_ = value;
onChanged();
return this;
* <code>uint32 protocol = 4;</code>
* @return This builder for chaining.
public Builder clearProtocol() {
protocol_ = 0;
onChanged();
return this;
private int ttl_ ;
* <code>uint32 ttl = 5;</code>
* @return The ttl.
@java.lang.Override
public int getTtl() {
return ttl_;
* <code>uint32 ttl = 5;</code>
* @param value The ttl to set.
* @return This builder for chaining.
public Builder setTtl(int value) {
ttl_ = value;
onChanged();
return this;
* <code>uint32 ttl = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTtl() {
ttl_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionSettings_L3)
// @@protoc_insertion_point(class_scope:context.ConnectionSettings_L3)
private static final context.ContextOuterClass.ConnectionSettings_L3 DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionSettings_L3();
public static context.ContextOuterClass.ConnectionSettings_L3 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionSettings_L3>
PARSER = new com.google.protobuf.AbstractParser<ConnectionSettings_L3>() {
public ConnectionSettings_L3 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionSettings_L3(input, extensionRegistry);
public static com.google.protobuf.Parser<ConnectionSettings_L3> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionSettings_L3> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionSettings_L4OrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionSettings_L4)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 src_port = 1;</code>
* @return The srcPort.
int getSrcPort();
* <code>uint32 dst_port = 2;</code>
* @return The dstPort.
int getDstPort();
/**
* <code>uint32 tcp_flags = 3;</code>
* @return The tcpFlags.
int getTcpFlags();
/**
* <code>uint32 ttl = 4;</code>
* @return The ttl.
int getTtl();
* Protobuf type {@code context.ConnectionSettings_L4}
public static final class ConnectionSettings_L4 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionSettings_L4)
ConnectionSettings_L4OrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionSettings_L4.newBuilder() to construct.
private ConnectionSettings_L4(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionSettings_L4() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionSettings_L4();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionSettings_L4(
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
srcPort_ = input.readUInt32();
case 16: {
dstPort_ = input.readUInt32();
break;
}
case 24: {
tcpFlags_ = input.readUInt32();
break;
}
case 32: {
ttl_ = input.readUInt32();
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L4_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L4.class, context.ContextOuterClass.ConnectionSettings_L4.Builder.class);
public static final int SRC_PORT_FIELD_NUMBER = 1;
private int srcPort_;
* <code>uint32 src_port = 1;</code>
* @return The srcPort.
public int getSrcPort() {
return srcPort_;
public static final int DST_PORT_FIELD_NUMBER = 2;
private int dstPort_;
* <code>uint32 dst_port = 2;</code>
* @return The dstPort.
public int getDstPort() {
return dstPort_;
}
public static final int TCP_FLAGS_FIELD_NUMBER = 3;
private int tcpFlags_;
* <code>uint32 tcp_flags = 3;</code>
* @return The tcpFlags.
*/
@java.lang.Override
public int getTcpFlags() {
return tcpFlags_;
}
public static final int TTL_FIELD_NUMBER = 4;
private int ttl_;
* <code>uint32 ttl = 4;</code>
* @return The ttl.
*/
@java.lang.Override
public int getTtl() {
return ttl_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (srcPort_ != 0) {
output.writeUInt32(1, srcPort_);
if (dstPort_ != 0) {
output.writeUInt32(2, dstPort_);
if (tcpFlags_ != 0) {
output.writeUInt32(3, tcpFlags_);
if (ttl_ != 0) {
output.writeUInt32(4, ttl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (srcPort_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, srcPort_);
if (dstPort_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, dstPort_);
if (tcpFlags_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, tcpFlags_);
if (ttl_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, ttl_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionSettings_L4)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionSettings_L4 other = (context.ContextOuterClass.ConnectionSettings_L4) obj;
if (getSrcPort()
!= other.getSrcPort()) return false;
if (getDstPort()
!= other.getDstPort()) return false;
if (getTcpFlags()
!= other.getTcpFlags()) return false;
if (getTtl()
!= other.getTtl()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SRC_PORT_FIELD_NUMBER;
hash = (53 * hash) + getSrcPort();
hash = (37 * hash) + DST_PORT_FIELD_NUMBER;
hash = (53 * hash) + getDstPort();
hash = (37 * hash) + TCP_FLAGS_FIELD_NUMBER;
hash = (53 * hash) + getTcpFlags();
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + getTtl();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings_L4 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionSettings_L4 prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionSettings_L4}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionSettings_L4)
context.ContextOuterClass.ConnectionSettings_L4OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L4_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings_L4.class, context.ContextOuterClass.ConnectionSettings_L4.Builder.class);
// Construct using context.ContextOuterClass.ConnectionSettings_L4.newBuilder()
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
srcPort_ = 0;
dstPort_ = 0;
tcpFlags_ = 0;
ttl_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_L4_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4 getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionSettings_L4.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4 build() {
context.ContextOuterClass.ConnectionSettings_L4 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4 buildPartial() {
context.ContextOuterClass.ConnectionSettings_L4 result = new context.ContextOuterClass.ConnectionSettings_L4(this);
result.srcPort_ = srcPort_;
result.dstPort_ = dstPort_;
result.tcpFlags_ = tcpFlags_;
result.ttl_ = ttl_;
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionSettings_L4) {
return mergeFrom((context.ContextOuterClass.ConnectionSettings_L4)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionSettings_L4 other) {
if (other == context.ContextOuterClass.ConnectionSettings_L4.getDefaultInstance()) return this;
if (other.getSrcPort() != 0) {
setSrcPort(other.getSrcPort());
if (other.getDstPort() != 0) {
setDstPort(other.getDstPort());
if (other.getTcpFlags() != 0) {
setTcpFlags(other.getTcpFlags());
if (other.getTtl() != 0) {
setTtl(other.getTtl());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionSettings_L4 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionSettings_L4) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int srcPort_ ;
* <code>uint32 src_port = 1;</code>
* @return The srcPort.
@java.lang.Override
public int getSrcPort() {
return srcPort_;
}
/**
* <code>uint32 src_port = 1;</code>
* @param value The srcPort to set.
* @return This builder for chaining.
public Builder setSrcPort(int value) {
srcPort_ = value;
onChanged();
return this;
}
/**
* <code>uint32 src_port = 1;</code>
* @return This builder for chaining.
public Builder clearSrcPort() {
srcPort_ = 0;
onChanged();
return this;
}
private int dstPort_ ;
* <code>uint32 dst_port = 2;</code>
* @return The dstPort.
@java.lang.Override
public int getDstPort() {
return dstPort_;
}
/**
* <code>uint32 dst_port = 2;</code>
* @param value The dstPort to set.
* @return This builder for chaining.
public Builder setDstPort(int value) {
dstPort_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dst_port = 2;</code>
* @return This builder for chaining.
public Builder clearDstPort() {
dstPort_ = 0;
onChanged();
return this;
private int tcpFlags_ ;
* <code>uint32 tcp_flags = 3;</code>
* @return The tcpFlags.
@java.lang.Override
public int getTcpFlags() {
return tcpFlags_;
}
/**
* <code>uint32 tcp_flags = 3;</code>
* @param value The tcpFlags to set.
* @return This builder for chaining.
public Builder setTcpFlags(int value) {
tcpFlags_ = value;
onChanged();
return this;
}
/**
* <code>uint32 tcp_flags = 3;</code>
* @return This builder for chaining.
public Builder clearTcpFlags() {
tcpFlags_ = 0;
onChanged();
return this;
}
private int ttl_ ;
* <code>uint32 ttl = 4;</code>
* @return The ttl.
@java.lang.Override
public int getTtl() {
return ttl_;
}
/**
* <code>uint32 ttl = 4;</code>
* @param value The ttl to set.
* @return This builder for chaining.
public Builder setTtl(int value) {
ttl_ = value;
onChanged();
return this;
}
/**
* <code>uint32 ttl = 4;</code>
* @return This builder for chaining.
public Builder clearTtl() {
ttl_ = 0;
onChanged();
return this;
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
// @@protoc_insertion_point(builder_scope:context.ConnectionSettings_L4)
}
// @@protoc_insertion_point(class_scope:context.ConnectionSettings_L4)
private static final context.ContextOuterClass.ConnectionSettings_L4 DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionSettings_L4();
}
public static context.ContextOuterClass.ConnectionSettings_L4 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionSettings_L4>
PARSER = new com.google.protobuf.AbstractParser<ConnectionSettings_L4>() {
@java.lang.Override
public ConnectionSettings_L4 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionSettings_L4(input, extensionRegistry);
public static com.google.protobuf.Parser<ConnectionSettings_L4> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionSettings_L4> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionSettings)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return Whether the l0 field is set.
boolean hasL0();
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return The l0.
context.ContextOuterClass.ConnectionSettings_L0 getL0();
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
context.ContextOuterClass.ConnectionSettings_L0OrBuilder getL0OrBuilder();
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return Whether the l2 field is set.
boolean hasL2();
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return The l2.
context.ContextOuterClass.ConnectionSettings_L2 getL2();
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
context.ContextOuterClass.ConnectionSettings_L2OrBuilder getL2OrBuilder();
/**
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return Whether the l3 field is set.
boolean hasL3();
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return The l3.
context.ContextOuterClass.ConnectionSettings_L3 getL3();
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
context.ContextOuterClass.ConnectionSettings_L3OrBuilder getL3OrBuilder();
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return Whether the l4 field is set.
boolean hasL4();
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return The l4.
context.ContextOuterClass.ConnectionSettings_L4 getL4();
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
context.ContextOuterClass.ConnectionSettings_L4OrBuilder getL4OrBuilder();
* Protobuf type {@code context.ConnectionSettings}
public static final class ConnectionSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionSettings)
ConnectionSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionSettings.newBuilder() to construct.
private ConnectionSettings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private ConnectionSettings() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionSettings(
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ConnectionSettings_L0.Builder subBuilder = null;
if (l0_ != null) {
subBuilder = l0_.toBuilder();
l0_ = input.readMessage(context.ContextOuterClass.ConnectionSettings_L0.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(l0_);
l0_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.ConnectionSettings_L2.Builder subBuilder = null;
if (l2_ != null) {
subBuilder = l2_.toBuilder();
l2_ = input.readMessage(context.ContextOuterClass.ConnectionSettings_L2.parser(), extensionRegistry);
subBuilder.mergeFrom(l2_);
l2_ = subBuilder.buildPartial();
}
break;
}
case 26: {
context.ContextOuterClass.ConnectionSettings_L3.Builder subBuilder = null;
if (l3_ != null) {
subBuilder = l3_.toBuilder();
l3_ = input.readMessage(context.ContextOuterClass.ConnectionSettings_L3.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(l3_);
l3_ = subBuilder.buildPartial();
break;
}
case 34: {
context.ContextOuterClass.ConnectionSettings_L4.Builder subBuilder = null;
if (l4_ != null) {
subBuilder = l4_.toBuilder();
l4_ = input.readMessage(context.ContextOuterClass.ConnectionSettings_L4.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(l4_);
l4_ = subBuilder.buildPartial();
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings.class, context.ContextOuterClass.ConnectionSettings.Builder.class);
public static final int L0_FIELD_NUMBER = 1;
private context.ContextOuterClass.ConnectionSettings_L0 l0_;
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return Whether the l0 field is set.
public boolean hasL0() {
return l0_ != null;
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return The l0.
public context.ContextOuterClass.ConnectionSettings_L0 getL0() {
return l0_ == null ? context.ContextOuterClass.ConnectionSettings_L0.getDefaultInstance() : l0_;
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public context.ContextOuterClass.ConnectionSettings_L0OrBuilder getL0OrBuilder() {
return getL0();
public static final int L2_FIELD_NUMBER = 2;
private context.ContextOuterClass.ConnectionSettings_L2 l2_;
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return Whether the l2 field is set.
*/
@java.lang.Override
public boolean hasL2() {
return l2_ != null;
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return The l2.
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2 getL2() {
return l2_ == null ? context.ContextOuterClass.ConnectionSettings_L2.getDefaultInstance() : l2_;
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L2OrBuilder getL2OrBuilder() {
return getL2();
}
public static final int L3_FIELD_NUMBER = 3;
private context.ContextOuterClass.ConnectionSettings_L3 l3_;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return Whether the l3 field is set.
*/
@java.lang.Override
public boolean hasL3() {
return l3_ != null;
}
/**
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return The l3.
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3 getL3() {
return l3_ == null ? context.ContextOuterClass.ConnectionSettings_L3.getDefaultInstance() : l3_;
}
/**
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L3OrBuilder getL3OrBuilder() {
return getL3();
}
public static final int L4_FIELD_NUMBER = 4;
private context.ContextOuterClass.ConnectionSettings_L4 l4_;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return Whether the l4 field is set.
*/
@java.lang.Override
public boolean hasL4() {
return l4_ != null;
}
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return The l4.
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4 getL4() {
return l4_ == null ? context.ContextOuterClass.ConnectionSettings_L4.getDefaultInstance() : l4_;
}
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings_L4OrBuilder getL4OrBuilder() {
return getL4();
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (l0_ != null) {
output.writeMessage(1, getL0());
if (l2_ != null) {
output.writeMessage(2, getL2());
if (l3_ != null) {
output.writeMessage(3, getL3());
if (l4_ != null) {
output.writeMessage(4, getL4());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (l0_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getL0());
if (l2_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getL2());
if (l3_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getL3());
if (l4_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getL4());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionSettings)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionSettings other = (context.ContextOuterClass.ConnectionSettings) obj;
if (hasL0() != other.hasL0()) return false;
if (hasL0()) {
if (!getL0()
.equals(other.getL0())) return false;
if (hasL2() != other.hasL2()) return false;
if (hasL2()) {
if (!getL2()
.equals(other.getL2())) return false;
if (hasL3() != other.hasL3()) return false;
if (hasL3()) {
if (!getL3()
.equals(other.getL3())) return false;
}
if (hasL4() != other.hasL4()) return false;
if (hasL4()) {
if (!getL4()
.equals(other.getL4())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasL0()) {
hash = (37 * hash) + L0_FIELD_NUMBER;
hash = (53 * hash) + getL0().hashCode();
if (hasL2()) {
hash = (37 * hash) + L2_FIELD_NUMBER;
hash = (53 * hash) + getL2().hashCode();
if (hasL3()) {
hash = (37 * hash) + L3_FIELD_NUMBER;
hash = (53 * hash) + getL3().hashCode();
if (hasL4()) {
hash = (37 * hash) + L4_FIELD_NUMBER;
hash = (53 * hash) + getL4().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionSettings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionSettings)
context.ContextOuterClass.ConnectionSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionSettings.class, context.ContextOuterClass.ConnectionSettings.Builder.class);
}
// Construct using context.ContextOuterClass.ConnectionSettings.newBuilder()
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (l0Builder_ == null) {
l0_ = null;
} else {
l0_ = null;
l0Builder_ = null;
if (l2Builder_ == null) {
l2_ = null;
} else {
l2_ = null;
l2Builder_ = null;
if (l3Builder_ == null) {
l3_ = null;
} else {
l3_ = null;
l3Builder_ = null;
if (l4Builder_ == null) {
l4_ = null;
} else {
l4_ = null;
l4Builder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionSettings_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionSettings.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings build() {
context.ContextOuterClass.ConnectionSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings buildPartial() {
context.ContextOuterClass.ConnectionSettings result = new context.ContextOuterClass.ConnectionSettings(this);
if (l0Builder_ == null) {
result.l0_ = l0_;
} else {
result.l0_ = l0Builder_.build();
if (l2Builder_ == null) {
result.l2_ = l2_;
} else {
result.l2_ = l2Builder_.build();
if (l3Builder_ == null) {
result.l3_ = l3_;
} else {
result.l3_ = l3Builder_.build();
if (l4Builder_ == null) {
result.l4_ = l4_;
} else {
result.l4_ = l4Builder_.build();
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionSettings) {
return mergeFrom((context.ContextOuterClass.ConnectionSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionSettings other) {
if (other == context.ContextOuterClass.ConnectionSettings.getDefaultInstance()) return this;
if (other.hasL0()) {
mergeL0(other.getL0());
if (other.hasL2()) {
mergeL2(other.getL2());
if (other.hasL3()) {
mergeL3(other.getL3());
if (other.hasL4()) {
mergeL4(other.getL4());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private context.ContextOuterClass.ConnectionSettings_L0 l0_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L0, context.ContextOuterClass.ConnectionSettings_L0.Builder, context.ContextOuterClass.ConnectionSettings_L0OrBuilder> l0Builder_;
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return Whether the l0 field is set.
public boolean hasL0() {
return l0Builder_ != null || l0_ != null;
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
* @return The l0.
public context.ContextOuterClass.ConnectionSettings_L0 getL0() {
if (l0Builder_ == null) {
return l0_ == null ? context.ContextOuterClass.ConnectionSettings_L0.getDefaultInstance() : l0_;
} else {
return l0Builder_.getMessage();
}
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public Builder setL0(context.ContextOuterClass.ConnectionSettings_L0 value) {
if (l0Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
l0_ = value;
onChanged();
} else {
l0Builder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public Builder setL0(
context.ContextOuterClass.ConnectionSettings_L0.Builder builderForValue) {
if (l0Builder_ == null) {
l0_ = builderForValue.build();
onChanged();
} else {
l0Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public Builder mergeL0(context.ContextOuterClass.ConnectionSettings_L0 value) {
if (l0Builder_ == null) {
if (l0_ != null) {
l0_ =
context.ContextOuterClass.ConnectionSettings_L0.newBuilder(l0_).mergeFrom(value).buildPartial();
} else {
l0_ = value;
}
onChanged();
} else {
l0Builder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public Builder clearL0() {
if (l0Builder_ == null) {
l0_ = null;
onChanged();
} else {
l0_ = null;
l0Builder_ = null;
}
return this;
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public context.ContextOuterClass.ConnectionSettings_L0.Builder getL0Builder() {
onChanged();
return getL0FieldBuilder().getBuilder();
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
public context.ContextOuterClass.ConnectionSettings_L0OrBuilder getL0OrBuilder() {
if (l0Builder_ != null) {
return l0Builder_.getMessageOrBuilder();
} else {
return l0_ == null ?
context.ContextOuterClass.ConnectionSettings_L0.getDefaultInstance() : l0_;
}
}
/**
* <code>.context.ConnectionSettings_L0 l0 = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L0, context.ContextOuterClass.ConnectionSettings_L0.Builder, context.ContextOuterClass.ConnectionSettings_L0OrBuilder>
getL0FieldBuilder() {
if (l0Builder_ == null) {
l0Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L0, context.ContextOuterClass.ConnectionSettings_L0.Builder, context.ContextOuterClass.ConnectionSettings_L0OrBuilder>(
getL0(),
getParentForChildren(),
isClean());
l0_ = null;
return l0Builder_;
}
private context.ContextOuterClass.ConnectionSettings_L2 l2_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L2, context.ContextOuterClass.ConnectionSettings_L2.Builder, context.ContextOuterClass.ConnectionSettings_L2OrBuilder> l2Builder_;
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return Whether the l2 field is set.
public boolean hasL2() {
return l2Builder_ != null || l2_ != null;
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
* @return The l2.
public context.ContextOuterClass.ConnectionSettings_L2 getL2() {
if (l2Builder_ == null) {
return l2_ == null ? context.ContextOuterClass.ConnectionSettings_L2.getDefaultInstance() : l2_;
} else {
return l2Builder_.getMessage();
}
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public Builder setL2(context.ContextOuterClass.ConnectionSettings_L2 value) {
if (l2Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
l2_ = value;
onChanged();
} else {
l2Builder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public Builder setL2(
context.ContextOuterClass.ConnectionSettings_L2.Builder builderForValue) {
if (l2Builder_ == null) {
l2_ = builderForValue.build();
onChanged();
} else {
l2Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public Builder mergeL2(context.ContextOuterClass.ConnectionSettings_L2 value) {
if (l2Builder_ == null) {
if (l2_ != null) {
l2_ =
context.ContextOuterClass.ConnectionSettings_L2.newBuilder(l2_).mergeFrom(value).buildPartial();
} else {
l2_ = value;
}
onChanged();
} else {
l2Builder_.mergeFrom(value);
}
return this;
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public Builder clearL2() {
if (l2Builder_ == null) {
l2_ = null;
onChanged();
} else {
l2_ = null;
l2Builder_ = null;
return this;
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public context.ContextOuterClass.ConnectionSettings_L2.Builder getL2Builder() {
onChanged();
return getL2FieldBuilder().getBuilder();
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
public context.ContextOuterClass.ConnectionSettings_L2OrBuilder getL2OrBuilder() {
if (l2Builder_ != null) {
return l2Builder_.getMessageOrBuilder();
} else {
return l2_ == null ?
context.ContextOuterClass.ConnectionSettings_L2.getDefaultInstance() : l2_;
}
}
/**
* <code>.context.ConnectionSettings_L2 l2 = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L2, context.ContextOuterClass.ConnectionSettings_L2.Builder, context.ContextOuterClass.ConnectionSettings_L2OrBuilder>
getL2FieldBuilder() {
if (l2Builder_ == null) {
l2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L2, context.ContextOuterClass.ConnectionSettings_L2.Builder, context.ContextOuterClass.ConnectionSettings_L2OrBuilder>(
getL2(),
getParentForChildren(),
isClean());
l2_ = null;
return l2Builder_;
private context.ContextOuterClass.ConnectionSettings_L3 l3_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L3, context.ContextOuterClass.ConnectionSettings_L3.Builder, context.ContextOuterClass.ConnectionSettings_L3OrBuilder> l3Builder_;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return Whether the l3 field is set.
public boolean hasL3() {
return l3Builder_ != null || l3_ != null;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
* @return The l3.
public context.ContextOuterClass.ConnectionSettings_L3 getL3() {
if (l3Builder_ == null) {
return l3_ == null ? context.ContextOuterClass.ConnectionSettings_L3.getDefaultInstance() : l3_;
return l3Builder_.getMessage();
}
/**
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public Builder setL3(context.ContextOuterClass.ConnectionSettings_L3 value) {
if (l3Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
l3_ = value;
onChanged();
l3Builder_.setMessage(value);
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public Builder setL3(
context.ContextOuterClass.ConnectionSettings_L3.Builder builderForValue) {
if (l3Builder_ == null) {
l3_ = builderForValue.build();
onChanged();
} else {
l3Builder_.setMessage(builderForValue.build());
return this;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public Builder mergeL3(context.ContextOuterClass.ConnectionSettings_L3 value) {
if (l3Builder_ == null) {
if (l3_ != null) {
l3_ =
context.ContextOuterClass.ConnectionSettings_L3.newBuilder(l3_).mergeFrom(value).buildPartial();
} else {
l3_ = value;
}
onChanged();
} else {
l3Builder_.mergeFrom(value);
return this;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public Builder clearL3() {
if (l3Builder_ == null) {
l3_ = null;
onChanged();
l3_ = null;
l3Builder_ = null;
return this;
}
/**
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public context.ContextOuterClass.ConnectionSettings_L3.Builder getL3Builder() {
onChanged();
return getL3FieldBuilder().getBuilder();
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
public context.ContextOuterClass.ConnectionSettings_L3OrBuilder getL3OrBuilder() {
if (l3Builder_ != null) {
return l3Builder_.getMessageOrBuilder();
} else {
return l3_ == null ?
context.ContextOuterClass.ConnectionSettings_L3.getDefaultInstance() : l3_;
* <code>.context.ConnectionSettings_L3 l3 = 3;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L3, context.ContextOuterClass.ConnectionSettings_L3.Builder, context.ContextOuterClass.ConnectionSettings_L3OrBuilder>
getL3FieldBuilder() {
if (l3Builder_ == null) {
l3Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L3, context.ContextOuterClass.ConnectionSettings_L3.Builder, context.ContextOuterClass.ConnectionSettings_L3OrBuilder>(
getL3(),
getParentForChildren(),
isClean());
l3_ = null;
return l3Builder_;
private context.ContextOuterClass.ConnectionSettings_L4 l4_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L4, context.ContextOuterClass.ConnectionSettings_L4.Builder, context.ContextOuterClass.ConnectionSettings_L4OrBuilder> l4Builder_;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return Whether the l4 field is set.
public boolean hasL4() {
return l4Builder_ != null || l4_ != null;
}
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
* @return The l4.
*/
public context.ContextOuterClass.ConnectionSettings_L4 getL4() {
if (l4Builder_ == null) {
return l4_ == null ? context.ContextOuterClass.ConnectionSettings_L4.getDefaultInstance() : l4_;
} else {
return l4Builder_.getMessage();
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public Builder setL4(context.ContextOuterClass.ConnectionSettings_L4 value) {
if (l4Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
l4_ = value;
onChanged();
} else {
l4Builder_.setMessage(value);
return this;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public Builder setL4(
context.ContextOuterClass.ConnectionSettings_L4.Builder builderForValue) {
if (l4Builder_ == null) {
l4_ = builderForValue.build();
onChanged();
} else {
l4Builder_.setMessage(builderForValue.build());
}
return this;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public Builder mergeL4(context.ContextOuterClass.ConnectionSettings_L4 value) {
if (l4Builder_ == null) {
if (l4_ != null) {
l4_ =
context.ContextOuterClass.ConnectionSettings_L4.newBuilder(l4_).mergeFrom(value).buildPartial();
} else {
l4_ = value;
}
onChanged();
} else {
l4Builder_.mergeFrom(value);
return this;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public Builder clearL4() {
if (l4Builder_ == null) {
l4_ = null;
onChanged();
l4_ = null;
l4Builder_ = null;
return this;
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public context.ContextOuterClass.ConnectionSettings_L4.Builder getL4Builder() {
onChanged();
return getL4FieldBuilder().getBuilder();
}
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
public context.ContextOuterClass.ConnectionSettings_L4OrBuilder getL4OrBuilder() {
if (l4Builder_ != null) {
return l4Builder_.getMessageOrBuilder();
} else {
return l4_ == null ?
context.ContextOuterClass.ConnectionSettings_L4.getDefaultInstance() : l4_;
}
}
/**
* <code>.context.ConnectionSettings_L4 l4 = 4;</code>
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L4, context.ContextOuterClass.ConnectionSettings_L4.Builder, context.ContextOuterClass.ConnectionSettings_L4OrBuilder>
getL4FieldBuilder() {
if (l4Builder_ == null) {
l4Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings_L4, context.ContextOuterClass.ConnectionSettings_L4.Builder, context.ContextOuterClass.ConnectionSettings_L4OrBuilder>(
getL4(),
getParentForChildren(),
isClean());
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
l4_ = null;
}
return l4Builder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionSettings)
}
// @@protoc_insertion_point(class_scope:context.ConnectionSettings)
private static final context.ContextOuterClass.ConnectionSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionSettings();
}
public static context.ContextOuterClass.ConnectionSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionSettings>
PARSER = new com.google.protobuf.AbstractParser<ConnectionSettings>() {
@java.lang.Override
public ConnectionSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionSettings(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ConnectionSettings> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ConnectionSettings> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.Connection)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return Whether the connectionId field is set.
*/
boolean hasConnectionId();
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return The connectionId.
*/
context.ContextOuterClass.ConnectionId getConnectionId();
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder();
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
*/
boolean hasServiceId();
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
*/
context.ContextOuterClass.ServiceId getServiceId();
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.EndPointId>
getPathHopsEndpointIdsList();
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
context.ContextOuterClass.EndPointId getPathHopsEndpointIds(int index);
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
int getPathHopsEndpointIdsCount();
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getPathHopsEndpointIdsOrBuilderList();
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
context.ContextOuterClass.EndPointIdOrBuilder getPathHopsEndpointIdsOrBuilder(
int index);
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
java.util.List<context.ContextOuterClass.ServiceId>
getSubServiceIdsList();
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceId getSubServiceIds(int index);
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
int getSubServiceIdsCount();
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSubServiceIdsOrBuilderList();
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getSubServiceIdsOrBuilder(
int index);
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return Whether the settings field is set.
*/
boolean hasSettings();
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return The settings.
*/
context.ContextOuterClass.ConnectionSettings getSettings();
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
context.ContextOuterClass.ConnectionSettingsOrBuilder getSettingsOrBuilder();
}
/**
* Protobuf type {@code context.Connection}
*/
public static final class Connection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.Connection)
ConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Connection.newBuilder() to construct.
private Connection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Connection() {
pathHopsEndpointIds_ = java.util.Collections.emptyList();
subServiceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Connection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Connection(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
context.ContextOuterClass.ConnectionId.Builder subBuilder = null;
if (connectionId_ != null) {
subBuilder = connectionId_.toBuilder();
}
connectionId_ = input.readMessage(context.ContextOuterClass.ConnectionId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectionId_);
connectionId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
context.ContextOuterClass.ServiceId.Builder subBuilder = null;
if (serviceId_ != null) {
subBuilder = serviceId_.toBuilder();
}
serviceId_ = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceId_);
serviceId_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
pathHopsEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>();
mutable_bitField0_ |= 0x00000001;
}
pathHopsEndpointIds_.add(
input.readMessage(context.ContextOuterClass.EndPointId.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
subServiceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>();
mutable_bitField0_ |= 0x00000002;
}
subServiceIds_.add(
input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
break;
}
case 42: {
context.ContextOuterClass.ConnectionSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(context.ContextOuterClass.ConnectionSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
pathHopsEndpointIds_ = java.util.Collections.unmodifiableList(pathHopsEndpointIds_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
subServiceIds_ = java.util.Collections.unmodifiableList(subServiceIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Connection.class, context.ContextOuterClass.Connection.Builder.class);
}
public static final int CONNECTION_ID_FIELD_NUMBER = 1;
private context.ContextOuterClass.ConnectionId connectionId_;
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return Whether the connectionId field is set.
*/
@java.lang.Override
public boolean hasConnectionId() {
return connectionId_ != null;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return The connectionId.
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionId getConnectionId() {
return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder() {
return getConnectionId();
}
public static final int SERVICE_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.ServiceId serviceId_;
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
*/
@java.lang.Override
public boolean hasServiceId() {
return serviceId_ != null;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getServiceId() {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
return getServiceId();
}
public static final int PATH_HOPS_ENDPOINT_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.EndPointId> pathHopsEndpointIds_;
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.EndPointId> getPathHopsEndpointIdsList() {
return pathHopsEndpointIds_;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getPathHopsEndpointIdsOrBuilderList() {
return pathHopsEndpointIds_;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
@java.lang.Override
public int getPathHopsEndpointIdsCount() {
return pathHopsEndpointIds_.size();
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointId getPathHopsEndpointIds(int index) {
return pathHopsEndpointIds_.get(index);
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EndPointIdOrBuilder getPathHopsEndpointIdsOrBuilder(
int index) {
return pathHopsEndpointIds_.get(index);
}
public static final int SUB_SERVICE_IDS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.ServiceId> subServiceIds_;
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ServiceId> getSubServiceIdsList() {
return subServiceIds_;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSubServiceIdsOrBuilderList() {
return subServiceIds_;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
@java.lang.Override
public int getSubServiceIdsCount() {
return subServiceIds_.size();
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getSubServiceIds(int index) {
return subServiceIds_.get(index);
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getSubServiceIdsOrBuilder(
int index) {
return subServiceIds_.get(index);
}
public static final int SETTINGS_FIELD_NUMBER = 5;
private context.ContextOuterClass.ConnectionSettings settings_;
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return Whether the settings field is set.
*/
@java.lang.Override
public boolean hasSettings() {
return settings_ != null;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return The settings.
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettings getSettings() {
return settings_ == null ? context.ContextOuterClass.ConnectionSettings.getDefaultInstance() : settings_;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (connectionId_ != null) {
output.writeMessage(1, getConnectionId());
}
if (serviceId_ != null) {
output.writeMessage(2, getServiceId());
}
for (int i = 0; i < pathHopsEndpointIds_.size(); i++) {
output.writeMessage(3, pathHopsEndpointIds_.get(i));
}
for (int i = 0; i < subServiceIds_.size(); i++) {
output.writeMessage(4, subServiceIds_.get(i));
}
if (settings_ != null) {
output.writeMessage(5, getSettings());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (connectionId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConnectionId());
}
if (serviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServiceId());
}
for (int i = 0; i < pathHopsEndpointIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, pathHopsEndpointIds_.get(i));
}
for (int i = 0; i < subServiceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, subServiceIds_.get(i));
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSettings());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Connection)) {
return super.equals(obj);
}
context.ContextOuterClass.Connection other = (context.ContextOuterClass.Connection) obj;
if (hasConnectionId() != other.hasConnectionId()) return false;
if (hasConnectionId()) {
if (!getConnectionId()
.equals(other.getConnectionId())) return false;
}
if (hasServiceId() != other.hasServiceId()) return false;
if (hasServiceId()) {
if (!getServiceId()
.equals(other.getServiceId())) return false;
}
if (!getPathHopsEndpointIdsList()
.equals(other.getPathHopsEndpointIdsList())) return false;
if (!getSubServiceIdsList()
.equals(other.getSubServiceIdsList())) return false;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasConnectionId()) {
hash = (37 * hash) + CONNECTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getConnectionId().hashCode();
}
if (hasServiceId()) {
hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
hash = (53 * hash) + getServiceId().hashCode();
}
if (getPathHopsEndpointIdsCount() > 0) {
hash = (37 * hash) + PATH_HOPS_ENDPOINT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPathHopsEndpointIdsList().hashCode();
}
if (getSubServiceIdsCount() > 0) {
hash = (37 * hash) + SUB_SERVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSubServiceIdsList().hashCode();
}
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.Connection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Connection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Connection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Connection parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Connection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.Connection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.Connection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Connection parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Connection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Connection parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.Connection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.Connection parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.Connection prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.Connection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.Connection)
context.ContextOuterClass.ConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.Connection.class, context.ContextOuterClass.Connection.Builder.class);
}
// Construct using context.ContextOuterClass.Connection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPathHopsEndpointIdsFieldBuilder();
getSubServiceIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (connectionIdBuilder_ == null) {
connectionId_ = null;
} else {
connectionId_ = null;
connectionIdBuilder_ = null;
}
if (serviceIdBuilder_ == null) {
serviceId_ = null;
} else {
serviceId_ = null;
serviceIdBuilder_ = null;
}
if (pathHopsEndpointIdsBuilder_ == null) {
pathHopsEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
pathHopsEndpointIdsBuilder_.clear();
}
if (subServiceIdsBuilder_ == null) {
subServiceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
subServiceIdsBuilder_.clear();
}
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Connection_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.Connection getDefaultInstanceForType() {
return context.ContextOuterClass.Connection.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.Connection build() {
context.ContextOuterClass.Connection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.Connection buildPartial() {
context.ContextOuterClass.Connection result = new context.ContextOuterClass.Connection(this);
int from_bitField0_ = bitField0_;
if (connectionIdBuilder_ == null) {
result.connectionId_ = connectionId_;
} else {
result.connectionId_ = connectionIdBuilder_.build();
}
if (serviceIdBuilder_ == null) {
result.serviceId_ = serviceId_;
} else {
result.serviceId_ = serviceIdBuilder_.build();
}
if (pathHopsEndpointIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
pathHopsEndpointIds_ = java.util.Collections.unmodifiableList(pathHopsEndpointIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pathHopsEndpointIds_ = pathHopsEndpointIds_;
} else {
result.pathHopsEndpointIds_ = pathHopsEndpointIdsBuilder_.build();
}
if (subServiceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
subServiceIds_ = java.util.Collections.unmodifiableList(subServiceIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.subServiceIds_ = subServiceIds_;
} else {
result.subServiceIds_ = subServiceIdsBuilder_.build();
}
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.Connection) {
return mergeFrom((context.ContextOuterClass.Connection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.Connection other) {
if (other == context.ContextOuterClass.Connection.getDefaultInstance()) return this;
if (other.hasConnectionId()) {
mergeConnectionId(other.getConnectionId());
}
if (other.hasServiceId()) {
mergeServiceId(other.getServiceId());
}
if (pathHopsEndpointIdsBuilder_ == null) {
if (!other.pathHopsEndpointIds_.isEmpty()) {
if (pathHopsEndpointIds_.isEmpty()) {
pathHopsEndpointIds_ = other.pathHopsEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.addAll(other.pathHopsEndpointIds_);
}
onChanged();
}
} else {
if (!other.pathHopsEndpointIds_.isEmpty()) {
if (pathHopsEndpointIdsBuilder_.isEmpty()) {
pathHopsEndpointIdsBuilder_.dispose();
pathHopsEndpointIdsBuilder_ = null;
pathHopsEndpointIds_ = other.pathHopsEndpointIds_;
bitField0_ = (bitField0_ & ~0x00000001);
pathHopsEndpointIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPathHopsEndpointIdsFieldBuilder() : null;
} else {
pathHopsEndpointIdsBuilder_.addAllMessages(other.pathHopsEndpointIds_);
}
}
}
if (subServiceIdsBuilder_ == null) {
if (!other.subServiceIds_.isEmpty()) {
if (subServiceIds_.isEmpty()) {
subServiceIds_ = other.subServiceIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSubServiceIdsIsMutable();
subServiceIds_.addAll(other.subServiceIds_);
}
onChanged();
}
} else {
if (!other.subServiceIds_.isEmpty()) {
if (subServiceIdsBuilder_.isEmpty()) {
subServiceIdsBuilder_.dispose();
subServiceIdsBuilder_ = null;
subServiceIds_ = other.subServiceIds_;
bitField0_ = (bitField0_ & ~0x00000002);
subServiceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubServiceIdsFieldBuilder() : null;
} else {
subServiceIdsBuilder_.addAllMessages(other.subServiceIds_);
}
}
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.Connection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.Connection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private context.ContextOuterClass.ConnectionId connectionId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder> connectionIdBuilder_;
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return Whether the connectionId field is set.
*/
public boolean hasConnectionId() {
return connectionIdBuilder_ != null || connectionId_ != null;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
* @return The connectionId.
*/
public context.ContextOuterClass.ConnectionId getConnectionId() {
if (connectionIdBuilder_ == null) {
return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
} else {
return connectionIdBuilder_.getMessage();
}
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public Builder setConnectionId(context.ContextOuterClass.ConnectionId value) {
if (connectionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectionId_ = value;
onChanged();
} else {
connectionIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public Builder setConnectionId(
context.ContextOuterClass.ConnectionId.Builder builderForValue) {
if (connectionIdBuilder_ == null) {
connectionId_ = builderForValue.build();
onChanged();
} else {
connectionIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public Builder mergeConnectionId(context.ContextOuterClass.ConnectionId value) {
if (connectionIdBuilder_ == null) {
if (connectionId_ != null) {
connectionId_ =
context.ContextOuterClass.ConnectionId.newBuilder(connectionId_).mergeFrom(value).buildPartial();
} else {
connectionId_ = value;
}
onChanged();
} else {
connectionIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public Builder clearConnectionId() {
if (connectionIdBuilder_ == null) {
connectionId_ = null;
onChanged();
} else {
connectionId_ = null;
connectionIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public context.ContextOuterClass.ConnectionId.Builder getConnectionIdBuilder() {
onChanged();
return getConnectionIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder() {
if (connectionIdBuilder_ != null) {
return connectionIdBuilder_.getMessageOrBuilder();
} else {
return connectionId_ == null ?
context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
}
}
/**
* <code>.context.ConnectionId connection_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder>
getConnectionIdFieldBuilder() {
if (connectionIdBuilder_ == null) {
connectionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder>(
getConnectionId(),
getParentForChildren(),
isClean());
connectionId_ = null;
}
return connectionIdBuilder_;
}
private context.ContextOuterClass.ServiceId serviceId_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdBuilder_;
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return Whether the serviceId field is set.
*/
public boolean hasServiceId() {
return serviceIdBuilder_ != null || serviceId_ != null;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
* @return The serviceId.
*/
public context.ContextOuterClass.ServiceId getServiceId() {
if (serviceIdBuilder_ == null) {
return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
} else {
return serviceIdBuilder_.getMessage();
}
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceId_ = value;
onChanged();
} else {
serviceIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public Builder setServiceId(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (serviceIdBuilder_ == null) {
serviceId_ = builderForValue.build();
onChanged();
} else {
serviceIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
if (serviceIdBuilder_ == null) {
if (serviceId_ != null) {
serviceId_ =
context.ContextOuterClass.ServiceId.newBuilder(serviceId_).mergeFrom(value).buildPartial();
} else {
serviceId_ = value;
}
onChanged();
} else {
serviceIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public Builder clearServiceId() {
if (serviceIdBuilder_ == null) {
serviceId_ = null;
onChanged();
} else {
serviceId_ = null;
serviceIdBuilder_ = null;
}
return this;
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
onChanged();
return getServiceIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
if (serviceIdBuilder_ != null) {
return serviceIdBuilder_.getMessageOrBuilder();
} else {
return serviceId_ == null ?
context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
}
}
/**
* <code>.context.ServiceId service_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdFieldBuilder() {
if (serviceIdBuilder_ == null) {
serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
getServiceId(),
getParentForChildren(),
isClean());
serviceId_ = null;
}
return serviceIdBuilder_;
}
private java.util.List<context.ContextOuterClass.EndPointId> pathHopsEndpointIds_ =
java.util.Collections.emptyList();
private void ensurePathHopsEndpointIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
pathHopsEndpointIds_ = new java.util.ArrayList<context.ContextOuterClass.EndPointId>(pathHopsEndpointIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder> pathHopsEndpointIdsBuilder_;
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.EndPointId> getPathHopsEndpointIdsList() {
if (pathHopsEndpointIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(pathHopsEndpointIds_);
} else {
return pathHopsEndpointIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public int getPathHopsEndpointIdsCount() {
if (pathHopsEndpointIdsBuilder_ == null) {
return pathHopsEndpointIds_.size();
} else {
return pathHopsEndpointIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId getPathHopsEndpointIds(int index) {
if (pathHopsEndpointIdsBuilder_ == null) {
return pathHopsEndpointIds_.get(index);
} else {
return pathHopsEndpointIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder setPathHopsEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (pathHopsEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.set(index, value);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder setPathHopsEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (pathHopsEndpointIdsBuilder_ == null) {
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.set(index, builderForValue.build());
onChanged();
} else {
pathHopsEndpointIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder addPathHopsEndpointIds(context.ContextOuterClass.EndPointId value) {
if (pathHopsEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.add(value);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder addPathHopsEndpointIds(
int index, context.ContextOuterClass.EndPointId value) {
if (pathHopsEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.add(index, value);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder addPathHopsEndpointIds(
context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (pathHopsEndpointIdsBuilder_ == null) {
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.add(builderForValue.build());
onChanged();
} else {
pathHopsEndpointIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder addPathHopsEndpointIds(
int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
if (pathHopsEndpointIdsBuilder_ == null) {
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.add(index, builderForValue.build());
onChanged();
} else {
pathHopsEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder addAllPathHopsEndpointIds(
java.lang.Iterable<? extends context.ContextOuterClass.EndPointId> values) {
if (pathHopsEndpointIdsBuilder_ == null) {
ensurePathHopsEndpointIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pathHopsEndpointIds_);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder clearPathHopsEndpointIds() {
if (pathHopsEndpointIdsBuilder_ == null) {
pathHopsEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public Builder removePathHopsEndpointIds(int index) {
if (pathHopsEndpointIdsBuilder_ == null) {
ensurePathHopsEndpointIdsIsMutable();
pathHopsEndpointIds_.remove(index);
onChanged();
} else {
pathHopsEndpointIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder getPathHopsEndpointIdsBuilder(
int index) {
return getPathHopsEndpointIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointIdOrBuilder getPathHopsEndpointIdsOrBuilder(
int index) {
if (pathHopsEndpointIdsBuilder_ == null) {
return pathHopsEndpointIds_.get(index); } else {
return pathHopsEndpointIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.EndPointIdOrBuilder>
getPathHopsEndpointIdsOrBuilderList() {
if (pathHopsEndpointIdsBuilder_ != null) {
return pathHopsEndpointIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(pathHopsEndpointIds_);
}
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addPathHopsEndpointIdsBuilder() {
return getPathHopsEndpointIdsFieldBuilder().addBuilder(
context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public context.ContextOuterClass.EndPointId.Builder addPathHopsEndpointIdsBuilder(
int index) {
return getPathHopsEndpointIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
* <code>repeated .context.EndPointId path_hops_endpoint_ids = 3;</code>
*/
public java.util.List<context.ContextOuterClass.EndPointId.Builder>
getPathHopsEndpointIdsBuilderList() {
return getPathHopsEndpointIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>
getPathHopsEndpointIdsFieldBuilder() {
if (pathHopsEndpointIdsBuilder_ == null) {
pathHopsEndpointIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.EndPointId, context.ContextOuterClass.EndPointId.Builder, context.ContextOuterClass.EndPointIdOrBuilder>(
pathHopsEndpointIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
pathHopsEndpointIds_ = null;
}
return pathHopsEndpointIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.ServiceId> subServiceIds_ =
java.util.Collections.emptyList();
private void ensureSubServiceIdsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
subServiceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(subServiceIds_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> subServiceIdsBuilder_;
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId> getSubServiceIdsList() {
if (subServiceIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(subServiceIds_);
} else {
return subServiceIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public int getSubServiceIdsCount() {
if (subServiceIdsBuilder_ == null) {
return subServiceIds_.size();
} else {
return subServiceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId getSubServiceIds(int index) {
if (subServiceIdsBuilder_ == null) {
return subServiceIds_.get(index);
} else {
return subServiceIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder setSubServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (subServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubServiceIdsIsMutable();
subServiceIds_.set(index, value);
onChanged();
} else {
subServiceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder setSubServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (subServiceIdsBuilder_ == null) {
ensureSubServiceIdsIsMutable();
subServiceIds_.set(index, builderForValue.build());
onChanged();
} else {
subServiceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder addSubServiceIds(context.ContextOuterClass.ServiceId value) {
if (subServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubServiceIdsIsMutable();
subServiceIds_.add(value);
onChanged();
} else {
subServiceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder addSubServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
if (subServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubServiceIdsIsMutable();
subServiceIds_.add(index, value);
onChanged();
} else {
subServiceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder addSubServiceIds(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (subServiceIdsBuilder_ == null) {
ensureSubServiceIdsIsMutable();
subServiceIds_.add(builderForValue.build());
onChanged();
} else {
subServiceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder addSubServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
if (subServiceIdsBuilder_ == null) {
ensureSubServiceIdsIsMutable();
subServiceIds_.add(index, builderForValue.build());
onChanged();
} else {
subServiceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder addAllSubServiceIds(
java.lang.Iterable<? extends context.ContextOuterClass.ServiceId> values) {
if (subServiceIdsBuilder_ == null) {
ensureSubServiceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subServiceIds_);
onChanged();
} else {
subServiceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder clearSubServiceIds() {
if (subServiceIdsBuilder_ == null) {
subServiceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
subServiceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public Builder removeSubServiceIds(int index) {
if (subServiceIdsBuilder_ == null) {
ensureSubServiceIdsIsMutable();
subServiceIds_.remove(index);
onChanged();
} else {
subServiceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder getSubServiceIdsBuilder(
int index) {
return getSubServiceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceIdOrBuilder getSubServiceIdsOrBuilder(
int index) {
if (subServiceIdsBuilder_ == null) {
return subServiceIds_.get(index); } else {
return subServiceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getSubServiceIdsOrBuilderList() {
if (subServiceIdsBuilder_ != null) {
return subServiceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subServiceIds_);
}
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addSubServiceIdsBuilder() {
return getSubServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addSubServiceIdsBuilder(
int index) {
return getSubServiceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId sub_service_ids = 4;</code>
*/
public java.util.List<context.ContextOuterClass.ServiceId.Builder>
getSubServiceIdsBuilderList() {
return getSubServiceIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
getSubServiceIdsFieldBuilder() {
if (subServiceIdsBuilder_ == null) {
subServiceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
subServiceIds_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
subServiceIds_ = null;
}
return subServiceIdsBuilder_;
}
private context.ContextOuterClass.ConnectionSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings, context.ContextOuterClass.ConnectionSettings.Builder, context.ContextOuterClass.ConnectionSettingsOrBuilder> settingsBuilder_;
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return Whether the settings field is set.
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
* @return The settings.
*/
public context.ContextOuterClass.ConnectionSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? context.ContextOuterClass.ConnectionSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public Builder setSettings(context.ContextOuterClass.ConnectionSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public Builder setSettings(
context.ContextOuterClass.ConnectionSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public Builder mergeSettings(context.ContextOuterClass.ConnectionSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
context.ContextOuterClass.ConnectionSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public context.ContextOuterClass.ConnectionSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
public context.ContextOuterClass.ConnectionSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
context.ContextOuterClass.ConnectionSettings.getDefaultInstance() : settings_;
}
}
/**
* <code>.context.ConnectionSettings settings = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings, context.ContextOuterClass.ConnectionSettings.Builder, context.ContextOuterClass.ConnectionSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.ConnectionSettings, context.ContextOuterClass.ConnectionSettings.Builder, context.ContextOuterClass.ConnectionSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Connection)
}
// @@protoc_insertion_point(class_scope:context.Connection)
private static final context.ContextOuterClass.Connection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Connection();
}
public static context.ContextOuterClass.Connection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Connection>
PARSER = new com.google.protobuf.AbstractParser<Connection>() {
@java.lang.Override
public Connection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Connection(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Connection> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Connection> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.Connection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConnectionIdListOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.ConnectionIdList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
java.util.List<context.ContextOuterClass.ConnectionId>
getConnectionIdsList();
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
context.ContextOuterClass.ConnectionId getConnectionIds(int index);
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
int getConnectionIdsCount();
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.ConnectionIdOrBuilder>
getConnectionIdsOrBuilderList();
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdsOrBuilder(
int index);
}
/**
* Protobuf type {@code context.ConnectionIdList}
*/
public static final class ConnectionIdList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.ConnectionIdList)
ConnectionIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectionIdList.newBuilder() to construct.
private ConnectionIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ConnectionIdList() {
connectionIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectionIdList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConnectionIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
connectionIds_ = new java.util.ArrayList<context.ContextOuterClass.ConnectionId>();
mutable_bitField0_ |= 0x00000001;
}
connectionIds_.add(
input.readMessage(context.ContextOuterClass.ConnectionId.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
connectionIds_ = java.util.Collections.unmodifiableList(connectionIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
return context.ContextOuterClass.internal_static_context_ConnectionIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionIdList.class, context.ContextOuterClass.ConnectionIdList.Builder.class);
}
public static final int CONNECTION_IDS_FIELD_NUMBER = 1;
private java.util.List<context.ContextOuterClass.ConnectionId> connectionIds_;
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ConnectionId> getConnectionIdsList() {
return connectionIds_;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ConnectionIdOrBuilder>
getConnectionIdsOrBuilderList() {
return connectionIds_;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
@java.lang.Override
public int getConnectionIdsCount() {
return connectionIds_.size();
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionId getConnectionIds(int index) {
return connectionIds_.get(index);
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdsOrBuilder(
int index) {
return connectionIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < connectionIds_.size(); i++) {
output.writeMessage(1, connectionIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < connectionIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, connectionIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ConnectionIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.ConnectionIdList other = (context.ContextOuterClass.ConnectionIdList) obj;
if (!getConnectionIdsList()
.equals(other.getConnectionIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getConnectionIdsCount() > 0) {
hash = (37 * hash) + CONNECTION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getConnectionIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.ConnectionIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.ConnectionIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.ConnectionIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.ConnectionIdList)
context.ContextOuterClass.ConnectionIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_ConnectionIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ConnectionIdList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
context.ContextOuterClass.ConnectionIdList.class, context.ContextOuterClass.ConnectionIdList.Builder.class);
}
// Construct using context.ContextOuterClass.ConnectionIdList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConnectionIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (connectionIdsBuilder_ == null) {
connectionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
connectionIdsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ConnectionIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionIdList getDefaultInstanceForType() {
return context.ContextOuterClass.ConnectionIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.ConnectionIdList build() {
context.ContextOuterClass.ConnectionIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.ConnectionIdList buildPartial() {
context.ContextOuterClass.ConnectionIdList result = new context.ContextOuterClass.ConnectionIdList(this);
int from_bitField0_ = bitField0_;
if (connectionIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
connectionIds_ = java.util.Collections.unmodifiableList(connectionIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.connectionIds_ = connectionIds_;
} else {
result.connectionIds_ = connectionIdsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.ConnectionIdList) {
return mergeFrom((context.ContextOuterClass.ConnectionIdList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.ConnectionIdList other) {
if (other == context.ContextOuterClass.ConnectionIdList.getDefaultInstance()) return this;
if (connectionIdsBuilder_ == null) {
if (!other.connectionIds_.isEmpty()) {
if (connectionIds_.isEmpty()) {
connectionIds_ = other.connectionIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConnectionIdsIsMutable();
connectionIds_.addAll(other.connectionIds_);
}
onChanged();
}
} else {
if (!other.connectionIds_.isEmpty()) {
if (connectionIdsBuilder_.isEmpty()) {
connectionIdsBuilder_.dispose();
connectionIdsBuilder_ = null;
connectionIds_ = other.connectionIds_;
bitField0_ = (bitField0_ & ~0x00000001);
connectionIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConnectionIdsFieldBuilder() : null;
} else {
connectionIdsBuilder_.addAllMessages(other.connectionIds_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
context.ContextOuterClass.ConnectionIdList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.ConnectionIdList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
return this;
private int bitField0_;
private java.util.List<context.ContextOuterClass.ConnectionId> connectionIds_ =
java.util.Collections.emptyList();
private void ensureConnectionIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
connectionIds_ = new java.util.ArrayList<context.ContextOuterClass.ConnectionId>(connectionIds_);
bitField0_ |= 0x00000001;
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder> connectionIdsBuilder_;
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public java.util.List<context.ContextOuterClass.ConnectionId> getConnectionIdsList() {
if (connectionIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(connectionIds_);
} else {
return connectionIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public int getConnectionIdsCount() {
if (connectionIdsBuilder_ == null) {
return connectionIds_.size();
} else {
return connectionIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public context.ContextOuterClass.ConnectionId getConnectionIds(int index) {
if (connectionIdsBuilder_ == null) {
return connectionIds_.get(index);
} else {
return connectionIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder setConnectionIds(
int index, context.ContextOuterClass.ConnectionId value) {
if (connectionIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
ensureConnectionIdsIsMutable();
connectionIds_.set(index, value);
onChanged();
} else {
connectionIdsBuilder_.setMessage(index, value);
}
return this;
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder setConnectionIds(
int index, context.ContextOuterClass.ConnectionId.Builder builderForValue) {
if (connectionIdsBuilder_ == null) {
ensureConnectionIdsIsMutable();
connectionIds_.set(index, builderForValue.build());
onChanged();
connectionIdsBuilder_.setMessage(index, builderForValue.build());
return this;
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder addConnectionIds(context.ContextOuterClass.ConnectionId value) {
if (connectionIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConnectionIdsIsMutable();
connectionIds_.add(value);
onChanged();
} else {
connectionIdsBuilder_.addMessage(value);
return this;
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder addConnectionIds(
int index, context.ContextOuterClass.ConnectionId value) {
if (connectionIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConnectionIdsIsMutable();
connectionIds_.add(index, value);
onChanged();
} else {
connectionIdsBuilder_.addMessage(index, value);
}
return this;
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder addConnectionIds(
context.ContextOuterClass.ConnectionId.Builder builderForValue) {
if (connectionIdsBuilder_ == null) {
ensureConnectionIdsIsMutable();
connectionIds_.add(builderForValue.build());
onChanged();
connectionIdsBuilder_.addMessage(builderForValue.build());
return this;
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder addConnectionIds(
int index, context.ContextOuterClass.ConnectionId.Builder builderForValue) {
if (connectionIdsBuilder_ == null) {
ensureConnectionIdsIsMutable();
connectionIds_.add(index, builderForValue.build());
onChanged();
} else {
connectionIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder addAllConnectionIds(
java.lang.Iterable<? extends context.ContextOuterClass.ConnectionId> values) {
if (connectionIdsBuilder_ == null) {
ensureConnectionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, connectionIds_);
onChanged();
} else {
connectionIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder clearConnectionIds() {
if (connectionIdsBuilder_ == null) {
connectionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
connectionIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public Builder removeConnectionIds(int index) {
if (connectionIdsBuilder_ == null) {
ensureConnectionIdsIsMutable();
connectionIds_.remove(index);
onChanged();
} else {
connectionIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public context.ContextOuterClass.ConnectionId.Builder getConnectionIdsBuilder(
int index) {
return getConnectionIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdsOrBuilder(
int index) {
if (connectionIdsBuilder_ == null) {
return connectionIds_.get(index); } else {
return connectionIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.ConnectionIdOrBuilder>
getConnectionIdsOrBuilderList() {
if (connectionIdsBuilder_ != null) {
return connectionIdsBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(connectionIds_);
}
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
public context.ContextOuterClass.ConnectionId.Builder addConnectionIdsBuilder() {
return getConnectionIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ConnectionId.getDefaultInstance());
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
public context.ContextOuterClass.ConnectionId.Builder addConnectionIdsBuilder(
int index) {
return getConnectionIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ConnectionId.getDefaultInstance());
}
/**
* <code>repeated .context.ConnectionId connection_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.ConnectionId.Builder>
getConnectionIdsBuilderList() {
return getConnectionIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder>
getConnectionIdsFieldBuilder() {
if (connectionIdsBuilder_ == null) {
connectionIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.ConnectionId, context.ContextOuterClass.ConnectionId.Builder, context.ContextOuterClass.ConnectionIdOrBuilder>(
connectionIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
connectionIds_ = null;
return connectionIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ConnectionIdList)
// @@protoc_insertion_point(class_scope:context.ConnectionIdList)
private static final context.ContextOuterClass.ConnectionIdList DEFAULT_INSTANCE;
DEFAULT_INSTANCE = new context.ContextOuterClass.ConnectionIdList();
public static context.ContextOuterClass.ConnectionIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ConnectionIdList>
PARSER = new com.google.protobuf.AbstractParser<ConnectionIdList>() {
@java.lang.Override
public ConnectionIdList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConnectionIdList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ConnectionIdList> parser() {
return PARSER;
}
@java.lang.Override
Loading
Loading full blame...