aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/TestBed/java/slownorthwind/Slownwind.java
blob: 23c6193bfdd01694aa6230c8dc54ebb39dbd05ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
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
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
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
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
// Generated by the protocol buffer compiler.  DO NOT EDIT!

package slownorthwind;

public final class Slownwind {
  private Slownwind() {}
  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static final com.google.protobuf.Descriptors.FileDescriptor
      descriptor = buildDescriptor();
  private static
      com.google.protobuf.Descriptors.FileDescriptor
      buildDescriptor() {
    java.lang.String descriptorData =
      "\n\017slownwind.proto\022\rslownorthwind\032\rslowbc" +
      "l.proto\"0\n\010Database\022$\n\006Orders\030\001 \003(\0132\024.sl" +
      "ownorthwind.Order\"\216\003\n\005Order\022\017\n\007OrderID\030\001" +
      " \001(\005\022\022\n\nCustomerID\030\002 \001(\t\022\022\n\nEmployeeID\030\003" +
      " \001(\005\022$\n\tOrderDate\030\004 \001(\0132\021.slowbcl.DateTi" +
      "me\022\'\n\014RequiredDate\030\005 \001(\0132\021.slowbcl.DateT" +
      "ime\022&\n\013ShippedDate\030\006 \001(\0132\021.slowbcl.DateT" +
      "ime\022\017\n\007ShipVia\030\007 \001(\005\022!\n\007Freight\030\010 \001(\0132\020." +
      "slowbcl.Decimal\022\020\n\010ShipName\030\t \001(\t\022\023\n\013Shi" +
      "pAddress\030\n \001(\t\022\020\n\010ShipCity\030\013 \001(\t\022\022\n\nShip" +
      "Region\030\014 \001(\t\022\026\n\016ShipPostalCode\030\r \001(\t\022\023\n\013" +
      "ShipCountry\030\016 \001(\t\022\'\n\005Lines\030\017 \003(\0132\030.slown" +
      "orthwind.OrderLine\"x\n\tOrderLine\022\017\n\007Order" +
      "ID\030\001 \001(\005\022\021\n\tProductID\030\002 \001(\005\022#\n\tUnitPrice" +
      "\030\003 \001(\0132\020.slowbcl.Decimal\022\020\n\010Quantity\030\004 \001" +
      "(\021\022\020\n\010Discount\030\005 \001(\002B)\302>\rSlowNorthwind\312>" +
      "\026SlowNorthwindProtoFile";
    try {
      return com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            slowbcl.Slowbcl.getDescriptor(),
          });
    } catch (Exception e) {
      throw new RuntimeException(
        "Failed to parse protocol buffer descriptor for " +
        "\"slownwind.proto\".", e);
    }
  }
  
  public static final class Database extends
      com.google.protobuf.GeneratedMessage {
    // Use Database.newBuilder() to construct.
    private Database() {}
    
    private static final Database defaultInstance = new Database();
    public static Database getDefaultInstance() {
      return defaultInstance;
    }
    
    public Database getDefaultInstanceForType() {
      return defaultInstance;
    }
    
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_Database_descriptor;
    }
    
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_Database_fieldAccessorTable;
    }
    
    // repeated .slownorthwind.Order Orders = 1;
    private java.util.List<slownorthwind.Slownwind.Order> orders_ =
      java.util.Collections.emptyList();
    public java.util.List<slownorthwind.Slownwind.Order> getOrdersList() {
      return orders_;
    }
    public int getOrdersCount() { return orders_.size(); }
    public slownorthwind.Slownwind.Order getOrders(int index) {
      return orders_.get(index);
    }
    
    public static slownorthwind.Slownwind.Database parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.Database parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    
    public static Builder newBuilder() { return new Builder(); }
    public Builder newBuilderForType() { return new Builder(); }
    public static Builder newBuilder(slownorthwind.Slownwind.Database prototype) {
      return new Builder().mergeFrom(prototype);
    }
    
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> {
      // Construct using slownorthwind.Slownwind.Database.newBuilder()
      private Builder() {}
      
      slownorthwind.Slownwind.Database result = new slownorthwind.Slownwind.Database();
      
      protected slownorthwind.Slownwind.Database internalGetResult() {
        return result;
      }
      
      public Builder clear() {
        result = new slownorthwind.Slownwind.Database();
        return this;
      }
      
      public Builder clone() {
        return new Builder().mergeFrom(result);
      }
      
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return slownorthwind.Slownwind.Database.getDescriptor();
      }
      
      public slownorthwind.Slownwind.Database getDefaultInstanceForType() {
        return slownorthwind.Slownwind.Database.getDefaultInstance();
      }
      
      public slownorthwind.Slownwind.Database build() {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result);
        }
        return buildPartial();
      }
      
      private slownorthwind.Slownwind.Database buildParsed()
          throws com.google.protobuf.InvalidProtocolBufferException {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result).asInvalidProtocolBufferException();
        }
        return buildPartial();
      }
      
      public slownorthwind.Slownwind.Database buildPartial() {
        if (result.orders_ != java.util.Collections.EMPTY_LIST) {
          result.orders_ =
            java.util.Collections.unmodifiableList(result.orders_);
        }
        slownorthwind.Slownwind.Database returnMe = result;
        result = null;
        return returnMe;
      }
      
      
      // repeated .slownorthwind.Order Orders = 1;
      public java.util.List<slownorthwind.Slownwind.Order> getOrdersList() {
        return java.util.Collections.unmodifiableList(result.orders_);
      }
      public int getOrdersCount() {
        return result.getOrdersCount();
      }
      public slownorthwind.Slownwind.Order getOrders(int index) {
        return result.getOrders(index);
      }
      public Builder setOrders(int index, slownorthwind.Slownwind.Order value) {
        result.orders_.set(index, value);
        return this;
      }
      public Builder setOrders(int index, slownorthwind.Slownwind.Order.Builder builderForValue) {
        result.orders_.set(index, builderForValue.build());
        return this;
      }
      public Builder addOrders(slownorthwind.Slownwind.Order value) {
        if (result.orders_.isEmpty()) {
          result.orders_ = new java.util.ArrayList<slownorthwind.Slownwind.Order>();
        }
        result.orders_.add(value);
        return this;
      }
      public Builder addOrders(slownorthwind.Slownwind.Order.Builder builderForValue) {
        if (result.orders_.isEmpty()) {
          result.orders_ = new java.util.ArrayList<slownorthwind.Slownwind.Order>();
        }
        result.orders_.add(builderForValue.build());
        return this;
      }
      public Builder addAllOrders(
          java.lang.Iterable<? extends slownorthwind.Slownwind.Order> values) {
        if (result.orders_.isEmpty()) {
          result.orders_ = new java.util.ArrayList<slownorthwind.Slownwind.Order>();
        }
        super.addAll(values, result.orders_);
        return this;
      }
      public Builder clearOrders() {
        result.orders_ = java.util.Collections.emptyList();
        return this;
      }
    }
  }
  
  public static final class Order extends
      com.google.protobuf.GeneratedMessage {
    // Use Order.newBuilder() to construct.
    private Order() {}
    
    private static final Order defaultInstance = new Order();
    public static Order getDefaultInstance() {
      return defaultInstance;
    }
    
    public Order getDefaultInstanceForType() {
      return defaultInstance;
    }
    
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_Order_descriptor;
    }
    
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_Order_fieldAccessorTable;
    }
    
    // optional int32 OrderID = 1;
    private boolean hasOrderID;
    private int orderID_ = 0;
    public boolean hasOrderID() { return hasOrderID; }
    public int getOrderID() { return orderID_; }
    
    // optional string CustomerID = 2;
    private boolean hasCustomerID;
    private java.lang.String customerID_ = "";
    public boolean hasCustomerID() { return hasCustomerID; }
    public java.lang.String getCustomerID() { return customerID_; }
    
    // optional int32 EmployeeID = 3;
    private boolean hasEmployeeID;
    private int employeeID_ = 0;
    public boolean hasEmployeeID() { return hasEmployeeID; }
    public int getEmployeeID() { return employeeID_; }
    
    // optional .slowbcl.DateTime OrderDate = 4;
    private boolean hasOrderDate;
    private slowbcl.Slowbcl.DateTime orderDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
    public boolean hasOrderDate() { return hasOrderDate; }
    public slowbcl.Slowbcl.DateTime getOrderDate() { return orderDate_; }
    
    // optional .slowbcl.DateTime RequiredDate = 5;
    private boolean hasRequiredDate;
    private slowbcl.Slowbcl.DateTime requiredDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
    public boolean hasRequiredDate() { return hasRequiredDate; }
    public slowbcl.Slowbcl.DateTime getRequiredDate() { return requiredDate_; }
    
    // optional .slowbcl.DateTime ShippedDate = 6;
    private boolean hasShippedDate;
    private slowbcl.Slowbcl.DateTime shippedDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
    public boolean hasShippedDate() { return hasShippedDate; }
    public slowbcl.Slowbcl.DateTime getShippedDate() { return shippedDate_; }
    
    // optional int32 ShipVia = 7;
    private boolean hasShipVia;
    private int shipVia_ = 0;
    public boolean hasShipVia() { return hasShipVia; }
    public int getShipVia() { return shipVia_; }
    
    // optional .slowbcl.Decimal Freight = 8;
    private boolean hasFreight;
    private slowbcl.Slowbcl.Decimal freight_ = slowbcl.Slowbcl.Decimal.getDefaultInstance();
    public boolean hasFreight() { return hasFreight; }
    public slowbcl.Slowbcl.Decimal getFreight() { return freight_; }
    
    // optional string ShipName = 9;
    private boolean hasShipName;
    private java.lang.String shipName_ = "";
    public boolean hasShipName() { return hasShipName; }
    public java.lang.String getShipName() { return shipName_; }
    
    // optional string ShipAddress = 10;
    private boolean hasShipAddress;
    private java.lang.String shipAddress_ = "";
    public boolean hasShipAddress() { return hasShipAddress; }
    public java.lang.String getShipAddress() { return shipAddress_; }
    
    // optional string ShipCity = 11;
    private boolean hasShipCity;
    private java.lang.String shipCity_ = "";
    public boolean hasShipCity() { return hasShipCity; }
    public java.lang.String getShipCity() { return shipCity_; }
    
    // optional string ShipRegion = 12;
    private boolean hasShipRegion;
    private java.lang.String shipRegion_ = "";
    public boolean hasShipRegion() { return hasShipRegion; }
    public java.lang.String getShipRegion() { return shipRegion_; }
    
    // optional string ShipPostalCode = 13;
    private boolean hasShipPostalCode;
    private java.lang.String shipPostalCode_ = "";
    public boolean hasShipPostalCode() { return hasShipPostalCode; }
    public java.lang.String getShipPostalCode() { return shipPostalCode_; }
    
    // optional string ShipCountry = 14;
    private boolean hasShipCountry;
    private java.lang.String shipCountry_ = "";
    public boolean hasShipCountry() { return hasShipCountry; }
    public java.lang.String getShipCountry() { return shipCountry_; }
    
    // repeated .slownorthwind.OrderLine Lines = 15;
    private java.util.List<slownorthwind.Slownwind.OrderLine> lines_ =
      java.util.Collections.emptyList();
    public java.util.List<slownorthwind.Slownwind.OrderLine> getLinesList() {
      return lines_;
    }
    public int getLinesCount() { return lines_.size(); }
    public slownorthwind.Slownwind.OrderLine getLines(int index) {
      return lines_.get(index);
    }
    
    public static slownorthwind.Slownwind.Order parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.Order parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    
    public static Builder newBuilder() { return new Builder(); }
    public Builder newBuilderForType() { return new Builder(); }
    public static Builder newBuilder(slownorthwind.Slownwind.Order prototype) {
      return new Builder().mergeFrom(prototype);
    }
    
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> {
      // Construct using slownorthwind.Slownwind.Order.newBuilder()
      private Builder() {}
      
      slownorthwind.Slownwind.Order result = new slownorthwind.Slownwind.Order();
      
      protected slownorthwind.Slownwind.Order internalGetResult() {
        return result;
      }
      
      public Builder clear() {
        result = new slownorthwind.Slownwind.Order();
        return this;
      }
      
      public Builder clone() {
        return new Builder().mergeFrom(result);
      }
      
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return slownorthwind.Slownwind.Order.getDescriptor();
      }
      
      public slownorthwind.Slownwind.Order getDefaultInstanceForType() {
        return slownorthwind.Slownwind.Order.getDefaultInstance();
      }
      
      public slownorthwind.Slownwind.Order build() {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result);
        }
        return buildPartial();
      }
      
      private slownorthwind.Slownwind.Order buildParsed()
          throws com.google.protobuf.InvalidProtocolBufferException {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result).asInvalidProtocolBufferException();
        }
        return buildPartial();
      }
      
      public slownorthwind.Slownwind.Order buildPartial() {
        if (result.lines_ != java.util.Collections.EMPTY_LIST) {
          result.lines_ =
            java.util.Collections.unmodifiableList(result.lines_);
        }
        slownorthwind.Slownwind.Order returnMe = result;
        result = null;
        return returnMe;
      }
      
      
      // optional int32 OrderID = 1;
      public boolean hasOrderID() {
        return result.hasOrderID();
      }
      public int getOrderID() {
        return result.getOrderID();
      }
      public Builder setOrderID(int value) {
        result.hasOrderID = true;
        result.orderID_ = value;
        return this;
      }
      public Builder clearOrderID() {
        result.hasOrderID = false;
        result.orderID_ = 0;
        return this;
      }
      
      // optional string CustomerID = 2;
      public boolean hasCustomerID() {
        return result.hasCustomerID();
      }
      public java.lang.String getCustomerID() {
        return result.getCustomerID();
      }
      public Builder setCustomerID(java.lang.String value) {
        result.hasCustomerID = true;
        result.customerID_ = value;
        return this;
      }
      public Builder clearCustomerID() {
        result.hasCustomerID = false;
        result.customerID_ = "";
        return this;
      }
      
      // optional int32 EmployeeID = 3;
      public boolean hasEmployeeID() {
        return result.hasEmployeeID();
      }
      public int getEmployeeID() {
        return result.getEmployeeID();
      }
      public Builder setEmployeeID(int value) {
        result.hasEmployeeID = true;
        result.employeeID_ = value;
        return this;
      }
      public Builder clearEmployeeID() {
        result.hasEmployeeID = false;
        result.employeeID_ = 0;
        return this;
      }
      
      // optional .slowbcl.DateTime OrderDate = 4;
      public boolean hasOrderDate() {
        return result.hasOrderDate();
      }
      public slowbcl.Slowbcl.DateTime getOrderDate() {
        return result.getOrderDate();
      }
      public Builder setOrderDate(slowbcl.Slowbcl.DateTime value) {
        result.hasOrderDate = true;
        result.orderDate_ = value;
        return this;
      }
      public Builder setOrderDate(slowbcl.Slowbcl.DateTime.Builder builderForValue) {
        result.hasOrderDate = true;
        result.orderDate_ = builderForValue.build();
        return this;
      }
      public Builder mergeOrderDate(slowbcl.Slowbcl.DateTime value) {
        if (result.hasOrderDate() &&
            result.orderDate_ != slowbcl.Slowbcl.DateTime.getDefaultInstance()) {
          result.orderDate_ =
            slowbcl.Slowbcl.DateTime.newBuilder(result.orderDate_).mergeFrom(value).buildPartial();
        } else {
          result.orderDate_ = value;
        }
        result.hasOrderDate = true;
        return this;
      }
      public Builder clearOrderDate() {
        result.hasOrderDate = false;
        result.orderDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
        return this;
      }
      
      // optional .slowbcl.DateTime RequiredDate = 5;
      public boolean hasRequiredDate() {
        return result.hasRequiredDate();
      }
      public slowbcl.Slowbcl.DateTime getRequiredDate() {
        return result.getRequiredDate();
      }
      public Builder setRequiredDate(slowbcl.Slowbcl.DateTime value) {
        result.hasRequiredDate = true;
        result.requiredDate_ = value;
        return this;
      }
      public Builder setRequiredDate(slowbcl.Slowbcl.DateTime.Builder builderForValue) {
        result.hasRequiredDate = true;
        result.requiredDate_ = builderForValue.build();
        return this;
      }
      public Builder mergeRequiredDate(slowbcl.Slowbcl.DateTime value) {
        if (result.hasRequiredDate() &&
            result.requiredDate_ != slowbcl.Slowbcl.DateTime.getDefaultInstance()) {
          result.requiredDate_ =
            slowbcl.Slowbcl.DateTime.newBuilder(result.requiredDate_).mergeFrom(value).buildPartial();
        } else {
          result.requiredDate_ = value;
        }
        result.hasRequiredDate = true;
        return this;
      }
      public Builder clearRequiredDate() {
        result.hasRequiredDate = false;
        result.requiredDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
        return this;
      }
      
      // optional .slowbcl.DateTime ShippedDate = 6;
      public boolean hasShippedDate() {
        return result.hasShippedDate();
      }
      public slowbcl.Slowbcl.DateTime getShippedDate() {
        return result.getShippedDate();
      }
      public Builder setShippedDate(slowbcl.Slowbcl.DateTime value) {
        result.hasShippedDate = true;
        result.shippedDate_ = value;
        return this;
      }
      public Builder setShippedDate(slowbcl.Slowbcl.DateTime.Builder builderForValue) {
        result.hasShippedDate = true;
        result.shippedDate_ = builderForValue.build();
        return this;
      }
      public Builder mergeShippedDate(slowbcl.Slowbcl.DateTime value) {
        if (result.hasShippedDate() &&
            result.shippedDate_ != slowbcl.Slowbcl.DateTime.getDefaultInstance()) {
          result.shippedDate_ =
            slowbcl.Slowbcl.DateTime.newBuilder(result.shippedDate_).mergeFrom(value).buildPartial();
        } else {
          result.shippedDate_ = value;
        }
        result.hasShippedDate = true;
        return this;
      }
      public Builder clearShippedDate() {
        result.hasShippedDate = false;
        result.shippedDate_ = slowbcl.Slowbcl.DateTime.getDefaultInstance();
        return this;
      }
      
      // optional int32 ShipVia = 7;
      public boolean hasShipVia() {
        return result.hasShipVia();
      }
      public int getShipVia() {
        return result.getShipVia();
      }
      public Builder setShipVia(int value) {
        result.hasShipVia = true;
        result.shipVia_ = value;
        return this;
      }
      public Builder clearShipVia() {
        result.hasShipVia = false;
        result.shipVia_ = 0;
        return this;
      }
      
      // optional .slowbcl.Decimal Freight = 8;
      public boolean hasFreight() {
        return result.hasFreight();
      }
      public slowbcl.Slowbcl.Decimal getFreight() {
        return result.getFreight();
      }
      public Builder setFreight(slowbcl.Slowbcl.Decimal value) {
        result.hasFreight = true;
        result.freight_ = value;
        return this;
      }
      public Builder setFreight(slowbcl.Slowbcl.Decimal.Builder builderForValue) {
        result.hasFreight = true;
        result.freight_ = builderForValue.build();
        return this;
      }
      public Builder mergeFreight(slowbcl.Slowbcl.Decimal value) {
        if (result.hasFreight() &&
            result.freight_ != slowbcl.Slowbcl.Decimal.getDefaultInstance()) {
          result.freight_ =
            slowbcl.Slowbcl.Decimal.newBuilder(result.freight_).mergeFrom(value).buildPartial();
        } else {
          result.freight_ = value;
        }
        result.hasFreight = true;
        return this;
      }
      public Builder clearFreight() {
        result.hasFreight = false;
        result.freight_ = slowbcl.Slowbcl.Decimal.getDefaultInstance();
        return this;
      }
      
      // optional string ShipName = 9;
      public boolean hasShipName() {
        return result.hasShipName();
      }
      public java.lang.String getShipName() {
        return result.getShipName();
      }
      public Builder setShipName(java.lang.String value) {
        result.hasShipName = true;
        result.shipName_ = value;
        return this;
      }
      public Builder clearShipName() {
        result.hasShipName = false;
        result.shipName_ = "";
        return this;
      }
      
      // optional string ShipAddress = 10;
      public boolean hasShipAddress() {
        return result.hasShipAddress();
      }
      public java.lang.String getShipAddress() {
        return result.getShipAddress();
      }
      public Builder setShipAddress(java.lang.String value) {
        result.hasShipAddress = true;
        result.shipAddress_ = value;
        return this;
      }
      public Builder clearShipAddress() {
        result.hasShipAddress = false;
        result.shipAddress_ = "";
        return this;
      }
      
      // optional string ShipCity = 11;
      public boolean hasShipCity() {
        return result.hasShipCity();
      }
      public java.lang.String getShipCity() {
        return result.getShipCity();
      }
      public Builder setShipCity(java.lang.String value) {
        result.hasShipCity = true;
        result.shipCity_ = value;
        return this;
      }
      public Builder clearShipCity() {
        result.hasShipCity = false;
        result.shipCity_ = "";
        return this;
      }
      
      // optional string ShipRegion = 12;
      public boolean hasShipRegion() {
        return result.hasShipRegion();
      }
      public java.lang.String getShipRegion() {
        return result.getShipRegion();
      }
      public Builder setShipRegion(java.lang.String value) {
        result.hasShipRegion = true;
        result.shipRegion_ = value;
        return this;
      }
      public Builder clearShipRegion() {
        result.hasShipRegion = false;
        result.shipRegion_ = "";
        return this;
      }
      
      // optional string ShipPostalCode = 13;
      public boolean hasShipPostalCode() {
        return result.hasShipPostalCode();
      }
      public java.lang.String getShipPostalCode() {
        return result.getShipPostalCode();
      }
      public Builder setShipPostalCode(java.lang.String value) {
        result.hasShipPostalCode = true;
        result.shipPostalCode_ = value;
        return this;
      }
      public Builder clearShipPostalCode() {
        result.hasShipPostalCode = false;
        result.shipPostalCode_ = "";
        return this;
      }
      
      // optional string ShipCountry = 14;
      public boolean hasShipCountry() {
        return result.hasShipCountry();
      }
      public java.lang.String getShipCountry() {
        return result.getShipCountry();
      }
      public Builder setShipCountry(java.lang.String value) {
        result.hasShipCountry = true;
        result.shipCountry_ = value;
        return this;
      }
      public Builder clearShipCountry() {
        result.hasShipCountry = false;
        result.shipCountry_ = "";
        return this;
      }
      
      // repeated .slownorthwind.OrderLine Lines = 15;
      public java.util.List<slownorthwind.Slownwind.OrderLine> getLinesList() {
        return java.util.Collections.unmodifiableList(result.lines_);
      }
      public int getLinesCount() {
        return result.getLinesCount();
      }
      public slownorthwind.Slownwind.OrderLine getLines(int index) {
        return result.getLines(index);
      }
      public Builder setLines(int index, slownorthwind.Slownwind.OrderLine value) {
        result.lines_.set(index, value);
        return this;
      }
      public Builder setLines(int index, slownorthwind.Slownwind.OrderLine.Builder builderForValue) {
        result.lines_.set(index, builderForValue.build());
        return this;
      }
      public Builder addLines(slownorthwind.Slownwind.OrderLine value) {
        if (result.lines_.isEmpty()) {
          result.lines_ = new java.util.ArrayList<slownorthwind.Slownwind.OrderLine>();
        }
        result.lines_.add(value);
        return this;
      }
      public Builder addLines(slownorthwind.Slownwind.OrderLine.Builder builderForValue) {
        if (result.lines_.isEmpty()) {
          result.lines_ = new java.util.ArrayList<slownorthwind.Slownwind.OrderLine>();
        }
        result.lines_.add(builderForValue.build());
        return this;
      }
      public Builder addAllLines(
          java.lang.Iterable<? extends slownorthwind.Slownwind.OrderLine> values) {
        if (result.lines_.isEmpty()) {
          result.lines_ = new java.util.ArrayList<slownorthwind.Slownwind.OrderLine>();
        }
        super.addAll(values, result.lines_);
        return this;
      }
      public Builder clearLines() {
        result.lines_ = java.util.Collections.emptyList();
        return this;
      }
    }
  }
  
  public static final class OrderLine extends
      com.google.protobuf.GeneratedMessage {
    // Use OrderLine.newBuilder() to construct.
    private OrderLine() {}
    
    private static final OrderLine defaultInstance = new OrderLine();
    public static OrderLine getDefaultInstance() {
      return defaultInstance;
    }
    
    public OrderLine getDefaultInstanceForType() {
      return defaultInstance;
    }
    
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_OrderLine_descriptor;
    }
    
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return slownorthwind.Slownwind.internal_static_slownorthwind_OrderLine_fieldAccessorTable;
    }
    
    // optional int32 OrderID = 1;
    private boolean hasOrderID;
    private int orderID_ = 0;
    public boolean hasOrderID() { return hasOrderID; }
    public int getOrderID() { return orderID_; }
    
    // optional int32 ProductID = 2;
    private boolean hasProductID;
    private int productID_ = 0;
    public boolean hasProductID() { return hasProductID; }
    public int getProductID() { return productID_; }
    
    // optional .slowbcl.Decimal UnitPrice = 3;
    private boolean hasUnitPrice;
    private slowbcl.Slowbcl.Decimal unitPrice_ = slowbcl.Slowbcl.Decimal.getDefaultInstance();
    public boolean hasUnitPrice() { return hasUnitPrice; }
    public slowbcl.Slowbcl.Decimal getUnitPrice() { return unitPrice_; }
    
    // optional sint32 Quantity = 4;
    private boolean hasQuantity;
    private int quantity_ = 0;
    public boolean hasQuantity() { return hasQuantity; }
    public int getQuantity() { return quantity_; }
    
    // optional float Discount = 5;
    private boolean hasDiscount;
    private float discount_ = 0F;
    public boolean hasDiscount() { return hasDiscount; }
    public float getDiscount() { return discount_; }
    
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static slownorthwind.Slownwind.OrderLine parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistry extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    
    public static Builder newBuilder() { return new Builder(); }
    public Builder newBuilderForType() { return new Builder(); }
    public static Builder newBuilder(slownorthwind.Slownwind.OrderLine prototype) {
      return new Builder().mergeFrom(prototype);
    }
    
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> {
      // Construct using slownorthwind.Slownwind.OrderLine.newBuilder()
      private Builder() {}
      
      slownorthwind.Slownwind.OrderLine result = new slownorthwind.Slownwind.OrderLine();
      
      protected slownorthwind.Slownwind.OrderLine internalGetResult() {
        return result;
      }
      
      public Builder clear() {
        result = new slownorthwind.Slownwind.OrderLine();
        return this;
      }
      
      public Builder clone() {
        return new Builder().mergeFrom(result);
      }
      
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return slownorthwind.Slownwind.OrderLine.getDescriptor();
      }
      
      public slownorthwind.Slownwind.OrderLine getDefaultInstanceForType() {
        return slownorthwind.Slownwind.OrderLine.getDefaultInstance();
      }
      
      public slownorthwind.Slownwind.OrderLine build() {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result);
        }
        return buildPartial();
      }
      
      private slownorthwind.Slownwind.OrderLine buildParsed()
          throws com.google.protobuf.InvalidProtocolBufferException {
        if (!isInitialized()) {
          throw new com.google.protobuf.UninitializedMessageException(
            result).asInvalidProtocolBufferException();
        }
        return buildPartial();
      }
      
      public slownorthwind.Slownwind.OrderLine buildPartial() {
        slownorthwind.Slownwind.OrderLine returnMe = result;
        result = null;
        return returnMe;
      }
      
      
      // optional int32 OrderID = 1;
      public boolean hasOrderID() {
        return result.hasOrderID();
      }
      public int getOrderID() {
        return result.getOrderID();
      }
      public Builder setOrderID(int value) {
        result.hasOrderID = true;
        result.orderID_ = value;
        return this;
      }
      public Builder clearOrderID() {
        result.hasOrderID = false;
        result.orderID_ = 0;
        return this;
      }
      
      // optional int32 ProductID = 2;
      public boolean hasProductID() {
        return result.hasProductID();
      }
      public int getProductID() {
        return result.getProductID();
      }
      public Builder setProductID(int value) {
        result.hasProductID = true;
        result.productID_ = value;
        return this;
      }
      public Builder clearProductID() {
        result.hasProductID = false;
        result.productID_ = 0;
        return this;
      }
      
      // optional .slowbcl.Decimal UnitPrice = 3;
      public boolean hasUnitPrice() {
        return result.hasUnitPrice();
      }
      public slowbcl.Slowbcl.Decimal getUnitPrice() {
        return result.getUnitPrice();
      }
      public Builder setUnitPrice(slowbcl.Slowbcl.Decimal value) {
        result.hasUnitPrice = true;
        result.unitPrice_ = value;
        return this;
      }
      public Builder setUnitPrice(slowbcl.Slowbcl.Decimal.Builder builderForValue) {
        result.hasUnitPrice = true;
        result.unitPrice_ = builderForValue.build();
        return this;
      }
      public Builder mergeUnitPrice(slowbcl.Slowbcl.Decimal value) {
        if (result.hasUnitPrice() &&
            result.unitPrice_ != slowbcl.Slowbcl.Decimal.getDefaultInstance()) {
          result.unitPrice_ =
            slowbcl.Slowbcl.Decimal.newBuilder(result.unitPrice_).mergeFrom(value).buildPartial();
        } else {
          result.unitPrice_ = value;
        }
        result.hasUnitPrice = true;
        return this;
      }
      public Builder clearUnitPrice() {
        result.hasUnitPrice = false;
        result.unitPrice_ = slowbcl.Slowbcl.Decimal.getDefaultInstance();
        return this;
      }
      
      // optional sint32 Quantity = 4;
      public boolean hasQuantity() {
        return result.hasQuantity();
      }
      public int getQuantity() {
        return result.getQuantity();
      }
      public Builder setQuantity(int value) {
        result.hasQuantity = true;
        result.quantity_ = value;
        return this;
      }
      public Builder clearQuantity() {
        result.hasQuantity = false;
        result.quantity_ = 0;
        return this;
      }
      
      // optional float Discount = 5;
      public boolean hasDiscount() {
        return result.hasDiscount();
      }
      public float getDiscount() {
        return result.getDiscount();
      }
      public Builder setDiscount(float value) {
        result.hasDiscount = true;
        result.discount_ = value;
        return this;
      }
      public Builder clearDiscount() {
        result.hasDiscount = false;
        result.discount_ = 0F;
        return this;
      }
    }
  }
  
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_slownorthwind_Database_descriptor =
      getDescriptor().getMessageTypes().get(0);
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_slownorthwind_Database_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessage.FieldAccessorTable(
          internal_static_slownorthwind_Database_descriptor,
          new java.lang.String[] { "Orders", },
          slownorthwind.Slownwind.Database.class,
          slownorthwind.Slownwind.Database.Builder.class);
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_slownorthwind_Order_descriptor =
      getDescriptor().getMessageTypes().get(1);
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_slownorthwind_Order_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessage.FieldAccessorTable(
          internal_static_slownorthwind_Order_descriptor,
          new java.lang.String[] { "OrderID", "CustomerID", "EmployeeID", "OrderDate", "RequiredDate", "ShippedDate", "ShipVia", "Freight", "ShipName", "ShipAddress", "ShipCity", "ShipRegion", "ShipPostalCode", "ShipCountry", "Lines", },
          slownorthwind.Slownwind.Order.class,
          slownorthwind.Slownwind.Order.Builder.class);
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_slownorthwind_OrderLine_descriptor =
      getDescriptor().getMessageTypes().get(2);
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_slownorthwind_OrderLine_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessage.FieldAccessorTable(
          internal_static_slownorthwind_OrderLine_descriptor,
          new java.lang.String[] { "OrderID", "ProductID", "UnitPrice", "Quantity", "Discount", },
          slownorthwind.Slownwind.OrderLine.class,
          slownorthwind.Slownwind.OrderLine.Builder.class);
}