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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
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_FLEXSCALE = 9;</code>
*/
DEVICEDRIVER_FLEXSCALE(9),
/**
* <code>DEVICEDRIVER_IETF_ACTN = 10;</code>
*/
DEVICEDRIVER_IETF_ACTN(10),
UNRECOGNIZED(-1);
/**
* <pre>
* also used for emulated
* </pre>
*
Konstantinos Poulakakis
committed
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
* <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_FLEXSCALE = 9;</code>
*/
public static final int DEVICEDRIVER_FLEXSCALE_VALUE = 9;
/**
* <code>DEVICEDRIVER_IETF_ACTN = 10;</code>
*/
public static final int DEVICEDRIVER_IETF_ACTN_VALUE = 10;
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:
return DEVICEDRIVER_FLEXSCALE;
case 10:
return DEVICEDRIVER_IETF_ACTN;
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DeviceOperationalStatusEnum(int value) {
this.value = value;
}
}
/**
* Protobuf enum {@code context.ServiceTypeEnum}
*/
public enum ServiceTypeEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SERVICETYPE_UNKNOWN = 0;</code>
*/
SERVICETYPE_UNKNOWN(0),
/**
* <code>SERVICETYPE_L3NM = 1;</code>
*/
SERVICETYPE_L3NM(1),
/**
* <code>SERVICETYPE_L2NM = 2;</code>
*/
SERVICETYPE_L2NM(2),
/**
* <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
*/
SERVICETYPE_TAPI_CONNECTIVITY_SERVICE(3),
/**
* <code>SERVICETYPE_TE = 4;</code>
*/
SERVICETYPE_TE(4),
/**
* <code>SERVICETYPE_E2E = 5;</code>
*/
SERVICETYPE_E2E(5),
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;
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;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>() {
Konstantinos Poulakakis
committed
public ServiceTypeEnum findValueByNumber(int number) {
return ServiceTypeEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(3);
}
Konstantinos Poulakakis
committed
private static final ServiceTypeEnum[] VALUES = values();
Konstantinos Poulakakis
committed
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
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
public static ServiceTypeEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ServiceTypeEnum(int value) {
this.value = value;
}
}
/**
* Protobuf enum {@code context.ServiceStatusEnum}
*/
public enum ServiceStatusEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SERVICESTATUS_UNDEFINED = 0;</code>
*/
SERVICESTATUS_UNDEFINED(0),
/**
* <code>SERVICESTATUS_PLANNED = 1;</code>
*/
SERVICESTATUS_PLANNED(1),
/**
* <code>SERVICESTATUS_ACTIVE = 2;</code>
*/
SERVICESTATUS_ACTIVE(2),
/**
* <code>SERVICESTATUS_UPDATING = 3;</code>
*/
SERVICESTATUS_UPDATING(3),
/**
* <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
*/
SERVICESTATUS_PENDING_REMOVAL(4),
/**
* <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
*/
SERVICESTATUS_SLA_VIOLATED(5),
UNRECOGNIZED(-1);
/**
* <code>SERVICESTATUS_UNDEFINED = 0;</code>
*/
public static final int SERVICESTATUS_UNDEFINED_VALUE = 0;
/**
* <code>SERVICESTATUS_PLANNED = 1;</code>
*/
public static final int SERVICESTATUS_PLANNED_VALUE = 1;
/**
* <code>SERVICESTATUS_ACTIVE = 2;</code>
*/
public static final int SERVICESTATUS_ACTIVE_VALUE = 2;
/**
* <code>SERVICESTATUS_UPDATING = 3;</code>
*/
public static final int SERVICESTATUS_UPDATING_VALUE = 3;
/**
* <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
*/
public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
/**
* <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
*/
public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServiceStatusEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ServiceStatusEnum forNumber(int value) {
switch(value) {
case 0:
return SERVICESTATUS_UNDEFINED;
case 1:
return SERVICESTATUS_PLANNED;
case 2:
return SERVICESTATUS_ACTIVE;
case 3:
return SERVICESTATUS_UPDATING;
case 4:
return SERVICESTATUS_PENDING_REMOVAL;
case 5:
return SERVICESTATUS_SLA_VIOLATED;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>() {
public ServiceStatusEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return ServiceStatusEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(4);
}
Konstantinos Poulakakis
committed
private static final ServiceStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
738
739
740
741
742
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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
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
public static ServiceStatusEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ServiceStatusEnum(int value) {
this.value = value;
}
}
/**
* Protobuf enum {@code context.SliceStatusEnum}
*/
public enum SliceStatusEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SLICESTATUS_UNDEFINED = 0;</code>
*/
SLICESTATUS_UNDEFINED(0),
/**
* <code>SLICESTATUS_PLANNED = 1;</code>
*/
SLICESTATUS_PLANNED(1),
/**
* <code>SLICESTATUS_INIT = 2;</code>
*/
SLICESTATUS_INIT(2),
/**
* <code>SLICESTATUS_ACTIVE = 3;</code>
*/
SLICESTATUS_ACTIVE(3),
/**
* <code>SLICESTATUS_DEINIT = 4;</code>
*/
SLICESTATUS_DEINIT(4),
/**
* <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
*/
SLICESTATUS_SLA_VIOLATED(5),
UNRECOGNIZED(-1);
/**
* <code>SLICESTATUS_UNDEFINED = 0;</code>
*/
public static final int SLICESTATUS_UNDEFINED_VALUE = 0;
/**
* <code>SLICESTATUS_PLANNED = 1;</code>
*/
public static final int SLICESTATUS_PLANNED_VALUE = 1;
/**
* <code>SLICESTATUS_INIT = 2;</code>
*/
public static final int SLICESTATUS_INIT_VALUE = 2;
/**
* <code>SLICESTATUS_ACTIVE = 3;</code>
*/
public static final int SLICESTATUS_ACTIVE_VALUE = 3;
/**
* <code>SLICESTATUS_DEINIT = 4;</code>
*/
public static final int SLICESTATUS_DEINIT_VALUE = 4;
/**
* <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
*/
public static final int SLICESTATUS_SLA_VIOLATED_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SliceStatusEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SliceStatusEnum forNumber(int value) {
switch(value) {
case 0:
return SLICESTATUS_UNDEFINED;
case 1:
return SLICESTATUS_PLANNED;
case 2:
return SLICESTATUS_INIT;
case 3:
return SLICESTATUS_ACTIVE;
case 4:
return SLICESTATUS_DEINIT;
case 5:
return SLICESTATUS_SLA_VIOLATED;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>() {
public SliceStatusEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return SliceStatusEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(5);
}
Konstantinos Poulakakis
committed
private static final SliceStatusEnum[] VALUES = values();
Konstantinos Poulakakis
committed
public static SliceStatusEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private SliceStatusEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
* <pre>
* ----- Configuration -------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf enum {@code context.ConfigActionEnum}
*/
public enum ConfigActionEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CONFIGACTION_UNDEFINED = 0;</code>
*/
CONFIGACTION_UNDEFINED(0),
/**
* <code>CONFIGACTION_SET = 1;</code>
*/
CONFIGACTION_SET(1),
/**
* <code>CONFIGACTION_DELETE = 2;</code>
*/
CONFIGACTION_DELETE(2),
UNRECOGNIZED(-1);
/**
* <code>CONFIGACTION_UNDEFINED = 0;</code>
*/
public static final int CONFIGACTION_UNDEFINED_VALUE = 0;
/**
* <code>CONFIGACTION_SET = 1;</code>
*/
public static final int CONFIGACTION_SET_VALUE = 1;
/**
* <code>CONFIGACTION_DELETE = 2;</code>
*/
public static final int CONFIGACTION_DELETE_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConfigActionEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConfigActionEnum forNumber(int value) {
switch(value) {
case 0:
return CONFIGACTION_UNDEFINED;
case 1:
return CONFIGACTION_SET;
case 2:
return CONFIGACTION_DELETE;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum> internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>() {
public ConfigActionEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return ConfigActionEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(6);
}
Konstantinos Poulakakis
committed
private static final ConfigActionEnum[] VALUES = values();
Konstantinos Poulakakis
committed
public static ConfigActionEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private ConfigActionEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
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
* <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
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConstraintActionEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConstraintActionEnum forNumber(int value) {
switch(value) {
case 0:
return CONSTRAINTACTION_UNDEFINED;
case 1:
return CONSTRAINTACTION_SET;
case 2:
return CONSTRAINTACTION_DELETE;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ConstraintActionEnum>() {
Konstantinos Poulakakis
committed
public ConstraintActionEnum findValueByNumber(int number) {
return ConstraintActionEnum.forNumber(number);
}
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(7);
}
Konstantinos Poulakakis
committed
private static final ConstraintActionEnum[] VALUES = values();
Konstantinos Poulakakis
committed
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
public static ConstraintActionEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConstraintActionEnum(int value) {
this.value = value;
}
}
/**
* Protobuf enum {@code context.IsolationLevelEnum}
*/
public enum IsolationLevelEnum implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NO_ISOLATION = 0;</code>
*/
NO_ISOLATION(0),
/**
* <code>PHYSICAL_ISOLATION = 1;</code>
*/
PHYSICAL_ISOLATION(1),
/**
* <code>LOGICAL_ISOLATION = 2;</code>
*/
LOGICAL_ISOLATION(2),
/**
* <code>PROCESS_ISOLATION = 3;</code>
*/
PROCESS_ISOLATION(3),
/**
* <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
*/
PHYSICAL_MEMORY_ISOLATION(4),
/**
* <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
*/
PHYSICAL_NETWORK_ISOLATION(5),
/**
* <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
*/
VIRTUAL_RESOURCE_ISOLATION(6),
/**
* <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
*/
NETWORK_FUNCTIONS_ISOLATION(7),
/**
* <code>SERVICE_ISOLATION = 8;</code>
*/
SERVICE_ISOLATION(8),
UNRECOGNIZED(-1);
/**
* <code>NO_ISOLATION = 0;</code>
*/
public static final int NO_ISOLATION_VALUE = 0;
/**
* <code>PHYSICAL_ISOLATION = 1;</code>
*/
public static final int PHYSICAL_ISOLATION_VALUE = 1;
/**
* <code>LOGICAL_ISOLATION = 2;</code>
*/
public static final int LOGICAL_ISOLATION_VALUE = 2;
/**
* <code>PROCESS_ISOLATION = 3;</code>
*/
public static final int PROCESS_ISOLATION_VALUE = 3;
/**
* <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
*/
public static final int PHYSICAL_MEMORY_ISOLATION_VALUE = 4;
/**
* <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
*/
public static final int PHYSICAL_NETWORK_ISOLATION_VALUE = 5;
/**
* <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
*/
public static final int VIRTUAL_RESOURCE_ISOLATION_VALUE = 6;
/**
* <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
*/
public static final int NETWORK_FUNCTIONS_ISOLATION_VALUE = 7;
/**
* <code>SERVICE_ISOLATION = 8;</code>
*/
public static final int SERVICE_ISOLATION_VALUE = 8;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IsolationLevelEnum valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static IsolationLevelEnum forNumber(int value) {
switch(value) {
case 0:
return NO_ISOLATION;
case 1:
return PHYSICAL_ISOLATION;
case 2:
return LOGICAL_ISOLATION;
case 3:
return PROCESS_ISOLATION;
case 4:
return PHYSICAL_MEMORY_ISOLATION;
case 5:
return PHYSICAL_NETWORK_ISOLATION;
case 6:
return VIRTUAL_RESOURCE_ISOLATION;
case 7:
return NETWORK_FUNCTIONS_ISOLATION;
case 8:
return SERVICE_ISOLATION;
default:
return null;
}
}
Konstantinos Poulakakis
committed
public static com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum> internalGetValueMap() {
return internalValueMap;
}
Konstantinos Poulakakis
committed
private static final com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>() {
public IsolationLevelEnum findValueByNumber(int number) {
Konstantinos Poulakakis
committed
return IsolationLevelEnum.forNumber(number);
Konstantinos Poulakakis
committed
};
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
Konstantinos Poulakakis
committed
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return context.ContextOuterClass.getDescriptor().getEnumTypes().get(8);
}
Konstantinos Poulakakis
committed
private static final IsolationLevelEnum[] VALUES = values();
Konstantinos Poulakakis
committed
public static IsolationLevelEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
Konstantinos Poulakakis
committed
private final int value;
Konstantinos Poulakakis
committed
private IsolationLevelEnum(int value) {
this.value = value;
}
Konstantinos Poulakakis
committed
public interface EmptyOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Empty)
com.google.protobuf.MessageOrBuilder {
}
/**
* <pre>
* ----- Generic -------------------------------------------------------------------------------------------------------
* </pre>
*
* Protobuf type {@code context.Empty}
*/
Konstantinos Poulakakis
committed
public static final class Empty extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Empty)
EmptyOrBuilder {
Konstantinos Poulakakis
committed
private static final long serialVersionUID = 0L;
Konstantinos Poulakakis
committed
// Use Empty.newBuilder() to construct.
private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
Konstantinos Poulakakis
committed
private Empty() {
}
Konstantinos Poulakakis
committed
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Empty();
}
Konstantinos Poulakakis
committed
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return context.ContextOuterClass.internal_static_context_Empty_descriptor;
}
Konstantinos Poulakakis
committed
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
}
Konstantinos Poulakakis
committed
private byte memoizedIsInitialized = -1;
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getUnknownFields().writeTo(output);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
size += getUnknownFields().getSerializedSize();
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;
if (!getUnknownFields().equals(other.getUnknownFields()))
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();
hash = (29 * hash) + getUnknownFields().hashCode();
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;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
}
// finally
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 {
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
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 {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
getUnknownFields().writeTo(output);
}
Konstantinos Poulakakis
committed
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
Konstantinos Poulakakis
committed
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof context.ContextOuterClass.Uuid)) {
return super.equals(obj);
}
context.ContextOuterClass.Uuid other = (context.ContextOuterClass.Uuid) obj;
if (!getUuid().equals(other.getUuid()))
return false;
if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
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();
bitField0_ = 0;
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);
if (bitField0_ != 0) {
buildPartial0(result);
}
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
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
Konstantinos Poulakakis
committed
@java.lang.Override
public final boolean isInitialized() {
return true;
}
Konstantinos Poulakakis
committed
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch(tag) {
case 0:
done = true;
break;
case 10:
{
uuid_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
}
// case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
// was an endgroup tag
done = true;
}
break;
}
}
// switch (tag)
}
// while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
}
// finally
return this;
}
Konstantinos Poulakakis
committed
private int bitField0_;
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;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
Konstantinos Poulakakis
committed
/**
* <code>string uuid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
bitField0_ = (bitField0_ & ~0x00000001);
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;
bitField0_ |= 0x00000001;
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 {
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
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
Loading
Loading full blame...