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
// 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),
/**
* <code>DEVICEDRIVER_XR = 6;</code>
*/
DEVICEDRIVER_XR(6),
/**
* <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
*/
DEVICEDRIVER_IETF_L2VPN(7),
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>
*/
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;
/**
* <code>DEVICEDRIVER_XR = 6;</code>
*/
public static final int DEVICEDRIVER_XR_VALUE = 6;
/**
* <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
*/
public static final int DEVICEDRIVER_IETF_L2VPN_VALUE = 7;
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
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;
case 7: return DEVICEDRIVER_IETF_L2VPN;
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
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
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 = 4;</code>
SERVICESTATUS_PENDING_REMOVAL(4),
/**
* <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
*/
SERVICESTATUS_SLA_VIOLATED(5),
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_UPDATING = 3;</code>
*/
public static final int SERVICESTATUS_UPDATING_VALUE = 3;
/**
* <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
* <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
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_UPDATING;
case 4: return SERVICESTATUS_PENDING_REMOVAL;
case 5: return SERVICESTATUS_SLA_VIOLATED;
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
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
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;
756
757
758
759
760
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
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;
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
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
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)
}
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
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
/**
* <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)
}
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
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
/**
* 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)
}
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
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
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) {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
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
context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
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
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
}
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private double timestamp_;
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
@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;
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
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
context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
// Construct using context.ContextOuterClass.Timestamp.newBuilder()
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
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);
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
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();
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
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
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>() {
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.
* <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) {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
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;
}
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
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
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>
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
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;
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
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;
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();
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
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();
}
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();
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());
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
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
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>() {
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.
* <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) {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
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();
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
}
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
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;
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
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();
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
}
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();
}
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();
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());
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);
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
// @@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);
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
};
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>string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.TopologyId>
getTopologyIdsList();
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
context.ContextOuterClass.TopologyId getTopologyIds(int index);
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
int getTopologyIdsCount();
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList();
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index);
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
java.util.List<context.ContextOuterClass.ServiceId>
getServiceIdsList();
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceId getServiceIds(int index);
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
int getServiceIdsCount();
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList();
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index);
/**
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
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
java.util.List<context.ContextOuterClass.SliceId>
getSliceIdsList();
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
context.ContextOuterClass.SliceId getSliceIds(int index);
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
int getSliceIdsCount();
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList();
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
int index);
/**
* <code>.context.TeraFlowController controller = 6;</code>
* @return Whether the controller field is set.
*/
boolean hasController();
/**
* <code>.context.TeraFlowController controller = 6;</code>
* @return The controller.
*/
context.ContextOuterClass.TeraFlowController getController();
/**
* <code>.context.TeraFlowController controller = 6;</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();
sliceIds_ = java.util.Collections.emptyList();
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
}
@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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
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;
}
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 42: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>();
mutable_bitField0_ |= 0x00000004;
}
sliceIds_.add(
input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry));
break;
}
case 50: {
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();
}
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
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_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
}
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
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();
}
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
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* <code>string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOPOLOGY_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
@java.lang.Override
public int getTopologyIdsCount() {
return topologyIds_.size();
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
return topologyIds_.get(index);
}
public static final int SERVICE_IDS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_;
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
return serviceIds_;
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
return serviceIds_;
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
@java.lang.Override
public int getServiceIdsCount() {
return serviceIds_.size();
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
return serviceIds_.get(index);
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
return serviceIds_.get(index);
}
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
public static final int SLICE_IDS_FIELD_NUMBER = 5;
private java.util.List<context.ContextOuterClass.SliceId> sliceIds_;
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.SliceId> getSliceIdsList() {
return sliceIds_;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList() {
return sliceIds_;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
@java.lang.Override
public int getSliceIdsCount() {
return sliceIds_.size();
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceId getSliceIds(int index) {
return sliceIds_.get(index);
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
@java.lang.Override
public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
int index) {
return sliceIds_.get(index);
}
public static final int CONTROLLER_FIELD_NUMBER = 6;
private context.ContextOuterClass.TeraFlowController controller_;
/**
* <code>.context.TeraFlowController controller = 6;</code>
* @return Whether the controller field is set.
*/
@java.lang.Override
public boolean hasController() {
return controller_ != null;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
* @return The controller.
*/
@java.lang.Override
public context.ContextOuterClass.TeraFlowController getController() {
return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
*/
@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());
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < topologyIds_.size(); i++) {
}
for (int i = 0; i < serviceIds_.size(); i++) {
output.writeMessage(4, serviceIds_.get(i));
}
for (int i = 0; i < sliceIds_.size(); i++) {
output.writeMessage(5, sliceIds_.get(i));
}
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 (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
}
for (int i = 0; i < serviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, serviceIds_.get(i));
}
for (int i = 0; i < sliceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, sliceIds_.get(i));
}
if (controller_ != null) {
size += com.google.protobuf.CodedOutputStream
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
}
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 (!getName()
.equals(other.getName())) return false;
if (!getTopologyIdsList()
.equals(other.getTopologyIdsList())) return false;
if (!getServiceIdsList()
.equals(other.getServiceIdsList())) return false;
if (!getSliceIdsList()
.equals(other.getSliceIdsList())) 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();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().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 (getSliceIdsCount() > 0) {
hash = (37 * hash) + SLICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSliceIdsList().hashCode();
}
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
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 (sliceIdsBuilder_ == null) {
sliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
sliceIdsBuilder_.clear();
}
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
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 (sliceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.sliceIds_ = sliceIds_;
} else {
result.sliceIds_ = sliceIdsBuilder_.build();
}
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
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 (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
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
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_);
}
}
}
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
if (sliceIdsBuilder_ == null) {
if (!other.sliceIds_.isEmpty()) {
if (sliceIds_.isEmpty()) {
sliceIds_ = other.sliceIds_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSliceIdsIsMutable();
sliceIds_.addAll(other.sliceIds_);
}
onChanged();
}
} else {
if (!other.sliceIds_.isEmpty()) {
if (sliceIdsBuilder_.isEmpty()) {
sliceIdsBuilder_.dispose();
sliceIdsBuilder_ = null;
sliceIds_ = other.sliceIds_;
bitField0_ = (bitField0_ & ~0x00000004);
sliceIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSliceIdsFieldBuilder() : null;
} else {
sliceIdsBuilder_.addAllMessages(other.sliceIds_);
}
}
}
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
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_;
}
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
private java.lang.Object name_ = "";
/**
* <code>string name = 2;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
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 = 3;</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 = 3;</code>
*/
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
return topologyIds_.size();
} else {
return topologyIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</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 = 3;</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 = 3;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
return getTopologyIdsFieldBuilder().addBuilder(
context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 3;</code>
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
*/
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 = 4;</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 = 4;</code>
*/
public int getServiceIdsCount() {
if (serviceIdsBuilder_ == null) {
return serviceIds_.size();
} else {
return serviceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
int index) {
return getServiceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</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 = 4;</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 = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
return getServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</code>
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
int index) {
return getServiceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
* <code>repeated .context.ServiceId service_ids = 4;</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_;
}
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
private java.util.List<context.ContextOuterClass.SliceId> sliceIds_ =
java.util.Collections.emptyList();
private void ensureSliceIdsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>(sliceIds_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdsBuilder_;
/**
* <code>repeated .context.SliceId slice_ids = 5;</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 = 5;</code>
*/
public int getSliceIdsCount() {
if (sliceIdsBuilder_ == null) {
return sliceIds_.size();
} else {
return sliceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</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 = 5;</code>
*/
public Builder setSliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceIdsIsMutable();
sliceIds_.set(index, value);
onChanged();
} else {
sliceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder setSliceIds(
int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.set(index, builderForValue.build());
onChanged();
} else {
sliceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder addSliceIds(context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceIdsIsMutable();
sliceIds_.add(value);
onChanged();
} else {
sliceIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder addSliceIds(
int index, context.ContextOuterClass.SliceId value) {
if (sliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSliceIdsIsMutable();
sliceIds_.add(index, value);
onChanged();
} else {
sliceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder addSliceIds(
context.ContextOuterClass.SliceId.Builder builderForValue) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.add(builderForValue.build());
onChanged();
} else {
sliceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</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 = 5;</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();
} else {
sliceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder clearSliceIds() {
if (sliceIdsBuilder_ == null) {
sliceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
sliceIdsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public Builder removeSliceIds(int index) {
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.remove(index);
onChanged();
} else {
sliceIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder getSliceIdsBuilder(
int index) {
return getSliceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</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 = 5;</code>
*/
public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder>
getSliceIdsOrBuilderList() {
if (sliceIdsBuilder_ != null) {
return sliceIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sliceIds_);
}
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder() {
return getSliceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.SliceId.getDefaultInstance());
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</code>
*/
public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder(
int index) {
return getSliceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.SliceId.getDefaultInstance());
}
/**
* <code>repeated .context.SliceId slice_ids = 5;</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_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
sliceIds_ = null;
}
return sliceIdsBuilder_;
}
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 = 6;</code>
* @return Whether the controller field is set.
*/
public boolean hasController() {
return controllerBuilder_ != null || controller_ != null;
}
/**
* <code>.context.TeraFlowController controller = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</code>
*/
public Builder clearController() {
if (controllerBuilder_ == null) {
controller_ = null;
onChanged();
} else {
controller_ = null;
controllerBuilder_ = null;
}
return this;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
*/
public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
onChanged();
return getControllerFieldBuilder().getBuilder();
}
/**
* <code>.context.TeraFlowController controller = 6;</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 = 6;</code>
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
*/
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>
*/
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
@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(
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;
}
/**
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
* <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();
}
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>string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
java.util.List<context.ContextOuterClass.DeviceId>
getDeviceIdsList();
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
context.ContextOuterClass.DeviceId getDeviceIds(int index);
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
int getDeviceIdsCount();
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList();
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index);
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
java.util.List<context.ContextOuterClass.LinkId>
getLinkIdsList();
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
context.ContextOuterClass.LinkId getLinkIds(int index);
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
int getLinkIdsCount();
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList();
/**
* <code>repeated .context.LinkId link_ids = 4;</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() {
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
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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
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;
}
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
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();
}
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
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* <code>string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEVICE_IDS_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_;
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
return deviceIds_;
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
@java.lang.Override
public int getDeviceIdsCount() {
return deviceIds_.size();
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
return deviceIds_.get(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
return deviceIds_.get(index);
}
public static final int LINK_IDS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.LinkId> linkIds_;
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
return linkIds_;
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
return linkIds_;
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
@java.lang.Override
public int getLinkIdsCount() {
return linkIds_.size();
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.LinkId getLinkIds(int index) {
return linkIds_.get(index);
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
*/
@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());
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < deviceIds_.size(); i++) {
}
for (int i = 0; i < linkIds_.size(); 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());
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < deviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
}
for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
}
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 (!getName()
.equals(other.getName())) 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();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
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
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;
}
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
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();
}
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
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 (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
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 (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 {
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
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_;
}
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
private java.lang.Object name_ = "";
/**
* <code>string name = 2;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
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 = 3;</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 = 3;</code>
*/
public int getDeviceIdsCount() {
if (deviceIdsBuilder_ == null) {
return deviceIds_.size();
} else {
return deviceIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</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 = 3;</code>
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</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 = 3;</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 = 3;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
return getDeviceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
* <code>repeated .context.DeviceId device_ids = 3;</code>
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
*/
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 = 4;</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 = 4;</code>
*/
public int getLinkIdsCount() {
if (linkIdsBuilder_ == null) {
return linkIds_.size();
} else {
return linkIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.LinkId link_ids = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</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 = 4;</code>
*/
public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
int index) {
return getLinkIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.LinkId link_ids = 4;</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 = 4;</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 = 4;</code>
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
return getLinkIdsFieldBuilder().addBuilder(
context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
int index) {
return getLinkIdsFieldBuilder().addBuilder(
index, context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
* <code>repeated .context.LinkId link_ids = 4;</code>
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
*/
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 TopologyDetailsOrBuilder extends
// @@protoc_insertion_point(interface_extends:context.TopologyDetails)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.TopologyId topology_id = 1;</code>
* @return Whether the topologyId field is set.
* <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>string name = 2;</code>
* @return The name.
* <code>string name = 2;</code>
* @return The bytes for name.
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
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated .context.Device devices = 3;</code>
*/
java.util.List<context.ContextOuterClass.Device>
getDevicesList();
/**
* <code>repeated .context.Device devices = 3;</code>
*/
context.ContextOuterClass.Device getDevices(int index);
/**
* <code>repeated .context.Device devices = 3;</code>
*/
int getDevicesCount();
/**
* <code>repeated .context.Device devices = 3;</code>
*/
java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList();
/**
* <code>repeated .context.Device devices = 3;</code>
*/
context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index);
/**
* <code>repeated .context.Link links = 4;</code>
*/
java.util.List<context.ContextOuterClass.Link>
getLinksList();
/**
* <code>repeated .context.Link links = 4;</code>
*/
context.ContextOuterClass.Link getLinks(int index);
/**
* <code>repeated .context.Link links = 4;</code>
*/
int getLinksCount();
/**
* <code>repeated .context.Link links = 4;</code>
*/
java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList();
/**
* <code>repeated .context.Link links = 4;</code>
*/
context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
* Protobuf type {@code context.TopologyDetails}
public static final class TopologyDetails extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:context.TopologyDetails)
TopologyDetailsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyDetails.newBuilder() to construct.
private TopologyDetails(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private TopologyDetails() {
name_ = "";
devices_ = java.util.Collections.emptyList();
links_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
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: {
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
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;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
links_ = new java.util.ArrayList<context.ContextOuterClass.Link>();
mutable_bitField0_ |= 0x00000002;
}
links_.add(
input.readMessage(context.ContextOuterClass.Link.parser(), extensionRegistry));
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
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_);
}
if (((mutable_bitField0_ & 0x00000002) != 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_TopologyDetails_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyDetails_fieldAccessorTable
context.ContextOuterClass.TopologyDetails.class, context.ContextOuterClass.TopologyDetails.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.
public boolean hasTopologyId() {
return topologyId_ != null;
* <code>.context.TopologyId topology_id = 1;</code>
* @return The topologyId.
public context.ContextOuterClass.TopologyId getTopologyId() {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
* <code>.context.TopologyId topology_id = 1;</code>
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
return getTopologyId();
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* <code>string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
* <code>string name = 2;</code>
* @return The bytes for name.
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
public static final int DEVICES_FIELD_NUMBER = 3;
private java.util.List<context.ContextOuterClass.Device> devices_;
* <code>repeated .context.Device devices = 3;</code>
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
public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
return devices_;
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList() {
return devices_;
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
@java.lang.Override
public int getDevicesCount() {
return devices_.size();
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Device getDevices(int index) {
return devices_.get(index);
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
@java.lang.Override
public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
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
return devices_.get(index);
}
public static final int LINKS_FIELD_NUMBER = 4;
private java.util.List<context.ContextOuterClass.Link> links_;
/**
* <code>repeated .context.Link links = 4;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Link> getLinksList() {
return links_;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList() {
return links_;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
@java.lang.Override
public int getLinksCount() {
return links_.size();
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Link getLinks(int index) {
return links_.get(index);
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
@java.lang.Override
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 {
if (topologyId_ != null) {
output.writeMessage(1, getTopologyId());
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < devices_.size(); i++) {
output.writeMessage(3, devices_.get(i));
}
for (int i = 0; i < links_.size(); i++) {
output.writeMessage(4, links_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTopologyId());
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < devices_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, devices_.get(i));
}
for (int i = 0; i < links_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, 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.TopologyDetails)) {
context.ContextOuterClass.TopologyDetails other = (context.ContextOuterClass.TopologyDetails) obj;
if (hasTopologyId() != other.hasTopologyId()) return false;
if (hasTopologyId()) {
if (!getTopologyId()
.equals(other.getTopologyId())) return false;
}
if (!getName()
.equals(other.getName())) return false;
if (!getDevicesList()
.equals(other.getDevicesList())) return false;
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 (hasTopologyId()) {
hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyId().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (getDevicesCount() > 0) {
hash = (37 * hash) + DEVICES_FIELD_NUMBER;
hash = (53 * hash) + getDevicesList().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.TopologyDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyDetails parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyDetails 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.TopologyDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyDetails 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.TopologyDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyDetails 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.TopologyDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyDetails 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.TopologyDetails 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.TopologyDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:context.TopologyDetails)
context.ContextOuterClass.TopologyDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyDetails_fieldAccessorTable
context.ContextOuterClass.TopologyDetails.class, context.ContextOuterClass.TopologyDetails.Builder.class);
// Construct using context.ContextOuterClass.TopologyDetails.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();
getLinksFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (topologyIdBuilder_ == null) {
topologyId_ = null;
} else {
topologyId_ = null;
topologyIdBuilder_ = null;
}
name_ = "";
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
devicesBuilder_.clear();
}
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
linksBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
public context.ContextOuterClass.TopologyDetails getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyDetails.getDefaultInstance();
public context.ContextOuterClass.TopologyDetails build() {
context.ContextOuterClass.TopologyDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyDetails buildPartial() {
context.ContextOuterClass.TopologyDetails result = new context.ContextOuterClass.TopologyDetails(this);
if (topologyIdBuilder_ == null) {
result.topologyId_ = topologyId_;
} else {
result.topologyId_ = topologyIdBuilder_.build();
}
result.name_ = name_;
if (devicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
devices_ = java.util.Collections.unmodifiableList(devices_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.devices_ = devicesBuilder_.build();
}
if (linksBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
links_ = java.util.Collections.unmodifiableList(links_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.links_ = links_;
} else {
result.links_ = linksBuilder_.build();
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
}
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.TopologyDetails) {
return mergeFrom((context.ContextOuterClass.TopologyDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyDetails other) {
if (other == context.ContextOuterClass.TopologyDetails.getDefaultInstance()) return this;
if (other.hasTopologyId()) {
mergeTopologyId(other.getTopologyId());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
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);
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
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
devicesBuilder_.addAllMessages(other.devices_);
}
}
}
if (linksBuilder_ == null) {
if (!other.links_.isEmpty()) {
if (links_.isEmpty()) {
links_ = other.links_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureLinksIsMutable();
links_.addAll(other.links_);
}
onChanged();
}
} else {
if (!other.links_.isEmpty()) {
if (linksBuilder_.isEmpty()) {
linksBuilder_.dispose();
linksBuilder_ = null;
links_ = other.links_;
bitField0_ = (bitField0_ & ~0x00000002);
linksBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLinksFieldBuilder() : null;
} else {
linksBuilder_.addAllMessages(other.links_);
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
}
}
}
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.TopologyDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (context.ContextOuterClass.TopologyDetails) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
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
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.lang.Object name_ = "";
/**
* <code>string name = 2;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.Device> devices_ =
java.util.Collections.emptyList();
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 = 3;</code>
public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
if (devicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(devices_);
* <code>repeated .context.Device devices = 3;</code>
public int getDevicesCount() {
if (devicesBuilder_ == null) {
return devices_.size();
* <code>repeated .context.Device devices = 3;</code>
public context.ContextOuterClass.Device getDevices(int index) {
if (devicesBuilder_ == null) {
return devices_.get(index);
* <code>repeated .context.Device devices = 3;</code>
public Builder setDevices(
int index, context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.set(index, value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder setDevices(
int index, context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.set(index, builderForValue.build());
devicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder addDevices(context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.add(value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder addDevices(
int index, context.ContextOuterClass.Device value) {
if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDevicesIsMutable();
devices_.add(index, value);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder addDevices(
context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.add(builderForValue.build());
devicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder addDevices(
int index, context.ContextOuterClass.Device.Builder builderForValue) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.add(index, builderForValue.build());
devicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder addAllDevices(
java.lang.Iterable<? extends context.ContextOuterClass.Device> values) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder clearDevices() {
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public Builder removeDevices(int index) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
public context.ContextOuterClass.Device.Builder getDevicesBuilder(
return getDevicesFieldBuilder().getBuilder(index);
* <code>repeated .context.Device devices = 3;</code>
public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
if (devicesBuilder_ == null) {
return devices_.get(index); } else {
return devicesBuilder_.getMessageOrBuilder(index);
* <code>repeated .context.Device devices = 3;</code>
public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder>
getDevicesOrBuilderList() {
if (devicesBuilder_ != null) {
return devicesBuilder_.getMessageOrBuilderList();
return java.util.Collections.unmodifiableList(devices_);
* <code>repeated .context.Device devices = 3;</code>
public context.ContextOuterClass.Device.Builder addDevicesBuilder() {
return getDevicesFieldBuilder().addBuilder(
context.ContextOuterClass.Device.getDefaultInstance());
* <code>repeated .context.Device devices = 3;</code>
public context.ContextOuterClass.Device.Builder addDevicesBuilder(
return getDevicesFieldBuilder().addBuilder(
index, context.ContextOuterClass.Device.getDefaultInstance());
* <code>repeated .context.Device devices = 3;</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());
private java.util.List<context.ContextOuterClass.Link> links_ =
java.util.Collections.emptyList();
private void ensureLinksIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
links_ = new java.util.ArrayList<context.ContextOuterClass.Link>(links_);
bitField0_ |= 0x00000002;
}
private com.google.protobuf.RepeatedFieldBuilderV3<
context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder> linksBuilder_;
/**
* <code>repeated .context.Link links = 4;</code>
*/
public java.util.List<context.ContextOuterClass.Link> getLinksList() {
if (linksBuilder_ == null) {
return java.util.Collections.unmodifiableList(links_);
} else {
return linksBuilder_.getMessageList();
}
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
/**
* <code>repeated .context.Link links = 4;</code>
*/
public int getLinksCount() {
if (linksBuilder_ == null) {
return links_.size();
} else {
return linksBuilder_.getCount();
}
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public context.ContextOuterClass.Link getLinks(int index) {
if (linksBuilder_ == null) {
return links_.get(index);
} else {
return linksBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder setLinks(
int index, context.ContextOuterClass.Link value) {
if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinksIsMutable();
links_.set(index, value);
onChanged();
} else {
linksBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder setLinks(
int index, context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.set(index, builderForValue.build());
onChanged();
} else {
linksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder addLinks(context.ContextOuterClass.Link value) {
if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLinksIsMutable();
links_.add(value);
onChanged();
} else {
linksBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</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 = 4;</code>
*/
public Builder addLinks(
context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.add(builderForValue.build());
onChanged();
} else {
linksBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder addLinks(
int index, context.ContextOuterClass.Link.Builder builderForValue) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.add(index, builderForValue.build());
onChanged();
} else {
linksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder addAllLinks(
java.lang.Iterable<? extends context.ContextOuterClass.Link> values) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, links_);
onChanged();
} else {
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
linksBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder clearLinks() {
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
linksBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder removeLinks(int index) {
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.remove(index);
onChanged();
} else {
linksBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public context.ContextOuterClass.Link.Builder getLinksBuilder(
int index) {
return getLinksFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Link links = 4;</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 = 4;</code>
*/
public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder>
getLinksOrBuilderList() {
if (linksBuilder_ != null) {
return linksBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(links_);
}
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public context.ContextOuterClass.Link.Builder addLinksBuilder() {
return getLinksFieldBuilder().addBuilder(
context.ContextOuterClass.Link.getDefaultInstance());
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public context.ContextOuterClass.Link.Builder addLinksBuilder(
int index) {
return getLinksFieldBuilder().addBuilder(
index, context.ContextOuterClass.Link.getDefaultInstance());
}
/**
* <code>repeated .context.Link links = 4;</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_ & 0x00000002) != 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.TopologyDetails)
}
// @@protoc_insertion_point(class_scope:context.TopologyDetails)
private static final context.ContextOuterClass.TopologyDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyDetails();
}
public static context.ContextOuterClass.TopologyDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyDetails>
PARSER = new com.google.protobuf.AbstractParser<TopologyDetails>() {
@java.lang.Override
public TopologyDetails parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TopologyDetails(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TopologyDetails> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyDetails> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyDetails 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>
* <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(
* 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) {
private TopologyIdList() {
topologyIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
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)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>();
mutable_bitField0_ |= 0x00000001;
}
topologyIds_.add(
input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
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
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>
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
return topologyIds_;
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
return topologyIds_;
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public int getTopologyIdsCount() {
return topologyIds_.size();
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
}
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)) {
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
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) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyIdList.getDefaultInstance();
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);
if (((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologyIds_ = topologyIdsBuilder_.build();
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
}
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);
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
topologyIdsBuilder_.addAllMessages(other.topologyIds_);
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
}
}
}
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();
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_);
return topologyIdsBuilder_.getMessageList();
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
return topologyIds_.size();
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index);
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);
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());
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);
}
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);
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());
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());
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(
}
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 {
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public Builder removeTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.remove(index);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
return getTopologyIdsFieldBuilder().getBuilder(index);
* <code>repeated .context.TopologyId topology_ids = 1;</code>
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
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();
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(
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());
}
@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;
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyIdList();
public static context.ContextOuterClass.TopologyIdList getDefaultInstance() {
Loading
Loading full blame...