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),
/**
* <code>DEVICEDRIVER_IETF_L3VPN = 13;</code>
*/
DEVICEDRIVER_IETF_L3VPN(13),
/**
* <code>DEVICEDRIVER_IETF_SLICE = 14;</code>
*/
DEVICEDRIVER_IETF_SLICE(14),
/**
* <code>DEVICEDRIVER_NCE = 15;</code>
*/
DEVICEDRIVER_NCE(15),
/**
* <code>DEVICEDRIVER_SMARTNIC = 16;</code>
*/
DEVICEDRIVER_SMARTNIC(16),
Konstantinos Poulakakis
committed
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
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;
/**
* <code>DEVICEDRIVER_IETF_L3VPN = 13;</code>
*/
public static final int DEVICEDRIVER_IETF_L3VPN_VALUE = 13;
/**
* <code>DEVICEDRIVER_IETF_SLICE = 14;</code>
*/
public static final int DEVICEDRIVER_IETF_SLICE_VALUE = 14;
/**
* <code>DEVICEDRIVER_NCE = 15;</code>
*/
public static final int DEVICEDRIVER_NCE_VALUE = 15;
/**
* <code>DEVICEDRIVER_SMARTNIC = 16;</code>
*/
public static final int DEVICEDRIVER_SMARTNIC_VALUE = 16;
Konstantinos Poulakakis
committed
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
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;
case 13:
return DEVICEDRIVER_IETF_L3VPN;
case 14:
return DEVICEDRIVER_IETF_SLICE;
case 15:
return DEVICEDRIVER_NCE;
case 16:
return DEVICEDRIVER_SMARTNIC;
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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
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
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DeviceOperationalStatusEnum(int value) {
this.value = value;
}
}
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
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
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
/**
* Protobuf enum {@code context.LinkTypeEnum}
*/
public enum LinkTypeEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>LINKTYPE_UNKNOWN = 0;</code>
*/
LINKTYPE_UNKNOWN(0),
/**
* <code>LINKTYPE_COPPER = 1;</code>
*/
LINKTYPE_COPPER(1),
/**
* <code>LINKTYPE_FIBER = 2;</code>
*/
LINKTYPE_FIBER(2),
/**
* <code>LINKTYPE_RADIO = 3;</code>
*/
LINKTYPE_RADIO(3),
/**
* <code>LINKTYPE_VIRTUAL = 4;</code>
*/
LINKTYPE_VIRTUAL(4),
UNRECOGNIZED(-1);
/**
* <code>LINKTYPE_UNKNOWN = 0;</code>
*/
public static final int LINKTYPE_UNKNOWN_VALUE = 0;
/**
* <code>LINKTYPE_COPPER = 1;</code>
*/
public static final int LINKTYPE_COPPER_VALUE = 1;
/**
* <code>LINKTYPE_FIBER = 2;</code>
*/
public static final int LINKTYPE_FIBER_VALUE = 2;
/**
* <code>LINKTYPE_RADIO = 3;</code>
*/
public static final int LINKTYPE_RADIO_VALUE = 3;
/**
* <code>LINKTYPE_VIRTUAL = 4;</code>
*/
public static final int LINKTYPE_VIRTUAL_VALUE = 4;
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 LinkTypeEnum 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 LinkTypeEnum forNumber(int value) {
switch(value) {
case 0:
return LINKTYPE_UNKNOWN;
case 1:
return LINKTYPE_COPPER;
case 2:
return LINKTYPE_FIBER;
case 3:
return LINKTYPE_RADIO;
case 4:
return LINKTYPE_VIRTUAL;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LinkTypeEnum> internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<LinkTypeEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<LinkTypeEnum>() {
public LinkTypeEnum findValueByNumber(int number) {
return LinkTypeEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(3);
}
private static final LinkTypeEnum[] VALUES = values();
public static LinkTypeEnum 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 LinkTypeEnum(int value) {
this.value = value;
}
}
Konstantinos Poulakakis
committed
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
/**
* 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),
Konstantinos Poulakakis
committed
/**
* <code>SERVICETYPE_QKD = 7;</code>
*/
SERVICETYPE_QKD(7),
Konstantinos Poulakakis
committed
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
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;
Konstantinos Poulakakis
committed
/**
* <code>SERVICETYPE_QKD = 7;</code>
*/
public static final int SERVICETYPE_QKD_VALUE = 7;
Konstantinos Poulakakis
committed
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
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
case 7:
return SERVICETYPE_QKD;
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(4);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
private static final ServiceTypeEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
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(5);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
private static final ServiceStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
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(6);
Konstantinos Poulakakis
committed
}
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
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
* <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(7);
Konstantinos Poulakakis
committed
}
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
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
* <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
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
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(8);
Konstantinos Poulakakis
committed
}
Konstantinos Poulakakis
committed
private static final ConstraintActionEnum[] VALUES = values();
Konstantinos Poulakakis
committed
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
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(9);
Konstantinos Poulakakis
committed
}
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
boolean done = false;
while (!done) {
Konstantinos Poulakakis
committed
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
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}
*/
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
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
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
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
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
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
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
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
}
};
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;
}
}
Loading
Loading full blame...