Newer
Older
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: context.proto
package context;
public final class ContextOuterClass {
Konstantinos Poulakakis
committed
private ContextOuterClass() {
}
Konstantinos Poulakakis
committed
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
Konstantinos Poulakakis
committed
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
Konstantinos Poulakakis
committed
* Protobuf enum {@code context.EventTypeEnum}
Konstantinos Poulakakis
committed
public enum EventTypeEnum implements com.google.protobuf.ProtocolMessageEnum {
Konstantinos Poulakakis
committed
/**
* <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);
Konstantinos Poulakakis
committed
/**
* <code>EVENTTYPE_UNDEFINED = 0;</code>
*/
public static final int EVENTTYPE_UNDEFINED_VALUE = 0;
Konstantinos Poulakakis
committed
/**
* <code>EVENTTYPE_CREATE = 1;</code>
*/
public static final int EVENTTYPE_CREATE_VALUE = 1;
Konstantinos Poulakakis
committed
/**
* <code>EVENTTYPE_UPDATE = 2;</code>
*/
public static final int EVENTTYPE_UPDATE_VALUE = 2;
Konstantinos Poulakakis
committed
/**
* <code>EVENTTYPE_REMOVE = 3;</code>
*/
public static final int EVENTTYPE_REMOVE_VALUE = 3;
Konstantinos Poulakakis
committed
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
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;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>() {
Konstantinos Poulakakis
committed
public EventTypeEnum findValueByNumber(int number) {
return EventTypeEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(0);
}
Konstantinos Poulakakis
committed
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.");
Konstantinos Poulakakis
committed
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private EventTypeEnum(int value) {
this.value = value;
}
}
/**
* 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_532 = 5;</code>
*/
DEVICEDRIVER_ONF_TR_532(5),
/**
* <code>DEVICEDRIVER_XR = 6;</code>
*/
DEVICEDRIVER_XR(6),
/**
* <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
*/
DEVICEDRIVER_IETF_L2VPN(7),
/**
* <code>DEVICEDRIVER_GNMI_OPENCONFIG = 8;</code>
*/
DEVICEDRIVER_GNMI_OPENCONFIG(8),
/**
* <code>DEVICEDRIVER_OPTICAL_TFS = 9;</code>
Konstantinos Poulakakis
committed
*/
Konstantinos Poulakakis
committed
/**
* <code>DEVICEDRIVER_IETF_ACTN = 10;</code>
*/
DEVICEDRIVER_IETF_ACTN(10),
/**
* <code>DEVICEDRIVER_OC = 11;</code>
*/
DEVICEDRIVER_OC(11),
Konstantinos Poulakakis
committed
/**
* <code>DEVICEDRIVER_QKD = 12;</code>
*/
Konstantinos Poulakakis
committed
DEVICEDRIVER_QKD(12),
Konstantinos Poulakakis
committed
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
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_532 = 5;</code>
*/
public static final int DEVICEDRIVER_ONF_TR_532_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;
/**
* <code>DEVICEDRIVER_GNMI_OPENCONFIG = 8;</code>
*/
public static final int DEVICEDRIVER_GNMI_OPENCONFIG_VALUE = 8;
/**
* <code>DEVICEDRIVER_OPTICAL_TFS = 9;</code>
Konstantinos Poulakakis
committed
*/
public static final int DEVICEDRIVER_OPTICAL_TFS_VALUE = 9;
Konstantinos Poulakakis
committed
/**
* <code>DEVICEDRIVER_IETF_ACTN = 10;</code>
*/
public static final int DEVICEDRIVER_IETF_ACTN_VALUE = 10;
/**
* <code>DEVICEDRIVER_OC = 11;</code>
*/
public static final int DEVICEDRIVER_OC_VALUE = 11;
Konstantinos Poulakakis
committed
/**
* <code>DEVICEDRIVER_QKD = 12;</code>
*/
public static final int DEVICEDRIVER_QKD_VALUE = 12;
Konstantinos Poulakakis
committed
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
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_532;
case 6:
return DEVICEDRIVER_XR;
case 7:
return DEVICEDRIVER_IETF_L2VPN;
case 8:
return DEVICEDRIVER_GNMI_OPENCONFIG;
case 9:
Konstantinos Poulakakis
committed
case 10:
return DEVICEDRIVER_IETF_ACTN;
case 11:
return DEVICEDRIVER_OC;
Konstantinos Poulakakis
committed
case 12:
return DEVICEDRIVER_QKD;
Konstantinos Poulakakis
committed
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>() {
Konstantinos Poulakakis
committed
public DeviceDriverEnum findValueByNumber(int number) {
return DeviceDriverEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(1);
}
Konstantinos Poulakakis
committed
private static final DeviceDriverEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private DeviceDriverEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
* Protobuf enum {@code context.DeviceOperationalStatusEnum}
Konstantinos Poulakakis
committed
public enum DeviceOperationalStatusEnum implements com.google.protobuf.ProtocolMessageEnum {
Konstantinos Poulakakis
committed
/**
* <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);
Konstantinos Poulakakis
committed
/**
* <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_UNDEFINED_VALUE = 0;
Konstantinos Poulakakis
committed
/**
* <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_DISABLED_VALUE = 1;
Konstantinos Poulakakis
committed
/**
* <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
*/
public static final int DEVICEOPERATIONALSTATUS_ENABLED_VALUE = 2;
Konstantinos Poulakakis
committed
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
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;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>() {
Konstantinos Poulakakis
committed
public DeviceOperationalStatusEnum findValueByNumber(int number) {
return DeviceOperationalStatusEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(2);
}
Konstantinos Poulakakis
committed
private static final DeviceOperationalStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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.");
Konstantinos Poulakakis
committed
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
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DeviceOperationalStatusEnum(int value) {
this.value = value;
}
}
/**
* 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),
/**
* <code>SERVICETYPE_TE = 4;</code>
*/
SERVICETYPE_TE(4),
/**
* <code>SERVICETYPE_E2E = 5;</code>
*/
SERVICETYPE_E2E(5),
/**
* <code>SERVICETYPE_OPTICAL_CONNECTIVITY = 6;</code>
*/
SERVICETYPE_OPTICAL_CONNECTIVITY(6),
* <code>SERVICETYPE_QKD = 7;</code>
*/
SERVICETYPE_QKD(7),
Konstantinos Poulakakis
committed
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
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;
/**
* <code>SERVICETYPE_TE = 4;</code>
*/
public static final int SERVICETYPE_TE_VALUE = 4;
/**
* <code>SERVICETYPE_E2E = 5;</code>
*/
public static final int SERVICETYPE_E2E_VALUE = 5;
/**
* <code>SERVICETYPE_OPTICAL_CONNECTIVITY = 6;</code>
*/
public static final int SERVICETYPE_OPTICAL_CONNECTIVITY_VALUE = 6;
/**
* <code>SERVICETYPE_QKD = 7;</code>
*/
public static final int SERVICETYPE_QKD_VALUE = 7;
Konstantinos Poulakakis
committed
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
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;
case 4:
return SERVICETYPE_TE;
case 5:
return SERVICETYPE_E2E;
case 6:
return SERVICETYPE_OPTICAL_CONNECTIVITY;
Konstantinos Poulakakis
committed
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>() {
Konstantinos Poulakakis
committed
public ServiceTypeEnum findValueByNumber(int number) {
return ServiceTypeEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(3);
}
Konstantinos Poulakakis
committed
private static final ServiceTypeEnum[] VALUES = values();
Konstantinos Poulakakis
committed
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
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
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
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;
}
}
/**
* 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_UPDATING = 3;</code>
*/
SERVICESTATUS_UPDATING(3),
/**
* <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;
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;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>() {
public ServiceStatusEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return ServiceStatusEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(4);
}
Konstantinos Poulakakis
committed
private static final ServiceStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
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;
}
}
/**
* 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;
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;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>() {
public SliceStatusEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return SliceStatusEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(5);
}
Konstantinos Poulakakis
committed
private static final SliceStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private SliceStatusEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
* <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;
}
}
Konstantinos Poulakakis
committed
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) {
Konstantinos Poulakakis
committed
return ConfigActionEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(6);
}
Konstantinos Poulakakis
committed
private static final ConfigActionEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private ConfigActionEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
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
* <pre>
* ----- Constraint ----------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf enum {@code context.ConstraintActionEnum}
*/
public enum ConstraintActionEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CONSTRAINTACTION_UNDEFINED = 0;</code>
*/
CONSTRAINTACTION_UNDEFINED(0),
/**
* <code>CONSTRAINTACTION_SET = 1;</code>
*/
CONSTRAINTACTION_SET(1),
/**
* <code>CONSTRAINTACTION_DELETE = 2;</code>
*/
CONSTRAINTACTION_DELETE(2),
UNRECOGNIZED(-1);
/**
* <code>CONSTRAINTACTION_UNDEFINED = 0;</code>
*/
public static final int CONSTRAINTACTION_UNDEFINED_VALUE = 0;
/**
* <code>CONSTRAINTACTION_SET = 1;</code>
*/
public static final int CONSTRAINTACTION_SET_VALUE = 1;
/**
* <code>CONSTRAINTACTION_DELETE = 2;</code>
*/
public static final int CONSTRAINTACTION_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.");
Konstantinos Poulakakis
committed
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
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 ConstraintActionEnum 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 ConstraintActionEnum forNumber(int value) {
switch(value) {
case 0:
return CONSTRAINTACTION_UNDEFINED;
case 1:
return CONSTRAINTACTION_SET;
case 2:
return CONSTRAINTACTION_DELETE;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum>() {
Konstantinos Poulakakis
committed
public ConstraintActionEnum findValueByNumber(int number) {
return ConstraintActionEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(7);
}
Konstantinos Poulakakis
committed
private static final ConstraintActionEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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
public static ConstraintActionEnum 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 ConstraintActionEnum(int value) {
this.value = value;
}
}
/**
* 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;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>() {
public IsolationLevelEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return IsolationLevelEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(8);
}
Konstantinos Poulakakis
committed
private static final IsolationLevelEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private IsolationLevelEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
public interface EmptyOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Empty)
com.google.protobuf.MessageOrBuilder {
}
/**
* <pre>
* ----- Generic -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.Empty}
*/
Konstantinos Poulakakis
committed
public static final class Empty extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Empty)
EmptyOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Empty.newBuilder() to construct.
private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Empty() {
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Empty();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
Konstantinos Poulakakis
committed
@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);
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
@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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
return false;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
memoizedHashCode = hash;
return hash;
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder(context.ContextOuterClass.Empty prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Konstantinos Poulakakis
committed
/**
* <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 {
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
Konstantinos Poulakakis
committed
@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);
}
Konstantinos Poulakakis
committed
// Construct using context.ContextOuterClass.Empty.newBuilder()
private Builder() {
}
Konstantinos Poulakakis
committed
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Empty getDefaultInstanceForType() {
return context.ContextOuterClass.Empty.getDefaultInstance();
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Empty build() {
context.ContextOuterClass.Empty result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Empty buildPartial() {
context.ContextOuterClass.Empty result = new context.ContextOuterClass.Empty(this);
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
@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;
}
}
Konstantinos Poulakakis
committed
public Builder mergeFrom(context.ContextOuterClass.Empty other) {
if (other == context.ContextOuterClass.Empty.getDefaultInstance())
return this;
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Empty)
}
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(class_scope:context.Empty)
private static final context.ContextOuterClass.Empty DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Empty();
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Empty getDefaultInstance() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Parser<Empty> PARSER = new com.google.protobuf.AbstractParser<Empty>() {
Konstantinos Poulakakis
committed
@java.lang.Override
public Empty parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
}
};
Konstantinos Poulakakis
committed
public static com.google.protobuf.Parser<Empty> parser() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Parser<Empty> getParserForType() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Empty getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
public interface UuidOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Uuid)
com.google.protobuf.MessageOrBuilder {
Konstantinos Poulakakis
committed
/**
* <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();
Konstantinos Poulakakis
committed
Konstantinos Poulakakis
committed
* Protobuf type {@code context.Uuid}
Konstantinos Poulakakis
committed
public static final class Uuid extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Uuid)
UuidOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Uuid.newBuilder() to construct.
private Uuid(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Uuid() {
uuid_ = "";
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Uuid();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
Konstantinos Poulakakis
committed
@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);
}
Konstantinos Poulakakis
committed
public static final int UUID_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
private volatile java.lang.Object uuid_ = "";
Konstantinos Poulakakis
committed
/**
* <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;
}
}
Konstantinos Poulakakis
committed
/**
* <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;
}
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
Konstantinos Poulakakis
committed
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
Konstantinos Poulakakis
committed
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
@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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
memoizedHashCode = hash;
return hash;
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder(context.ContextOuterClass.Uuid prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Konstantinos Poulakakis
committed
/**
* 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 {
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
Konstantinos Poulakakis
committed
@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);
}
Konstantinos Poulakakis
committed
// Construct using context.ContextOuterClass.Uuid.newBuilder()
private Builder() {
}
Konstantinos Poulakakis
committed
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
uuid_ = "";
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
return context.ContextOuterClass.Uuid.getDefaultInstance();
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Uuid build() {
context.ContextOuterClass.Uuid result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Uuid buildPartial() {
context.ContextOuterClass.Uuid result = new context.ContextOuterClass.Uuid(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
}
Konstantinos Poulakakis
committed
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.Uuid result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.uuid_ = uuid_;
}
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@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;
}
}
Konstantinos Poulakakis
committed
public Builder mergeFrom(context.ContextOuterClass.Uuid other) {
if (other == context.ContextOuterClass.Uuid.getDefaultInstance())
return this;
if (!other.getUuid().isEmpty()) {
uuid_ = other.uuid_;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
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
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
uuid_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
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;
}
}
Konstantinos Poulakakis
committed
/**
* <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;
}
}
Konstantinos Poulakakis
committed
/**
* <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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>string uuid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
/**
* <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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Uuid)
}
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(class_scope:context.Uuid)
private static final context.ContextOuterClass.Uuid DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Uuid();
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Uuid getDefaultInstance() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Parser<Uuid> PARSER = new com.google.protobuf.AbstractParser<Uuid>() {
Konstantinos Poulakakis
committed
@java.lang.Override
public Uuid parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
}
};
Konstantinos Poulakakis
committed
public static com.google.protobuf.Parser<Uuid> parser() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Parser<Uuid> getParserForType() {
return PARSER;
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
public interface TimestampOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Timestamp)
com.google.protobuf.MessageOrBuilder {
Konstantinos Poulakakis
committed
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
double getTimestamp();
Konstantinos Poulakakis
committed
/**
* Protobuf type {@code context.Timestamp}
*/
Konstantinos Poulakakis
committed
public static final class Timestamp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Timestamp)
TimestampOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Timestamp.newBuilder() to construct.
private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Timestamp() {
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Timestamp();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
}
Konstantinos Poulakakis
committed
public static final int TIMESTAMP_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
private double timestamp_ = 0D;
Konstantinos Poulakakis
committed
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
@java.lang.Override
public double getTimestamp() {
return timestamp_;
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (java.lang.Double.doubleToRawLongBits(timestamp_) != 0) {
Konstantinos Poulakakis
committed
output.writeDouble(1, timestamp_);
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
Konstantinos Poulakakis
committed
if (java.lang.Double.doubleToRawLongBits(timestamp_) != 0) {
Konstantinos Poulakakis
committed
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, timestamp_);
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Timestamp)) {
return super.equals(obj);
}
context.ContextOuterClass.Timestamp other = (context.ContextOuterClass.Timestamp) obj;
if (java.lang.Double.doubleToLongBits(getTimestamp()) != java.lang.Double.doubleToLongBits(other.getTimestamp()))
return false;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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()));
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
memoizedHashCode = hash;
return hash;
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder(context.ContextOuterClass.Timestamp prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Konstantinos Poulakakis
committed
/**
* 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 {
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
}
Konstantinos Poulakakis
committed
// Construct using context.ContextOuterClass.Timestamp.newBuilder()
private Builder() {
}
Konstantinos Poulakakis
committed
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
timestamp_ = 0D;
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
return context.ContextOuterClass.Timestamp.getDefaultInstance();
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Timestamp build() {
context.ContextOuterClass.Timestamp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Timestamp buildPartial() {
context.ContextOuterClass.Timestamp result = new context.ContextOuterClass.Timestamp(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
}
Konstantinos Poulakakis
committed
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.Timestamp result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.timestamp_ = timestamp_;
}
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@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;
}
}
Konstantinos Poulakakis
committed
public Builder mergeFrom(context.ContextOuterClass.Timestamp other) {
if (other == context.ContextOuterClass.Timestamp.getDefaultInstance())
return this;
if (other.getTimestamp() != 0D) {
setTimestamp(other.getTimestamp());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 9:
{
timestamp_ = input.readDouble();
bitField0_ |= 0x00000001;
break;
}
// case 9
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
private double timestamp_;
Konstantinos Poulakakis
committed
/**
* <code>double timestamp = 1;</code>
* @return The timestamp.
*/
@java.lang.Override
public double getTimestamp() {
return timestamp_;
}
Konstantinos Poulakakis
committed
/**
* <code>double timestamp = 1;</code>
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(double value) {
timestamp_ = value;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>double timestamp = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
timestamp_ = 0D;
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.Timestamp)
}
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(class_scope:context.Timestamp)
private static final context.ContextOuterClass.Timestamp DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Timestamp();
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Timestamp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Parser<Timestamp> PARSER = new com.google.protobuf.AbstractParser<Timestamp>() {
Konstantinos Poulakakis
committed
@java.lang.Override
public Timestamp parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
}
};
Konstantinos Poulakakis
committed
public static com.google.protobuf.Parser<Timestamp> parser() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Parser<Timestamp> getParserForType() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
public interface EventOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Event)
com.google.protobuf.MessageOrBuilder {
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return The timestamp.
*/
context.ContextOuterClass.Timestamp getTimestamp();
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
Konstantinos Poulakakis
committed
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The enum numeric value on the wire for eventType.
*/
int getEventTypeValue();
Konstantinos Poulakakis
committed
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
context.ContextOuterClass.EventTypeEnum getEventType();
Konstantinos Poulakakis
committed
* Protobuf type {@code context.Event}
Konstantinos Poulakakis
committed
public static final class Event extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Event)
EventOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Event.newBuilder() to construct.
private Event(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Event() {
eventType_ = 0;
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Event();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
}
Konstantinos Poulakakis
committed
public static final int TIMESTAMP_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.Timestamp timestamp_;
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return timestamp_ != null;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return The timestamp.
*/
@java.lang.Override
public context.ContextOuterClass.Timestamp getTimestamp() {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
Konstantinos Poulakakis
committed
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
public static final int EVENT_TYPE_FIELD_NUMBER = 2;
Konstantinos Poulakakis
committed
private int eventType_ = 0;
Konstantinos Poulakakis
committed
/**
* <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_;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
@java.lang.Override
public context.ContextOuterClass.EventTypeEnum getEventType() {
Konstantinos Poulakakis
committed
context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.forNumber(eventType_);
Konstantinos Poulakakis
committed
return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@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_);
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimestamp());
}
if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_);
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Event)) {
return super.equals(obj);
}
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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
return false;
return true;
}
Konstantinos Poulakakis
committed
@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_;
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
memoizedHashCode = hash;
return hash;
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder(context.ContextOuterClass.Event prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Konstantinos Poulakakis
committed
/**
* 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 {
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
}
Konstantinos Poulakakis
committed
// Construct using context.ContextOuterClass.Event.newBuilder()
private Builder() {
Konstantinos Poulakakis
committed
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
Konstantinos Poulakakis
committed
timestampBuilder_ = null;
}
eventType_ = 0;
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_Event_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Event getDefaultInstanceForType() {
return context.ContextOuterClass.Event.getDefaultInstance();
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Event build() {
context.ContextOuterClass.Event result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Event buildPartial() {
context.ContextOuterClass.Event result = new context.ContextOuterClass.Event(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.Event result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.timestamp_ = timestampBuilder_ == null ? timestamp_ : timestampBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.eventType_ = eventType_;
}
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@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;
}
}
Konstantinos Poulakakis
committed
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());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getTimestampFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 16:
{
eventType_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
}
// case 16
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.Timestamp timestamp_;
Konstantinos Poulakakis
committed
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
* @return Whether the timestamp field is set.
*/
public boolean hasTimestamp() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
/**
* <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_;
} else {
return timestampBuilder_.getMessage();
}
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
} else {
timestampBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public Builder setTimestamp(context.ContextOuterClass.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
} else {
timestampBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
if (timestampBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && timestamp_ != null && timestamp_ != context.ContextOuterClass.Timestamp.getDefaultInstance()) {
getTimestampBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
timestamp_ = value;
}
} else {
timestampBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public Builder clearTimestamp() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
Konstantinos Poulakakis
committed
timestampBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
return getTimestampFieldBuilder().getBuilder();
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
if (timestampBuilder_ != null) {
return timestampBuilder_.getMessageOrBuilder();
} else {
return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
}
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Timestamp timestamp = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> getTimestampFieldBuilder() {
if (timestampBuilder_ == null) {
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(getTimestamp(), getParentForChildren(), isClean());
timestamp_ = null;
}
return timestampBuilder_;
}
Konstantinos Poulakakis
committed
private int eventType_ = 0;
Konstantinos Poulakakis
committed
/**
* <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_;
}
Konstantinos Poulakakis
committed
/**
* <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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return The eventType.
*/
@java.lang.Override
public context.ContextOuterClass.EventTypeEnum getEventType() {
Konstantinos Poulakakis
committed
context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.forNumber(eventType_);
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
eventType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.context.EventTypeEnum event_type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearEventType() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
Konstantinos Poulakakis
committed
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);
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(builder_scope:context.Event)
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(class_scope:context.Event)
private static final context.ContextOuterClass.Event DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.Event();
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.Event getDefaultInstance() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Parser<Event> PARSER = new com.google.protobuf.AbstractParser<Event>() {
Konstantinos Poulakakis
committed
@java.lang.Override
public Event parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
}
};
Konstantinos Poulakakis
committed
public static com.google.protobuf.Parser<Event> parser() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Parser<Event> getParserForType() {
return PARSER;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.Event getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
Konstantinos Poulakakis
committed
public interface ContextIdOrBuilder extends // @@protoc_insertion_point(interface_extends:context.ContextId)
com.google.protobuf.MessageOrBuilder {
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
*/
boolean hasContextUuid();
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return The contextUuid.
*/
context.ContextOuterClass.Uuid getContextUuid();
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder();
Konstantinos Poulakakis
committed
Konstantinos Poulakakis
committed
* <pre>
* ----- Context -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.ContextId}
Konstantinos Poulakakis
committed
public static final class ContextId extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.ContextId)
ContextIdOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use ContextId.newBuilder() to construct.
private ContextId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private ContextId() {
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ContextId();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
}
Konstantinos Poulakakis
committed
public static final int CONTEXT_UUID_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.Uuid contextUuid_;
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
*/
@java.lang.Override
public boolean hasContextUuid() {
return contextUuid_ != null;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return The contextUuid.
*/
@java.lang.Override
public context.ContextOuterClass.Uuid getContextUuid() {
return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
Konstantinos Poulakakis
committed
return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (contextUuid_ != null) {
output.writeMessage(1, getContextUuid());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (contextUuid_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContextUuid());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.ContextId)) {
return super.equals(obj);
}
context.ContextOuterClass.ContextId other = (context.ContextOuterClass.ContextId) obj;
if (hasContextUuid() != other.hasContextUuid())
return false;
if (hasContextUuid()) {
if (!getContextUuid().equals(other.getContextUuid()))
return false;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
return false;
return true;
}
Konstantinos Poulakakis
committed
@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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
memoizedHashCode = hash;
return hash;
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
public static context.ContextOuterClass.ContextId parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
Konstantinos Poulakakis
committed
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);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Konstantinos Poulakakis
committed
public static Builder newBuilder(context.ContextOuterClass.ContextId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Konstantinos Poulakakis
committed
/**
* <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 {
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
}
Konstantinos Poulakakis
committed
// Construct using context.ContextOuterClass.ContextId.newBuilder()
private Builder() {
}
Konstantinos Poulakakis
committed
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
contextUuid_ = null;
if (contextUuidBuilder_ != null) {
contextUuidBuilder_.dispose();
Konstantinos Poulakakis
committed
contextUuidBuilder_ = null;
}
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
return context.ContextOuterClass.ContextId.getDefaultInstance();
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.ContextId build() {
context.ContextOuterClass.ContextId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public context.ContextOuterClass.ContextId buildPartial() {
context.ContextOuterClass.ContextId result = new context.ContextOuterClass.ContextId(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.ContextId result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.contextUuid_ = contextUuidBuilder_ == null ? contextUuid_ : contextUuidBuilder_.build();
}
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
@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;
}
}
Konstantinos Poulakakis
committed
public Builder mergeFrom(context.ContextOuterClass.ContextId other) {
if (other == context.ContextOuterClass.ContextId.getDefaultInstance())
return this;
if (other.hasContextUuid()) {
mergeContextUuid(other.getContextUuid());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getContextUuidFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.Uuid contextUuid_;
Konstantinos Poulakakis
committed
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> contextUuidBuilder_;
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
* @return Whether the contextUuid field is set.
*/
public boolean hasContextUuid() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
/**
* <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_;
} else {
return contextUuidBuilder_.getMessage();
}
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public Builder setContextUuid(context.ContextOuterClass.Uuid value) {
if (contextUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contextUuid_ = value;
} else {
contextUuidBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public Builder setContextUuid(context.ContextOuterClass.Uuid.Builder builderForValue) {
if (contextUuidBuilder_ == null) {
contextUuid_ = builderForValue.build();
} else {
contextUuidBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public Builder mergeContextUuid(context.ContextOuterClass.Uuid value) {
if (contextUuidBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && contextUuid_ != null && contextUuid_ != context.ContextOuterClass.Uuid.getDefaultInstance()) {
getContextUuidBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
contextUuid_ = value;
}
} else {
contextUuidBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public Builder clearContextUuid() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
contextUuid_ = null;
if (contextUuidBuilder_ != null) {
contextUuidBuilder_.dispose();
Konstantinos Poulakakis
committed
contextUuidBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public context.ContextOuterClass.Uuid.Builder getContextUuidBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
onChanged();
return getContextUuidFieldBuilder().getBuilder();
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
if (contextUuidBuilder_ != null) {
return contextUuidBuilder_.getMessageOrBuilder();
} else {
return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
}
}
Konstantinos Poulakakis
committed
/**
* <code>.context.Uuid context_uuid = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> getContextUuidFieldBuilder() {
if (contextUuidBuilder_ == null) {
contextUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(getContextUuid(), getParentForChildren(), isClean());
contextUuid_ = null;
}
return contextUuidBuilder_;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.ContextId)
}
Konstantinos Poulakakis
committed
// @@protoc_insertion_point(class_scope:context.ContextId)
private static final context.ContextOuterClass.ContextId DEFAULT_INSTANCE;
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
}
};
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);
/**
* <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();
Konstantinos Poulakakis
committed
Konstantinos Poulakakis
committed
* Protobuf type {@code context.Context}
Konstantinos Poulakakis
committed
public static final class Context extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Context)
ContextOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Context.newBuilder() to construct.
private Context(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Context() {
name_ = "";
topologyIds_ = java.util.Collections.emptyList();
serviceIds_ = java.util.Collections.emptyList();
sliceIds_ = java.util.Collections.emptyList();
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Context();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Context_descriptor;
}
Konstantinos Poulakakis
committed
@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);
}
Konstantinos Poulakakis
committed
public static final int CONTEXT_ID_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.ContextId contextId_;
Konstantinos Poulakakis
committed
/**
* <code>.context.ContextId context_id = 1;</code>
* @return Whether the contextId field is set.
*/
@java.lang.Override
public boolean hasContextId() {
return contextId_ != null;
}
Konstantinos Poulakakis
committed
/**
* <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_;
}
Konstantinos Poulakakis
committed
/**
* <code>.context.ContextId context_id = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
Konstantinos Poulakakis
committed
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
public static final int NAME_FIELD_NUMBER = 2;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
Konstantinos Poulakakis
committed
/**
* <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;
}
}
Konstantinos Poulakakis
committed
/**
* <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;
}
}
Konstantinos Poulakakis
committed
public static final int TOPOLOGY_IDS_FIELD_NUMBER = 3;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
Konstantinos Poulakakis
committed
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
/**
* <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;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
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);
}
public static final int SLICE_IDS_FIELD_NUMBER = 5;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
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>
*/
@java.lang.Override
public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
Konstantinos Poulakakis
committed
return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
Konstantinos Poulakakis
committed
}
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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < topologyIds_.size(); i++) {
output.writeMessage(3, topologyIds_.get(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));
}
if (controller_ != null) {
output.writeMessage(6, getController());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, topologyIds_.get(i));
}
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.computeMessageSize(6, getController());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
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;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
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();
}
if (hasController()) {
hash = (37 * hash) + CONTROLLER_FIELD_NUMBER;
hash = (53 * hash) + getController().hashCode();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
contextIdBuilder_ = null;
}
name_ = "";
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
topologyIds_ = null;
Konstantinos Poulakakis
committed
topologyIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
if (serviceIdsBuilder_ == null) {
serviceIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
serviceIds_ = null;
Konstantinos Poulakakis
committed
serviceIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
if (sliceIdsBuilder_ == null) {
sliceIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
sliceIds_ = null;
Konstantinos Poulakakis
committed
sliceIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000010);
controller_ = null;
if (controllerBuilder_ != null) {
controllerBuilder_.dispose();
Konstantinos Poulakakis
committed
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
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);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.Context result) {
Konstantinos Poulakakis
committed
if (topologyIdsBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
}
result.topologyIds_ = topologyIds_;
} else {
result.topologyIds_ = topologyIdsBuilder_.build();
}
if (serviceIdsBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
}
result.serviceIds_ = serviceIds_;
} else {
result.serviceIds_ = serviceIdsBuilder_.build();
}
if (sliceIdsBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000010) != 0)) {
Konstantinos Poulakakis
committed
sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000010);
Konstantinos Poulakakis
committed
}
result.sliceIds_ = sliceIds_;
} else {
result.sliceIds_ = sliceIdsBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.Context result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.contextId_ = contextIdBuilder_ == null ? contextId_ : contextIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.controller_ = controllerBuilder_ == null ? controller_ : controllerBuilder_.build();
}
Konstantinos Poulakakis
committed
}
@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_;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
}
if (topologyIdsBuilder_ == null) {
if (!other.topologyIds_.isEmpty()) {
if (topologyIds_.isEmpty()) {
topologyIds_ = other.topologyIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
} else {
ensureTopologyIdsIsMutable();
topologyIds_.addAll(other.topologyIds_);
}
onChanged();
}
} else {
if (!other.topologyIds_.isEmpty()) {
if (topologyIdsBuilder_.isEmpty()) {
topologyIdsBuilder_.dispose();
topologyIdsBuilder_ = null;
topologyIds_ = other.topologyIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
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_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
} else {
ensureServiceIdsIsMutable();
serviceIds_.addAll(other.serviceIds_);
}
onChanged();
}
} else {
if (!other.serviceIds_.isEmpty()) {
if (serviceIdsBuilder_.isEmpty()) {
serviceIdsBuilder_.dispose();
serviceIdsBuilder_ = null;
serviceIds_ = other.serviceIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
serviceIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServiceIdsFieldBuilder() : null;
} else {
serviceIdsBuilder_.addAllMessages(other.serviceIds_);
}
}
}
if (sliceIdsBuilder_ == null) {
if (!other.sliceIds_.isEmpty()) {
if (sliceIds_.isEmpty()) {
sliceIds_ = other.sliceIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000010);
Konstantinos Poulakakis
committed
} else {
ensureSliceIdsIsMutable();
sliceIds_.addAll(other.sliceIds_);
}
onChanged();
}
} else {
if (!other.sliceIds_.isEmpty()) {
if (sliceIdsBuilder_.isEmpty()) {
sliceIdsBuilder_.dispose();
sliceIdsBuilder_ = null;
sliceIds_ = other.sliceIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000010);
Konstantinos Poulakakis
committed
sliceIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSliceIdsFieldBuilder() : null;
} else {
sliceIdsBuilder_.addAllMessages(other.sliceIds_);
}
}
}
if (other.hasController()) {
mergeController(other.getController());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getContextIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
}
// case 18
case 26:
{
context.ContextOuterClass.TopologyId m = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(m);
} else {
topologyIdsBuilder_.addMessage(m);
}
break;
}
// case 26
case 34:
{
context.ContextOuterClass.ServiceId m = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry);
if (serviceIdsBuilder_ == null) {
ensureServiceIdsIsMutable();
serviceIds_.add(m);
} else {
serviceIdsBuilder_.addMessage(m);
}
break;
}
// case 34
case 42:
{
context.ContextOuterClass.SliceId m = input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry);
if (sliceIdsBuilder_ == null) {
ensureSliceIdsIsMutable();
sliceIds_.add(m);
} else {
sliceIdsBuilder_.addMessage(m);
}
break;
}
// case 42
case 50:
{
input.readMessage(getControllerFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000020;
break;
}
// case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
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
}
/**
* <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;
} else {
contextIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && contextId_ != null && contextId_ != context.ContextOuterClass.ContextId.getDefaultInstance()) {
getContextIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
contextId_ = value;
}
} else {
contextIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder clearContextId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
contextIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
onChanged();
return getContextIdFieldBuilder().getBuilder();
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
if (contextIdBuilder_ != null) {
return contextIdBuilder_.getMessageOrBuilder();
} else {
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> getContextIdFieldBuilder() {
if (contextIdBuilder_ == null) {
contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(getContextId(), getParentForChildren(), isClean());
contextId_ = null;
}
return contextIdBuilder_;
}
private java.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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
Konstantinos Poulakakis
committed
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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ = java.util.Collections.emptyList();
private void ensureTopologyIdsIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000004;
Konstantinos Poulakakis
committed
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
}
}
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();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
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>
*/
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) {
Konstantinos Poulakakis
committed
topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(topologyIds_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
topologyIds_ = null;
}
return topologyIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_ = java.util.Collections.emptyList();
private void ensureServiceIdsIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(serviceIds_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000008;
Konstantinos Poulakakis
committed
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
}
}
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();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
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) {
Konstantinos Poulakakis
committed
serviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(serviceIds_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
serviceIds_ = null;
}
return serviceIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.SliceId> sliceIds_ = java.util.Collections.emptyList();
private void ensureSliceIdsIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000010) != 0)) {
Konstantinos Poulakakis
committed
sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>(sliceIds_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000010;
Konstantinos Poulakakis
committed
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
}
}
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();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000010);
Konstantinos Poulakakis
committed
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
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) {
Konstantinos Poulakakis
committed
sliceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(sliceIds_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000020) != 0);
Konstantinos Poulakakis
committed
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
}
/**
* <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;
} else {
controllerBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000020;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
*/
public Builder setController(context.ContextOuterClass.TeraFlowController.Builder builderForValue) {
if (controllerBuilder_ == null) {
controller_ = builderForValue.build();
} else {
controllerBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000020;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
*/
public Builder mergeController(context.ContextOuterClass.TeraFlowController value) {
if (controllerBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000020) != 0) && controller_ != null && controller_ != context.ContextOuterClass.TeraFlowController.getDefaultInstance()) {
getControllerBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
controller_ = value;
}
} else {
controllerBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000020;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
*/
public Builder clearController() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000020);
controller_ = null;
if (controllerBuilder_ != null) {
controllerBuilder_.dispose();
Konstantinos Poulakakis
committed
controllerBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TeraFlowController controller = 6;</code>
*/
public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000020;
Konstantinos Poulakakis
committed
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
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>
*/
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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();
}
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;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
private java.util.List<context.ContextOuterClass.ContextId> contextIds_;
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.ContextId> getContextIdsList() {
return contextIds_;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder> getContextIdsOrBuilderList() {
return contextIds_;
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public int getContextIdsCount() {
return contextIds_.size();
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextId getContextIds(int index) {
return contextIds_.get(index);
}
/**
* <code>repeated .context.ContextId context_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(int index) {
return contextIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < contextIds_.size(); i++) {
output.writeMessage(1, contextIds_.get(i));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
if (contextIdsBuilder_ == null) {
contextIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
contextIds_ = null;
Konstantinos Poulakakis
committed
contextIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
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
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);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.ContextIdList result) {
Konstantinos Poulakakis
committed
if (contextIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.contextIds_ = contextIds_;
} else {
result.contextIds_ = contextIdsBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.ContextIdList result) {
int from_bitField0_ = bitField0_;
Konstantinos Poulakakis
committed
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
}
@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_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
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
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
context.ContextOuterClass.ContextId m = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
if (contextIdsBuilder_ == null) {
ensureContextIdsIsMutable();
contextIds_.add(m);
} else {
contextIdsBuilder_.addMessage(m);
}
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
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
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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();
}
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;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
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
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));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
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
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
if (contextsBuilder_ == null) {
contexts_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
contexts_ = null;
Konstantinos Poulakakis
committed
contextsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
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
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);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.ContextList result) {
Konstantinos Poulakakis
committed
if (contextsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
contexts_ = java.util.Collections.unmodifiableList(contexts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.contexts_ = contexts_;
} else {
result.contexts_ = contextsBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.ContextList result) {
int from_bitField0_ = bitField0_;
Konstantinos Poulakakis
committed
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
}
@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_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
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
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
context.ContextOuterClass.Context m = input.readMessage(context.ContextOuterClass.Context.parser(), extensionRegistry);
if (contextsBuilder_ == null) {
ensureContextsIsMutable();
contexts_.add(m);
} else {
contextsBuilder_.addMessage(m);
}
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
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
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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();
}
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() {
Konstantinos Poulakakis
committed
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
Konstantinos Poulakakis
committed
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
}
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() {
Konstantinos Poulakakis
committed
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
Konstantinos Poulakakis
committed
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
}
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());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
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
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;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
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
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
event_ = null;
if (eventBuilder_ != null) {
eventBuilder_.dispose();
Konstantinos Poulakakis
committed
eventBuilder_ = null;
}
Konstantinos Poulakakis
committed
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
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
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);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.ContextEvent result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.event_ = eventBuilder_ == null ? event_ : eventBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.contextId_ = contextIdBuilder_ == null ? contextId_ : contextIdBuilder_.build();
}
Konstantinos Poulakakis
committed
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
}
@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());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
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
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getEventFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
input.readMessage(getContextIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
}
// case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
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
}
/**
* <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;
} else {
eventBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && event_ != null && event_ != context.ContextOuterClass.Event.getDefaultInstance()) {
getEventBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
event_ = value;
}
} else {
eventBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder clearEvent() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
event_ = null;
if (eventBuilder_ != null) {
eventBuilder_.dispose();
Konstantinos Poulakakis
committed
eventBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.Event.Builder getEventBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
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
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000002) != 0);
Konstantinos Poulakakis
committed
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
}
/**
* <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;
} else {
contextIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000002) != 0) && contextId_ != null && contextId_ != context.ContextOuterClass.ContextId.getDefaultInstance()) {
getContextIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
contextId_ = value;
}
} else {
contextIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public Builder clearContextId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
contextIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 2;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
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
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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();
}
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() {
Konstantinos Poulakakis
committed
return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
Konstantinos Poulakakis
committed
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
}
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() {
Konstantinos Poulakakis
committed
return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
Konstantinos Poulakakis
committed
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
}
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());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
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
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;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
if (hasTopologyUuid()) {
hash = (37 * hash) + TOPOLOGY_UUID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyUuid().hashCode();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
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
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
contextIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
topologyUuid_ = null;
if (topologyUuidBuilder_ != null) {
topologyUuidBuilder_.dispose();
Konstantinos Poulakakis
committed
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
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);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.TopologyId result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.contextId_ = contextIdBuilder_ == null ? contextId_ : contextIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.topologyUuid_ = topologyUuidBuilder_ == null ? topologyUuid_ : topologyUuidBuilder_.build();
}
Konstantinos Poulakakis
committed
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
}
@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());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
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
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getContextIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
input.readMessage(getTopologyUuidFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
}
// case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
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
}
/**
* <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;
} else {
contextIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder setContextId(context.ContextOuterClass.ContextId.Builder builderForValue) {
if (contextIdBuilder_ == null) {
contextId_ = builderForValue.build();
} else {
contextIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
if (contextIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && contextId_ != null && contextId_ != context.ContextOuterClass.ContextId.getDefaultInstance()) {
getContextIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
contextId_ = value;
}
} else {
contextIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public Builder clearContextId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
contextId_ = null;
if (contextIdBuilder_ != null) {
contextIdBuilder_.dispose();
Konstantinos Poulakakis
committed
contextIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.ContextId context_id = 1;</code>
*/
public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
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
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000002) != 0);
Konstantinos Poulakakis
committed
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
}
/**
* <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;
} else {
topologyUuidBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder setTopologyUuid(context.ContextOuterClass.Uuid.Builder builderForValue) {
if (topologyUuidBuilder_ == null) {
topologyUuid_ = builderForValue.build();
} else {
topologyUuidBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder mergeTopologyUuid(context.ContextOuterClass.Uuid value) {
if (topologyUuidBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000002) != 0) && topologyUuid_ != null && topologyUuid_ != context.ContextOuterClass.Uuid.getDefaultInstance()) {
getTopologyUuidBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
topologyUuid_ = value;
}
} else {
topologyUuidBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public Builder clearTopologyUuid() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
topologyUuid_ = null;
if (topologyUuidBuilder_ != null) {
topologyUuidBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyUuidBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Uuid topology_uuid = 2;</code>
*/
public context.ContextOuterClass.Uuid.Builder getTopologyUuidBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
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
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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() {
name_ = "";
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();
}
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() {
Konstantinos Poulakakis
committed
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
Konstantinos Poulakakis
committed
}
public static final int NAME_FIELD_NUMBER = 2;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
Konstantinos Poulakakis
committed
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
/**
* <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;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
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
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;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
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
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>
*/
@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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < deviceIds_.size(); i++) {
output.writeMessage(3, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
output.writeMessage(4, linkIds_.get(i));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < deviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, linkIds_.get(i));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
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
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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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
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 (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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
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
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() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyIdBuilder_ = null;
}
name_ = "";
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
deviceIds_ = null;
Konstantinos Poulakakis
committed
deviceIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
if (linkIdsBuilder_ == null) {
linkIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
linkIds_ = null;
Konstantinos Poulakakis
committed
linkIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
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
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);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.Topology result) {
Konstantinos Poulakakis
committed
if (deviceIdsBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
}
result.deviceIds_ = deviceIds_;
} else {
result.deviceIds_ = deviceIdsBuilder_.build();
}
if (linkIdsBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
}
result.linkIds_ = linkIds_;
} else {
result.linkIds_ = linkIdsBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.Topology result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.topologyId_ = topologyIdBuilder_ == null ? topologyId_ : topologyIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
}
Konstantinos Poulakakis
committed
}
@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_;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
}
if (deviceIdsBuilder_ == null) {
if (!other.deviceIds_.isEmpty()) {
if (deviceIds_.isEmpty()) {
deviceIds_ = other.deviceIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
} else {
ensureDeviceIdsIsMutable();
deviceIds_.addAll(other.deviceIds_);
}
onChanged();
}
} else {
if (!other.deviceIds_.isEmpty()) {
if (deviceIdsBuilder_.isEmpty()) {
deviceIdsBuilder_.dispose();
deviceIdsBuilder_ = null;
deviceIds_ = other.deviceIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
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_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
} else {
ensureLinkIdsIsMutable();
linkIds_.addAll(other.linkIds_);
}
onChanged();
}
} else {
if (!other.linkIds_.isEmpty()) {
if (linkIdsBuilder_.isEmpty()) {
linkIdsBuilder_.dispose();
linkIdsBuilder_ = null;
linkIds_ = other.linkIds_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
linkIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLinkIdsFieldBuilder() : null;
} else {
linkIdsBuilder_.addAllMessages(other.linkIds_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getTopologyIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
}
// case 18
case 26:
{
context.ContextOuterClass.DeviceId m = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
if (deviceIdsBuilder_ == null) {
ensureDeviceIdsIsMutable();
deviceIds_.add(m);
} else {
deviceIdsBuilder_.addMessage(m);
}
break;
}
// case 26
case 34:
{
context.ContextOuterClass.LinkId m = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry);
if (linkIdsBuilder_ == null) {
ensureLinkIdsIsMutable();
linkIds_.add(m);
} else {
linkIdsBuilder_.addMessage(m);
}
break;
}
// case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
}
/**
* <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;
} else {
topologyIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdBuilder_ == null) {
topologyId_ = builderForValue.build();
} else {
topologyIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && topologyId_ != null && topologyId_ != context.ContextOuterClass.TopologyId.getDefaultInstance()) {
getTopologyIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
topologyId_ = value;
}
} else {
topologyIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder clearTopologyId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
Konstantinos Poulakakis
committed
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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_ = java.util.Collections.emptyList();
private void ensureDeviceIdsIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>(deviceIds_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000004;
Konstantinos Poulakakis
committed
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
}
}
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();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
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
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>
*/
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) {
Konstantinos Poulakakis
committed
deviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(deviceIds_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
deviceIds_ = null;
}
return deviceIdsBuilder_;
}
private java.util.List<context.ContextOuterClass.LinkId> linkIds_ = java.util.Collections.emptyList();
private void ensureLinkIdsIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>(linkIds_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000008;
Konstantinos Poulakakis
committed
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
}
}
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();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
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
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>
*/
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) {
Konstantinos Poulakakis
committed
linkIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(linkIds_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
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
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
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
}
};
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.
*/
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();
Konstantinos Poulakakis
committed
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
/**
* <code>string name = 2;</code>
* @return The bytes for name.
*/
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(int index);
}
/**
* 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) {
super(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) {
return new TopologyDetails();
}
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.ensureFieldAccessorsInitialized(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.
*/
@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() {
Konstantinos Poulakakis
committed
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
Konstantinos Poulakakis
committed
}
public static final int NAME_FIELD_NUMBER = 2;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
Konstantinos Poulakakis
committed
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
/**
* <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 DEVICES_FIELD_NUMBER = 3;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
private java.util.List<context.ContextOuterClass.Device> devices_;
/**
* <code>repeated .context.Device devices = 3;</code>
*/
@java.lang.Override
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(int index) {
return devices_.get(index);
}
public static final int LINKS_FIELD_NUMBER = 4;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
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));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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());
}
Konstantinos Poulakakis
committed
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
Konstantinos Poulakakis
committed
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));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
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)) {
return super.equals(obj);
}
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;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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
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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
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.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyDetails.class, context.ContextOuterClass.TopologyDetails.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyDetails.newBuilder()
private Builder() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyIdBuilder_ = null;
}
name_ = "";
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
devices_ = null;
Konstantinos Poulakakis
committed
devicesBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
links_ = null;
Konstantinos Poulakakis
committed
linksBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyDetails getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyDetails.getDefaultInstance();
}
@java.lang.Override
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);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.TopologyDetails result) {
Konstantinos Poulakakis
committed
if (devicesBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
devices_ = java.util.Collections.unmodifiableList(devices_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
}
result.devices_ = devices_;
} else {
result.devices_ = devicesBuilder_.build();
}
if (linksBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
links_ = java.util.Collections.unmodifiableList(links_);
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
}
result.links_ = links_;
} else {
result.links_ = linksBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.TopologyDetails result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.topologyId_ = topologyIdBuilder_ == null ? topologyId_ : topologyIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
}
Konstantinos Poulakakis
committed
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
}
@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_;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
}
if (devicesBuilder_ == null) {
if (!other.devices_.isEmpty()) {
if (devices_.isEmpty()) {
devices_ = other.devices_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
} else {
ensureDevicesIsMutable();
devices_.addAll(other.devices_);
}
onChanged();
}
} else {
if (!other.devices_.isEmpty()) {
if (devicesBuilder_.isEmpty()) {
devicesBuilder_.dispose();
devicesBuilder_ = null;
devices_ = other.devices_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
devicesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDevicesFieldBuilder() : null;
} else {
devicesBuilder_.addAllMessages(other.devices_);
}
}
}
if (linksBuilder_ == null) {
if (!other.links_.isEmpty()) {
if (links_.isEmpty()) {
links_ = other.links_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
} else {
ensureLinksIsMutable();
links_.addAll(other.links_);
}
onChanged();
}
} else {
if (!other.links_.isEmpty()) {
if (linksBuilder_.isEmpty()) {
linksBuilder_.dispose();
linksBuilder_ = null;
links_ = other.links_;
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
linksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLinksFieldBuilder() : null;
} else {
linksBuilder_.addAllMessages(other.links_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getTopologyIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
}
// case 18
case 26:
{
context.ContextOuterClass.Device m = input.readMessage(context.ContextOuterClass.Device.parser(), extensionRegistry);
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.add(m);
} else {
devicesBuilder_.addMessage(m);
}
break;
}
// case 26
case 34:
{
context.ContextOuterClass.Link m = input.readMessage(context.ContextOuterClass.Link.parser(), extensionRegistry);
if (linksBuilder_ == null) {
ensureLinksIsMutable();
links_.add(m);
} else {
linksBuilder_.addMessage(m);
}
break;
}
// case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
}
/**
* <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;
} else {
topologyIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdBuilder_ == null) {
topologyId_ = builderForValue.build();
} else {
topologyIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && topologyId_ != null && topologyId_ != context.ContextOuterClass.TopologyId.getDefaultInstance()) {
getTopologyIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
topologyId_ = value;
}
} else {
topologyIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public Builder clearTopologyId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
/**
* <code>string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
Konstantinos Poulakakis
committed
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;
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
onChanged();
return this;
}
private java.util.List<context.ContextOuterClass.Device> devices_ = java.util.Collections.emptyList();
private void ensureDevicesIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000004) != 0)) {
Konstantinos Poulakakis
committed
devices_ = new java.util.ArrayList<context.ContextOuterClass.Device>(devices_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000004;
Konstantinos Poulakakis
committed
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
}
}
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_);
} else {
return devicesBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public int getDevicesCount() {
if (devicesBuilder_ == null) {
return devices_.size();
} else {
return devicesBuilder_.getCount();
}
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public context.ContextOuterClass.Device getDevices(int index) {
if (devicesBuilder_ == null) {
return devices_.get(index);
} else {
return devicesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Device devices = 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);
onChanged();
} else {
devicesBuilder_.setMessage(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());
onChanged();
} else {
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);
onChanged();
} else {
devicesBuilder_.addMessage(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);
onChanged();
} else {
devicesBuilder_.addMessage(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());
onChanged();
} else {
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());
onChanged();
} else {
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(values, devices_);
onChanged();
} else {
devicesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public Builder clearDevices() {
if (devicesBuilder_ == null) {
devices_ = java.util.Collections.emptyList();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000004);
Konstantinos Poulakakis
committed
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
onChanged();
} else {
devicesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public Builder removeDevices(int index) {
if (devicesBuilder_ == null) {
ensureDevicesIsMutable();
devices_.remove(index);
onChanged();
} else {
devicesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public context.ContextOuterClass.Device.Builder getDevicesBuilder(int index) {
return getDevicesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(int index) {
if (devicesBuilder_ == null) {
return devices_.get(index);
} else {
return devicesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Device devices = 3;</code>
*/
public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder> getDevicesOrBuilderList() {
if (devicesBuilder_ != null) {
return devicesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(devices_);
}
}
/**
* <code>repeated .context.Device devices = 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(int index) {
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) {
Konstantinos Poulakakis
committed
devicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder>(devices_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
devices_ = null;
}
return devicesBuilder_;
}
private java.util.List<context.ContextOuterClass.Link> links_ = java.util.Collections.emptyList();
private void ensureLinksIsMutable() {
Konstantinos Poulakakis
committed
if (!((bitField0_ & 0x00000008) != 0)) {
Konstantinos Poulakakis
committed
links_ = new java.util.ArrayList<context.ContextOuterClass.Link>(links_);
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000008;
Konstantinos Poulakakis
committed
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
}
}
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();
}
}
/**
* <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 {
linksBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Link links = 4;</code>
*/
public Builder clearLinks() {
if (linksBuilder_ == null) {
links_ = java.util.Collections.emptyList();
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000008);
Konstantinos Poulakakis
committed
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
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) {
Konstantinos Poulakakis
committed
linksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder>(links_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
Konstantinos Poulakakis
committed
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
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 {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
}
};
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>
*/
int getTopologyIdsCount();
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> getTopologyIdsOrBuilderList();
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(int index);
}
/**
* Protobuf type {@code context.TopologyIdList}
*/
public static final class TopologyIdList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.TopologyIdList)
TopologyIdListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyIdList.newBuilder() to construct.
private TopologyIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyIdList() {
topologyIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TopologyIdList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
}
public static final int TOPOLOGY_IDS_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
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
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> getTopologyIdsOrBuilderList() {
return topologyIds_;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public int getTopologyIdsCount() {
return topologyIds_.size();
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(int index) {
return topologyIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < topologyIds_.size(); i++) {
output.writeMessage(1, topologyIds_.get(i));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@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));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyIdList)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyIdList other = (context.ContextOuterClass.TopologyIdList) obj;
if (!getTopologyIdsList().equals(other.getTopologyIdsList()))
return false;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
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();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyIdList parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyIdList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyIdList}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:context.TopologyIdList)
context.ContextOuterClass.TopologyIdListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyIdList.newBuilder()
private Builder() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
topologyIds_ = null;
Konstantinos Poulakakis
committed
topologyIdsBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyIdList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList build() {
context.ContextOuterClass.TopologyIdList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList buildPartial() {
context.ContextOuterClass.TopologyIdList result = new context.ContextOuterClass.TopologyIdList(this);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.TopologyIdList result) {
Konstantinos Poulakakis
committed
if (topologyIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologyIds_ = topologyIds_;
} else {
result.topologyIds_ = topologyIdsBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.TopologyIdList result) {
int from_bitField0_ = bitField0_;
Konstantinos Poulakakis
committed
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyIdList) {
return mergeFrom((context.ContextOuterClass.TopologyIdList) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyIdList other) {
if (other == context.ContextOuterClass.TopologyIdList.getDefaultInstance())
return this;
if (topologyIdsBuilder_ == null) {
if (!other.topologyIds_.isEmpty()) {
if (topologyIds_.isEmpty()) {
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTopologyIdsIsMutable();
topologyIds_.addAll(other.topologyIds_);
}
onChanged();
}
} else {
if (!other.topologyIds_.isEmpty()) {
if (topologyIdsBuilder_.isEmpty()) {
topologyIdsBuilder_.dispose();
topologyIdsBuilder_ = null;
topologyIds_ = other.topologyIds_;
bitField0_ = (bitField0_ & ~0x00000001);
topologyIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTopologyIdsFieldBuilder() : null;
} else {
topologyIdsBuilder_.addAllMessages(other.topologyIds_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
context.ContextOuterClass.TopologyId m = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(m);
} else {
topologyIdsBuilder_.addMessage(m);
}
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ = java.util.Collections.emptyList();
private void ensureTopologyIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
if (topologyIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(topologyIds_);
} else {
return topologyIdsBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
return topologyIds_.size();
} else {
return topologyIdsBuilder_.getCount();
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index);
} else {
return topologyIdsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder setTopologyIds(int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.set(index, value);
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder setTopologyIds(int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.set(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(int index, context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologyIdsIsMutable();
topologyIds_.add(index, value);
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addTopologyIds(int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.add(index, builderForValue.build());
onChanged();
} else {
topologyIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder addAllTopologyIds(java.lang.Iterable<? extends context.ContextOuterClass.TopologyId> values) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topologyIds_);
onChanged();
} else {
topologyIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder clearTopologyIds() {
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
topologyIdsBuilder_.clear();
}
return this;
}
Konstantinos Poulakakis
committed
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
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public Builder removeTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
ensureTopologyIdsIsMutable();
topologyIds_.remove(index);
onChanged();
} else {
topologyIdsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(int index) {
return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(int index) {
if (topologyIdsBuilder_ == null) {
return topologyIds_.get(index);
} else {
return topologyIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> getTopologyIdsOrBuilderList() {
if (topologyIdsBuilder_ != null) {
return topologyIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(topologyIds_);
}
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
return getTopologyIdsFieldBuilder().addBuilder(context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(int index) {
return getTopologyIdsFieldBuilder().addBuilder(index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
* <code>repeated .context.TopologyId topology_ids = 1;</code>
*/
public java.util.List<context.ContextOuterClass.TopologyId.Builder> getTopologyIdsBuilderList() {
return getTopologyIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> getTopologyIdsFieldBuilder() {
if (topologyIdsBuilder_ == null) {
topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(topologyIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
topologyIds_ = null;
}
return topologyIdsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyIdList)
}
// @@protoc_insertion_point(class_scope:context.TopologyIdList)
private static final context.ContextOuterClass.TopologyIdList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyIdList();
}
public static context.ContextOuterClass.TopologyIdList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyIdList> PARSER = new com.google.protobuf.AbstractParser<TopologyIdList>() {
@java.lang.Override
public TopologyIdList parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
}
};
public static com.google.protobuf.Parser<TopologyIdList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyIdList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyListOrBuilder extends // @@protoc_insertion_point(interface_extends:context.TopologyList)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
java.util.List<context.ContextOuterClass.Topology> getTopologiesList();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
context.ContextOuterClass.Topology getTopologies(int index);
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
int getTopologiesCount();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder> getTopologiesOrBuilderList();
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(int index);
}
/**
* Protobuf type {@code context.TopologyList}
*/
public static final class TopologyList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.TopologyList)
TopologyListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyList.newBuilder() to construct.
private TopologyList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyList() {
topologies_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TopologyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyList.class, context.ContextOuterClass.TopologyList.Builder.class);
}
public static final int TOPOLOGIES_FIELD_NUMBER = 1;
Konstantinos Poulakakis
committed
@SuppressWarnings("serial")
Konstantinos Poulakakis
committed
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
private java.util.List<context.ContextOuterClass.Topology> topologies_;
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public java.util.List<context.ContextOuterClass.Topology> getTopologiesList() {
return topologies_;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder> getTopologiesOrBuilderList() {
return topologies_;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public int getTopologiesCount() {
return topologies_.size();
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.Topology getTopologies(int index) {
return topologies_.get(index);
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(int index) {
return topologies_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < topologies_.size(); i++) {
output.writeMessage(1, topologies_.get(i));
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
for (int i = 0; i < topologies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, topologies_.get(i));
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyList)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyList other = (context.ContextOuterClass.TopologyList) obj;
if (!getTopologiesList().equals(other.getTopologiesList()))
return false;
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTopologiesCount() > 0) {
hash = (37 * hash) + TOPOLOGIES_FIELD_NUMBER;
hash = (53 * hash) + getTopologiesList().hashCode();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyList parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyList parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyList}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:context.TopologyList)
context.ContextOuterClass.TopologyListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyList.class, context.ContextOuterClass.TopologyList.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyList.newBuilder()
private Builder() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
Konstantinos Poulakakis
committed
if (topologiesBuilder_ == null) {
topologies_ = java.util.Collections.emptyList();
} else {
Konstantinos Poulakakis
committed
topologies_ = null;
Konstantinos Poulakakis
committed
topologiesBuilder_.clear();
}
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
Konstantinos Poulakakis
committed
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyList_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyList.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyList build() {
context.ContextOuterClass.TopologyList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList buildPartial() {
context.ContextOuterClass.TopologyList result = new context.ContextOuterClass.TopologyList(this);
Konstantinos Poulakakis
committed
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartialRepeatedFields(context.ContextOuterClass.TopologyList result) {
Konstantinos Poulakakis
committed
if (topologiesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologies_ = java.util.Collections.unmodifiableList(topologies_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.topologies_ = topologies_;
} else {
result.topologies_ = topologiesBuilder_.build();
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.TopologyList result) {
int from_bitField0_ = bitField0_;
Konstantinos Poulakakis
committed
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyList) {
return mergeFrom((context.ContextOuterClass.TopologyList) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyList other) {
if (other == context.ContextOuterClass.TopologyList.getDefaultInstance())
return this;
if (topologiesBuilder_ == null) {
if (!other.topologies_.isEmpty()) {
if (topologies_.isEmpty()) {
topologies_ = other.topologies_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTopologiesIsMutable();
topologies_.addAll(other.topologies_);
}
onChanged();
}
} else {
if (!other.topologies_.isEmpty()) {
if (topologiesBuilder_.isEmpty()) {
topologiesBuilder_.dispose();
topologiesBuilder_ = null;
topologies_ = other.topologies_;
bitField0_ = (bitField0_ & ~0x00000001);
topologiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTopologiesFieldBuilder() : null;
} else {
topologiesBuilder_.addAllMessages(other.topologies_);
}
}
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
context.ContextOuterClass.Topology m = input.readMessage(context.ContextOuterClass.Topology.parser(), extensionRegistry);
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.add(m);
} else {
topologiesBuilder_.addMessage(m);
}
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
return this;
}
private int bitField0_;
private java.util.List<context.ContextOuterClass.Topology> topologies_ = java.util.Collections.emptyList();
private void ensureTopologiesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
topologies_ = new java.util.ArrayList<context.ContextOuterClass.Topology>(topologies_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder> topologiesBuilder_;
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Topology> getTopologiesList() {
if (topologiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(topologies_);
} else {
return topologiesBuilder_.getMessageList();
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public int getTopologiesCount() {
if (topologiesBuilder_ == null) {
return topologies_.size();
} else {
return topologiesBuilder_.getCount();
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology getTopologies(int index) {
if (topologiesBuilder_ == null) {
return topologies_.get(index);
} else {
return topologiesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder setTopologies(int index, context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.set(index, value);
onChanged();
} else {
topologiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder setTopologies(int index, context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.set(index, builderForValue.build());
onChanged();
} else {
topologiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.add(value);
onChanged();
} else {
topologiesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(int index, context.ContextOuterClass.Topology value) {
if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTopologiesIsMutable();
topologies_.add(index, value);
onChanged();
} else {
topologiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.add(builderForValue.build());
onChanged();
} else {
topologiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addTopologies(int index, context.ContextOuterClass.Topology.Builder builderForValue) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.add(index, builderForValue.build());
onChanged();
} else {
topologiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder addAllTopologies(java.lang.Iterable<? extends context.ContextOuterClass.Topology> values) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topologies_);
onChanged();
} else {
topologiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder clearTopologies() {
if (topologiesBuilder_ == null) {
topologies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
topologiesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public Builder removeTopologies(int index) {
if (topologiesBuilder_ == null) {
ensureTopologiesIsMutable();
topologies_.remove(index);
onChanged();
} else {
topologiesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder getTopologiesBuilder(int index) {
return getTopologiesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(int index) {
if (topologiesBuilder_ == null) {
return topologies_.get(index);
} else {
return topologiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<? extends context.ContextOuterClass.TopologyOrBuilder> getTopologiesOrBuilderList() {
if (topologiesBuilder_ != null) {
return topologiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(topologies_);
}
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder addTopologiesBuilder() {
return getTopologiesFieldBuilder().addBuilder(context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public context.ContextOuterClass.Topology.Builder addTopologiesBuilder(int index) {
return getTopologiesFieldBuilder().addBuilder(index, context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
* <code>repeated .context.Topology topologies = 1;</code>
*/
public java.util.List<context.ContextOuterClass.Topology.Builder> getTopologiesBuilderList() {
return getTopologiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder> getTopologiesFieldBuilder() {
if (topologiesBuilder_ == null) {
topologiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<context.ContextOuterClass.Topology, context.ContextOuterClass.Topology.Builder, context.ContextOuterClass.TopologyOrBuilder>(topologies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
topologies_ = null;
}
return topologiesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyList)
}
// @@protoc_insertion_point(class_scope:context.TopologyList)
private static final context.ContextOuterClass.TopologyList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyList();
}
public static context.ContextOuterClass.TopologyList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyList> PARSER = new com.google.protobuf.AbstractParser<TopologyList>() {
@java.lang.Override
public TopologyList parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
}
};
public static com.google.protobuf.Parser<TopologyList> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyList> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TopologyEventOrBuilder extends // @@protoc_insertion_point(interface_extends:context.TopologyEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
context.ContextOuterClass.Event getEvent();
/**
* <code>.context.Event event = 1;</code>
*/
context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
boolean hasTopologyId();
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
context.ContextOuterClass.TopologyId getTopologyId();
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
}
/**
* Protobuf type {@code context.TopologyEvent}
*/
public static final class TopologyEvent extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.TopologyEvent)
TopologyEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use TopologyEvent.newBuilder() to construct.
private TopologyEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TopologyEvent() {
}
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TopologyEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyEvent.class, context.ContextOuterClass.TopologyEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private context.ContextOuterClass.Event event_;
/**
* <code>.context.Event event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return event_ != null;
}
/**
* <code>.context.Event event = 1;</code>
* @return The event.
*/
@java.lang.Override
public context.ContextOuterClass.Event getEvent() {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
* <code>.context.Event event = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
Konstantinos Poulakakis
committed
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
Konstantinos Poulakakis
committed
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
}
public static final int TOPOLOGY_ID_FIELD_NUMBER = 2;
private context.ContextOuterClass.TopologyId topologyId_;
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
@java.lang.Override
public boolean hasTopologyId() {
return topologyId_ != null;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyId() {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
Konstantinos Poulakakis
committed
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
Konstantinos Poulakakis
committed
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (event_ != null) {
output.writeMessage(1, getEvent());
}
if (topologyId_ != null) {
output.writeMessage(2, getTopologyId());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (event_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEvent());
}
if (topologyId_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTopologyId());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.TopologyEvent)) {
return super.equals(obj);
}
context.ContextOuterClass.TopologyEvent other = (context.ContextOuterClass.TopologyEvent) obj;
if (hasEvent() != other.hasEvent())
return false;
if (hasEvent()) {
if (!getEvent().equals(other.getEvent()))
return false;
}
if (hasTopologyId() != other.hasTopologyId())
return false;
if (hasTopologyId()) {
if (!getTopologyId().equals(other.getTopologyId()))
return false;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasTopologyId()) {
hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyId().hashCode();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.TopologyEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.TopologyEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.TopologyEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code context.TopologyEvent}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:context.TopologyEvent)
context.ContextOuterClass.TopologyEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.TopologyEvent.class, context.ContextOuterClass.TopologyEvent.Builder.class);
}
// Construct using context.ContextOuterClass.TopologyEvent.newBuilder()
private Builder() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
event_ = null;
if (eventBuilder_ != null) {
eventBuilder_.dispose();
Konstantinos Poulakakis
committed
eventBuilder_ = null;
}
Konstantinos Poulakakis
committed
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
topologyIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent getDefaultInstanceForType() {
return context.ContextOuterClass.TopologyEvent.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent build() {
context.ContextOuterClass.TopologyEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent buildPartial() {
context.ContextOuterClass.TopologyEvent result = new context.ContextOuterClass.TopologyEvent(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.TopologyEvent result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.event_ = eventBuilder_ == null ? event_ : eventBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.topologyId_ = topologyIdBuilder_ == null ? topologyId_ : topologyIdBuilder_.build();
}
Konstantinos Poulakakis
committed
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.TopologyEvent) {
return mergeFrom((context.ContextOuterClass.TopologyEvent) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.TopologyEvent other) {
if (other == context.ContextOuterClass.TopologyEvent.getDefaultInstance())
return this;
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasTopologyId()) {
mergeTopologyId(other.getTopologyId());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getEventFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
case 18:
{
input.readMessage(getTopologyIdFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
}
// case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
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() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
}
/**
* <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;
} else {
eventBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder setEvent(context.ContextOuterClass.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder mergeEvent(context.ContextOuterClass.Event value) {
if (eventBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000001) != 0) && event_ != null && event_ != context.ContextOuterClass.Event.getDefaultInstance()) {
getEventBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
event_ = value;
}
} else {
eventBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public Builder clearEvent() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000001);
event_ = null;
if (eventBuilder_ != null) {
eventBuilder_.dispose();
Konstantinos Poulakakis
committed
eventBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.Event.Builder getEventBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
Konstantinos Poulakakis
committed
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* <code>.context.Event event = 1;</code>
*/
public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
* <code>.context.Event event = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(getEvent(), getParentForChildren(), isClean());
event_ = null;
}
return eventBuilder_;
}
private context.ContextOuterClass.TopologyId topologyId_;
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return Whether the topologyId field is set.
*/
public boolean hasTopologyId() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000002) != 0);
Konstantinos Poulakakis
committed
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
* @return The topologyId.
*/
public context.ContextOuterClass.TopologyId getTopologyId() {
if (topologyIdBuilder_ == null) {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
} else {
return topologyIdBuilder_.getMessage();
}
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
topologyId_ = value;
} else {
topologyIdBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder setTopologyId(context.ContextOuterClass.TopologyId.Builder builderForValue) {
if (topologyIdBuilder_ == null) {
topologyId_ = builderForValue.build();
} else {
topologyIdBuilder_.setMessage(builderForValue.build());
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
if (topologyIdBuilder_ == null) {
Konstantinos Poulakakis
committed
if (((bitField0_ & 0x00000002) != 0) && topologyId_ != null && topologyId_ != context.ContextOuterClass.TopologyId.getDefaultInstance()) {
getTopologyIdBuilder().mergeFrom(value);
Konstantinos Poulakakis
committed
} else {
topologyId_ = value;
}
} else {
topologyIdBuilder_.mergeFrom(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public Builder clearTopologyId() {
Konstantinos Poulakakis
committed
bitField0_ = (bitField0_ & ~0x00000002);
topologyId_ = null;
if (topologyIdBuilder_ != null) {
topologyIdBuilder_.dispose();
Konstantinos Poulakakis
committed
topologyIdBuilder_ = null;
}
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000002;
Konstantinos Poulakakis
committed
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
onChanged();
return getTopologyIdFieldBuilder().getBuilder();
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
if (topologyIdBuilder_ != null) {
return topologyIdBuilder_.getMessageOrBuilder();
} else {
return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
}
/**
* <code>.context.TopologyId topology_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> getTopologyIdFieldBuilder() {
if (topologyIdBuilder_ == null) {
topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(getTopologyId(), getParentForChildren(), isClean());
topologyId_ = null;
}
return topologyIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:context.TopologyEvent)
}
// @@protoc_insertion_point(class_scope:context.TopologyEvent)
private static final context.ContextOuterClass.TopologyEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyEvent();
}
public static context.ContextOuterClass.TopologyEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TopologyEvent> PARSER = new com.google.protobuf.AbstractParser<TopologyEvent>() {
@java.lang.Override
public TopologyEvent parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
Konstantinos Poulakakis
committed
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
Konstantinos Poulakakis
committed
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
}
};
public static com.google.protobuf.Parser<TopologyEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TopologyEvent> getParserForType() {
return PARSER;
}
@java.lang.Override
public context.ContextOuterClass.TopologyEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeviceIdOrBuilder extends // @@protoc_insertion_point(interface_extends:context.DeviceId)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
boolean hasDeviceUuid();
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
context.ContextOuterClass.Uuid getDeviceUuid();
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder();
}
/**
* <pre>
* ----- Device --------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.DeviceId}
*/
public static final class DeviceId extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.DeviceId)
DeviceIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeviceId.newBuilder() to construct.
private DeviceId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeviceId() {
}
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeviceId();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class);
}
public static final int DEVICE_UUID_FIELD_NUMBER = 1;
private context.ContextOuterClass.Uuid deviceUuid_;
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
@java.lang.Override
public boolean hasDeviceUuid() {
return deviceUuid_ != null;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
@java.lang.Override
public context.ContextOuterClass.Uuid getDeviceUuid() {
return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
@java.lang.Override
public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
Konstantinos Poulakakis
committed
return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
Konstantinos Poulakakis
committed
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (deviceUuid_ != null) {
output.writeMessage(1, getDeviceUuid());
}
Konstantinos Poulakakis
committed
getUnknownFields().writeTo(output);
Konstantinos Poulakakis
committed
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (deviceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDeviceUuid());
}
Konstantinos Poulakakis
committed
size += getUnknownFields().getSerializedSize();
Konstantinos Poulakakis
committed
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.DeviceId)) {
return super.equals(obj);
}
context.ContextOuterClass.DeviceId other = (context.ContextOuterClass.DeviceId) obj;
if (hasDeviceUuid() != other.hasDeviceUuid())
return false;
if (hasDeviceUuid()) {
if (!getDeviceUuid().equals(other.getDeviceUuid()))
return false;
}
Konstantinos Poulakakis
committed
if (!getUnknownFields().equals(other.getUnknownFields()))
Konstantinos Poulakakis
committed
return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDeviceUuid()) {
hash = (37 * hash) + DEVICE_UUID_FIELD_NUMBER;
hash = (53 * hash) + getDeviceUuid().hashCode();
}
Konstantinos Poulakakis
committed
hash = (29 * hash) + getUnknownFields().hashCode();
Konstantinos Poulakakis
committed
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
memoizedHashCode = hash;
return hash;
}
public static context.ContextOuterClass.DeviceId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static context.ContextOuterClass.DeviceId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static context.ContextOuterClass.DeviceId parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static context.ContextOuterClass.DeviceId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(context.ContextOuterClass.DeviceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* ----- Device --------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.DeviceId}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:context.DeviceId)
context.ContextOuterClass.DeviceIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_DeviceId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class);
}
// Construct using context.ContextOuterClass.DeviceId.newBuilder()
private Builder() {
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
Konstantinos Poulakakis
committed
bitField0_ = 0;
deviceUuid_ = null;
if (deviceUuidBuilder_ != null) {
deviceUuidBuilder_.dispose();
Konstantinos Poulakakis
committed
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
deviceUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return context.ContextOuterClass.internal_static_context_DeviceId_descriptor;
}
@java.lang.Override
public context.ContextOuterClass.DeviceId getDefaultInstanceForType() {
return context.ContextOuterClass.DeviceId.getDefaultInstance();
}
@java.lang.Override
public context.ContextOuterClass.DeviceId build() {
context.ContextOuterClass.DeviceId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public context.ContextOuterClass.DeviceId buildPartial() {
context.ContextOuterClass.DeviceId result = new context.ContextOuterClass.DeviceId(this);
Konstantinos Poulakakis
committed
if (bitField0_ != 0) {
buildPartial0(result);
Konstantinos Poulakakis
committed
}
onBuilt();
return result;
}
Konstantinos Poulakakis
committed
private void buildPartial0(context.ContextOuterClass.DeviceId result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.deviceUuid_ = deviceUuidBuilder_ == null ? deviceUuid_ : deviceUuidBuilder_.build();
}
Konstantinos Poulakakis
committed
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof context.ContextOuterClass.DeviceId) {
return mergeFrom((context.ContextOuterClass.DeviceId) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(context.ContextOuterClass.DeviceId other) {
if (other == context.ContextOuterClass.DeviceId.getDefaultInstance())
return this;
if (other.hasDeviceUuid()) {
mergeDeviceUuid(other.getDeviceUuid());
}
Konstantinos Poulakakis
committed
this.mergeUnknownFields(other.getUnknownFields());
Konstantinos Poulakakis
committed
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 {
Konstantinos Poulakakis
committed
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
Konstantinos Poulakakis
committed
try {
Konstantinos Poulakakis
committed
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getDeviceUuidFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
Konstantinos Poulakakis
committed
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
Konstantinos Poulakakis
committed
onChanged();
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
// finally
Konstantinos Poulakakis
committed
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
Konstantinos Poulakakis
committed
private context.ContextOuterClass.Uuid deviceUuid_;
private com.google.protobuf.SingleFieldBuilderV3<context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> deviceUuidBuilder_;
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return Whether the deviceUuid field is set.
*/
public boolean hasDeviceUuid() {
Konstantinos Poulakakis
committed
return ((bitField0_ & 0x00000001) != 0);
Konstantinos Poulakakis
committed
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
* @return The deviceUuid.
*/
public context.ContextOuterClass.Uuid getDeviceUuid() {
if (deviceUuidBuilder_ == null) {
return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
} else {
return deviceUuidBuilder_.getMessage();
}
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
public Builder setDeviceUuid(context.ContextOuterClass.Uuid value) {
if (deviceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceUuid_ = value;
} else {
deviceUuidBuilder_.setMessage(value);
}
Konstantinos Poulakakis
committed
bitField0_ |= 0x00000001;
onChanged();
Konstantinos Poulakakis
committed
return this;
}
/**
* <code>.context.Uuid device_uuid = 1;</code>
*/
Loading
Loading full blame...