Changeset 30658 in osm for applications/editors/josm
- Timestamp:
- 2014-09-18T16:16:38+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf
- Property svn:externals
-
old new 1 1 proto https://github.com/scrosby/OSM-binary/trunk/src 2 protobuf http://protobuf.googlecode.com/svn/tags/2. 5.0/src/google/protobuf/2 protobuf http://protobuf.googlecode.com/svn/tags/2.6.0/src/google/protobuf/
-
- Property svn:externals
-
applications/editors/josm/plugins/pbf/gen/com/google/protobuf/DescriptorProtos.java
r30490 r30658 1 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: protobuf/descriptor.proto2 // source: descriptor.proto 3 3 4 4 package com.google.protobuf; … … 9 9 com.google.protobuf.ExtensionRegistry registry) { 10 10 } 11 public interface FileDescriptorSetOrBuilder 12 extends com.google.protobuf.MessageOrBuilder {13 14 // repeated .google.protobuf.FileDescriptorProto file = 1; 11 public interface FileDescriptorSetOrBuilder extends 12 // @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorSet) 13 com.google.protobuf.MessageOrBuilder { 14 15 15 /** 16 16 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> … … 46 46 */ 47 47 public static final class FileDescriptorSet extends 48 com.google.protobuf.GeneratedMessage 49 implements FileDescriptorSetOrBuilder { 48 com.google.protobuf.GeneratedMessage implements 49 // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorSet) 50 FileDescriptorSetOrBuilder { 50 51 // Use FileDescriptorSet.newBuilder() to construct. 51 52 private FileDescriptorSet(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 143 144 } 144 145 145 // repeated .google.protobuf.FileDescriptorProto file = 1;146 146 public static final int FILE_FIELD_NUMBER = 1; 147 147 private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_; … … 185 185 public final boolean isInitialized() { 186 186 byte isInitialized = memoizedIsInitialized; 187 if (isInitialized != -1) return isInitialized == 1; 187 if (isInitialized == 1) return true; 188 if (isInitialized == 0) return false; 188 189 189 190 for (int i = 0; i < getFileCount(); i++) { … … 303 304 */ 304 305 public static final class Builder extends 305 com.google.protobuf.GeneratedMessage.Builder<Builder> 306 implements com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder { 306 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 307 // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorSet) 308 com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder { 307 309 public static final com.google.protobuf.Descriptors.Descriptor 308 310 getDescriptor() { … … 454 456 private int bitField0_; 455 457 456 // repeated .google.protobuf.FileDescriptorProto file = 1;457 458 private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_ = 458 459 java.util.Collections.emptyList(); … … 596 597 if (fileBuilder_ == null) { 597 598 ensureFileIsMutable(); 598 super.addAll(values, file_); 599 com.google.protobuf.AbstractMessageLite.Builder.addAll( 600 values, file_); 599 601 onChanged(); 600 602 } else { … … 705 707 } 706 708 707 public interface FileDescriptorProtoOrBuilder 708 extends com.google.protobuf.MessageOrBuilder {709 710 // optional string name = 1; 709 public interface FileDescriptorProtoOrBuilder extends 710 // @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorProto) 711 com.google.protobuf.MessageOrBuilder { 712 711 713 /** 712 714 * <code>optional string name = 1;</code> … … 735 737 getNameBytes(); 736 738 737 // optional string package = 2;738 739 /** 739 740 * <code>optional string package = 2;</code> … … 762 763 getPackageBytes(); 763 764 764 // repeated string dependency = 3;765 765 /** 766 766 * <code>repeated string dependency = 3;</code> … … 770 770 * </pre> 771 771 */ 772 java.util.List<java.lang.String>773 getDependencyList(); 772 com.google.protobuf.ProtocolStringList 773 getDependencyList(); 774 774 /** 775 775 * <code>repeated string dependency = 3;</code> … … 798 798 getDependencyBytes(int index); 799 799 800 // repeated int32 public_dependency = 10;801 800 /** 802 801 * <code>repeated int32 public_dependency = 10;</code> … … 824 823 int getPublicDependency(int index); 825 824 826 // repeated int32 weak_dependency = 11;827 825 /** 828 826 * <code>repeated int32 weak_dependency = 11;</code> … … 853 851 int getWeakDependency(int index); 854 852 855 // repeated .google.protobuf.DescriptorProto message_type = 4;856 853 /** 857 854 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> … … 898 895 int index); 899 896 900 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;901 897 /** 902 898 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> … … 923 919 int index); 924 920 925 // repeated .google.protobuf.ServiceDescriptorProto service = 6;926 921 /** 927 922 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> … … 948 943 int index); 949 944 950 // repeated .google.protobuf.FieldDescriptorProto extension = 7;951 945 /** 952 946 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> … … 973 967 int index); 974 968 975 // optional .google.protobuf.FileOptions options = 8;976 969 /** 977 970 * <code>optional .google.protobuf.FileOptions options = 8;</code> … … 987 980 com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder(); 988 981 989 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;990 982 /** 991 983 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> … … 1030 1022 */ 1031 1023 public static final class FileDescriptorProto extends 1032 com.google.protobuf.GeneratedMessage 1033 implements FileDescriptorProtoOrBuilder { 1024 com.google.protobuf.GeneratedMessage implements 1025 // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorProto) 1026 FileDescriptorProtoOrBuilder { 1034 1027 // Use FileDescriptorProto.newBuilder() to construct. 1035 1028 private FileDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 1078 1071 } 1079 1072 case 10: { 1073 com.google.protobuf.ByteString bs = input.readBytes(); 1080 1074 bitField0_ |= 0x00000001; 1081 name_ = input.readBytes();1075 name_ = bs; 1082 1076 break; 1083 1077 } 1084 1078 case 18: { 1079 com.google.protobuf.ByteString bs = input.readBytes(); 1085 1080 bitField0_ |= 0x00000002; 1086 package_ = input.readBytes();1081 package_ = bs; 1087 1082 break; 1088 1083 } 1089 1084 case 26: { 1085 com.google.protobuf.ByteString bs = input.readBytes(); 1090 1086 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 1091 1087 dependency_ = new com.google.protobuf.LazyStringArrayList(); 1092 1088 mutable_bitField0_ |= 0x00000004; 1093 1089 } 1094 dependency_.add( input.readBytes());1090 dependency_.add(bs); 1095 1091 break; 1096 1092 } … … 1204 1200 } finally { 1205 1201 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 1206 dependency_ = new com.google.protobuf.UnmodifiableLazyStringList(dependency_);1202 dependency_ = dependency_.getUnmodifiableView(); 1207 1203 } 1208 1204 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { … … 1256 1252 1257 1253 private int bitField0_; 1258 // optional string name = 1;1259 1254 public static final int NAME_FIELD_NUMBER = 1; 1260 1255 private java.lang.Object name_; … … 1311 1306 } 1312 1307 1313 // optional string package = 2;1314 1308 public static final int PACKAGE_FIELD_NUMBER = 2; 1315 1309 private java.lang.Object package_; … … 1366 1360 } 1367 1361 1368 // repeated string dependency = 3;1369 1362 public static final int DEPENDENCY_FIELD_NUMBER = 3; 1370 1363 private com.google.protobuf.LazyStringList dependency_; … … 1376 1369 * </pre> 1377 1370 */ 1378 public java.util.List<java.lang.String>1371 public com.google.protobuf.ProtocolStringList 1379 1372 getDependencyList() { 1380 1373 return dependency_; … … 1412 1405 } 1413 1406 1414 // repeated int32 public_dependency = 10;1415 1407 public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER = 10; 1416 1408 private java.util.List<java.lang.Integer> publicDependency_; … … 1447 1439 } 1448 1440 1449 // repeated int32 weak_dependency = 11;1450 1441 public static final int WEAK_DEPENDENCY_FIELD_NUMBER = 11; 1451 1442 private java.util.List<java.lang.Integer> weakDependency_; … … 1485 1476 } 1486 1477 1487 // repeated .google.protobuf.DescriptorProto message_type = 4;1488 1478 public static final int MESSAGE_TYPE_FIELD_NUMBER = 4; 1489 1479 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_; … … 1541 1531 } 1542 1532 1543 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;1544 1533 public static final int ENUM_TYPE_FIELD_NUMBER = 5; 1545 1534 private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_; … … 1577 1566 } 1578 1567 1579 // repeated .google.protobuf.ServiceDescriptorProto service = 6;1580 1568 public static final int SERVICE_FIELD_NUMBER = 6; 1581 1569 private java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> service_; … … 1613 1601 } 1614 1602 1615 // repeated .google.protobuf.FieldDescriptorProto extension = 7;1616 1603 public static final int EXTENSION_FIELD_NUMBER = 7; 1617 1604 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_; … … 1649 1636 } 1650 1637 1651 // optional .google.protobuf.FileOptions options = 8;1652 1638 public static final int OPTIONS_FIELD_NUMBER = 8; 1653 1639 private com.google.protobuf.DescriptorProtos.FileOptions options_; … … 1671 1657 } 1672 1658 1673 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;1674 1659 public static final int SOURCE_CODE_INFO_FIELD_NUMBER = 9; 1675 1660 private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_; … … 1730 1715 public final boolean isInitialized() { 1731 1716 byte isInitialized = memoizedIsInitialized; 1732 if (isInitialized != -1) return isInitialized == 1; 1717 if (isInitialized == 1) return true; 1718 if (isInitialized == 0) return false; 1733 1719 1734 1720 for (int i = 0; i < getMessageTypeCount(); i++) { … … 1956 1942 */ 1957 1943 public static final class Builder extends 1958 com.google.protobuf.GeneratedMessage.Builder<Builder> 1959 implements com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder { 1944 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 1945 // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorProto) 1946 com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder { 1960 1947 public static final com.google.protobuf.Descriptors.Descriptor 1961 1948 getDescriptor() { … … 2079 2066 result.package_ = package_; 2080 2067 if (((bitField0_ & 0x00000004) == 0x00000004)) { 2081 dependency_ = new com.google.protobuf.UnmodifiableLazyStringList( 2082 dependency_); 2068 dependency_ = dependency_.getUnmodifiableView(); 2083 2069 bitField0_ = (bitField0_ & ~0x00000004); 2084 2070 } … … 2369 2355 private int bitField0_; 2370 2356 2371 // optional string name = 1;2372 2357 private java.lang.Object name_ = ""; 2373 2358 /** … … 2391 2376 java.lang.Object ref = name_; 2392 2377 if (!(ref instanceof java.lang.String)) { 2393 java.lang.String s = ((com.google.protobuf.ByteString) ref) 2394 .toStringUtf8(); 2395 name_ = s; 2378 com.google.protobuf.ByteString bs = 2379 (com.google.protobuf.ByteString) ref; 2380 java.lang.String s = bs.toStringUtf8(); 2381 if (bs.isValidUtf8()) { 2382 name_ = s; 2383 } 2396 2384 return s; 2397 2385 } else { … … 2467 2455 } 2468 2456 2469 // optional string package = 2;2470 2457 private java.lang.Object package_ = ""; 2471 2458 /** … … 2489 2476 java.lang.Object ref = package_; 2490 2477 if (!(ref instanceof java.lang.String)) { 2491 java.lang.String s = ((com.google.protobuf.ByteString) ref) 2492 .toStringUtf8(); 2493 package_ = s; 2478 com.google.protobuf.ByteString bs = 2479 (com.google.protobuf.ByteString) ref; 2480 java.lang.String s = bs.toStringUtf8(); 2481 if (bs.isValidUtf8()) { 2482 package_ = s; 2483 } 2494 2484 return s; 2495 2485 } else { … … 2565 2555 } 2566 2556 2567 // repeated string dependency = 3;2568 2557 private com.google.protobuf.LazyStringList dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY; 2569 2558 private void ensureDependencyIsMutable() { … … 2580 2569 * </pre> 2581 2570 */ 2582 public java.util.List<java.lang.String>2571 public com.google.protobuf.ProtocolStringList 2583 2572 getDependencyList() { 2584 return java.util.Collections.unmodifiableList(dependency_);2573 return dependency_.getUnmodifiableView(); 2585 2574 } 2586 2575 /** … … 2659 2648 java.lang.Iterable<java.lang.String> values) { 2660 2649 ensureDependencyIsMutable(); 2661 super.addAll(values, dependency_); 2650 com.google.protobuf.AbstractMessageLite.Builder.addAll( 2651 values, dependency_); 2662 2652 onChanged(); 2663 2653 return this; … … 2694 2684 } 2695 2685 2696 // repeated int32 public_dependency = 10;2697 2686 private java.util.List<java.lang.Integer> publicDependency_ = java.util.Collections.emptyList(); 2698 2687 private void ensurePublicDependencyIsMutable() { … … 2770 2759 java.lang.Iterable<? extends java.lang.Integer> values) { 2771 2760 ensurePublicDependencyIsMutable(); 2772 super.addAll(values, publicDependency_); 2761 com.google.protobuf.AbstractMessageLite.Builder.addAll( 2762 values, publicDependency_); 2773 2763 onChanged(); 2774 2764 return this; … … 2788 2778 } 2789 2779 2790 // repeated int32 weak_dependency = 11;2791 2780 private java.util.List<java.lang.Integer> weakDependency_ = java.util.Collections.emptyList(); 2792 2781 private void ensureWeakDependencyIsMutable() { … … 2870 2859 java.lang.Iterable<? extends java.lang.Integer> values) { 2871 2860 ensureWeakDependencyIsMutable(); 2872 super.addAll(values, weakDependency_); 2861 com.google.protobuf.AbstractMessageLite.Builder.addAll( 2862 values, weakDependency_); 2873 2863 onChanged(); 2874 2864 return this; … … 2889 2879 } 2890 2880 2891 // repeated .google.protobuf.DescriptorProto message_type = 4;2892 2881 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_ = 2893 2882 java.util.Collections.emptyList(); … … 3071 3060 if (messageTypeBuilder_ == null) { 3072 3061 ensureMessageTypeIsMutable(); 3073 super.addAll(values, messageType_); 3062 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3063 values, messageType_); 3074 3064 onChanged(); 3075 3065 } else { … … 3201 3191 } 3202 3192 3203 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;3204 3193 private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ = 3205 3194 java.util.Collections.emptyList(); … … 3343 3332 if (enumTypeBuilder_ == null) { 3344 3333 ensureEnumTypeIsMutable(); 3345 super.addAll(values, enumType_); 3334 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3335 values, enumType_); 3346 3336 onChanged(); 3347 3337 } else { … … 3441 3431 } 3442 3432 3443 // repeated .google.protobuf.ServiceDescriptorProto service = 6;3444 3433 private java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> service_ = 3445 3434 java.util.Collections.emptyList(); … … 3583 3572 if (serviceBuilder_ == null) { 3584 3573 ensureServiceIsMutable(); 3585 super.addAll(values, service_); 3574 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3575 values, service_); 3586 3576 onChanged(); 3587 3577 } else { … … 3681 3671 } 3682 3672 3683 // repeated .google.protobuf.FieldDescriptorProto extension = 7;3684 3673 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_ = 3685 3674 java.util.Collections.emptyList(); … … 3823 3812 if (extensionBuilder_ == null) { 3824 3813 ensureExtensionIsMutable(); 3825 super.addAll(values, extension_); 3814 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3815 values, extension_); 3826 3816 onChanged(); 3827 3817 } else { … … 3921 3911 } 3922 3912 3923 // optional .google.protobuf.FileOptions options = 8;3924 3913 private com.google.protobuf.DescriptorProtos.FileOptions options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance(); 3925 3914 private com.google.protobuf.SingleFieldBuilder< … … 4030 4019 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 4031 4020 com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>( 4032 options_,4021 getOptions(), 4033 4022 getParentForChildren(), 4034 4023 isClean()); … … 4038 4027 } 4039 4028 4040 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;4041 4029 private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance(); 4042 4030 private com.google.protobuf.SingleFieldBuilder< … … 4210 4198 sourceCodeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< 4211 4199 com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>( 4212 sourceCodeInfo_,4200 getSourceCodeInfo(), 4213 4201 getParentForChildren(), 4214 4202 isClean()); … … 4229 4217 } 4230 4218 4231 public interface DescriptorProtoOrBuilder 4232 extends com.google.protobuf.MessageOrBuilder {4233 4234 // optional string name = 1; 4219 public interface DescriptorProtoOrBuilder extends 4220 // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto) 4221 com.google.protobuf.MessageOrBuilder { 4222 4235 4223 /** 4236 4224 * <code>optional string name = 1;</code> … … 4247 4235 getNameBytes(); 4248 4236 4249 // repeated .google.protobuf.FieldDescriptorProto field = 2;4250 4237 /** 4251 4238 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> … … 4272 4259 int index); 4273 4260 4274 // repeated .google.protobuf.FieldDescriptorProto extension = 6;4275 4261 /** 4276 4262 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> … … 4297 4283 int index); 4298 4284 4299 // repeated .google.protobuf.DescriptorProto nested_type = 3;4300 4285 /** 4301 4286 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> … … 4322 4307 int index); 4323 4308 4324 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;4325 4309 /** 4326 4310 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> … … 4347 4331 int index); 4348 4332 4349 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;4350 4333 /** 4351 4334 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> … … 4372 4355 int index); 4373 4356 4374 // optional .google.protobuf.MessageOptions options = 7; 4357 /** 4358 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4359 */ 4360 java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> 4361 getOneofDeclList(); 4362 /** 4363 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4364 */ 4365 com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index); 4366 /** 4367 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4368 */ 4369 int getOneofDeclCount(); 4370 /** 4371 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4372 */ 4373 java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 4374 getOneofDeclOrBuilderList(); 4375 /** 4376 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4377 */ 4378 com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 4379 int index); 4380 4375 4381 /** 4376 4382 * <code>optional .google.protobuf.MessageOptions options = 7;</code> … … 4394 4400 */ 4395 4401 public static final class DescriptorProto extends 4396 com.google.protobuf.GeneratedMessage 4397 implements DescriptorProtoOrBuilder { 4402 com.google.protobuf.GeneratedMessage implements 4403 // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto) 4404 DescriptorProtoOrBuilder { 4398 4405 // Use DescriptorProto.newBuilder() to construct. 4399 4406 private DescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 4442 4449 } 4443 4450 case 10: { 4451 com.google.protobuf.ByteString bs = input.readBytes(); 4444 4452 bitField0_ |= 0x00000001; 4445 name_ = input.readBytes();4453 name_ = bs; 4446 4454 break; 4447 4455 } … … 4499 4507 break; 4500 4508 } 4509 case 66: { 4510 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 4511 oneofDecl_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.OneofDescriptorProto>(); 4512 mutable_bitField0_ |= 0x00000040; 4513 } 4514 oneofDecl_.add(input.readMessage(com.google.protobuf.DescriptorProtos.OneofDescriptorProto.PARSER, extensionRegistry)); 4515 break; 4516 } 4501 4517 } 4502 4518 } … … 4522 4538 extension_ = java.util.Collections.unmodifiableList(extension_); 4523 4539 } 4540 if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 4541 oneofDecl_ = java.util.Collections.unmodifiableList(oneofDecl_); 4542 } 4524 4543 this.unknownFields = unknownFields.build(); 4525 4544 makeExtensionsImmutable(); … … 4553 4572 } 4554 4573 4555 public interface ExtensionRangeOrBuilder 4556 extends com.google.protobuf.MessageOrBuilder {4557 4558 // optional int32 start = 1; 4574 public interface ExtensionRangeOrBuilder extends 4575 // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ExtensionRange) 4576 com.google.protobuf.MessageOrBuilder { 4577 4559 4578 /** 4560 4579 * <code>optional int32 start = 1;</code> … … 4566 4585 int getStart(); 4567 4586 4568 // optional int32 end = 2;4569 4587 /** 4570 4588 * <code>optional int32 end = 2;</code> … … 4580 4598 */ 4581 4599 public static final class ExtensionRange extends 4582 com.google.protobuf.GeneratedMessage 4583 implements ExtensionRangeOrBuilder { 4600 com.google.protobuf.GeneratedMessage implements 4601 // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ExtensionRange) 4602 ExtensionRangeOrBuilder { 4584 4603 // Use ExtensionRange.newBuilder() to construct. 4585 4604 private ExtensionRange(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 4677 4696 4678 4697 private int bitField0_; 4679 // optional int32 start = 1;4680 4698 public static final int START_FIELD_NUMBER = 1; 4681 4699 private int start_; … … 4693 4711 } 4694 4712 4695 // optional int32 end = 2;4696 4713 public static final int END_FIELD_NUMBER = 2; 4697 4714 private int end_; … … 4716 4733 public final boolean isInitialized() { 4717 4734 byte isInitialized = memoizedIsInitialized; 4718 if (isInitialized != -1) return isInitialized == 1; 4735 if (isInitialized == 1) return true; 4736 if (isInitialized == 0) return false; 4719 4737 4720 4738 memoizedIsInitialized = 1; … … 4830 4848 */ 4831 4849 public static final class Builder extends 4832 com.google.protobuf.GeneratedMessage.Builder<Builder> 4833 implements com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder { 4850 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 4851 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ExtensionRange) 4852 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder { 4834 4853 public static final com.google.protobuf.Descriptors.Descriptor 4835 4854 getDescriptor() { … … 4953 4972 private int bitField0_; 4954 4973 4955 // optional int32 start = 1;4956 4974 private int start_ ; 4957 4975 /** … … 4986 5004 } 4987 5005 4988 // optional int32 end = 2;4989 5006 private int end_ ; 4990 5007 /** … … 5031 5048 5032 5049 private int bitField0_; 5033 // optional string name = 1;5034 5050 public static final int NAME_FIELD_NUMBER = 1; 5035 5051 private java.lang.Object name_; … … 5074 5090 } 5075 5091 5076 // repeated .google.protobuf.FieldDescriptorProto field = 2;5077 5092 public static final int FIELD_FIELD_NUMBER = 2; 5078 5093 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> field_; … … 5110 5125 } 5111 5126 5112 // repeated .google.protobuf.FieldDescriptorProto extension = 6;5113 5127 public static final int EXTENSION_FIELD_NUMBER = 6; 5114 5128 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_; … … 5146 5160 } 5147 5161 5148 // repeated .google.protobuf.DescriptorProto nested_type = 3;5149 5162 public static final int NESTED_TYPE_FIELD_NUMBER = 3; 5150 5163 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> nestedType_; … … 5182 5195 } 5183 5196 5184 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;5185 5197 public static final int ENUM_TYPE_FIELD_NUMBER = 4; 5186 5198 private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_; … … 5218 5230 } 5219 5231 5220 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;5221 5232 public static final int EXTENSION_RANGE_FIELD_NUMBER = 5; 5222 5233 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> extensionRange_; … … 5254 5265 } 5255 5266 5256 // optional .google.protobuf.MessageOptions options = 7; 5267 public static final int ONEOF_DECL_FIELD_NUMBER = 8; 5268 private java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> oneofDecl_; 5269 /** 5270 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5271 */ 5272 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 5273 return oneofDecl_; 5274 } 5275 /** 5276 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5277 */ 5278 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 5279 getOneofDeclOrBuilderList() { 5280 return oneofDecl_; 5281 } 5282 /** 5283 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5284 */ 5285 public int getOneofDeclCount() { 5286 return oneofDecl_.size(); 5287 } 5288 /** 5289 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5290 */ 5291 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 5292 return oneofDecl_.get(index); 5293 } 5294 /** 5295 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5296 */ 5297 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 5298 int index) { 5299 return oneofDecl_.get(index); 5300 } 5301 5257 5302 public static final int OPTIONS_FIELD_NUMBER = 7; 5258 5303 private com.google.protobuf.DescriptorProtos.MessageOptions options_; … … 5283 5328 enumType_ = java.util.Collections.emptyList(); 5284 5329 extensionRange_ = java.util.Collections.emptyList(); 5330 oneofDecl_ = java.util.Collections.emptyList(); 5285 5331 options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance(); 5286 5332 } … … 5288 5334 public final boolean isInitialized() { 5289 5335 byte isInitialized = memoizedIsInitialized; 5290 if (isInitialized != -1) return isInitialized == 1; 5336 if (isInitialized == 1) return true; 5337 if (isInitialized == 0) return false; 5291 5338 5292 5339 for (int i = 0; i < getFieldCount(); i++) { … … 5348 5395 output.writeMessage(7, options_); 5349 5396 } 5397 for (int i = 0; i < oneofDecl_.size(); i++) { 5398 output.writeMessage(8, oneofDecl_.get(i)); 5399 } 5350 5400 getUnknownFields().writeTo(output); 5351 5401 } … … 5384 5434 size += com.google.protobuf.CodedOutputStream 5385 5435 .computeMessageSize(7, options_); 5436 } 5437 for (int i = 0; i < oneofDecl_.size(); i++) { 5438 size += com.google.protobuf.CodedOutputStream 5439 .computeMessageSize(8, oneofDecl_.get(i)); 5386 5440 } 5387 5441 size += getUnknownFields().getSerializedSize(); … … 5471 5525 */ 5472 5526 public static final class Builder extends 5473 com.google.protobuf.GeneratedMessage.Builder<Builder> 5474 implements com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder { 5527 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 5528 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto) 5529 com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder { 5475 5530 public static final com.google.protobuf.Descriptors.Descriptor 5476 5531 getDescriptor() { … … 5502 5557 getEnumTypeFieldBuilder(); 5503 5558 getExtensionRangeFieldBuilder(); 5559 getOneofDeclFieldBuilder(); 5504 5560 getOptionsFieldBuilder(); 5505 5561 } … … 5543 5599 extensionRangeBuilder_.clear(); 5544 5600 } 5601 if (oneofDeclBuilder_ == null) { 5602 oneofDecl_ = java.util.Collections.emptyList(); 5603 bitField0_ = (bitField0_ & ~0x00000040); 5604 } else { 5605 oneofDeclBuilder_.clear(); 5606 } 5545 5607 if (optionsBuilder_ == null) { 5546 5608 options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance(); … … 5548 5610 optionsBuilder_.clear(); 5549 5611 } 5550 bitField0_ = (bitField0_ & ~0x000000 40);5612 bitField0_ = (bitField0_ & ~0x00000080); 5551 5613 return this; 5552 5614 } … … 5626 5688 result.extensionRange_ = extensionRangeBuilder_.build(); 5627 5689 } 5628 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 5690 if (oneofDeclBuilder_ == null) { 5691 if (((bitField0_ & 0x00000040) == 0x00000040)) { 5692 oneofDecl_ = java.util.Collections.unmodifiableList(oneofDecl_); 5693 bitField0_ = (bitField0_ & ~0x00000040); 5694 } 5695 result.oneofDecl_ = oneofDecl_; 5696 } else { 5697 result.oneofDecl_ = oneofDeclBuilder_.build(); 5698 } 5699 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 5629 5700 to_bitField0_ |= 0x00000002; 5630 5701 } … … 5782 5853 } else { 5783 5854 extensionRangeBuilder_.addAllMessages(other.extensionRange_); 5855 } 5856 } 5857 } 5858 if (oneofDeclBuilder_ == null) { 5859 if (!other.oneofDecl_.isEmpty()) { 5860 if (oneofDecl_.isEmpty()) { 5861 oneofDecl_ = other.oneofDecl_; 5862 bitField0_ = (bitField0_ & ~0x00000040); 5863 } else { 5864 ensureOneofDeclIsMutable(); 5865 oneofDecl_.addAll(other.oneofDecl_); 5866 } 5867 onChanged(); 5868 } 5869 } else { 5870 if (!other.oneofDecl_.isEmpty()) { 5871 if (oneofDeclBuilder_.isEmpty()) { 5872 oneofDeclBuilder_.dispose(); 5873 oneofDeclBuilder_ = null; 5874 oneofDecl_ = other.oneofDecl_; 5875 bitField0_ = (bitField0_ & ~0x00000040); 5876 oneofDeclBuilder_ = 5877 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 5878 getOneofDeclFieldBuilder() : null; 5879 } else { 5880 oneofDeclBuilder_.addAllMessages(other.oneofDecl_); 5784 5881 } 5785 5882 } … … 5845 5942 private int bitField0_; 5846 5943 5847 // optional string name = 1;5848 5944 private java.lang.Object name_ = ""; 5849 5945 /** … … 5859 5955 java.lang.Object ref = name_; 5860 5956 if (!(ref instanceof java.lang.String)) { 5861 java.lang.String s = ((com.google.protobuf.ByteString) ref) 5862 .toStringUtf8(); 5863 name_ = s; 5957 com.google.protobuf.ByteString bs = 5958 (com.google.protobuf.ByteString) ref; 5959 java.lang.String s = bs.toStringUtf8(); 5960 if (bs.isValidUtf8()) { 5961 name_ = s; 5962 } 5864 5963 return s; 5865 5964 } else { … … 5919 6018 } 5920 6019 5921 // repeated .google.protobuf.FieldDescriptorProto field = 2;5922 6020 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> field_ = 5923 6021 java.util.Collections.emptyList(); … … 6061 6159 if (fieldBuilder_ == null) { 6062 6160 ensureFieldIsMutable(); 6063 super.addAll(values, field_); 6161 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6162 values, field_); 6064 6163 onChanged(); 6065 6164 } else { … … 6159 6258 } 6160 6259 6161 // repeated .google.protobuf.FieldDescriptorProto extension = 6;6162 6260 private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_ = 6163 6261 java.util.Collections.emptyList(); … … 6301 6399 if (extensionBuilder_ == null) { 6302 6400 ensureExtensionIsMutable(); 6303 super.addAll(values, extension_); 6401 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6402 values, extension_); 6304 6403 onChanged(); 6305 6404 } else { … … 6399 6498 } 6400 6499 6401 // repeated .google.protobuf.DescriptorProto nested_type = 3;6402 6500 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> nestedType_ = 6403 6501 java.util.Collections.emptyList(); … … 6541 6639 if (nestedTypeBuilder_ == null) { 6542 6640 ensureNestedTypeIsMutable(); 6543 super.addAll(values, nestedType_); 6641 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6642 values, nestedType_); 6544 6643 onChanged(); 6545 6644 } else { … … 6639 6738 } 6640 6739 6641 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;6642 6740 private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ = 6643 6741 java.util.Collections.emptyList(); … … 6781 6879 if (enumTypeBuilder_ == null) { 6782 6880 ensureEnumTypeIsMutable(); 6783 super.addAll(values, enumType_); 6881 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6882 values, enumType_); 6784 6883 onChanged(); 6785 6884 } else { … … 6879 6978 } 6880 6979 6881 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;6882 6980 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> extensionRange_ = 6883 6981 java.util.Collections.emptyList(); … … 7021 7119 if (extensionRangeBuilder_ == null) { 7022 7120 ensureExtensionRangeIsMutable(); 7023 super.addAll(values, extensionRange_); 7121 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7122 values, extensionRange_); 7024 7123 onChanged(); 7025 7124 } else { … … 7119 7218 } 7120 7219 7121 // optional .google.protobuf.MessageOptions options = 7; 7220 private java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> oneofDecl_ = 7221 java.util.Collections.emptyList(); 7222 private void ensureOneofDeclIsMutable() { 7223 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 7224 oneofDecl_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.OneofDescriptorProto>(oneofDecl_); 7225 bitField0_ |= 0x00000040; 7226 } 7227 } 7228 7229 private com.google.protobuf.RepeatedFieldBuilder< 7230 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> oneofDeclBuilder_; 7231 7232 /** 7233 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7234 */ 7235 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 7236 if (oneofDeclBuilder_ == null) { 7237 return java.util.Collections.unmodifiableList(oneofDecl_); 7238 } else { 7239 return oneofDeclBuilder_.getMessageList(); 7240 } 7241 } 7242 /** 7243 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7244 */ 7245 public int getOneofDeclCount() { 7246 if (oneofDeclBuilder_ == null) { 7247 return oneofDecl_.size(); 7248 } else { 7249 return oneofDeclBuilder_.getCount(); 7250 } 7251 } 7252 /** 7253 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7254 */ 7255 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 7256 if (oneofDeclBuilder_ == null) { 7257 return oneofDecl_.get(index); 7258 } else { 7259 return oneofDeclBuilder_.getMessage(index); 7260 } 7261 } 7262 /** 7263 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7264 */ 7265 public Builder setOneofDecl( 7266 int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { 7267 if (oneofDeclBuilder_ == null) { 7268 if (value == null) { 7269 throw new NullPointerException(); 7270 } 7271 ensureOneofDeclIsMutable(); 7272 oneofDecl_.set(index, value); 7273 onChanged(); 7274 } else { 7275 oneofDeclBuilder_.setMessage(index, value); 7276 } 7277 return this; 7278 } 7279 /** 7280 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7281 */ 7282 public Builder setOneofDecl( 7283 int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { 7284 if (oneofDeclBuilder_ == null) { 7285 ensureOneofDeclIsMutable(); 7286 oneofDecl_.set(index, builderForValue.build()); 7287 onChanged(); 7288 } else { 7289 oneofDeclBuilder_.setMessage(index, builderForValue.build()); 7290 } 7291 return this; 7292 } 7293 /** 7294 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7295 */ 7296 public Builder addOneofDecl(com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { 7297 if (oneofDeclBuilder_ == null) { 7298 if (value == null) { 7299 throw new NullPointerException(); 7300 } 7301 ensureOneofDeclIsMutable(); 7302 oneofDecl_.add(value); 7303 onChanged(); 7304 } else { 7305 oneofDeclBuilder_.addMessage(value); 7306 } 7307 return this; 7308 } 7309 /** 7310 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7311 */ 7312 public Builder addOneofDecl( 7313 int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { 7314 if (oneofDeclBuilder_ == null) { 7315 if (value == null) { 7316 throw new NullPointerException(); 7317 } 7318 ensureOneofDeclIsMutable(); 7319 oneofDecl_.add(index, value); 7320 onChanged(); 7321 } else { 7322 oneofDeclBuilder_.addMessage(index, value); 7323 } 7324 return this; 7325 } 7326 /** 7327 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7328 */ 7329 public Builder addOneofDecl( 7330 com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { 7331 if (oneofDeclBuilder_ == null) { 7332 ensureOneofDeclIsMutable(); 7333 oneofDecl_.add(builderForValue.build()); 7334 onChanged(); 7335 } else { 7336 oneofDeclBuilder_.addMessage(builderForValue.build()); 7337 } 7338 return this; 7339 } 7340 /** 7341 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7342 */ 7343 public Builder addOneofDecl( 7344 int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { 7345 if (oneofDeclBuilder_ == null) { 7346 ensureOneofDeclIsMutable(); 7347 oneofDecl_.add(index, builderForValue.build()); 7348 onChanged(); 7349 } else { 7350 oneofDeclBuilder_.addMessage(index, builderForValue.build()); 7351 } 7352 return this; 7353 } 7354 /** 7355 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7356 */ 7357 public Builder addAllOneofDecl( 7358 java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProto> values) { 7359 if (oneofDeclBuilder_ == null) { 7360 ensureOneofDeclIsMutable(); 7361 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7362 values, oneofDecl_); 7363 onChanged(); 7364 } else { 7365 oneofDeclBuilder_.addAllMessages(values); 7366 } 7367 return this; 7368 } 7369 /** 7370 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7371 */ 7372 public Builder clearOneofDecl() { 7373 if (oneofDeclBuilder_ == null) { 7374 oneofDecl_ = java.util.Collections.emptyList(); 7375 bitField0_ = (bitField0_ & ~0x00000040); 7376 onChanged(); 7377 } else { 7378 oneofDeclBuilder_.clear(); 7379 } 7380 return this; 7381 } 7382 /** 7383 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7384 */ 7385 public Builder removeOneofDecl(int index) { 7386 if (oneofDeclBuilder_ == null) { 7387 ensureOneofDeclIsMutable(); 7388 oneofDecl_.remove(index); 7389 onChanged(); 7390 } else { 7391 oneofDeclBuilder_.remove(index); 7392 } 7393 return this; 7394 } 7395 /** 7396 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7397 */ 7398 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder getOneofDeclBuilder( 7399 int index) { 7400 return getOneofDeclFieldBuilder().getBuilder(index); 7401 } 7402 /** 7403 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7404 */ 7405 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 7406 int index) { 7407 if (oneofDeclBuilder_ == null) { 7408 return oneofDecl_.get(index); } else { 7409 return oneofDeclBuilder_.getMessageOrBuilder(index); 7410 } 7411 } 7412 /** 7413 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7414 */ 7415 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 7416 getOneofDeclOrBuilderList() { 7417 if (oneofDeclBuilder_ != null) { 7418 return oneofDeclBuilder_.getMessageOrBuilderList(); 7419 } else { 7420 return java.util.Collections.unmodifiableList(oneofDecl_); 7421 } 7422 } 7423 /** 7424 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7425 */ 7426 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder() { 7427 return getOneofDeclFieldBuilder().addBuilder( 7428 com.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance()); 7429 } 7430 /** 7431 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7432 */ 7433 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder( 7434 int index) { 7435 return getOneofDeclFieldBuilder().addBuilder( 7436 index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance()); 7437 } 7438 /** 7439 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7440 */ 7441 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder> 7442 getOneofDeclBuilderList() { 7443 return getOneofDeclFieldBuilder().getBuilderList(); 7444 } 7445 private com.google.protobuf.RepeatedFieldBuilder< 7446 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 7447 getOneofDeclFieldBuilder() { 7448 if (oneofDeclBuilder_ == null) { 7449 oneofDeclBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< 7450 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>( 7451 oneofDecl_, 7452 ((bitField0_ & 0x00000040) == 0x00000040), 7453 getParentForChildren(), 7454 isClean()); 7455 oneofDecl_ = null; 7456 } 7457 return oneofDeclBuilder_; 7458 } 7459 7122 7460 private com.google.protobuf.DescriptorProtos.MessageOptions options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance(); 7123 7461 private com.google.protobuf.SingleFieldBuilder< … … 7127 7465 */ 7128 7466 public boolean hasOptions() { 7129 return ((bitField0_ & 0x000000 40) == 0x00000040);7467 return ((bitField0_ & 0x00000080) == 0x00000080); 7130 7468 } 7131 7469 /** … … 7152 7490 optionsBuilder_.setMessage(value); 7153 7491 } 7154 bitField0_ |= 0x000000 40;7492 bitField0_ |= 0x00000080; 7155 7493 return this; 7156 7494 } … … 7166 7504 optionsBuilder_.setMessage(builderForValue.build()); 7167 7505 } 7168 bitField0_ |= 0x000000 40;7506 bitField0_ |= 0x00000080; 7169 7507 return this; 7170 7508 } … … 7174 7512 public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) { 7175 7513 if (optionsBuilder_ == null) { 7176 if (((bitField0_ & 0x000000 40) == 0x00000040) &&7514 if (((bitField0_ & 0x00000080) == 0x00000080) && 7177 7515 options_ != com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) { 7178 7516 options_ = … … 7185 7523 optionsBuilder_.mergeFrom(value); 7186 7524 } 7187 bitField0_ |= 0x000000 40;7525 bitField0_ |= 0x00000080; 7188 7526 return this; 7189 7527 } … … 7198 7536 optionsBuilder_.clear(); 7199 7537 } 7200 bitField0_ = (bitField0_ & ~0x000000 40);7538 bitField0_ = (bitField0_ & ~0x00000080); 7201 7539 return this; 7202 7540 } … … 7205 7543 */ 7206 7544 public com.google.protobuf.DescriptorProtos.MessageOptions.Builder getOptionsBuilder() { 7207 bitField0_ |= 0x000000 40;7545 bitField0_ |= 0x00000080; 7208 7546 onChanged(); 7209 7547 return getOptionsFieldBuilder().getBuilder(); … … 7228 7566 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 7229 7567 com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>( 7230 options_,7568 getOptions(), 7231 7569 getParentForChildren(), 7232 7570 isClean()); … … 7247 7585 } 7248 7586 7249 public interface FieldDescriptorProtoOrBuilder 7250 extends com.google.protobuf.MessageOrBuilder {7251 7252 // optional string name = 1; 7587 public interface FieldDescriptorProtoOrBuilder extends 7588 // @@protoc_insertion_point(interface_extends:google.protobuf.FieldDescriptorProto) 7589 com.google.protobuf.MessageOrBuilder { 7590 7253 7591 /** 7254 7592 * <code>optional string name = 1;</code> … … 7265 7603 getNameBytes(); 7266 7604 7267 // optional int32 number = 3;7268 7605 /** 7269 7606 * <code>optional int32 number = 3;</code> … … 7275 7612 int getNumber(); 7276 7613 7277 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;7278 7614 /** 7279 7615 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> … … 7285 7621 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel(); 7286 7622 7287 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;7288 7623 /** 7289 7624 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> … … 7291 7626 * <pre> 7292 7627 * If type_name is set, this need not be set. If both this and type_name 7293 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.7628 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 7294 7629 * </pre> 7295 7630 */ … … 7300 7635 * <pre> 7301 7636 * If type_name is set, this need not be set. If both this and type_name 7302 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.7637 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 7303 7638 * </pre> 7304 7639 */ 7305 7640 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType(); 7306 7641 7307 // optional string type_name = 6;7308 7642 /** 7309 7643 * <code>optional string type_name = 6;</code> … … 7344 7678 getTypeNameBytes(); 7345 7679 7346 // optional string extendee = 2;7347 7680 /** 7348 7681 * <code>optional string extendee = 2;</code> … … 7374 7707 getExtendeeBytes(); 7375 7708 7376 // optional string default_value = 7;7377 7709 /** 7378 7710 * <code>optional string default_value = 7;</code> … … 7413 7745 getDefaultValueBytes(); 7414 7746 7415 // optional .google.protobuf.FieldOptions options = 8; 7747 /** 7748 * <code>optional int32 oneof_index = 9;</code> 7749 * 7750 * <pre> 7751 * If set, gives the index of a oneof in the containing type's oneof_decl 7752 * list. This field is a member of that oneof. Extensions of a oneof should 7753 * not set this since the oneof to which they belong will be inferred based 7754 * on the extension range containing the extension's field number. 7755 * </pre> 7756 */ 7757 boolean hasOneofIndex(); 7758 /** 7759 * <code>optional int32 oneof_index = 9;</code> 7760 * 7761 * <pre> 7762 * If set, gives the index of a oneof in the containing type's oneof_decl 7763 * list. This field is a member of that oneof. Extensions of a oneof should 7764 * not set this since the oneof to which they belong will be inferred based 7765 * on the extension range containing the extension's field number. 7766 * </pre> 7767 */ 7768 int getOneofIndex(); 7769 7416 7770 /** 7417 7771 * <code>optional .google.protobuf.FieldOptions options = 8;</code> … … 7435 7789 */ 7436 7790 public static final class FieldDescriptorProto extends 7437 com.google.protobuf.GeneratedMessage 7438 implements FieldDescriptorProtoOrBuilder { 7791 com.google.protobuf.GeneratedMessage implements 7792 // @@protoc_insertion_point(message_implements:google.protobuf.FieldDescriptorProto) 7793 FieldDescriptorProtoOrBuilder { 7439 7794 // Use FieldDescriptorProto.newBuilder() to construct. 7440 7795 private FieldDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 7483 7838 } 7484 7839 case 10: { 7840 com.google.protobuf.ByteString bs = input.readBytes(); 7485 7841 bitField0_ |= 0x00000001; 7486 name_ = input.readBytes();7842 name_ = bs; 7487 7843 break; 7488 7844 } 7489 7845 case 18: { 7846 com.google.protobuf.ByteString bs = input.readBytes(); 7490 7847 bitField0_ |= 0x00000020; 7491 extendee_ = input.readBytes();7848 extendee_ = bs; 7492 7849 break; 7493 7850 } … … 7520 7877 } 7521 7878 case 50: { 7879 com.google.protobuf.ByteString bs = input.readBytes(); 7522 7880 bitField0_ |= 0x00000010; 7523 typeName_ = input.readBytes();7881 typeName_ = bs; 7524 7882 break; 7525 7883 } 7526 7884 case 58: { 7885 com.google.protobuf.ByteString bs = input.readBytes(); 7527 7886 bitField0_ |= 0x00000040; 7528 defaultValue_ = input.readBytes();7887 defaultValue_ = bs; 7529 7888 break; 7530 7889 } 7531 7890 case 66: { 7532 7891 com.google.protobuf.DescriptorProtos.FieldOptions.Builder subBuilder = null; 7533 if (((bitField0_ & 0x00000 080) == 0x00000080)) {7892 if (((bitField0_ & 0x00000100) == 0x00000100)) { 7534 7893 subBuilder = options_.toBuilder(); 7535 7894 } … … 7539 7898 options_ = subBuilder.buildPartial(); 7540 7899 } 7900 bitField0_ |= 0x00000100; 7901 break; 7902 } 7903 case 72: { 7541 7904 bitField0_ |= 0x00000080; 7905 oneofIndex_ = input.readInt32(); 7542 7906 break; 7543 7907 } … … 7985 8349 7986 8350 private int bitField0_; 7987 // optional string name = 1;7988 8351 public static final int NAME_FIELD_NUMBER = 1; 7989 8352 private java.lang.Object name_; … … 8028 8391 } 8029 8392 8030 // optional int32 number = 3;8031 8393 public static final int NUMBER_FIELD_NUMBER = 3; 8032 8394 private int number_; … … 8044 8406 } 8045 8407 8046 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;8047 8408 public static final int LABEL_FIELD_NUMBER = 4; 8048 8409 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label label_; … … 8060 8421 } 8061 8422 8062 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;8063 8423 public static final int TYPE_FIELD_NUMBER = 5; 8064 8424 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_; … … 8068 8428 * <pre> 8069 8429 * If type_name is set, this need not be set. If both this and type_name 8070 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.8430 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8071 8431 * </pre> 8072 8432 */ … … 8079 8439 * <pre> 8080 8440 * If type_name is set, this need not be set. If both this and type_name 8081 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.8441 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8082 8442 * </pre> 8083 8443 */ … … 8086 8446 } 8087 8447 8088 // optional string type_name = 6;8089 8448 public static final int TYPE_NAME_FIELD_NUMBER = 6; 8090 8449 private java.lang.Object typeName_; … … 8153 8512 } 8154 8513 8155 // optional string extendee = 2;8156 8514 public static final int EXTENDEE_FIELD_NUMBER = 2; 8157 8515 private java.lang.Object extendee_; … … 8211 8569 } 8212 8570 8213 // optional string default_value = 7;8214 8571 public static final int DEFAULT_VALUE_FIELD_NUMBER = 7; 8215 8572 private java.lang.Object defaultValue_; … … 8278 8635 } 8279 8636 8280 // optional .google.protobuf.FieldOptions options = 8; 8637 public static final int ONEOF_INDEX_FIELD_NUMBER = 9; 8638 private int oneofIndex_; 8639 /** 8640 * <code>optional int32 oneof_index = 9;</code> 8641 * 8642 * <pre> 8643 * If set, gives the index of a oneof in the containing type's oneof_decl 8644 * list. This field is a member of that oneof. Extensions of a oneof should 8645 * not set this since the oneof to which they belong will be inferred based 8646 * on the extension range containing the extension's field number. 8647 * </pre> 8648 */ 8649 public boolean hasOneofIndex() { 8650 return ((bitField0_ & 0x00000080) == 0x00000080); 8651 } 8652 /** 8653 * <code>optional int32 oneof_index = 9;</code> 8654 * 8655 * <pre> 8656 * If set, gives the index of a oneof in the containing type's oneof_decl 8657 * list. This field is a member of that oneof. Extensions of a oneof should 8658 * not set this since the oneof to which they belong will be inferred based 8659 * on the extension range containing the extension's field number. 8660 * </pre> 8661 */ 8662 public int getOneofIndex() { 8663 return oneofIndex_; 8664 } 8665 8281 8666 public static final int OPTIONS_FIELD_NUMBER = 8; 8282 8667 private com.google.protobuf.DescriptorProtos.FieldOptions options_; … … 8285 8670 */ 8286 8671 public boolean hasOptions() { 8287 return ((bitField0_ & 0x00000 080) == 0x00000080);8672 return ((bitField0_ & 0x00000100) == 0x00000100); 8288 8673 } 8289 8674 /** … … 8308 8693 extendee_ = ""; 8309 8694 defaultValue_ = ""; 8695 oneofIndex_ = 0; 8310 8696 options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); 8311 8697 } … … 8313 8699 public final boolean isInitialized() { 8314 8700 byte isInitialized = memoizedIsInitialized; 8315 if (isInitialized != -1) return isInitialized == 1; 8701 if (isInitialized == 1) return true; 8702 if (isInitialized == 0) return false; 8316 8703 8317 8704 if (hasOptions()) { … … 8349 8736 output.writeBytes(7, getDefaultValueBytes()); 8350 8737 } 8738 if (((bitField0_ & 0x00000100) == 0x00000100)) { 8739 output.writeMessage(8, options_); 8740 } 8351 8741 if (((bitField0_ & 0x00000080) == 0x00000080)) { 8352 output.write Message(8, options_);8742 output.writeInt32(9, oneofIndex_); 8353 8743 } 8354 8744 getUnknownFields().writeTo(output); … … 8389 8779 .computeBytesSize(7, getDefaultValueBytes()); 8390 8780 } 8781 if (((bitField0_ & 0x00000100) == 0x00000100)) { 8782 size += com.google.protobuf.CodedOutputStream 8783 .computeMessageSize(8, options_); 8784 } 8391 8785 if (((bitField0_ & 0x00000080) == 0x00000080)) { 8392 8786 size += com.google.protobuf.CodedOutputStream 8393 .compute MessageSize(8, options_);8787 .computeInt32Size(9, oneofIndex_); 8394 8788 } 8395 8789 size += getUnknownFields().getSerializedSize(); … … 8479 8873 */ 8480 8874 public static final class Builder extends 8481 com.google.protobuf.GeneratedMessage.Builder<Builder> 8482 implements com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder { 8875 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 8876 // @@protoc_insertion_point(builder_implements:google.protobuf.FieldDescriptorProto) 8877 com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder { 8483 8878 public static final com.google.protobuf.Descriptors.Descriptor 8484 8879 getDescriptor() { … … 8528 8923 defaultValue_ = ""; 8529 8924 bitField0_ = (bitField0_ & ~0x00000040); 8925 oneofIndex_ = 0; 8926 bitField0_ = (bitField0_ & ~0x00000080); 8530 8927 if (optionsBuilder_ == null) { 8531 8928 options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); … … 8533 8930 optionsBuilder_.clear(); 8534 8931 } 8535 bitField0_ = (bitField0_ & ~0x00000 080);8932 bitField0_ = (bitField0_ & ~0x00000100); 8536 8933 return this; 8537 8934 } … … 8593 8990 to_bitField0_ |= 0x00000080; 8594 8991 } 8992 result.oneofIndex_ = oneofIndex_; 8993 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 8994 to_bitField0_ |= 0x00000100; 8995 } 8595 8996 if (optionsBuilder_ == null) { 8596 8997 result.options_ = options_; … … 8642 9043 defaultValue_ = other.defaultValue_; 8643 9044 onChanged(); 9045 } 9046 if (other.hasOneofIndex()) { 9047 setOneofIndex(other.getOneofIndex()); 8644 9048 } 8645 9049 if (other.hasOptions()) { … … 8679 9083 private int bitField0_; 8680 9084 8681 // optional string name = 1;8682 9085 private java.lang.Object name_ = ""; 8683 9086 /** … … 8693 9096 java.lang.Object ref = name_; 8694 9097 if (!(ref instanceof java.lang.String)) { 8695 java.lang.String s = ((com.google.protobuf.ByteString) ref) 8696 .toStringUtf8(); 8697 name_ = s; 9098 com.google.protobuf.ByteString bs = 9099 (com.google.protobuf.ByteString) ref; 9100 java.lang.String s = bs.toStringUtf8(); 9101 if (bs.isValidUtf8()) { 9102 name_ = s; 9103 } 8698 9104 return s; 8699 9105 } else { … … 8753 9159 } 8754 9160 8755 // optional int32 number = 3;8756 9161 private int number_ ; 8757 9162 /** … … 8786 9191 } 8787 9192 8788 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;8789 9193 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL; 8790 9194 /** … … 8822 9226 } 8823 9227 8824 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;8825 9228 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE; 8826 9229 /** … … 8829 9232 * <pre> 8830 9233 * If type_name is set, this need not be set. If both this and type_name 8831 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.9234 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8832 9235 * </pre> 8833 9236 */ … … 8840 9243 * <pre> 8841 9244 * If type_name is set, this need not be set. If both this and type_name 8842 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.9245 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8843 9246 * </pre> 8844 9247 */ … … 8851 9254 * <pre> 8852 9255 * If type_name is set, this need not be set. If both this and type_name 8853 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.9256 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8854 9257 * </pre> 8855 9258 */ … … 8868 9271 * <pre> 8869 9272 * If type_name is set, this need not be set. If both this and type_name 8870 * are set, this must be eitherTYPE_ENUMorTYPE_MESSAGE.9273 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8871 9274 * </pre> 8872 9275 */ … … 8878 9281 } 8879 9282 8880 // optional string type_name = 6;8881 9283 private java.lang.Object typeName_ = ""; 8882 9284 /** … … 8908 9310 java.lang.Object ref = typeName_; 8909 9311 if (!(ref instanceof java.lang.String)) { 8910 java.lang.String s = ((com.google.protobuf.ByteString) ref) 8911 .toStringUtf8(); 8912 typeName_ = s; 9312 com.google.protobuf.ByteString bs = 9313 (com.google.protobuf.ByteString) ref; 9314 java.lang.String s = bs.toStringUtf8(); 9315 if (bs.isValidUtf8()) { 9316 typeName_ = s; 9317 } 8913 9318 return s; 8914 9319 } else { … … 9000 9405 } 9001 9406 9002 // optional string extendee = 2;9003 9407 private java.lang.Object extendee_ = ""; 9004 9408 /** … … 9024 9428 java.lang.Object ref = extendee_; 9025 9429 if (!(ref instanceof java.lang.String)) { 9026 java.lang.String s = ((com.google.protobuf.ByteString) ref) 9027 .toStringUtf8(); 9028 extendee_ = s; 9430 com.google.protobuf.ByteString bs = 9431 (com.google.protobuf.ByteString) ref; 9432 java.lang.String s = bs.toStringUtf8(); 9433 if (bs.isValidUtf8()) { 9434 extendee_ = s; 9435 } 9029 9436 return s; 9030 9437 } else { … … 9104 9511 } 9105 9512 9106 // optional string default_value = 7;9107 9513 private java.lang.Object defaultValue_ = ""; 9108 9514 /** … … 9134 9540 java.lang.Object ref = defaultValue_; 9135 9541 if (!(ref instanceof java.lang.String)) { 9136 java.lang.String s = ((com.google.protobuf.ByteString) ref) 9137 .toStringUtf8(); 9138 defaultValue_ = s; 9542 com.google.protobuf.ByteString bs = 9543 (com.google.protobuf.ByteString) ref; 9544 java.lang.String s = bs.toStringUtf8(); 9545 if (bs.isValidUtf8()) { 9546 defaultValue_ = s; 9547 } 9139 9548 return s; 9140 9549 } else { … … 9226 9635 } 9227 9636 9228 // optional .google.protobuf.FieldOptions options = 8; 9637 private int oneofIndex_ ; 9638 /** 9639 * <code>optional int32 oneof_index = 9;</code> 9640 * 9641 * <pre> 9642 * If set, gives the index of a oneof in the containing type's oneof_decl 9643 * list. This field is a member of that oneof. Extensions of a oneof should 9644 * not set this since the oneof to which they belong will be inferred based 9645 * on the extension range containing the extension's field number. 9646 * </pre> 9647 */ 9648 public boolean hasOneofIndex() { 9649 return ((bitField0_ & 0x00000080) == 0x00000080); 9650 } 9651 /** 9652 * <code>optional int32 oneof_index = 9;</code> 9653 * 9654 * <pre> 9655 * If set, gives the index of a oneof in the containing type's oneof_decl 9656 * list. This field is a member of that oneof. Extensions of a oneof should 9657 * not set this since the oneof to which they belong will be inferred based 9658 * on the extension range containing the extension's field number. 9659 * </pre> 9660 */ 9661 public int getOneofIndex() { 9662 return oneofIndex_; 9663 } 9664 /** 9665 * <code>optional int32 oneof_index = 9;</code> 9666 * 9667 * <pre> 9668 * If set, gives the index of a oneof in the containing type's oneof_decl 9669 * list. This field is a member of that oneof. Extensions of a oneof should 9670 * not set this since the oneof to which they belong will be inferred based 9671 * on the extension range containing the extension's field number. 9672 * </pre> 9673 */ 9674 public Builder setOneofIndex(int value) { 9675 bitField0_ |= 0x00000080; 9676 oneofIndex_ = value; 9677 onChanged(); 9678 return this; 9679 } 9680 /** 9681 * <code>optional int32 oneof_index = 9;</code> 9682 * 9683 * <pre> 9684 * If set, gives the index of a oneof in the containing type's oneof_decl 9685 * list. This field is a member of that oneof. Extensions of a oneof should 9686 * not set this since the oneof to which they belong will be inferred based 9687 * on the extension range containing the extension's field number. 9688 * </pre> 9689 */ 9690 public Builder clearOneofIndex() { 9691 bitField0_ = (bitField0_ & ~0x00000080); 9692 oneofIndex_ = 0; 9693 onChanged(); 9694 return this; 9695 } 9696 9229 9697 private com.google.protobuf.DescriptorProtos.FieldOptions options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); 9230 9698 private com.google.protobuf.SingleFieldBuilder< … … 9234 9702 */ 9235 9703 public boolean hasOptions() { 9236 return ((bitField0_ & 0x00000 080) == 0x00000080);9704 return ((bitField0_ & 0x00000100) == 0x00000100); 9237 9705 } 9238 9706 /** … … 9259 9727 optionsBuilder_.setMessage(value); 9260 9728 } 9261 bitField0_ |= 0x00000 080;9729 bitField0_ |= 0x00000100; 9262 9730 return this; 9263 9731 } … … 9273 9741 optionsBuilder_.setMessage(builderForValue.build()); 9274 9742 } 9275 bitField0_ |= 0x00000 080;9743 bitField0_ |= 0x00000100; 9276 9744 return this; 9277 9745 } … … 9281 9749 public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) { 9282 9750 if (optionsBuilder_ == null) { 9283 if (((bitField0_ & 0x00000 080) == 0x00000080) &&9751 if (((bitField0_ & 0x00000100) == 0x00000100) && 9284 9752 options_ != com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) { 9285 9753 options_ = … … 9292 9760 optionsBuilder_.mergeFrom(value); 9293 9761 } 9294 bitField0_ |= 0x00000 080;9762 bitField0_ |= 0x00000100; 9295 9763 return this; 9296 9764 } … … 9305 9773 optionsBuilder_.clear(); 9306 9774 } 9307 bitField0_ = (bitField0_ & ~0x00000 080);9775 bitField0_ = (bitField0_ & ~0x00000100); 9308 9776 return this; 9309 9777 } … … 9312 9780 */ 9313 9781 public com.google.protobuf.DescriptorProtos.FieldOptions.Builder getOptionsBuilder() { 9314 bitField0_ |= 0x00000 080;9782 bitField0_ |= 0x00000100; 9315 9783 onChanged(); 9316 9784 return getOptionsFieldBuilder().getBuilder(); … … 9335 9803 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 9336 9804 com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>( 9337 options_,9805 getOptions(), 9338 9806 getParentForChildren(), 9339 9807 isClean()); … … 9354 9822 } 9355 9823 9356 public interface EnumDescriptorProtoOrBuilder9357 extends com.google.protobuf.MessageOrBuilder {9358 9359 // optional string name = 1; 9824 public interface OneofDescriptorProtoOrBuilder extends 9825 // @@protoc_insertion_point(interface_extends:google.protobuf.OneofDescriptorProto) 9826 com.google.protobuf.MessageOrBuilder { 9827 9360 9828 /** 9361 9829 * <code>optional string name = 1;</code> … … 9371 9839 com.google.protobuf.ByteString 9372 9840 getNameBytes(); 9373 9374 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; 9841 } 9842 /** 9843 * Protobuf type {@code google.protobuf.OneofDescriptorProto} 9844 * 9845 * <pre> 9846 * Describes a oneof. 9847 * </pre> 9848 */ 9849 public static final class OneofDescriptorProto extends 9850 com.google.protobuf.GeneratedMessage implements 9851 // @@protoc_insertion_point(message_implements:google.protobuf.OneofDescriptorProto) 9852 OneofDescriptorProtoOrBuilder { 9853 // Use OneofDescriptorProto.newBuilder() to construct. 9854 private OneofDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 9855 super(builder); 9856 this.unknownFields = builder.getUnknownFields(); 9857 } 9858 private OneofDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 9859 9860 private static final OneofDescriptorProto defaultInstance; 9861 public static OneofDescriptorProto getDefaultInstance() { 9862 return defaultInstance; 9863 } 9864 9865 public OneofDescriptorProto getDefaultInstanceForType() { 9866 return defaultInstance; 9867 } 9868 9869 private final com.google.protobuf.UnknownFieldSet unknownFields; 9870 @java.lang.Override 9871 public final com.google.protobuf.UnknownFieldSet 9872 getUnknownFields() { 9873 return this.unknownFields; 9874 } 9875 private OneofDescriptorProto( 9876 com.google.protobuf.CodedInputStream input, 9877 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9878 throws com.google.protobuf.InvalidProtocolBufferException { 9879 initFields(); 9880 int mutable_bitField0_ = 0; 9881 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 9882 com.google.protobuf.UnknownFieldSet.newBuilder(); 9883 try { 9884 boolean done = false; 9885 while (!done) { 9886 int tag = input.readTag(); 9887 switch (tag) { 9888 case 0: 9889 done = true; 9890 break; 9891 default: { 9892 if (!parseUnknownField(input, unknownFields, 9893 extensionRegistry, tag)) { 9894 done = true; 9895 } 9896 break; 9897 } 9898 case 10: { 9899 com.google.protobuf.ByteString bs = input.readBytes(); 9900 bitField0_ |= 0x00000001; 9901 name_ = bs; 9902 break; 9903 } 9904 } 9905 } 9906 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9907 throw e.setUnfinishedMessage(this); 9908 } catch (java.io.IOException e) { 9909 throw new com.google.protobuf.InvalidProtocolBufferException( 9910 e.getMessage()).setUnfinishedMessage(this); 9911 } finally { 9912 this.unknownFields = unknownFields.build(); 9913 makeExtensionsImmutable(); 9914 } 9915 } 9916 public static final com.google.protobuf.Descriptors.Descriptor 9917 getDescriptor() { 9918 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor; 9919 } 9920 9921 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 9922 internalGetFieldAccessorTable() { 9923 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable 9924 .ensureFieldAccessorsInitialized( 9925 com.google.protobuf.DescriptorProtos.OneofDescriptorProto.class, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder.class); 9926 } 9927 9928 public static com.google.protobuf.Parser<OneofDescriptorProto> PARSER = 9929 new com.google.protobuf.AbstractParser<OneofDescriptorProto>() { 9930 public OneofDescriptorProto parsePartialFrom( 9931 com.google.protobuf.CodedInputStream input, 9932 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9933 throws com.google.protobuf.InvalidProtocolBufferException { 9934 return new OneofDescriptorProto(input, extensionRegistry); 9935 } 9936 }; 9937 9938 @java.lang.Override 9939 public com.google.protobuf.Parser<OneofDescriptorProto> getParserForType() { 9940 return PARSER; 9941 } 9942 9943 private int bitField0_; 9944 public static final int NAME_FIELD_NUMBER = 1; 9945 private java.lang.Object name_; 9946 /** 9947 * <code>optional string name = 1;</code> 9948 */ 9949 public boolean hasName() { 9950 return ((bitField0_ & 0x00000001) == 0x00000001); 9951 } 9952 /** 9953 * <code>optional string name = 1;</code> 9954 */ 9955 public java.lang.String getName() { 9956 java.lang.Object ref = name_; 9957 if (ref instanceof java.lang.String) { 9958 return (java.lang.String) ref; 9959 } else { 9960 com.google.protobuf.ByteString bs = 9961 (com.google.protobuf.ByteString) ref; 9962 java.lang.String s = bs.toStringUtf8(); 9963 if (bs.isValidUtf8()) { 9964 name_ = s; 9965 } 9966 return s; 9967 } 9968 } 9969 /** 9970 * <code>optional string name = 1;</code> 9971 */ 9972 public com.google.protobuf.ByteString 9973 getNameBytes() { 9974 java.lang.Object ref = name_; 9975 if (ref instanceof java.lang.String) { 9976 com.google.protobuf.ByteString b = 9977 com.google.protobuf.ByteString.copyFromUtf8( 9978 (java.lang.String) ref); 9979 name_ = b; 9980 return b; 9981 } else { 9982 return (com.google.protobuf.ByteString) ref; 9983 } 9984 } 9985 9986 private void initFields() { 9987 name_ = ""; 9988 } 9989 private byte memoizedIsInitialized = -1; 9990 public final boolean isInitialized() { 9991 byte isInitialized = memoizedIsInitialized; 9992 if (isInitialized == 1) return true; 9993 if (isInitialized == 0) return false; 9994 9995 memoizedIsInitialized = 1; 9996 return true; 9997 } 9998 9999 public void writeTo(com.google.protobuf.CodedOutputStream output) 10000 throws java.io.IOException { 10001 getSerializedSize(); 10002 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10003 output.writeBytes(1, getNameBytes()); 10004 } 10005 getUnknownFields().writeTo(output); 10006 } 10007 10008 private int memoizedSerializedSize = -1; 10009 public int getSerializedSize() { 10010 int size = memoizedSerializedSize; 10011 if (size != -1) return size; 10012 10013 size = 0; 10014 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10015 size += com.google.protobuf.CodedOutputStream 10016 .computeBytesSize(1, getNameBytes()); 10017 } 10018 size += getUnknownFields().getSerializedSize(); 10019 memoizedSerializedSize = size; 10020 return size; 10021 } 10022 10023 private static final long serialVersionUID = 0L; 10024 @java.lang.Override 10025 protected java.lang.Object writeReplace() 10026 throws java.io.ObjectStreamException { 10027 return super.writeReplace(); 10028 } 10029 10030 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10031 com.google.protobuf.ByteString data) 10032 throws com.google.protobuf.InvalidProtocolBufferException { 10033 return PARSER.parseFrom(data); 10034 } 10035 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10036 com.google.protobuf.ByteString data, 10037 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10038 throws com.google.protobuf.InvalidProtocolBufferException { 10039 return PARSER.parseFrom(data, extensionRegistry); 10040 } 10041 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(byte[] data) 10042 throws com.google.protobuf.InvalidProtocolBufferException { 10043 return PARSER.parseFrom(data); 10044 } 10045 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10046 byte[] data, 10047 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10048 throws com.google.protobuf.InvalidProtocolBufferException { 10049 return PARSER.parseFrom(data, extensionRegistry); 10050 } 10051 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input) 10052 throws java.io.IOException { 10053 return PARSER.parseFrom(input); 10054 } 10055 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10056 java.io.InputStream input, 10057 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10058 throws java.io.IOException { 10059 return PARSER.parseFrom(input, extensionRegistry); 10060 } 10061 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input) 10062 throws java.io.IOException { 10063 return PARSER.parseDelimitedFrom(input); 10064 } 10065 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom( 10066 java.io.InputStream input, 10067 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10068 throws java.io.IOException { 10069 return PARSER.parseDelimitedFrom(input, extensionRegistry); 10070 } 10071 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10072 com.google.protobuf.CodedInputStream input) 10073 throws java.io.IOException { 10074 return PARSER.parseFrom(input); 10075 } 10076 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10077 com.google.protobuf.CodedInputStream input, 10078 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10079 throws java.io.IOException { 10080 return PARSER.parseFrom(input, extensionRegistry); 10081 } 10082 10083 public static Builder newBuilder() { return Builder.create(); } 10084 public Builder newBuilderForType() { return newBuilder(); } 10085 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.OneofDescriptorProto prototype) { 10086 return newBuilder().mergeFrom(prototype); 10087 } 10088 public Builder toBuilder() { return newBuilder(this); } 10089 10090 @java.lang.Override 10091 protected Builder newBuilderForType( 10092 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 10093 Builder builder = new Builder(parent); 10094 return builder; 10095 } 10096 /** 10097 * Protobuf type {@code google.protobuf.OneofDescriptorProto} 10098 * 10099 * <pre> 10100 * Describes a oneof. 10101 * </pre> 10102 */ 10103 public static final class Builder extends 10104 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 10105 // @@protoc_insertion_point(builder_implements:google.protobuf.OneofDescriptorProto) 10106 com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder { 10107 public static final com.google.protobuf.Descriptors.Descriptor 10108 getDescriptor() { 10109 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor; 10110 } 10111 10112 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 10113 internalGetFieldAccessorTable() { 10114 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable 10115 .ensureFieldAccessorsInitialized( 10116 com.google.protobuf.DescriptorProtos.OneofDescriptorProto.class, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder.class); 10117 } 10118 10119 // Construct using com.google.protobuf.DescriptorProtos.OneofDescriptorProto.newBuilder() 10120 private Builder() { 10121 maybeForceBuilderInitialization(); 10122 } 10123 10124 private Builder( 10125 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 10126 super(parent); 10127 maybeForceBuilderInitialization(); 10128 } 10129 private void maybeForceBuilderInitialization() { 10130 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 10131 } 10132 } 10133 private static Builder create() { 10134 return new Builder(); 10135 } 10136 10137 public Builder clear() { 10138 super.clear(); 10139 name_ = ""; 10140 bitField0_ = (bitField0_ & ~0x00000001); 10141 return this; 10142 } 10143 10144 public Builder clone() { 10145 return create().mergeFrom(buildPartial()); 10146 } 10147 10148 public com.google.protobuf.Descriptors.Descriptor 10149 getDescriptorForType() { 10150 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor; 10151 } 10152 10153 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() { 10154 return com.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance(); 10155 } 10156 10157 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto build() { 10158 com.google.protobuf.DescriptorProtos.OneofDescriptorProto result = buildPartial(); 10159 if (!result.isInitialized()) { 10160 throw newUninitializedMessageException(result); 10161 } 10162 return result; 10163 } 10164 10165 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto buildPartial() { 10166 com.google.protobuf.DescriptorProtos.OneofDescriptorProto result = new com.google.protobuf.DescriptorProtos.OneofDescriptorProto(this); 10167 int from_bitField0_ = bitField0_; 10168 int to_bitField0_ = 0; 10169 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 10170 to_bitField0_ |= 0x00000001; 10171 } 10172 result.name_ = name_; 10173 result.bitField0_ = to_bitField0_; 10174 onBuilt(); 10175 return result; 10176 } 10177 10178 public Builder mergeFrom(com.google.protobuf.Message other) { 10179 if (other instanceof com.google.protobuf.DescriptorProtos.OneofDescriptorProto) { 10180 return mergeFrom((com.google.protobuf.DescriptorProtos.OneofDescriptorProto)other); 10181 } else { 10182 super.mergeFrom(other); 10183 return this; 10184 } 10185 } 10186 10187 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.OneofDescriptorProto other) { 10188 if (other == com.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance()) return this; 10189 if (other.hasName()) { 10190 bitField0_ |= 0x00000001; 10191 name_ = other.name_; 10192 onChanged(); 10193 } 10194 this.mergeUnknownFields(other.getUnknownFields()); 10195 return this; 10196 } 10197 10198 public final boolean isInitialized() { 10199 return true; 10200 } 10201 10202 public Builder mergeFrom( 10203 com.google.protobuf.CodedInputStream input, 10204 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10205 throws java.io.IOException { 10206 com.google.protobuf.DescriptorProtos.OneofDescriptorProto parsedMessage = null; 10207 try { 10208 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 10209 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10210 parsedMessage = (com.google.protobuf.DescriptorProtos.OneofDescriptorProto) e.getUnfinishedMessage(); 10211 throw e; 10212 } finally { 10213 if (parsedMessage != null) { 10214 mergeFrom(parsedMessage); 10215 } 10216 } 10217 return this; 10218 } 10219 private int bitField0_; 10220 10221 private java.lang.Object name_ = ""; 10222 /** 10223 * <code>optional string name = 1;</code> 10224 */ 10225 public boolean hasName() { 10226 return ((bitField0_ & 0x00000001) == 0x00000001); 10227 } 10228 /** 10229 * <code>optional string name = 1;</code> 10230 */ 10231 public java.lang.String getName() { 10232 java.lang.Object ref = name_; 10233 if (!(ref instanceof java.lang.String)) { 10234 com.google.protobuf.ByteString bs = 10235 (com.google.protobuf.ByteString) ref; 10236 java.lang.String s = bs.toStringUtf8(); 10237 if (bs.isValidUtf8()) { 10238 name_ = s; 10239 } 10240 return s; 10241 } else { 10242 return (java.lang.String) ref; 10243 } 10244 } 10245 /** 10246 * <code>optional string name = 1;</code> 10247 */ 10248 public com.google.protobuf.ByteString 10249 getNameBytes() { 10250 java.lang.Object ref = name_; 10251 if (ref instanceof String) { 10252 com.google.protobuf.ByteString b = 10253 com.google.protobuf.ByteString.copyFromUtf8( 10254 (java.lang.String) ref); 10255 name_ = b; 10256 return b; 10257 } else { 10258 return (com.google.protobuf.ByteString) ref; 10259 } 10260 } 10261 /** 10262 * <code>optional string name = 1;</code> 10263 */ 10264 public Builder setName( 10265 java.lang.String value) { 10266 if (value == null) { 10267 throw new NullPointerException(); 10268 } 10269 bitField0_ |= 0x00000001; 10270 name_ = value; 10271 onChanged(); 10272 return this; 10273 } 10274 /** 10275 * <code>optional string name = 1;</code> 10276 */ 10277 public Builder clearName() { 10278 bitField0_ = (bitField0_ & ~0x00000001); 10279 name_ = getDefaultInstance().getName(); 10280 onChanged(); 10281 return this; 10282 } 10283 /** 10284 * <code>optional string name = 1;</code> 10285 */ 10286 public Builder setNameBytes( 10287 com.google.protobuf.ByteString value) { 10288 if (value == null) { 10289 throw new NullPointerException(); 10290 } 10291 bitField0_ |= 0x00000001; 10292 name_ = value; 10293 onChanged(); 10294 return this; 10295 } 10296 10297 // @@protoc_insertion_point(builder_scope:google.protobuf.OneofDescriptorProto) 10298 } 10299 10300 static { 10301 defaultInstance = new OneofDescriptorProto(true); 10302 defaultInstance.initFields(); 10303 } 10304 10305 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 10306 } 10307 10308 public interface EnumDescriptorProtoOrBuilder extends 10309 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumDescriptorProto) 10310 com.google.protobuf.MessageOrBuilder { 10311 10312 /** 10313 * <code>optional string name = 1;</code> 10314 */ 10315 boolean hasName(); 10316 /** 10317 * <code>optional string name = 1;</code> 10318 */ 10319 java.lang.String getName(); 10320 /** 10321 * <code>optional string name = 1;</code> 10322 */ 10323 com.google.protobuf.ByteString 10324 getNameBytes(); 10325 9375 10326 /** 9376 10327 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> … … 9397 10348 int index); 9398 10349 9399 // optional .google.protobuf.EnumOptions options = 3;9400 10350 /** 9401 10351 * <code>optional .google.protobuf.EnumOptions options = 3;</code> … … 9419 10369 */ 9420 10370 public static final class EnumDescriptorProto extends 9421 com.google.protobuf.GeneratedMessage 9422 implements EnumDescriptorProtoOrBuilder { 10371 com.google.protobuf.GeneratedMessage implements 10372 // @@protoc_insertion_point(message_implements:google.protobuf.EnumDescriptorProto) 10373 EnumDescriptorProtoOrBuilder { 9423 10374 // Use EnumDescriptorProto.newBuilder() to construct. 9424 10375 private EnumDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 9467 10418 } 9468 10419 case 10: { 10420 com.google.protobuf.ByteString bs = input.readBytes(); 9469 10421 bitField0_ |= 0x00000001; 9470 name_ = input.readBytes();10422 name_ = bs; 9471 10423 break; 9472 10424 } … … 9535 10487 9536 10488 private int bitField0_; 9537 // optional string name = 1;9538 10489 public static final int NAME_FIELD_NUMBER = 1; 9539 10490 private java.lang.Object name_; … … 9578 10529 } 9579 10530 9580 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;9581 10531 public static final int VALUE_FIELD_NUMBER = 2; 9582 10532 private java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> value_; … … 9614 10564 } 9615 10565 9616 // optional .google.protobuf.EnumOptions options = 3;9617 10566 public static final int OPTIONS_FIELD_NUMBER = 3; 9618 10567 private com.google.protobuf.DescriptorProtos.EnumOptions options_; … … 9644 10593 public final boolean isInitialized() { 9645 10594 byte isInitialized = memoizedIsInitialized; 9646 if (isInitialized != -1) return isInitialized == 1; 10595 if (isInitialized == 1) return true; 10596 if (isInitialized == 0) return false; 9647 10597 9648 10598 for (int i = 0; i < getValueCount(); i++) { … … 9781 10731 */ 9782 10732 public static final class Builder extends 9783 com.google.protobuf.GeneratedMessage.Builder<Builder> 9784 implements com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder { 10733 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 10734 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumDescriptorProto) 10735 com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder { 9785 10736 public static final com.google.protobuf.Descriptors.Descriptor 9786 10737 getDescriptor() { … … 9969 10920 private int bitField0_; 9970 10921 9971 // optional string name = 1;9972 10922 private java.lang.Object name_ = ""; 9973 10923 /** … … 9983 10933 java.lang.Object ref = name_; 9984 10934 if (!(ref instanceof java.lang.String)) { 9985 java.lang.String s = ((com.google.protobuf.ByteString) ref) 9986 .toStringUtf8(); 9987 name_ = s; 10935 com.google.protobuf.ByteString bs = 10936 (com.google.protobuf.ByteString) ref; 10937 java.lang.String s = bs.toStringUtf8(); 10938 if (bs.isValidUtf8()) { 10939 name_ = s; 10940 } 9988 10941 return s; 9989 10942 } else { … … 10043 10996 } 10044 10997 10045 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;10046 10998 private java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> value_ = 10047 10999 java.util.Collections.emptyList(); … … 10185 11137 if (valueBuilder_ == null) { 10186 11138 ensureValueIsMutable(); 10187 super.addAll(values, value_); 11139 com.google.protobuf.AbstractMessageLite.Builder.addAll( 11140 values, value_); 10188 11141 onChanged(); 10189 11142 } else { … … 10283 11236 } 10284 11237 10285 // optional .google.protobuf.EnumOptions options = 3;10286 11238 private com.google.protobuf.DescriptorProtos.EnumOptions options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance(); 10287 11239 private com.google.protobuf.SingleFieldBuilder< … … 10392 11344 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 10393 11345 com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>( 10394 options_,11346 getOptions(), 10395 11347 getParentForChildren(), 10396 11348 isClean()); … … 10411 11363 } 10412 11364 10413 public interface EnumValueDescriptorProtoOrBuilder 10414 extends com.google.protobuf.MessageOrBuilder {10415 10416 // optional string name = 1; 11365 public interface EnumValueDescriptorProtoOrBuilder extends 11366 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumValueDescriptorProto) 11367 com.google.protobuf.MessageOrBuilder { 11368 10417 11369 /** 10418 11370 * <code>optional string name = 1;</code> … … 10429 11381 getNameBytes(); 10430 11382 10431 // optional int32 number = 2;10432 11383 /** 10433 11384 * <code>optional int32 number = 2;</code> … … 10439 11390 int getNumber(); 10440 11391 10441 // optional .google.protobuf.EnumValueOptions options = 3;10442 11392 /** 10443 11393 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> … … 10461 11411 */ 10462 11412 public static final class EnumValueDescriptorProto extends 10463 com.google.protobuf.GeneratedMessage 10464 implements EnumValueDescriptorProtoOrBuilder { 11413 com.google.protobuf.GeneratedMessage implements 11414 // @@protoc_insertion_point(message_implements:google.protobuf.EnumValueDescriptorProto) 11415 EnumValueDescriptorProtoOrBuilder { 10465 11416 // Use EnumValueDescriptorProto.newBuilder() to construct. 10466 11417 private EnumValueDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 10509 11460 } 10510 11461 case 10: { 11462 com.google.protobuf.ByteString bs = input.readBytes(); 10511 11463 bitField0_ |= 0x00000001; 10512 name_ = input.readBytes();11464 name_ = bs; 10513 11465 break; 10514 11466 } … … 10571 11523 10572 11524 private int bitField0_; 10573 // optional string name = 1;10574 11525 public static final int NAME_FIELD_NUMBER = 1; 10575 11526 private java.lang.Object name_; … … 10614 11565 } 10615 11566 10616 // optional int32 number = 2;10617 11567 public static final int NUMBER_FIELD_NUMBER = 2; 10618 11568 private int number_; … … 10630 11580 } 10631 11581 10632 // optional .google.protobuf.EnumValueOptions options = 3;10633 11582 public static final int OPTIONS_FIELD_NUMBER = 3; 10634 11583 private com.google.protobuf.DescriptorProtos.EnumValueOptions options_; … … 10660 11609 public final boolean isInitialized() { 10661 11610 byte isInitialized = memoizedIsInitialized; 10662 if (isInitialized != -1) return isInitialized == 1; 11611 if (isInitialized == 1) return true; 11612 if (isInitialized == 0) return false; 10663 11613 10664 11614 if (hasOptions()) { … … 10791 11741 */ 10792 11742 public static final class Builder extends 10793 com.google.protobuf.GeneratedMessage.Builder<Builder> 10794 implements com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder { 11743 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 11744 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumValueDescriptorProto) 11745 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder { 10795 11746 public static final com.google.protobuf.Descriptors.Descriptor 10796 11747 getDescriptor() { … … 10940 11891 private int bitField0_; 10941 11892 10942 // optional string name = 1;10943 11893 private java.lang.Object name_ = ""; 10944 11894 /** … … 10954 11904 java.lang.Object ref = name_; 10955 11905 if (!(ref instanceof java.lang.String)) { 10956 java.lang.String s = ((com.google.protobuf.ByteString) ref) 10957 .toStringUtf8(); 10958 name_ = s; 11906 com.google.protobuf.ByteString bs = 11907 (com.google.protobuf.ByteString) ref; 11908 java.lang.String s = bs.toStringUtf8(); 11909 if (bs.isValidUtf8()) { 11910 name_ = s; 11911 } 10959 11912 return s; 10960 11913 } else { … … 11014 11967 } 11015 11968 11016 // optional int32 number = 2;11017 11969 private int number_ ; 11018 11970 /** … … 11047 11999 } 11048 12000 11049 // optional .google.protobuf.EnumValueOptions options = 3;11050 12001 private com.google.protobuf.DescriptorProtos.EnumValueOptions options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance(); 11051 12002 private com.google.protobuf.SingleFieldBuilder< … … 11156 12107 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 11157 12108 com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>( 11158 options_,12109 getOptions(), 11159 12110 getParentForChildren(), 11160 12111 isClean()); … … 11175 12126 } 11176 12127 11177 public interface ServiceDescriptorProtoOrBuilder 11178 extends com.google.protobuf.MessageOrBuilder {11179 11180 // optional string name = 1; 12128 public interface ServiceDescriptorProtoOrBuilder extends 12129 // @@protoc_insertion_point(interface_extends:google.protobuf.ServiceDescriptorProto) 12130 com.google.protobuf.MessageOrBuilder { 12131 11181 12132 /** 11182 12133 * <code>optional string name = 1;</code> … … 11193 12144 getNameBytes(); 11194 12145 11195 // repeated .google.protobuf.MethodDescriptorProto method = 2;11196 12146 /** 11197 12147 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> … … 11218 12168 int index); 11219 12169 11220 // optional .google.protobuf.ServiceOptions options = 3;11221 12170 /** 11222 12171 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> … … 11240 12189 */ 11241 12190 public static final class ServiceDescriptorProto extends 11242 com.google.protobuf.GeneratedMessage 11243 implements ServiceDescriptorProtoOrBuilder { 12191 com.google.protobuf.GeneratedMessage implements 12192 // @@protoc_insertion_point(message_implements:google.protobuf.ServiceDescriptorProto) 12193 ServiceDescriptorProtoOrBuilder { 11244 12194 // Use ServiceDescriptorProto.newBuilder() to construct. 11245 12195 private ServiceDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 11288 12238 } 11289 12239 case 10: { 12240 com.google.protobuf.ByteString bs = input.readBytes(); 11290 12241 bitField0_ |= 0x00000001; 11291 name_ = input.readBytes();12242 name_ = bs; 11292 12243 break; 11293 12244 } … … 11356 12307 11357 12308 private int bitField0_; 11358 // optional string name = 1;11359 12309 public static final int NAME_FIELD_NUMBER = 1; 11360 12310 private java.lang.Object name_; … … 11399 12349 } 11400 12350 11401 // repeated .google.protobuf.MethodDescriptorProto method = 2;11402 12351 public static final int METHOD_FIELD_NUMBER = 2; 11403 12352 private java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> method_; … … 11435 12384 } 11436 12385 11437 // optional .google.protobuf.ServiceOptions options = 3;11438 12386 public static final int OPTIONS_FIELD_NUMBER = 3; 11439 12387 private com.google.protobuf.DescriptorProtos.ServiceOptions options_; … … 11465 12413 public final boolean isInitialized() { 11466 12414 byte isInitialized = memoizedIsInitialized; 11467 if (isInitialized != -1) return isInitialized == 1; 12415 if (isInitialized == 1) return true; 12416 if (isInitialized == 0) return false; 11468 12417 11469 12418 for (int i = 0; i < getMethodCount(); i++) { … … 11602 12551 */ 11603 12552 public static final class Builder extends 11604 com.google.protobuf.GeneratedMessage.Builder<Builder> 11605 implements com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder { 12553 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 12554 // @@protoc_insertion_point(builder_implements:google.protobuf.ServiceDescriptorProto) 12555 com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder { 11606 12556 public static final com.google.protobuf.Descriptors.Descriptor 11607 12557 getDescriptor() { … … 11790 12740 private int bitField0_; 11791 12741 11792 // optional string name = 1;11793 12742 private java.lang.Object name_ = ""; 11794 12743 /** … … 11804 12753 java.lang.Object ref = name_; 11805 12754 if (!(ref instanceof java.lang.String)) { 11806 java.lang.String s = ((com.google.protobuf.ByteString) ref) 11807 .toStringUtf8(); 11808 name_ = s; 12755 com.google.protobuf.ByteString bs = 12756 (com.google.protobuf.ByteString) ref; 12757 java.lang.String s = bs.toStringUtf8(); 12758 if (bs.isValidUtf8()) { 12759 name_ = s; 12760 } 11809 12761 return s; 11810 12762 } else { … … 11864 12816 } 11865 12817 11866 // repeated .google.protobuf.MethodDescriptorProto method = 2;11867 12818 private java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> method_ = 11868 12819 java.util.Collections.emptyList(); … … 12006 12957 if (methodBuilder_ == null) { 12007 12958 ensureMethodIsMutable(); 12008 super.addAll(values, method_); 12959 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12960 values, method_); 12009 12961 onChanged(); 12010 12962 } else { … … 12104 13056 } 12105 13057 12106 // optional .google.protobuf.ServiceOptions options = 3;12107 13058 private com.google.protobuf.DescriptorProtos.ServiceOptions options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance(); 12108 13059 private com.google.protobuf.SingleFieldBuilder< … … 12213 13164 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 12214 13165 com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>( 12215 options_,13166 getOptions(), 12216 13167 getParentForChildren(), 12217 13168 isClean()); … … 12232 13183 } 12233 13184 12234 public interface MethodDescriptorProtoOrBuilder 12235 extends com.google.protobuf.MessageOrBuilder {12236 12237 // optional string name = 1; 13185 public interface MethodDescriptorProtoOrBuilder extends 13186 // @@protoc_insertion_point(interface_extends:google.protobuf.MethodDescriptorProto) 13187 com.google.protobuf.MessageOrBuilder { 13188 12238 13189 /** 12239 13190 * <code>optional string name = 1;</code> … … 12250 13201 getNameBytes(); 12251 13202 12252 // optional string input_type = 2;12253 13203 /** 12254 13204 * <code>optional string input_type = 2;</code> … … 12280 13230 getInputTypeBytes(); 12281 13231 12282 // optional string output_type = 3;12283 13232 /** 12284 13233 * <code>optional string output_type = 3;</code> … … 12295 13244 getOutputTypeBytes(); 12296 13245 12297 // optional .google.protobuf.MethodOptions options = 4;12298 13246 /** 12299 13247 * <code>optional .google.protobuf.MethodOptions options = 4;</code> … … 12317 13265 */ 12318 13266 public static final class MethodDescriptorProto extends 12319 com.google.protobuf.GeneratedMessage 12320 implements MethodDescriptorProtoOrBuilder { 13267 com.google.protobuf.GeneratedMessage implements 13268 // @@protoc_insertion_point(message_implements:google.protobuf.MethodDescriptorProto) 13269 MethodDescriptorProtoOrBuilder { 12321 13270 // Use MethodDescriptorProto.newBuilder() to construct. 12322 13271 private MethodDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 12365 13314 } 12366 13315 case 10: { 13316 com.google.protobuf.ByteString bs = input.readBytes(); 12367 13317 bitField0_ |= 0x00000001; 12368 name_ = input.readBytes();13318 name_ = bs; 12369 13319 break; 12370 13320 } 12371 13321 case 18: { 13322 com.google.protobuf.ByteString bs = input.readBytes(); 12372 13323 bitField0_ |= 0x00000002; 12373 inputType_ = input.readBytes();13324 inputType_ = bs; 12374 13325 break; 12375 13326 } 12376 13327 case 26: { 13328 com.google.protobuf.ByteString bs = input.readBytes(); 12377 13329 bitField0_ |= 0x00000004; 12378 outputType_ = input.readBytes();13330 outputType_ = bs; 12379 13331 break; 12380 13332 } … … 12432 13384 12433 13385 private int bitField0_; 12434 // optional string name = 1;12435 13386 public static final int NAME_FIELD_NUMBER = 1; 12436 13387 private java.lang.Object name_; … … 12475 13426 } 12476 13427 12477 // optional string input_type = 2;12478 13428 public static final int INPUT_TYPE_FIELD_NUMBER = 2; 12479 13429 private java.lang.Object inputType_; … … 12533 13483 } 12534 13484 12535 // optional string output_type = 3;12536 13485 public static final int OUTPUT_TYPE_FIELD_NUMBER = 3; 12537 13486 private java.lang.Object outputType_; … … 12576 13525 } 12577 13526 12578 // optional .google.protobuf.MethodOptions options = 4;12579 13527 public static final int OPTIONS_FIELD_NUMBER = 4; 12580 13528 private com.google.protobuf.DescriptorProtos.MethodOptions options_; … … 12607 13555 public final boolean isInitialized() { 12608 13556 byte isInitialized = memoizedIsInitialized; 12609 if (isInitialized != -1) return isInitialized == 1; 13557 if (isInitialized == 1) return true; 13558 if (isInitialized == 0) return false; 12610 13559 12611 13560 if (hasOptions()) { … … 12745 13694 */ 12746 13695 public static final class Builder extends 12747 com.google.protobuf.GeneratedMessage.Builder<Builder> 12748 implements com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder { 13696 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 13697 // @@protoc_insertion_point(builder_implements:google.protobuf.MethodDescriptorProto) 13698 com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder { 12749 13699 public static final com.google.protobuf.Descriptors.Descriptor 12750 13700 getDescriptor() { … … 12907 13857 private int bitField0_; 12908 13858 12909 // optional string name = 1;12910 13859 private java.lang.Object name_ = ""; 12911 13860 /** … … 12921 13870 java.lang.Object ref = name_; 12922 13871 if (!(ref instanceof java.lang.String)) { 12923 java.lang.String s = ((com.google.protobuf.ByteString) ref) 12924 .toStringUtf8(); 12925 name_ = s; 13872 com.google.protobuf.ByteString bs = 13873 (com.google.protobuf.ByteString) ref; 13874 java.lang.String s = bs.toStringUtf8(); 13875 if (bs.isValidUtf8()) { 13876 name_ = s; 13877 } 12926 13878 return s; 12927 13879 } else { … … 12981 13933 } 12982 13934 12983 // optional string input_type = 2;12984 13935 private java.lang.Object inputType_ = ""; 12985 13936 /** … … 13005 13956 java.lang.Object ref = inputType_; 13006 13957 if (!(ref instanceof java.lang.String)) { 13007 java.lang.String s = ((com.google.protobuf.ByteString) ref) 13008 .toStringUtf8(); 13009 inputType_ = s; 13958 com.google.protobuf.ByteString bs = 13959 (com.google.protobuf.ByteString) ref; 13960 java.lang.String s = bs.toStringUtf8(); 13961 if (bs.isValidUtf8()) { 13962 inputType_ = s; 13963 } 13010 13964 return s; 13011 13965 } else { … … 13085 14039 } 13086 14040 13087 // optional string output_type = 3;13088 14041 private java.lang.Object outputType_ = ""; 13089 14042 /** … … 13099 14052 java.lang.Object ref = outputType_; 13100 14053 if (!(ref instanceof java.lang.String)) { 13101 java.lang.String s = ((com.google.protobuf.ByteString) ref) 13102 .toStringUtf8(); 13103 outputType_ = s; 14054 com.google.protobuf.ByteString bs = 14055 (com.google.protobuf.ByteString) ref; 14056 java.lang.String s = bs.toStringUtf8(); 14057 if (bs.isValidUtf8()) { 14058 outputType_ = s; 14059 } 13104 14060 return s; 13105 14061 } else { … … 13159 14115 } 13160 14116 13161 // optional .google.protobuf.MethodOptions options = 4;13162 14117 private com.google.protobuf.DescriptorProtos.MethodOptions options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance(); 13163 14118 private com.google.protobuf.SingleFieldBuilder< … … 13268 14223 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< 13269 14224 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>( 13270 options_,14225 getOptions(), 13271 14226 getParentForChildren(), 13272 14227 isClean()); … … 13288 14243 13289 14244 public interface FileOptionsOrBuilder extends 14245 // @@protoc_insertion_point(interface_extends:google.protobuf.FileOptions) 13290 14246 com.google.protobuf.GeneratedMessage. 13291 14247 ExtendableMessageOrBuilder<FileOptions> { 13292 14248 13293 // optional string java_package = 1;13294 14249 /** 13295 14250 * <code>optional string java_package = 1;</code> … … 13327 14282 getJavaPackageBytes(); 13328 14283 13329 // optional string java_outer_classname = 8;13330 14284 /** 13331 14285 * <code>optional string java_outer_classname = 8;</code> … … 13366 14320 getJavaOuterClassnameBytes(); 13367 14321 13368 // optional bool java_multiple_files = 10 [default = false];13369 14322 /** 13370 14323 * <code>optional bool java_multiple_files = 10 [default = false];</code> … … 13394 14347 boolean getJavaMultipleFiles(); 13395 14348 13396 // optional bool java_generate_equals_and_hash = 20 [default = false];13397 14349 /** 13398 14350 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> … … 13400 14352 * <pre> 13401 14353 * If set true, then the Java code generator will generate equals() and 13402 * hashCode() methods for all messages defined in the .proto file. This is 13403 * purely a speed optimization, as the AbstractMessage base class includes 13404 * reflection-based implementations of these methods. 14354 * hashCode() methods for all messages defined in the .proto file. 14355 * - In the full runtime, this is purely a speed optimization, as the 14356 * AbstractMessage base class includes reflection-based implementations of 14357 * these methods. 14358 *- In the lite runtime, setting this option changes the semantics of 14359 * equals() and hashCode() to more closely match those of the full runtime; 14360 * the generated methods compute their results based on field values rather 14361 * than object identity. (Implementations should not assume that hashcodes 14362 * will be consistent across runtimes or versions of the protocol compiler.) 13405 14363 * </pre> 13406 14364 */ … … 13411 14369 * <pre> 13412 14370 * If set true, then the Java code generator will generate equals() and 13413 * hashCode() methods for all messages defined in the .proto file. This is 13414 * purely a speed optimization, as the AbstractMessage base class includes 13415 * reflection-based implementations of these methods. 14371 * hashCode() methods for all messages defined in the .proto file. 14372 * - In the full runtime, this is purely a speed optimization, as the 14373 * AbstractMessage base class includes reflection-based implementations of 14374 * these methods. 14375 *- In the lite runtime, setting this option changes the semantics of 14376 * equals() and hashCode() to more closely match those of the full runtime; 14377 * the generated methods compute their results based on field values rather 14378 * than object identity. (Implementations should not assume that hashcodes 14379 * will be consistent across runtimes or versions of the protocol compiler.) 13416 14380 * </pre> 13417 14381 */ 13418 14382 boolean getJavaGenerateEqualsAndHash(); 13419 14383 13420 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 14384 /** 14385 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 14386 * 14387 * <pre> 14388 * If set true, then the Java2 code generator will generate code that 14389 * throws an exception whenever an attempt is made to assign a non-UTF-8 14390 * byte sequence to a string field. 14391 * Message reflection will do the same. 14392 * However, an extension field still accepts non-UTF-8 byte sequences. 14393 * This option has no effect on when used with the lite runtime. 14394 * </pre> 14395 */ 14396 boolean hasJavaStringCheckUtf8(); 14397 /** 14398 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 14399 * 14400 * <pre> 14401 * If set true, then the Java2 code generator will generate code that 14402 * throws an exception whenever an attempt is made to assign a non-UTF-8 14403 * byte sequence to a string field. 14404 * Message reflection will do the same. 14405 * However, an extension field still accepts non-UTF-8 byte sequences. 14406 * This option has no effect on when used with the lite runtime. 14407 * </pre> 14408 */ 14409 boolean getJavaStringCheckUtf8(); 14410 13421 14411 /** 13422 14412 * <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code> … … 13428 14418 com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor(); 13429 14419 13430 // optional string go_package = 11;13431 14420 /** 13432 14421 * <code>optional string go_package = 11;</code> … … 13458 14447 getGoPackageBytes(); 13459 14448 13460 // optional bool cc_generic_services = 16 [default = false];13461 14449 /** 13462 14450 * <code>optional bool cc_generic_services = 16 [default = false];</code> … … 13468 14456 * Generic services were the only kind of service generation supported by 13469 14457 * early versions of proto2. 13470 *13471 14458 * Generic services are now considered deprecated in favor of using plugins 13472 14459 * that generate code specific to your particular RPC system. Therefore, … … 13485 14472 * Generic services were the only kind of service generation supported by 13486 14473 * early versions of proto2. 13487 *13488 14474 * Generic services are now considered deprecated in favor of using plugins 13489 14475 * that generate code specific to your particular RPC system. Therefore, … … 13494 14480 boolean getCcGenericServices(); 13495 14481 13496 // optional bool java_generic_services = 17 [default = false];13497 14482 /** 13498 14483 * <code>optional bool java_generic_services = 17 [default = false];</code> … … 13504 14489 boolean getJavaGenericServices(); 13505 14490 13506 // optional bool py_generic_services = 18 [default = false];13507 14491 /** 13508 14492 * <code>optional bool py_generic_services = 18 [default = false];</code> … … 13514 14498 boolean getPyGenericServices(); 13515 14499 13516 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 14500 /** 14501 * <code>optional bool deprecated = 23 [default = false];</code> 14502 * 14503 * <pre> 14504 * Is this file deprecated? 14505 * Depending on the target platform, this can emit Deprecated annotations 14506 * for everything in the file, or it will be completely ignored; in the very 14507 * least, this is a formalization for deprecating files. 14508 * </pre> 14509 */ 14510 boolean hasDeprecated(); 14511 /** 14512 * <code>optional bool deprecated = 23 [default = false];</code> 14513 * 14514 * <pre> 14515 * Is this file deprecated? 14516 * Depending on the target platform, this can emit Deprecated annotations 14517 * for everything in the file, or it will be completely ignored; in the very 14518 * least, this is a formalization for deprecating files. 14519 * </pre> 14520 */ 14521 boolean getDeprecated(); 14522 13517 14523 /** 13518 14524 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 13564 14570 public static final class FileOptions extends 13565 14571 com.google.protobuf.GeneratedMessage.ExtendableMessage< 13566 FileOptions> implements FileOptionsOrBuilder { 14572 FileOptions> implements 14573 // @@protoc_insertion_point(message_implements:google.protobuf.FileOptions) 14574 FileOptionsOrBuilder { 13567 14575 // Use FileOptions.newBuilder() to construct. 13568 14576 private FileOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FileOptions, ?> builder) { … … 13611 14619 } 13612 14620 case 10: { 14621 com.google.protobuf.ByteString bs = input.readBytes(); 13613 14622 bitField0_ |= 0x00000001; 13614 javaPackage_ = input.readBytes();14623 javaPackage_ = bs; 13615 14624 break; 13616 14625 } 13617 14626 case 66: { 14627 com.google.protobuf.ByteString bs = input.readBytes(); 13618 14628 bitField0_ |= 0x00000002; 13619 javaOuterClassname_ = input.readBytes();14629 javaOuterClassname_ = bs; 13620 14630 break; 13621 14631 } … … 13626 14636 unknownFields.mergeVarintField(9, rawValue); 13627 14637 } else { 13628 bitField0_ |= 0x000000 10;14638 bitField0_ |= 0x00000020; 13629 14639 optimizeFor_ = value; 13630 14640 } … … 13637 14647 } 13638 14648 case 90: { 13639 bitField0_ |= 0x00000020; 13640 goPackage_ = input.readBytes(); 14649 com.google.protobuf.ByteString bs = input.readBytes(); 14650 bitField0_ |= 0x00000040; 14651 goPackage_ = bs; 13641 14652 break; 13642 14653 } 13643 14654 case 128: { 13644 bitField0_ |= 0x000000 40;14655 bitField0_ |= 0x00000080; 13645 14656 ccGenericServices_ = input.readBool(); 13646 14657 break; 13647 14658 } 13648 14659 case 136: { 13649 bitField0_ |= 0x00000 080;14660 bitField0_ |= 0x00000100; 13650 14661 javaGenericServices_ = input.readBool(); 13651 14662 break; 13652 14663 } 13653 14664 case 144: { 13654 bitField0_ |= 0x00000 100;14665 bitField0_ |= 0x00000200; 13655 14666 pyGenericServices_ = input.readBool(); 13656 14667 break; … … 13661 14672 break; 13662 14673 } 14674 case 184: { 14675 bitField0_ |= 0x00000400; 14676 deprecated_ = input.readBool(); 14677 break; 14678 } 14679 case 216: { 14680 bitField0_ |= 0x00000010; 14681 javaStringCheckUtf8_ = input.readBool(); 14682 break; 14683 } 13663 14684 case 7994: { 13664 if (!((mutable_bitField0_ & 0x00000 200) == 0x00000200)) {14685 if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { 13665 14686 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 13666 mutable_bitField0_ |= 0x00000 200;14687 mutable_bitField0_ |= 0x00000800; 13667 14688 } 13668 14689 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 13677 14698 e.getMessage()).setUnfinishedMessage(this); 13678 14699 } finally { 13679 if (((mutable_bitField0_ & 0x00000 200) == 0x00000200)) {14700 if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { 13680 14701 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 13681 14702 } … … 13831 14852 13832 14853 private int bitField0_; 13833 // optional string java_package = 1;13834 14854 public static final int JAVA_PACKAGE_FIELD_NUMBER = 1; 13835 14855 private java.lang.Object javaPackage_; … … 13895 14915 } 13896 14916 13897 // optional string java_outer_classname = 8;13898 14917 public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER = 8; 13899 14918 private java.lang.Object javaOuterClassname_; … … 13962 14981 } 13963 14982 13964 // optional bool java_multiple_files = 10 [default = false];13965 14983 public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER = 10; 13966 14984 private boolean javaMultipleFiles_; … … 13996 15014 } 13997 15015 13998 // optional bool java_generate_equals_and_hash = 20 [default = false];13999 15016 public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER = 20; 14000 15017 private boolean javaGenerateEqualsAndHash_; … … 14004 15021 * <pre> 14005 15022 * If set true, then the Java code generator will generate equals() and 14006 * hashCode() methods for all messages defined in the .proto file. This is 14007 * purely a speed optimization, as the AbstractMessage base class includes 14008 * reflection-based implementations of these methods. 15023 * hashCode() methods for all messages defined in the .proto file. 15024 * - In the full runtime, this is purely a speed optimization, as the 15025 * AbstractMessage base class includes reflection-based implementations of 15026 * these methods. 15027 *- In the lite runtime, setting this option changes the semantics of 15028 * equals() and hashCode() to more closely match those of the full runtime; 15029 * the generated methods compute their results based on field values rather 15030 * than object identity. (Implementations should not assume that hashcodes 15031 * will be consistent across runtimes or versions of the protocol compiler.) 14009 15032 * </pre> 14010 15033 */ … … 14017 15040 * <pre> 14018 15041 * If set true, then the Java code generator will generate equals() and 14019 * hashCode() methods for all messages defined in the .proto file. This is 14020 * purely a speed optimization, as the AbstractMessage base class includes 14021 * reflection-based implementations of these methods. 15042 * hashCode() methods for all messages defined in the .proto file. 15043 * - In the full runtime, this is purely a speed optimization, as the 15044 * AbstractMessage base class includes reflection-based implementations of 15045 * these methods. 15046 *- In the lite runtime, setting this option changes the semantics of 15047 * equals() and hashCode() to more closely match those of the full runtime; 15048 * the generated methods compute their results based on field values rather 15049 * than object identity. (Implementations should not assume that hashcodes 15050 * will be consistent across runtimes or versions of the protocol compiler.) 14022 15051 * </pre> 14023 15052 */ … … 14026 15055 } 14027 15056 14028 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 15057 public static final int JAVA_STRING_CHECK_UTF8_FIELD_NUMBER = 27; 15058 private boolean javaStringCheckUtf8_; 15059 /** 15060 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 15061 * 15062 * <pre> 15063 * If set true, then the Java2 code generator will generate code that 15064 * throws an exception whenever an attempt is made to assign a non-UTF-8 15065 * byte sequence to a string field. 15066 * Message reflection will do the same. 15067 * However, an extension field still accepts non-UTF-8 byte sequences. 15068 * This option has no effect on when used with the lite runtime. 15069 * </pre> 15070 */ 15071 public boolean hasJavaStringCheckUtf8() { 15072 return ((bitField0_ & 0x00000010) == 0x00000010); 15073 } 15074 /** 15075 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 15076 * 15077 * <pre> 15078 * If set true, then the Java2 code generator will generate code that 15079 * throws an exception whenever an attempt is made to assign a non-UTF-8 15080 * byte sequence to a string field. 15081 * Message reflection will do the same. 15082 * However, an extension field still accepts non-UTF-8 byte sequences. 15083 * This option has no effect on when used with the lite runtime. 15084 * </pre> 15085 */ 15086 public boolean getJavaStringCheckUtf8() { 15087 return javaStringCheckUtf8_; 15088 } 15089 14029 15090 public static final int OPTIMIZE_FOR_FIELD_NUMBER = 9; 14030 15091 private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode optimizeFor_; … … 14033 15094 */ 14034 15095 public boolean hasOptimizeFor() { 14035 return ((bitField0_ & 0x000000 10) == 0x00000010);15096 return ((bitField0_ & 0x00000020) == 0x00000020); 14036 15097 } 14037 15098 /** … … 14042 15103 } 14043 15104 14044 // optional string go_package = 11;14045 15105 public static final int GO_PACKAGE_FIELD_NUMBER = 11; 14046 15106 private java.lang.Object goPackage_; … … 14054 15114 */ 14055 15115 public boolean hasGoPackage() { 14056 return ((bitField0_ & 0x000000 20) == 0x00000020);15116 return ((bitField0_ & 0x00000040) == 0x00000040); 14057 15117 } 14058 15118 /** … … 14100 15160 } 14101 15161 14102 // optional bool cc_generic_services = 16 [default = false];14103 15162 public static final int CC_GENERIC_SERVICES_FIELD_NUMBER = 16; 14104 15163 private boolean ccGenericServices_; … … 14112 15171 * Generic services were the only kind of service generation supported by 14113 15172 * early versions of proto2. 14114 *14115 15173 * Generic services are now considered deprecated in favor of using plugins 14116 15174 * that generate code specific to your particular RPC system. Therefore, … … 14120 15178 */ 14121 15179 public boolean hasCcGenericServices() { 14122 return ((bitField0_ & 0x000000 40) == 0x00000040);15180 return ((bitField0_ & 0x00000080) == 0x00000080); 14123 15181 } 14124 15182 /** … … 14131 15189 * Generic services were the only kind of service generation supported by 14132 15190 * early versions of proto2. 14133 *14134 15191 * Generic services are now considered deprecated in favor of using plugins 14135 15192 * that generate code specific to your particular RPC system. Therefore, … … 14142 15199 } 14143 15200 14144 // optional bool java_generic_services = 17 [default = false];14145 15201 public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER = 17; 14146 15202 private boolean javaGenericServices_; … … 14149 15205 */ 14150 15206 public boolean hasJavaGenericServices() { 14151 return ((bitField0_ & 0x00000 080) == 0x00000080);15207 return ((bitField0_ & 0x00000100) == 0x00000100); 14152 15208 } 14153 15209 /** … … 14158 15214 } 14159 15215 14160 // optional bool py_generic_services = 18 [default = false];14161 15216 public static final int PY_GENERIC_SERVICES_FIELD_NUMBER = 18; 14162 15217 private boolean pyGenericServices_; … … 14165 15220 */ 14166 15221 public boolean hasPyGenericServices() { 14167 return ((bitField0_ & 0x00000 100) == 0x00000100);15222 return ((bitField0_ & 0x00000200) == 0x00000200); 14168 15223 } 14169 15224 /** … … 14174 15229 } 14175 15230 14176 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 15231 public static final int DEPRECATED_FIELD_NUMBER = 23; 15232 private boolean deprecated_; 15233 /** 15234 * <code>optional bool deprecated = 23 [default = false];</code> 15235 * 15236 * <pre> 15237 * Is this file deprecated? 15238 * Depending on the target platform, this can emit Deprecated annotations 15239 * for everything in the file, or it will be completely ignored; in the very 15240 * least, this is a formalization for deprecating files. 15241 * </pre> 15242 */ 15243 public boolean hasDeprecated() { 15244 return ((bitField0_ & 0x00000400) == 0x00000400); 15245 } 15246 /** 15247 * <code>optional bool deprecated = 23 [default = false];</code> 15248 * 15249 * <pre> 15250 * Is this file deprecated? 15251 * Depending on the target platform, this can emit Deprecated annotations 15252 * for everything in the file, or it will be completely ignored; in the very 15253 * least, this is a formalization for deprecating files. 15254 * </pre> 15255 */ 15256 public boolean getDeprecated() { 15257 return deprecated_; 15258 } 15259 14177 15260 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 14178 15261 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 14235 15318 javaMultipleFiles_ = false; 14236 15319 javaGenerateEqualsAndHash_ = false; 15320 javaStringCheckUtf8_ = false; 14237 15321 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED; 14238 15322 goPackage_ = ""; … … 14240 15324 javaGenericServices_ = false; 14241 15325 pyGenericServices_ = false; 15326 deprecated_ = false; 14242 15327 uninterpretedOption_ = java.util.Collections.emptyList(); 14243 15328 } … … 14245 15330 public final boolean isInitialized() { 14246 15331 byte isInitialized = memoizedIsInitialized; 14247 if (isInitialized != -1) return isInitialized == 1; 15332 if (isInitialized == 1) return true; 15333 if (isInitialized == 0) return false; 14248 15334 14249 15335 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 14273 15359 output.writeBytes(8, getJavaOuterClassnameBytes()); 14274 15360 } 14275 if (((bitField0_ & 0x000000 10) == 0x00000010)) {15361 if (((bitField0_ & 0x00000020) == 0x00000020)) { 14276 15362 output.writeEnum(9, optimizeFor_.getNumber()); 14277 15363 } … … 14279 15365 output.writeBool(10, javaMultipleFiles_); 14280 15366 } 14281 if (((bitField0_ & 0x000000 20) == 0x00000020)) {15367 if (((bitField0_ & 0x00000040) == 0x00000040)) { 14282 15368 output.writeBytes(11, getGoPackageBytes()); 14283 15369 } 14284 if (((bitField0_ & 0x000000 40) == 0x00000040)) {15370 if (((bitField0_ & 0x00000080) == 0x00000080)) { 14285 15371 output.writeBool(16, ccGenericServices_); 14286 15372 } 14287 if (((bitField0_ & 0x00000 080) == 0x00000080)) {15373 if (((bitField0_ & 0x00000100) == 0x00000100)) { 14288 15374 output.writeBool(17, javaGenericServices_); 14289 15375 } 14290 if (((bitField0_ & 0x00000 100) == 0x00000100)) {15376 if (((bitField0_ & 0x00000200) == 0x00000200)) { 14291 15377 output.writeBool(18, pyGenericServices_); 14292 15378 } 14293 15379 if (((bitField0_ & 0x00000008) == 0x00000008)) { 14294 15380 output.writeBool(20, javaGenerateEqualsAndHash_); 15381 } 15382 if (((bitField0_ & 0x00000400) == 0x00000400)) { 15383 output.writeBool(23, deprecated_); 15384 } 15385 if (((bitField0_ & 0x00000010) == 0x00000010)) { 15386 output.writeBool(27, javaStringCheckUtf8_); 14295 15387 } 14296 15388 for (int i = 0; i < uninterpretedOption_.size(); i++) { … … 14315 15407 .computeBytesSize(8, getJavaOuterClassnameBytes()); 14316 15408 } 14317 if (((bitField0_ & 0x000000 10) == 0x00000010)) {15409 if (((bitField0_ & 0x00000020) == 0x00000020)) { 14318 15410 size += com.google.protobuf.CodedOutputStream 14319 15411 .computeEnumSize(9, optimizeFor_.getNumber()); … … 14323 15415 .computeBoolSize(10, javaMultipleFiles_); 14324 15416 } 14325 if (((bitField0_ & 0x000000 20) == 0x00000020)) {15417 if (((bitField0_ & 0x00000040) == 0x00000040)) { 14326 15418 size += com.google.protobuf.CodedOutputStream 14327 15419 .computeBytesSize(11, getGoPackageBytes()); 14328 15420 } 14329 if (((bitField0_ & 0x000000 40) == 0x00000040)) {15421 if (((bitField0_ & 0x00000080) == 0x00000080)) { 14330 15422 size += com.google.protobuf.CodedOutputStream 14331 15423 .computeBoolSize(16, ccGenericServices_); 14332 15424 } 14333 if (((bitField0_ & 0x00000 080) == 0x00000080)) {15425 if (((bitField0_ & 0x00000100) == 0x00000100)) { 14334 15426 size += com.google.protobuf.CodedOutputStream 14335 15427 .computeBoolSize(17, javaGenericServices_); 14336 15428 } 14337 if (((bitField0_ & 0x00000 100) == 0x00000100)) {15429 if (((bitField0_ & 0x00000200) == 0x00000200)) { 14338 15430 size += com.google.protobuf.CodedOutputStream 14339 15431 .computeBoolSize(18, pyGenericServices_); … … 14342 15434 size += com.google.protobuf.CodedOutputStream 14343 15435 .computeBoolSize(20, javaGenerateEqualsAndHash_); 15436 } 15437 if (((bitField0_ & 0x00000400) == 0x00000400)) { 15438 size += com.google.protobuf.CodedOutputStream 15439 .computeBoolSize(23, deprecated_); 15440 } 15441 if (((bitField0_ & 0x00000010) == 0x00000010)) { 15442 size += com.google.protobuf.CodedOutputStream 15443 .computeBoolSize(27, javaStringCheckUtf8_); 14344 15444 } 14345 15445 for (int i = 0; i < uninterpretedOption_.size(); i++) { … … 14431 15531 public static final class Builder extends 14432 15532 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 14433 com.google.protobuf.DescriptorProtos.FileOptions, Builder> implements com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder { 15533 com.google.protobuf.DescriptorProtos.FileOptions, Builder> implements 15534 // @@protoc_insertion_point(builder_implements:google.protobuf.FileOptions) 15535 com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder { 14434 15536 public static final com.google.protobuf.Descriptors.Descriptor 14435 15537 getDescriptor() { … … 14473 15575 javaGenerateEqualsAndHash_ = false; 14474 15576 bitField0_ = (bitField0_ & ~0x00000008); 15577 javaStringCheckUtf8_ = false; 15578 bitField0_ = (bitField0_ & ~0x00000010); 14475 15579 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED; 14476 bitField0_ = (bitField0_ & ~0x000000 10);15580 bitField0_ = (bitField0_ & ~0x00000020); 14477 15581 goPackage_ = ""; 14478 bitField0_ = (bitField0_ & ~0x000000 20);15582 bitField0_ = (bitField0_ & ~0x00000040); 14479 15583 ccGenericServices_ = false; 14480 bitField0_ = (bitField0_ & ~0x000000 40);15584 bitField0_ = (bitField0_ & ~0x00000080); 14481 15585 javaGenericServices_ = false; 14482 bitField0_ = (bitField0_ & ~0x00000 080);15586 bitField0_ = (bitField0_ & ~0x00000100); 14483 15587 pyGenericServices_ = false; 14484 bitField0_ = (bitField0_ & ~0x00000100); 15588 bitField0_ = (bitField0_ & ~0x00000200); 15589 deprecated_ = false; 15590 bitField0_ = (bitField0_ & ~0x00000400); 14485 15591 if (uninterpretedOptionBuilder_ == null) { 14486 15592 uninterpretedOption_ = java.util.Collections.emptyList(); 14487 bitField0_ = (bitField0_ & ~0x00000 200);15593 bitField0_ = (bitField0_ & ~0x00000800); 14488 15594 } else { 14489 15595 uninterpretedOptionBuilder_.clear(); … … 14536 15642 to_bitField0_ |= 0x00000010; 14537 15643 } 14538 result. optimizeFor_ = optimizeFor_;15644 result.javaStringCheckUtf8_ = javaStringCheckUtf8_; 14539 15645 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 14540 15646 to_bitField0_ |= 0x00000020; 14541 15647 } 14542 result. goPackage_ = goPackage_;15648 result.optimizeFor_ = optimizeFor_; 14543 15649 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 14544 15650 to_bitField0_ |= 0x00000040; 14545 15651 } 14546 result. ccGenericServices_ = ccGenericServices_;15652 result.goPackage_ = goPackage_; 14547 15653 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 14548 15654 to_bitField0_ |= 0x00000080; 14549 15655 } 14550 result. javaGenericServices_ =javaGenericServices_;15656 result.ccGenericServices_ = ccGenericServices_; 14551 15657 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 14552 15658 to_bitField0_ |= 0x00000100; 14553 15659 } 15660 result.javaGenericServices_ = javaGenericServices_; 15661 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 15662 to_bitField0_ |= 0x00000200; 15663 } 14554 15664 result.pyGenericServices_ = pyGenericServices_; 15665 if (((from_bitField0_ & 0x00000400) == 0x00000400)) { 15666 to_bitField0_ |= 0x00000400; 15667 } 15668 result.deprecated_ = deprecated_; 14555 15669 if (uninterpretedOptionBuilder_ == null) { 14556 if (((bitField0_ & 0x00000 200) == 0x00000200)) {15670 if (((bitField0_ & 0x00000800) == 0x00000800)) { 14557 15671 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 14558 bitField0_ = (bitField0_ & ~0x00000 200);15672 bitField0_ = (bitField0_ & ~0x00000800); 14559 15673 } 14560 15674 result.uninterpretedOption_ = uninterpretedOption_; … … 14594 15708 setJavaGenerateEqualsAndHash(other.getJavaGenerateEqualsAndHash()); 14595 15709 } 15710 if (other.hasJavaStringCheckUtf8()) { 15711 setJavaStringCheckUtf8(other.getJavaStringCheckUtf8()); 15712 } 14596 15713 if (other.hasOptimizeFor()) { 14597 15714 setOptimizeFor(other.getOptimizeFor()); 14598 15715 } 14599 15716 if (other.hasGoPackage()) { 14600 bitField0_ |= 0x000000 20;15717 bitField0_ |= 0x00000040; 14601 15718 goPackage_ = other.goPackage_; 14602 15719 onChanged(); … … 14610 15727 if (other.hasPyGenericServices()) { 14611 15728 setPyGenericServices(other.getPyGenericServices()); 15729 } 15730 if (other.hasDeprecated()) { 15731 setDeprecated(other.getDeprecated()); 14612 15732 } 14613 15733 if (uninterpretedOptionBuilder_ == null) { … … 14615 15735 if (uninterpretedOption_.isEmpty()) { 14616 15736 uninterpretedOption_ = other.uninterpretedOption_; 14617 bitField0_ = (bitField0_ & ~0x00000 200);15737 bitField0_ = (bitField0_ & ~0x00000800); 14618 15738 } else { 14619 15739 ensureUninterpretedOptionIsMutable(); … … 14628 15748 uninterpretedOptionBuilder_ = null; 14629 15749 uninterpretedOption_ = other.uninterpretedOption_; 14630 bitField0_ = (bitField0_ & ~0x00000 200);15750 bitField0_ = (bitField0_ & ~0x00000800); 14631 15751 uninterpretedOptionBuilder_ = 14632 15752 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 14675 15795 private int bitField0_; 14676 15796 14677 // optional string java_package = 1;14678 15797 private java.lang.Object javaPackage_ = ""; 14679 15798 /** … … 14703 15822 java.lang.Object ref = javaPackage_; 14704 15823 if (!(ref instanceof java.lang.String)) { 14705 java.lang.String s = ((com.google.protobuf.ByteString) ref) 14706 .toStringUtf8(); 14707 javaPackage_ = s; 15824 com.google.protobuf.ByteString bs = 15825 (com.google.protobuf.ByteString) ref; 15826 java.lang.String s = bs.toStringUtf8(); 15827 if (bs.isValidUtf8()) { 15828 javaPackage_ = s; 15829 } 14708 15830 return s; 14709 15831 } else { … … 14791 15913 } 14792 15914 14793 // optional string java_outer_classname = 8;14794 15915 private java.lang.Object javaOuterClassname_ = ""; 14795 15916 /** … … 14821 15942 java.lang.Object ref = javaOuterClassname_; 14822 15943 if (!(ref instanceof java.lang.String)) { 14823 java.lang.String s = ((com.google.protobuf.ByteString) ref) 14824 .toStringUtf8(); 14825 javaOuterClassname_ = s; 15944 com.google.protobuf.ByteString bs = 15945 (com.google.protobuf.ByteString) ref; 15946 java.lang.String s = bs.toStringUtf8(); 15947 if (bs.isValidUtf8()) { 15948 javaOuterClassname_ = s; 15949 } 14826 15950 return s; 14827 15951 } else { … … 14913 16037 } 14914 16038 14915 // optional bool java_multiple_files = 10 [default = false];14916 16039 private boolean javaMultipleFiles_ ; 14917 16040 /** … … 14982 16105 } 14983 16106 14984 // optional bool java_generate_equals_and_hash = 20 [default = false];14985 16107 private boolean javaGenerateEqualsAndHash_ ; 14986 16108 /** … … 14989 16111 * <pre> 14990 16112 * If set true, then the Java code generator will generate equals() and 14991 * hashCode() methods for all messages defined in the .proto file. This is 14992 * purely a speed optimization, as the AbstractMessage base class includes 14993 * reflection-based implementations of these methods. 16113 * hashCode() methods for all messages defined in the .proto file. 16114 * - In the full runtime, this is purely a speed optimization, as the 16115 * AbstractMessage base class includes reflection-based implementations of 16116 * these methods. 16117 *- In the lite runtime, setting this option changes the semantics of 16118 * equals() and hashCode() to more closely match those of the full runtime; 16119 * the generated methods compute their results based on field values rather 16120 * than object identity. (Implementations should not assume that hashcodes 16121 * will be consistent across runtimes or versions of the protocol compiler.) 14994 16122 * </pre> 14995 16123 */ … … 15002 16130 * <pre> 15003 16131 * If set true, then the Java code generator will generate equals() and 15004 * hashCode() methods for all messages defined in the .proto file. This is 15005 * purely a speed optimization, as the AbstractMessage base class includes 15006 * reflection-based implementations of these methods. 16132 * hashCode() methods for all messages defined in the .proto file. 16133 * - In the full runtime, this is purely a speed optimization, as the 16134 * AbstractMessage base class includes reflection-based implementations of 16135 * these methods. 16136 *- In the lite runtime, setting this option changes the semantics of 16137 * equals() and hashCode() to more closely match those of the full runtime; 16138 * the generated methods compute their results based on field values rather 16139 * than object identity. (Implementations should not assume that hashcodes 16140 * will be consistent across runtimes or versions of the protocol compiler.) 15007 16141 * </pre> 15008 16142 */ … … 15015 16149 * <pre> 15016 16150 * If set true, then the Java code generator will generate equals() and 15017 * hashCode() methods for all messages defined in the .proto file. This is 15018 * purely a speed optimization, as the AbstractMessage base class includes 15019 * reflection-based implementations of these methods. 16151 * hashCode() methods for all messages defined in the .proto file. 16152 * - In the full runtime, this is purely a speed optimization, as the 16153 * AbstractMessage base class includes reflection-based implementations of 16154 * these methods. 16155 *- In the lite runtime, setting this option changes the semantics of 16156 * equals() and hashCode() to more closely match those of the full runtime; 16157 * the generated methods compute their results based on field values rather 16158 * than object identity. (Implementations should not assume that hashcodes 16159 * will be consistent across runtimes or versions of the protocol compiler.) 15020 16160 * </pre> 15021 16161 */ … … 15031 16171 * <pre> 15032 16172 * If set true, then the Java code generator will generate equals() and 15033 * hashCode() methods for all messages defined in the .proto file. This is 15034 * purely a speed optimization, as the AbstractMessage base class includes 15035 * reflection-based implementations of these methods. 16173 * hashCode() methods for all messages defined in the .proto file. 16174 * - In the full runtime, this is purely a speed optimization, as the 16175 * AbstractMessage base class includes reflection-based implementations of 16176 * these methods. 16177 *- In the lite runtime, setting this option changes the semantics of 16178 * equals() and hashCode() to more closely match those of the full runtime; 16179 * the generated methods compute their results based on field values rather 16180 * than object identity. (Implementations should not assume that hashcodes 16181 * will be consistent across runtimes or versions of the protocol compiler.) 15036 16182 * </pre> 15037 16183 */ … … 15043 16189 } 15044 16190 15045 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 16191 private boolean javaStringCheckUtf8_ ; 16192 /** 16193 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16194 * 16195 * <pre> 16196 * If set true, then the Java2 code generator will generate code that 16197 * throws an exception whenever an attempt is made to assign a non-UTF-8 16198 * byte sequence to a string field. 16199 * Message reflection will do the same. 16200 * However, an extension field still accepts non-UTF-8 byte sequences. 16201 * This option has no effect on when used with the lite runtime. 16202 * </pre> 16203 */ 16204 public boolean hasJavaStringCheckUtf8() { 16205 return ((bitField0_ & 0x00000010) == 0x00000010); 16206 } 16207 /** 16208 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16209 * 16210 * <pre> 16211 * If set true, then the Java2 code generator will generate code that 16212 * throws an exception whenever an attempt is made to assign a non-UTF-8 16213 * byte sequence to a string field. 16214 * Message reflection will do the same. 16215 * However, an extension field still accepts non-UTF-8 byte sequences. 16216 * This option has no effect on when used with the lite runtime. 16217 * </pre> 16218 */ 16219 public boolean getJavaStringCheckUtf8() { 16220 return javaStringCheckUtf8_; 16221 } 16222 /** 16223 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16224 * 16225 * <pre> 16226 * If set true, then the Java2 code generator will generate code that 16227 * throws an exception whenever an attempt is made to assign a non-UTF-8 16228 * byte sequence to a string field. 16229 * Message reflection will do the same. 16230 * However, an extension field still accepts non-UTF-8 byte sequences. 16231 * This option has no effect on when used with the lite runtime. 16232 * </pre> 16233 */ 16234 public Builder setJavaStringCheckUtf8(boolean value) { 16235 bitField0_ |= 0x00000010; 16236 javaStringCheckUtf8_ = value; 16237 onChanged(); 16238 return this; 16239 } 16240 /** 16241 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16242 * 16243 * <pre> 16244 * If set true, then the Java2 code generator will generate code that 16245 * throws an exception whenever an attempt is made to assign a non-UTF-8 16246 * byte sequence to a string field. 16247 * Message reflection will do the same. 16248 * However, an extension field still accepts non-UTF-8 byte sequences. 16249 * This option has no effect on when used with the lite runtime. 16250 * </pre> 16251 */ 16252 public Builder clearJavaStringCheckUtf8() { 16253 bitField0_ = (bitField0_ & ~0x00000010); 16254 javaStringCheckUtf8_ = false; 16255 onChanged(); 16256 return this; 16257 } 16258 15046 16259 private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED; 15047 16260 /** … … 15049 16262 */ 15050 16263 public boolean hasOptimizeFor() { 15051 return ((bitField0_ & 0x000000 10) == 0x00000010);16264 return ((bitField0_ & 0x00000020) == 0x00000020); 15052 16265 } 15053 16266 /** … … 15064 16277 throw new NullPointerException(); 15065 16278 } 15066 bitField0_ |= 0x000000 10;16279 bitField0_ |= 0x00000020; 15067 16280 optimizeFor_ = value; 15068 16281 onChanged(); … … 15073 16286 */ 15074 16287 public Builder clearOptimizeFor() { 15075 bitField0_ = (bitField0_ & ~0x000000 10);16288 bitField0_ = (bitField0_ & ~0x00000020); 15076 16289 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED; 15077 16290 onChanged(); … … 15079 16292 } 15080 16293 15081 // optional string go_package = 11;15082 16294 private java.lang.Object goPackage_ = ""; 15083 16295 /** … … 15090 16302 */ 15091 16303 public boolean hasGoPackage() { 15092 return ((bitField0_ & 0x000000 20) == 0x00000020);16304 return ((bitField0_ & 0x00000040) == 0x00000040); 15093 16305 } 15094 16306 /** … … 15103 16315 java.lang.Object ref = goPackage_; 15104 16316 if (!(ref instanceof java.lang.String)) { 15105 java.lang.String s = ((com.google.protobuf.ByteString) ref) 15106 .toStringUtf8(); 15107 goPackage_ = s; 16317 com.google.protobuf.ByteString bs = 16318 (com.google.protobuf.ByteString) ref; 16319 java.lang.String s = bs.toStringUtf8(); 16320 if (bs.isValidUtf8()) { 16321 goPackage_ = s; 16322 } 15108 16323 return s; 15109 16324 } else { … … 15145 16360 throw new NullPointerException(); 15146 16361 } 15147 bitField0_ |= 0x000000 20;16362 bitField0_ |= 0x00000040; 15148 16363 goPackage_ = value; 15149 16364 onChanged(); … … 15159 16374 */ 15160 16375 public Builder clearGoPackage() { 15161 bitField0_ = (bitField0_ & ~0x000000 20);16376 bitField0_ = (bitField0_ & ~0x00000040); 15162 16377 goPackage_ = getDefaultInstance().getGoPackage(); 15163 16378 onChanged(); … … 15177 16392 throw new NullPointerException(); 15178 16393 } 15179 bitField0_ |= 0x000000 20;16394 bitField0_ |= 0x00000040; 15180 16395 goPackage_ = value; 15181 16396 onChanged(); … … 15183 16398 } 15184 16399 15185 // optional bool cc_generic_services = 16 [default = false];15186 16400 private boolean ccGenericServices_ ; 15187 16401 /** … … 15194 16408 * Generic services were the only kind of service generation supported by 15195 16409 * early versions of proto2. 15196 *15197 16410 * Generic services are now considered deprecated in favor of using plugins 15198 16411 * that generate code specific to your particular RPC system. Therefore, … … 15202 16415 */ 15203 16416 public boolean hasCcGenericServices() { 15204 return ((bitField0_ & 0x000000 40) == 0x00000040);16417 return ((bitField0_ & 0x00000080) == 0x00000080); 15205 16418 } 15206 16419 /** … … 15213 16426 * Generic services were the only kind of service generation supported by 15214 16427 * early versions of proto2. 15215 *15216 16428 * Generic services are now considered deprecated in favor of using plugins 15217 16429 * that generate code specific to your particular RPC system. Therefore, … … 15232 16444 * Generic services were the only kind of service generation supported by 15233 16445 * early versions of proto2. 15234 *15235 16446 * Generic services are now considered deprecated in favor of using plugins 15236 16447 * that generate code specific to your particular RPC system. Therefore, … … 15240 16451 */ 15241 16452 public Builder setCcGenericServices(boolean value) { 15242 bitField0_ |= 0x000000 40;16453 bitField0_ |= 0x00000080; 15243 16454 ccGenericServices_ = value; 15244 16455 onChanged(); … … 15254 16465 * Generic services were the only kind of service generation supported by 15255 16466 * early versions of proto2. 15256 *15257 16467 * Generic services are now considered deprecated in favor of using plugins 15258 16468 * that generate code specific to your particular RPC system. Therefore, … … 15262 16472 */ 15263 16473 public Builder clearCcGenericServices() { 15264 bitField0_ = (bitField0_ & ~0x000000 40);16474 bitField0_ = (bitField0_ & ~0x00000080); 15265 16475 ccGenericServices_ = false; 15266 16476 onChanged(); … … 15268 16478 } 15269 16479 15270 // optional bool java_generic_services = 17 [default = false];15271 16480 private boolean javaGenericServices_ ; 15272 16481 /** … … 15274 16483 */ 15275 16484 public boolean hasJavaGenericServices() { 15276 return ((bitField0_ & 0x00000 080) == 0x00000080);16485 return ((bitField0_ & 0x00000100) == 0x00000100); 15277 16486 } 15278 16487 /** … … 15286 16495 */ 15287 16496 public Builder setJavaGenericServices(boolean value) { 15288 bitField0_ |= 0x00000 080;16497 bitField0_ |= 0x00000100; 15289 16498 javaGenericServices_ = value; 15290 16499 onChanged(); … … 15295 16504 */ 15296 16505 public Builder clearJavaGenericServices() { 15297 bitField0_ = (bitField0_ & ~0x00000 080);16506 bitField0_ = (bitField0_ & ~0x00000100); 15298 16507 javaGenericServices_ = false; 15299 16508 onChanged(); … … 15301 16510 } 15302 16511 15303 // optional bool py_generic_services = 18 [default = false];15304 16512 private boolean pyGenericServices_ ; 15305 16513 /** … … 15307 16515 */ 15308 16516 public boolean hasPyGenericServices() { 15309 return ((bitField0_ & 0x00000 100) == 0x00000100);16517 return ((bitField0_ & 0x00000200) == 0x00000200); 15310 16518 } 15311 16519 /** … … 15319 16527 */ 15320 16528 public Builder setPyGenericServices(boolean value) { 15321 bitField0_ |= 0x00000 100;16529 bitField0_ |= 0x00000200; 15322 16530 pyGenericServices_ = value; 15323 16531 onChanged(); … … 15328 16536 */ 15329 16537 public Builder clearPyGenericServices() { 15330 bitField0_ = (bitField0_ & ~0x00000 100);16538 bitField0_ = (bitField0_ & ~0x00000200); 15331 16539 pyGenericServices_ = false; 15332 16540 onChanged(); … … 15334 16542 } 15335 16543 15336 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 16544 private boolean deprecated_ ; 16545 /** 16546 * <code>optional bool deprecated = 23 [default = false];</code> 16547 * 16548 * <pre> 16549 * Is this file deprecated? 16550 * Depending on the target platform, this can emit Deprecated annotations 16551 * for everything in the file, or it will be completely ignored; in the very 16552 * least, this is a formalization for deprecating files. 16553 * </pre> 16554 */ 16555 public boolean hasDeprecated() { 16556 return ((bitField0_ & 0x00000400) == 0x00000400); 16557 } 16558 /** 16559 * <code>optional bool deprecated = 23 [default = false];</code> 16560 * 16561 * <pre> 16562 * Is this file deprecated? 16563 * Depending on the target platform, this can emit Deprecated annotations 16564 * for everything in the file, or it will be completely ignored; in the very 16565 * least, this is a formalization for deprecating files. 16566 * </pre> 16567 */ 16568 public boolean getDeprecated() { 16569 return deprecated_; 16570 } 16571 /** 16572 * <code>optional bool deprecated = 23 [default = false];</code> 16573 * 16574 * <pre> 16575 * Is this file deprecated? 16576 * Depending on the target platform, this can emit Deprecated annotations 16577 * for everything in the file, or it will be completely ignored; in the very 16578 * least, this is a formalization for deprecating files. 16579 * </pre> 16580 */ 16581 public Builder setDeprecated(boolean value) { 16582 bitField0_ |= 0x00000400; 16583 deprecated_ = value; 16584 onChanged(); 16585 return this; 16586 } 16587 /** 16588 * <code>optional bool deprecated = 23 [default = false];</code> 16589 * 16590 * <pre> 16591 * Is this file deprecated? 16592 * Depending on the target platform, this can emit Deprecated annotations 16593 * for everything in the file, or it will be completely ignored; in the very 16594 * least, this is a formalization for deprecating files. 16595 * </pre> 16596 */ 16597 public Builder clearDeprecated() { 16598 bitField0_ = (bitField0_ & ~0x00000400); 16599 deprecated_ = false; 16600 onChanged(); 16601 return this; 16602 } 16603 15337 16604 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 15338 16605 java.util.Collections.emptyList(); 15339 16606 private void ensureUninterpretedOptionIsMutable() { 15340 if (!((bitField0_ & 0x00000 200) == 0x00000200)) {16607 if (!((bitField0_ & 0x00000800) == 0x00000800)) { 15341 16608 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 15342 bitField0_ |= 0x00000 200;16609 bitField0_ |= 0x00000800; 15343 16610 } 15344 16611 } … … 15516 16783 if (uninterpretedOptionBuilder_ == null) { 15517 16784 ensureUninterpretedOptionIsMutable(); 15518 super.addAll(values, uninterpretedOption_); 16785 com.google.protobuf.AbstractMessageLite.Builder.addAll( 16786 values, uninterpretedOption_); 15519 16787 onChanged(); 15520 16788 } else { … … 15533 16801 if (uninterpretedOptionBuilder_ == null) { 15534 16802 uninterpretedOption_ = java.util.Collections.emptyList(); 15535 bitField0_ = (bitField0_ & ~0x00000 200);16803 bitField0_ = (bitField0_ & ~0x00000800); 15536 16804 onChanged(); 15537 16805 } else { … … 15638 16906 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 15639 16907 uninterpretedOption_, 15640 ((bitField0_ & 0x00000 200) == 0x00000200),16908 ((bitField0_ & 0x00000800) == 0x00000800), 15641 16909 getParentForChildren(), 15642 16910 isClean()); … … 15658 16926 15659 16927 public interface MessageOptionsOrBuilder extends 16928 // @@protoc_insertion_point(interface_extends:google.protobuf.MessageOptions) 15660 16929 com.google.protobuf.GeneratedMessage. 15661 16930 ExtendableMessageOrBuilder<MessageOptions> { 15662 16931 15663 // optional bool message_set_wire_format = 1 [default = false];15664 16932 /** 15665 16933 * <code>optional bool message_set_wire_format = 1 [default = false];</code> … … 15670 16938 * format. You should not use this for any other reason: It's less 15671 16939 * efficient, has fewer features, and is more complicated. 15672 *15673 16940 * The message must be defined exactly as follows: 15674 16941 * message Foo { … … 15678 16945 * Note that the message cannot have any defined fields; MessageSets only 15679 16946 * have extensions. 15680 *15681 16947 * All extensions of your type must be singular messages; e.g. they cannot 15682 16948 * be int32s, enums, or repeated messages. 15683 *15684 16949 * Because this is an option, the above two restrictions are not enforced by 15685 16950 * the protocol compiler. … … 15695 16960 * format. You should not use this for any other reason: It's less 15696 16961 * efficient, has fewer features, and is more complicated. 15697 *15698 16962 * The message must be defined exactly as follows: 15699 16963 * message Foo { … … 15703 16967 * Note that the message cannot have any defined fields; MessageSets only 15704 16968 * have extensions. 15705 *15706 16969 * All extensions of your type must be singular messages; e.g. they cannot 15707 16970 * be int32s, enums, or repeated messages. 15708 *15709 16971 * Because this is an option, the above two restrictions are not enforced by 15710 16972 * the protocol compiler. … … 15713 16975 boolean getMessageSetWireFormat(); 15714 16976 15715 // optional bool no_standard_descriptor_accessor = 2 [default = false];15716 16977 /** 15717 16978 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> … … 15735 16996 boolean getNoStandardDescriptorAccessor(); 15736 16997 15737 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 16998 /** 16999 * <code>optional bool deprecated = 3 [default = false];</code> 17000 * 17001 * <pre> 17002 * Is this message deprecated? 17003 * Depending on the target platform, this can emit Deprecated annotations 17004 * for the message, or it will be completely ignored; in the very least, 17005 * this is a formalization for deprecating messages. 17006 * </pre> 17007 */ 17008 boolean hasDeprecated(); 17009 /** 17010 * <code>optional bool deprecated = 3 [default = false];</code> 17011 * 17012 * <pre> 17013 * Is this message deprecated? 17014 * Depending on the target platform, this can emit Deprecated annotations 17015 * for the message, or it will be completely ignored; in the very least, 17016 * this is a formalization for deprecating messages. 17017 * </pre> 17018 */ 17019 boolean getDeprecated(); 17020 15738 17021 /** 15739 17022 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 15785 17068 public static final class MessageOptions extends 15786 17069 com.google.protobuf.GeneratedMessage.ExtendableMessage< 15787 MessageOptions> implements MessageOptionsOrBuilder { 17070 MessageOptions> implements 17071 // @@protoc_insertion_point(message_implements:google.protobuf.MessageOptions) 17072 MessageOptionsOrBuilder { 15788 17073 // Use MessageOptions.newBuilder() to construct. 15789 17074 private MessageOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MessageOptions, ?> builder) { … … 15841 17126 break; 15842 17127 } 17128 case 24: { 17129 bitField0_ |= 0x00000004; 17130 deprecated_ = input.readBool(); 17131 break; 17132 } 15843 17133 case 7994: { 15844 if (!((mutable_bitField0_ & 0x0000000 4) == 0x00000004)) {17134 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 15845 17135 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 15846 mutable_bitField0_ |= 0x0000000 4;17136 mutable_bitField0_ |= 0x00000008; 15847 17137 } 15848 17138 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 15857 17147 e.getMessage()).setUnfinishedMessage(this); 15858 17148 } finally { 15859 if (((mutable_bitField0_ & 0x0000000 4) == 0x00000004)) {17149 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 15860 17150 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 15861 17151 } … … 15892 17182 15893 17183 private int bitField0_; 15894 // optional bool message_set_wire_format = 1 [default = false];15895 17184 public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER = 1; 15896 17185 private boolean messageSetWireFormat_; … … 15903 17192 * format. You should not use this for any other reason: It's less 15904 17193 * efficient, has fewer features, and is more complicated. 15905 *15906 17194 * The message must be defined exactly as follows: 15907 17195 * message Foo { … … 15911 17199 * Note that the message cannot have any defined fields; MessageSets only 15912 17200 * have extensions. 15913 *15914 17201 * All extensions of your type must be singular messages; e.g. they cannot 15915 17202 * be int32s, enums, or repeated messages. 15916 *15917 17203 * Because this is an option, the above two restrictions are not enforced by 15918 17204 * the protocol compiler. … … 15930 17216 * format. You should not use this for any other reason: It's less 15931 17217 * efficient, has fewer features, and is more complicated. 15932 *15933 17218 * The message must be defined exactly as follows: 15934 17219 * message Foo { … … 15938 17223 * Note that the message cannot have any defined fields; MessageSets only 15939 17224 * have extensions. 15940 *15941 17225 * All extensions of your type must be singular messages; e.g. they cannot 15942 17226 * be int32s, enums, or repeated messages. 15943 *15944 17227 * Because this is an option, the above two restrictions are not enforced by 15945 17228 * the protocol compiler. … … 15950 17233 } 15951 17234 15952 // optional bool no_standard_descriptor_accessor = 2 [default = false];15953 17235 public static final int NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER = 2; 15954 17236 private boolean noStandardDescriptorAccessor_; … … 15978 17260 } 15979 17261 15980 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 17262 public static final int DEPRECATED_FIELD_NUMBER = 3; 17263 private boolean deprecated_; 17264 /** 17265 * <code>optional bool deprecated = 3 [default = false];</code> 17266 * 17267 * <pre> 17268 * Is this message deprecated? 17269 * Depending on the target platform, this can emit Deprecated annotations 17270 * for the message, or it will be completely ignored; in the very least, 17271 * this is a formalization for deprecating messages. 17272 * </pre> 17273 */ 17274 public boolean hasDeprecated() { 17275 return ((bitField0_ & 0x00000004) == 0x00000004); 17276 } 17277 /** 17278 * <code>optional bool deprecated = 3 [default = false];</code> 17279 * 17280 * <pre> 17281 * Is this message deprecated? 17282 * Depending on the target platform, this can emit Deprecated annotations 17283 * for the message, or it will be completely ignored; in the very least, 17284 * this is a formalization for deprecating messages. 17285 * </pre> 17286 */ 17287 public boolean getDeprecated() { 17288 return deprecated_; 17289 } 17290 15981 17291 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 15982 17292 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 16037 17347 messageSetWireFormat_ = false; 16038 17348 noStandardDescriptorAccessor_ = false; 17349 deprecated_ = false; 16039 17350 uninterpretedOption_ = java.util.Collections.emptyList(); 16040 17351 } … … 16042 17353 public final boolean isInitialized() { 16043 17354 byte isInitialized = memoizedIsInitialized; 16044 if (isInitialized != -1) return isInitialized == 1; 17355 if (isInitialized == 1) return true; 17356 if (isInitialized == 0) return false; 16045 17357 16046 17358 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 16070 17382 output.writeBool(2, noStandardDescriptorAccessor_); 16071 17383 } 17384 if (((bitField0_ & 0x00000004) == 0x00000004)) { 17385 output.writeBool(3, deprecated_); 17386 } 16072 17387 for (int i = 0; i < uninterpretedOption_.size(); i++) { 16073 17388 output.writeMessage(999, uninterpretedOption_.get(i)); … … 16090 17405 size += com.google.protobuf.CodedOutputStream 16091 17406 .computeBoolSize(2, noStandardDescriptorAccessor_); 17407 } 17408 if (((bitField0_ & 0x00000004) == 0x00000004)) { 17409 size += com.google.protobuf.CodedOutputStream 17410 .computeBoolSize(3, deprecated_); 16092 17411 } 16093 17412 for (int i = 0; i < uninterpretedOption_.size(); i++) { … … 16179 17498 public static final class Builder extends 16180 17499 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 16181 com.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder { 17500 com.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements 17501 // @@protoc_insertion_point(builder_implements:google.protobuf.MessageOptions) 17502 com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder { 16182 17503 public static final com.google.protobuf.Descriptors.Descriptor 16183 17504 getDescriptor() { … … 16217 17538 noStandardDescriptorAccessor_ = false; 16218 17539 bitField0_ = (bitField0_ & ~0x00000002); 17540 deprecated_ = false; 17541 bitField0_ = (bitField0_ & ~0x00000004); 16219 17542 if (uninterpretedOptionBuilder_ == null) { 16220 17543 uninterpretedOption_ = java.util.Collections.emptyList(); 16221 bitField0_ = (bitField0_ & ~0x0000000 4);17544 bitField0_ = (bitField0_ & ~0x00000008); 16222 17545 } else { 16223 17546 uninterpretedOptionBuilder_.clear(); … … 16259 17582 } 16260 17583 result.noStandardDescriptorAccessor_ = noStandardDescriptorAccessor_; 17584 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 17585 to_bitField0_ |= 0x00000004; 17586 } 17587 result.deprecated_ = deprecated_; 16261 17588 if (uninterpretedOptionBuilder_ == null) { 16262 if (((bitField0_ & 0x0000000 4) == 0x00000004)) {17589 if (((bitField0_ & 0x00000008) == 0x00000008)) { 16263 17590 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 16264 bitField0_ = (bitField0_ & ~0x0000000 4);17591 bitField0_ = (bitField0_ & ~0x00000008); 16265 17592 } 16266 17593 result.uninterpretedOption_ = uninterpretedOption_; … … 16290 17617 setNoStandardDescriptorAccessor(other.getNoStandardDescriptorAccessor()); 16291 17618 } 17619 if (other.hasDeprecated()) { 17620 setDeprecated(other.getDeprecated()); 17621 } 16292 17622 if (uninterpretedOptionBuilder_ == null) { 16293 17623 if (!other.uninterpretedOption_.isEmpty()) { 16294 17624 if (uninterpretedOption_.isEmpty()) { 16295 17625 uninterpretedOption_ = other.uninterpretedOption_; 16296 bitField0_ = (bitField0_ & ~0x0000000 4);17626 bitField0_ = (bitField0_ & ~0x00000008); 16297 17627 } else { 16298 17628 ensureUninterpretedOptionIsMutable(); … … 16307 17637 uninterpretedOptionBuilder_ = null; 16308 17638 uninterpretedOption_ = other.uninterpretedOption_; 16309 bitField0_ = (bitField0_ & ~0x0000000 4);17639 bitField0_ = (bitField0_ & ~0x00000008); 16310 17640 uninterpretedOptionBuilder_ = 16311 17641 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 16354 17684 private int bitField0_; 16355 17685 16356 // optional bool message_set_wire_format = 1 [default = false];16357 17686 private boolean messageSetWireFormat_ ; 16358 17687 /** … … 16364 17693 * format. You should not use this for any other reason: It's less 16365 17694 * efficient, has fewer features, and is more complicated. 16366 *16367 17695 * The message must be defined exactly as follows: 16368 17696 * message Foo { … … 16372 17700 * Note that the message cannot have any defined fields; MessageSets only 16373 17701 * have extensions. 16374 *16375 17702 * All extensions of your type must be singular messages; e.g. they cannot 16376 17703 * be int32s, enums, or repeated messages. 16377 *16378 17704 * Because this is an option, the above two restrictions are not enforced by 16379 17705 * the protocol compiler. … … 16391 17717 * format. You should not use this for any other reason: It's less 16392 17718 * efficient, has fewer features, and is more complicated. 16393 *16394 17719 * The message must be defined exactly as follows: 16395 17720 * message Foo { … … 16399 17724 * Note that the message cannot have any defined fields; MessageSets only 16400 17725 * have extensions. 16401 *16402 17726 * All extensions of your type must be singular messages; e.g. they cannot 16403 17727 * be int32s, enums, or repeated messages. 16404 *16405 17728 * Because this is an option, the above two restrictions are not enforced by 16406 17729 * the protocol compiler. … … 16418 17741 * format. You should not use this for any other reason: It's less 16419 17742 * efficient, has fewer features, and is more complicated. 16420 *16421 17743 * The message must be defined exactly as follows: 16422 17744 * message Foo { … … 16426 17748 * Note that the message cannot have any defined fields; MessageSets only 16427 17749 * have extensions. 16428 *16429 17750 * All extensions of your type must be singular messages; e.g. they cannot 16430 17751 * be int32s, enums, or repeated messages. 16431 *16432 17752 * Because this is an option, the above two restrictions are not enforced by 16433 17753 * the protocol compiler. … … 16448 17768 * format. You should not use this for any other reason: It's less 16449 17769 * efficient, has fewer features, and is more complicated. 16450 *16451 17770 * The message must be defined exactly as follows: 16452 17771 * message Foo { … … 16456 17775 * Note that the message cannot have any defined fields; MessageSets only 16457 17776 * have extensions. 16458 *16459 17777 * All extensions of your type must be singular messages; e.g. they cannot 16460 17778 * be int32s, enums, or repeated messages. 16461 *16462 17779 * Because this is an option, the above two restrictions are not enforced by 16463 17780 * the protocol compiler. … … 16471 17788 } 16472 17789 16473 // optional bool no_standard_descriptor_accessor = 2 [default = false];16474 17790 private boolean noStandardDescriptorAccessor_ ; 16475 17791 /** … … 16528 17844 } 16529 17845 16530 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 17846 private boolean deprecated_ ; 17847 /** 17848 * <code>optional bool deprecated = 3 [default = false];</code> 17849 * 17850 * <pre> 17851 * Is this message deprecated? 17852 * Depending on the target platform, this can emit Deprecated annotations 17853 * for the message, or it will be completely ignored; in the very least, 17854 * this is a formalization for deprecating messages. 17855 * </pre> 17856 */ 17857 public boolean hasDeprecated() { 17858 return ((bitField0_ & 0x00000004) == 0x00000004); 17859 } 17860 /** 17861 * <code>optional bool deprecated = 3 [default = false];</code> 17862 * 17863 * <pre> 17864 * Is this message deprecated? 17865 * Depending on the target platform, this can emit Deprecated annotations 17866 * for the message, or it will be completely ignored; in the very least, 17867 * this is a formalization for deprecating messages. 17868 * </pre> 17869 */ 17870 public boolean getDeprecated() { 17871 return deprecated_; 17872 } 17873 /** 17874 * <code>optional bool deprecated = 3 [default = false];</code> 17875 * 17876 * <pre> 17877 * Is this message deprecated? 17878 * Depending on the target platform, this can emit Deprecated annotations 17879 * for the message, or it will be completely ignored; in the very least, 17880 * this is a formalization for deprecating messages. 17881 * </pre> 17882 */ 17883 public Builder setDeprecated(boolean value) { 17884 bitField0_ |= 0x00000004; 17885 deprecated_ = value; 17886 onChanged(); 17887 return this; 17888 } 17889 /** 17890 * <code>optional bool deprecated = 3 [default = false];</code> 17891 * 17892 * <pre> 17893 * Is this message deprecated? 17894 * Depending on the target platform, this can emit Deprecated annotations 17895 * for the message, or it will be completely ignored; in the very least, 17896 * this is a formalization for deprecating messages. 17897 * </pre> 17898 */ 17899 public Builder clearDeprecated() { 17900 bitField0_ = (bitField0_ & ~0x00000004); 17901 deprecated_ = false; 17902 onChanged(); 17903 return this; 17904 } 17905 16531 17906 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 16532 17907 java.util.Collections.emptyList(); 16533 17908 private void ensureUninterpretedOptionIsMutable() { 16534 if (!((bitField0_ & 0x0000000 4) == 0x00000004)) {17909 if (!((bitField0_ & 0x00000008) == 0x00000008)) { 16535 17910 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 16536 bitField0_ |= 0x0000000 4;17911 bitField0_ |= 0x00000008; 16537 17912 } 16538 17913 } … … 16710 18085 if (uninterpretedOptionBuilder_ == null) { 16711 18086 ensureUninterpretedOptionIsMutable(); 16712 super.addAll(values, uninterpretedOption_); 18087 com.google.protobuf.AbstractMessageLite.Builder.addAll( 18088 values, uninterpretedOption_); 16713 18089 onChanged(); 16714 18090 } else { … … 16727 18103 if (uninterpretedOptionBuilder_ == null) { 16728 18104 uninterpretedOption_ = java.util.Collections.emptyList(); 16729 bitField0_ = (bitField0_ & ~0x0000000 4);18105 bitField0_ = (bitField0_ & ~0x00000008); 16730 18106 onChanged(); 16731 18107 } else { … … 16832 18208 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 16833 18209 uninterpretedOption_, 16834 ((bitField0_ & 0x0000000 4) == 0x00000004),18210 ((bitField0_ & 0x00000008) == 0x00000008), 16835 18211 getParentForChildren(), 16836 18212 isClean()); … … 16852 18228 16853 18229 public interface FieldOptionsOrBuilder extends 18230 // @@protoc_insertion_point(interface_extends:google.protobuf.FieldOptions) 16854 18231 com.google.protobuf.GeneratedMessage. 16855 18232 ExtendableMessageOrBuilder<FieldOptions> { 16856 18233 16857 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];16858 18234 /** 16859 18235 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> … … 16879 18255 com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype(); 16880 18256 16881 // optional bool packed = 2;16882 18257 /** 16883 18258 * <code>optional bool packed = 2;</code> … … 16903 18278 boolean getPacked(); 16904 18279 16905 // optional bool lazy = 5 [default = false];16906 18280 /** 16907 18281 * <code>optional bool lazy = 5 [default = false];</code> … … 16912 18286 * inner message's contents will not be parsed but instead stored in encoded 16913 18287 * form. The inner message will actually be parsed when it is first accessed. 16914 *16915 18288 * This is only a hint. Implementations are free to choose whether to use 16916 18289 * eager or lazy parsing regardless of the value of this option. However, … … 16918 18291 * using lazy parsing on this field is worth the additional bookkeeping 16919 18292 * overhead typically needed to implement it. 16920 *16921 18293 * This option does not affect the public interface of any generated code; 16922 18294 * all method signatures remain the same. Furthermore, thread-safety of the … … 16924 18296 * call from multiple threads concurrently, while non-const methods continue 16925 18297 * to require exclusive access. 16926 *16927 *16928 18298 * Note that implementations may choose not to check required fields within 16929 18299 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 16947 18317 * inner message's contents will not be parsed but instead stored in encoded 16948 18318 * form. The inner message will actually be parsed when it is first accessed. 16949 *16950 18319 * This is only a hint. Implementations are free to choose whether to use 16951 18320 * eager or lazy parsing regardless of the value of this option. However, … … 16953 18322 * using lazy parsing on this field is worth the additional bookkeeping 16954 18323 * overhead typically needed to implement it. 16955 *16956 18324 * This option does not affect the public interface of any generated code; 16957 18325 * all method signatures remain the same. Furthermore, thread-safety of the … … 16959 18327 * call from multiple threads concurrently, while non-const methods continue 16960 18328 * to require exclusive access. 16961 *16962 *16963 18329 * Note that implementations may choose not to check required fields within 16964 18330 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 16975 18341 boolean getLazy(); 16976 18342 16977 // optional bool deprecated = 3 [default = false];16978 18343 /** 16979 18344 * <code>optional bool deprecated = 3 [default = false];</code> … … 16999 18364 boolean getDeprecated(); 17000 18365 17001 // optional string experimental_map_key = 9;17002 18366 /** 17003 18367 * <code>optional string experimental_map_key = 9;</code> … … 17059 18423 getExperimentalMapKeyBytes(); 17060 18424 17061 // optional bool weak = 10 [default = false];17062 18425 /** 17063 18426 * <code>optional bool weak = 10 [default = false];</code> … … 17077 18440 boolean getWeak(); 17078 18441 17079 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;17080 18442 /** 17081 18443 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 17127 18489 public static final class FieldOptions extends 17128 18490 com.google.protobuf.GeneratedMessage.ExtendableMessage< 17129 FieldOptions> implements FieldOptionsOrBuilder { 18491 FieldOptions> implements 18492 // @@protoc_insertion_point(message_implements:google.protobuf.FieldOptions) 18493 FieldOptionsOrBuilder { 17130 18494 // Use FieldOptions.newBuilder() to construct. 17131 18495 private FieldOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FieldOptions, ?> builder) { … … 17200 18564 } 17201 18565 case 74: { 18566 com.google.protobuf.ByteString bs = input.readBytes(); 17202 18567 bitField0_ |= 0x00000010; 17203 experimentalMapKey_ = input.readBytes();18568 experimentalMapKey_ = bs; 17204 18569 break; 17205 18570 } … … 17359 18724 17360 18725 private int bitField0_; 17361 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];17362 18726 public static final int CTYPE_FIELD_NUMBER = 1; 17363 18727 private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_; … … 17389 18753 } 17390 18754 17391 // optional bool packed = 2;17392 18755 public static final int PACKED_FIELD_NUMBER = 2; 17393 18756 private boolean packed_; … … 17419 18782 } 17420 18783 17421 // optional bool lazy = 5 [default = false];17422 18784 public static final int LAZY_FIELD_NUMBER = 5; 17423 18785 private boolean lazy_; … … 17430 18792 * inner message's contents will not be parsed but instead stored in encoded 17431 18793 * form. The inner message will actually be parsed when it is first accessed. 17432 *17433 18794 * This is only a hint. Implementations are free to choose whether to use 17434 18795 * eager or lazy parsing regardless of the value of this option. However, … … 17436 18797 * using lazy parsing on this field is worth the additional bookkeeping 17437 18798 * overhead typically needed to implement it. 17438 *17439 18799 * This option does not affect the public interface of any generated code; 17440 18800 * all method signatures remain the same. Furthermore, thread-safety of the … … 17442 18802 * call from multiple threads concurrently, while non-const methods continue 17443 18803 * to require exclusive access. 17444 *17445 *17446 18804 * Note that implementations may choose not to check required fields within 17447 18805 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 17467 18825 * inner message's contents will not be parsed but instead stored in encoded 17468 18826 * form. The inner message will actually be parsed when it is first accessed. 17469 *17470 18827 * This is only a hint. Implementations are free to choose whether to use 17471 18828 * eager or lazy parsing regardless of the value of this option. However, … … 17473 18830 * using lazy parsing on this field is worth the additional bookkeeping 17474 18831 * overhead typically needed to implement it. 17475 *17476 18832 * This option does not affect the public interface of any generated code; 17477 18833 * all method signatures remain the same. Furthermore, thread-safety of the … … 17479 18835 * call from multiple threads concurrently, while non-const methods continue 17480 18836 * to require exclusive access. 17481 *17482 *17483 18837 * Note that implementations may choose not to check required fields within 17484 18838 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 17497 18851 } 17498 18852 17499 // optional bool deprecated = 3 [default = false];17500 18853 public static final int DEPRECATED_FIELD_NUMBER = 3; 17501 18854 private boolean deprecated_; … … 17527 18880 } 17528 18881 17529 // optional string experimental_map_key = 9;17530 18882 public static final int EXPERIMENTAL_MAP_KEY_FIELD_NUMBER = 9; 17531 18883 private java.lang.Object experimentalMapKey_; … … 17615 18967 } 17616 18968 17617 // optional bool weak = 10 [default = false];17618 18969 public static final int WEAK_FIELD_NUMBER = 10; 17619 18970 private boolean weak_; … … 17639 18990 } 17640 18991 17641 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;17642 18992 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 17643 18993 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 17707 19057 public final boolean isInitialized() { 17708 19058 byte isInitialized = memoizedIsInitialized; 17709 if (isInitialized != -1) return isInitialized == 1; 19059 if (isInitialized == 1) return true; 19060 if (isInitialized == 0) return false; 17710 19061 17711 19062 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 17872 19223 public static final class Builder extends 17873 19224 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 17874 com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder { 19225 com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements 19226 // @@protoc_insertion_point(builder_implements:google.protobuf.FieldOptions) 19227 com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder { 17875 19228 public static final com.google.protobuf.Descriptors.Descriptor 17876 19229 getDescriptor() { … … 18085 19438 private int bitField0_; 18086 19439 18087 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];18088 19440 private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING; 18089 19441 /** … … 18149 19501 } 18150 19502 18151 // optional bool packed = 2;18152 19503 private boolean packed_ ; 18153 19504 /** … … 18210 19561 } 18211 19562 18212 // optional bool lazy = 5 [default = false];18213 19563 private boolean lazy_ ; 18214 19564 /** … … 18220 19570 * inner message's contents will not be parsed but instead stored in encoded 18221 19571 * form. The inner message will actually be parsed when it is first accessed. 18222 *18223 19572 * This is only a hint. Implementations are free to choose whether to use 18224 19573 * eager or lazy parsing regardless of the value of this option. However, … … 18226 19575 * using lazy parsing on this field is worth the additional bookkeeping 18227 19576 * overhead typically needed to implement it. 18228 *18229 19577 * This option does not affect the public interface of any generated code; 18230 19578 * all method signatures remain the same. Furthermore, thread-safety of the … … 18232 19580 * call from multiple threads concurrently, while non-const methods continue 18233 19581 * to require exclusive access. 18234 *18235 *18236 19582 * Note that implementations may choose not to check required fields within 18237 19583 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 18257 19603 * inner message's contents will not be parsed but instead stored in encoded 18258 19604 * form. The inner message will actually be parsed when it is first accessed. 18259 *18260 19605 * This is only a hint. Implementations are free to choose whether to use 18261 19606 * eager or lazy parsing regardless of the value of this option. However, … … 18263 19608 * using lazy parsing on this field is worth the additional bookkeeping 18264 19609 * overhead typically needed to implement it. 18265 *18266 19610 * This option does not affect the public interface of any generated code; 18267 19611 * all method signatures remain the same. Furthermore, thread-safety of the … … 18269 19613 * call from multiple threads concurrently, while non-const methods continue 18270 19614 * to require exclusive access. 18271 *18272 *18273 19615 * Note that implementations may choose not to check required fields within 18274 19616 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 18294 19636 * inner message's contents will not be parsed but instead stored in encoded 18295 19637 * form. The inner message will actually be parsed when it is first accessed. 18296 *18297 19638 * This is only a hint. Implementations are free to choose whether to use 18298 19639 * eager or lazy parsing regardless of the value of this option. However, … … 18300 19641 * using lazy parsing on this field is worth the additional bookkeeping 18301 19642 * overhead typically needed to implement it. 18302 *18303 19643 * This option does not affect the public interface of any generated code; 18304 19644 * all method signatures remain the same. Furthermore, thread-safety of the … … 18306 19646 * call from multiple threads concurrently, while non-const methods continue 18307 19647 * to require exclusive access. 18308 *18309 *18310 19648 * Note that implementations may choose not to check required fields within 18311 19649 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 18334 19672 * inner message's contents will not be parsed but instead stored in encoded 18335 19673 * form. The inner message will actually be parsed when it is first accessed. 18336 *18337 19674 * This is only a hint. Implementations are free to choose whether to use 18338 19675 * eager or lazy parsing regardless of the value of this option. However, … … 18340 19677 * using lazy parsing on this field is worth the additional bookkeeping 18341 19678 * overhead typically needed to implement it. 18342 *18343 19679 * This option does not affect the public interface of any generated code; 18344 19680 * all method signatures remain the same. Furthermore, thread-safety of the … … 18346 19682 * call from multiple threads concurrently, while non-const methods continue 18347 19683 * to require exclusive access. 18348 *18349 *18350 19684 * Note that implementations may choose not to check required fields within 18351 19685 * a lazy sub-message. That is, calling IsInitialized() on the outher message … … 18367 19701 } 18368 19702 18369 // optional bool deprecated = 3 [default = false];18370 19703 private boolean deprecated_ ; 18371 19704 /** … … 18428 19761 } 18429 19762 18430 // optional string experimental_map_key = 9;18431 19763 private java.lang.Object experimentalMapKey_ = ""; 18432 19764 /** … … 18472 19804 java.lang.Object ref = experimentalMapKey_; 18473 19805 if (!(ref instanceof java.lang.String)) { 18474 java.lang.String s = ((com.google.protobuf.ByteString) ref) 18475 .toStringUtf8(); 18476 experimentalMapKey_ = s; 19806 com.google.protobuf.ByteString bs = 19807 (com.google.protobuf.ByteString) ref; 19808 java.lang.String s = bs.toStringUtf8(); 19809 if (bs.isValidUtf8()) { 19810 experimentalMapKey_ = s; 19811 } 18477 19812 return s; 18478 19813 } else { … … 18592 19927 } 18593 19928 18594 // optional bool weak = 10 [default = false];18595 19929 private boolean weak_ ; 18596 19930 /** … … 18641 19975 } 18642 19976 18643 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;18644 19977 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 18645 19978 java.util.Collections.emptyList(); … … 18823 20156 if (uninterpretedOptionBuilder_ == null) { 18824 20157 ensureUninterpretedOptionIsMutable(); 18825 super.addAll(values, uninterpretedOption_); 20158 com.google.protobuf.AbstractMessageLite.Builder.addAll( 20159 values, uninterpretedOption_); 18826 20160 onChanged(); 18827 20161 } else { … … 18965 20299 18966 20300 public interface EnumOptionsOrBuilder extends 20301 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumOptions) 18967 20302 com.google.protobuf.GeneratedMessage. 18968 20303 ExtendableMessageOrBuilder<EnumOptions> { 18969 20304 18970 // optional bool allow_alias = 2 [default = true]; 18971 /** 18972 * <code>optional bool allow_alias = 2 [default = true];</code> 20305 /** 20306 * <code>optional bool allow_alias = 2;</code> 18973 20307 * 18974 20308 * <pre> 18975 * Set this option to false to disallow mapping different tag names toasame20309 * Set this option to true to allow mapping different tag names to the same 18976 20310 * value. 18977 20311 * </pre> … … 18979 20313 boolean hasAllowAlias(); 18980 20314 /** 18981 * <code>optional bool allow_alias = 2 [default = true];</code>20315 * <code>optional bool allow_alias = 2;</code> 18982 20316 * 18983 20317 * <pre> 18984 * Set this option to false to disallow mapping different tag names toasame20318 * Set this option to true to allow mapping different tag names to the same 18985 20319 * value. 18986 20320 * </pre> … … 18988 20322 boolean getAllowAlias(); 18989 20323 18990 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 20324 /** 20325 * <code>optional bool deprecated = 3 [default = false];</code> 20326 * 20327 * <pre> 20328 * Is this enum deprecated? 20329 * Depending on the target platform, this can emit Deprecated annotations 20330 * for the enum, or it will be completely ignored; in the very least, this 20331 * is a formalization for deprecating enums. 20332 * </pre> 20333 */ 20334 boolean hasDeprecated(); 20335 /** 20336 * <code>optional bool deprecated = 3 [default = false];</code> 20337 * 20338 * <pre> 20339 * Is this enum deprecated? 20340 * Depending on the target platform, this can emit Deprecated annotations 20341 * for the enum, or it will be completely ignored; in the very least, this 20342 * is a formalization for deprecating enums. 20343 * </pre> 20344 */ 20345 boolean getDeprecated(); 20346 18991 20347 /** 18992 20348 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 19038 20394 public static final class EnumOptions extends 19039 20395 com.google.protobuf.GeneratedMessage.ExtendableMessage< 19040 EnumOptions> implements EnumOptionsOrBuilder { 20396 EnumOptions> implements 20397 // @@protoc_insertion_point(message_implements:google.protobuf.EnumOptions) 20398 EnumOptionsOrBuilder { 19041 20399 // Use EnumOptions.newBuilder() to construct. 19042 20400 private EnumOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumOptions, ?> builder) { … … 19089 20447 break; 19090 20448 } 20449 case 24: { 20450 bitField0_ |= 0x00000002; 20451 deprecated_ = input.readBool(); 20452 break; 20453 } 19091 20454 case 7994: { 19092 if (!((mutable_bitField0_ & 0x0000000 2) == 0x00000002)) {20455 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 19093 20456 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 19094 mutable_bitField0_ |= 0x0000000 2;20457 mutable_bitField0_ |= 0x00000004; 19095 20458 } 19096 20459 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 19105 20468 e.getMessage()).setUnfinishedMessage(this); 19106 20469 } finally { 19107 if (((mutable_bitField0_ & 0x0000000 2) == 0x00000002)) {20470 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 19108 20471 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 19109 20472 } … … 19140 20503 19141 20504 private int bitField0_; 19142 // optional bool allow_alias = 2 [default = true];19143 20505 public static final int ALLOW_ALIAS_FIELD_NUMBER = 2; 19144 20506 private boolean allowAlias_; 19145 20507 /** 19146 * <code>optional bool allow_alias = 2 [default = true];</code>20508 * <code>optional bool allow_alias = 2;</code> 19147 20509 * 19148 20510 * <pre> 19149 * Set this option to false to disallow mapping different tag names toasame20511 * Set this option to true to allow mapping different tag names to the same 19150 20512 * value. 19151 20513 * </pre> … … 19155 20517 } 19156 20518 /** 19157 * <code>optional bool allow_alias = 2 [default = true];</code>20519 * <code>optional bool allow_alias = 2;</code> 19158 20520 * 19159 20521 * <pre> 19160 * Set this option to false to disallow mapping different tag names toasame20522 * Set this option to true to allow mapping different tag names to the same 19161 20523 * value. 19162 20524 * </pre> … … 19166 20528 } 19167 20529 19168 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 20530 public static final int DEPRECATED_FIELD_NUMBER = 3; 20531 private boolean deprecated_; 20532 /** 20533 * <code>optional bool deprecated = 3 [default = false];</code> 20534 * 20535 * <pre> 20536 * Is this enum deprecated? 20537 * Depending on the target platform, this can emit Deprecated annotations 20538 * for the enum, or it will be completely ignored; in the very least, this 20539 * is a formalization for deprecating enums. 20540 * </pre> 20541 */ 20542 public boolean hasDeprecated() { 20543 return ((bitField0_ & 0x00000002) == 0x00000002); 20544 } 20545 /** 20546 * <code>optional bool deprecated = 3 [default = false];</code> 20547 * 20548 * <pre> 20549 * Is this enum deprecated? 20550 * Depending on the target platform, this can emit Deprecated annotations 20551 * for the enum, or it will be completely ignored; in the very least, this 20552 * is a formalization for deprecating enums. 20553 * </pre> 20554 */ 20555 public boolean getDeprecated() { 20556 return deprecated_; 20557 } 20558 19169 20559 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 19170 20560 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 19223 20613 19224 20614 private void initFields() { 19225 allowAlias_ = true; 20615 allowAlias_ = false; 20616 deprecated_ = false; 19226 20617 uninterpretedOption_ = java.util.Collections.emptyList(); 19227 20618 } … … 19229 20620 public final boolean isInitialized() { 19230 20621 byte isInitialized = memoizedIsInitialized; 19231 if (isInitialized != -1) return isInitialized == 1; 20622 if (isInitialized == 1) return true; 20623 if (isInitialized == 0) return false; 19232 20624 19233 20625 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 19254 20646 output.writeBool(2, allowAlias_); 19255 20647 } 20648 if (((bitField0_ & 0x00000002) == 0x00000002)) { 20649 output.writeBool(3, deprecated_); 20650 } 19256 20651 for (int i = 0; i < uninterpretedOption_.size(); i++) { 19257 20652 output.writeMessage(999, uninterpretedOption_.get(i)); … … 19270 20665 size += com.google.protobuf.CodedOutputStream 19271 20666 .computeBoolSize(2, allowAlias_); 20667 } 20668 if (((bitField0_ & 0x00000002) == 0x00000002)) { 20669 size += com.google.protobuf.CodedOutputStream 20670 .computeBoolSize(3, deprecated_); 19272 20671 } 19273 20672 for (int i = 0; i < uninterpretedOption_.size(); i++) { … … 19359 20758 public static final class Builder extends 19360 20759 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 19361 com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder { 20760 com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements 20761 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumOptions) 20762 com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder { 19362 20763 public static final com.google.protobuf.Descriptors.Descriptor 19363 20764 getDescriptor() { … … 19393 20794 public Builder clear() { 19394 20795 super.clear(); 19395 allowAlias_ = true;20796 allowAlias_ = false; 19396 20797 bitField0_ = (bitField0_ & ~0x00000001); 20798 deprecated_ = false; 20799 bitField0_ = (bitField0_ & ~0x00000002); 19397 20800 if (uninterpretedOptionBuilder_ == null) { 19398 20801 uninterpretedOption_ = java.util.Collections.emptyList(); 19399 bitField0_ = (bitField0_ & ~0x0000000 2);20802 bitField0_ = (bitField0_ & ~0x00000004); 19400 20803 } else { 19401 20804 uninterpretedOptionBuilder_.clear(); … … 19433 20836 } 19434 20837 result.allowAlias_ = allowAlias_; 20838 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 20839 to_bitField0_ |= 0x00000002; 20840 } 20841 result.deprecated_ = deprecated_; 19435 20842 if (uninterpretedOptionBuilder_ == null) { 19436 if (((bitField0_ & 0x0000000 2) == 0x00000002)) {20843 if (((bitField0_ & 0x00000004) == 0x00000004)) { 19437 20844 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 19438 bitField0_ = (bitField0_ & ~0x0000000 2);20845 bitField0_ = (bitField0_ & ~0x00000004); 19439 20846 } 19440 20847 result.uninterpretedOption_ = uninterpretedOption_; … … 19461 20868 setAllowAlias(other.getAllowAlias()); 19462 20869 } 20870 if (other.hasDeprecated()) { 20871 setDeprecated(other.getDeprecated()); 20872 } 19463 20873 if (uninterpretedOptionBuilder_ == null) { 19464 20874 if (!other.uninterpretedOption_.isEmpty()) { 19465 20875 if (uninterpretedOption_.isEmpty()) { 19466 20876 uninterpretedOption_ = other.uninterpretedOption_; 19467 bitField0_ = (bitField0_ & ~0x0000000 2);20877 bitField0_ = (bitField0_ & ~0x00000004); 19468 20878 } else { 19469 20879 ensureUninterpretedOptionIsMutable(); … … 19478 20888 uninterpretedOptionBuilder_ = null; 19479 20889 uninterpretedOption_ = other.uninterpretedOption_; 19480 bitField0_ = (bitField0_ & ~0x0000000 2);20890 bitField0_ = (bitField0_ & ~0x00000004); 19481 20891 uninterpretedOptionBuilder_ = 19482 20892 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 19525 20935 private int bitField0_; 19526 20936 19527 // optional bool allow_alias = 2 [default = true]; 19528 private boolean allowAlias_ = true; 19529 /** 19530 * <code>optional bool allow_alias = 2 [default = true];</code> 19531 * 19532 * <pre> 19533 * Set this option to false to disallow mapping different tag names to a same 20937 private boolean allowAlias_ ; 20938 /** 20939 * <code>optional bool allow_alias = 2;</code> 20940 * 20941 * <pre> 20942 * Set this option to true to allow mapping different tag names to the same 19534 20943 * value. 19535 20944 * </pre> … … 19539 20948 } 19540 20949 /** 19541 * <code>optional bool allow_alias = 2 [default = true];</code>19542 * 19543 * <pre> 19544 * Set this option to false to disallow mapping different tag names toasame20950 * <code>optional bool allow_alias = 2;</code> 20951 * 20952 * <pre> 20953 * Set this option to true to allow mapping different tag names to the same 19545 20954 * value. 19546 20955 * </pre> … … 19550 20959 } 19551 20960 /** 19552 * <code>optional bool allow_alias = 2 [default = true];</code>19553 * 19554 * <pre> 19555 * Set this option to false to disallow mapping different tag names toasame20961 * <code>optional bool allow_alias = 2;</code> 20962 * 20963 * <pre> 20964 * Set this option to true to allow mapping different tag names to the same 19556 20965 * value. 19557 20966 * </pre> … … 19564 20973 } 19565 20974 /** 19566 * <code>optional bool allow_alias = 2 [default = true];</code>19567 * 19568 * <pre> 19569 * Set this option to false to disallow mapping different tag names toasame20975 * <code>optional bool allow_alias = 2;</code> 20976 * 20977 * <pre> 20978 * Set this option to true to allow mapping different tag names to the same 19570 20979 * value. 19571 20980 * </pre> … … 19573 20982 public Builder clearAllowAlias() { 19574 20983 bitField0_ = (bitField0_ & ~0x00000001); 19575 allowAlias_ = true;20984 allowAlias_ = false; 19576 20985 onChanged(); 19577 20986 return this; 19578 20987 } 19579 20988 19580 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 20989 private boolean deprecated_ ; 20990 /** 20991 * <code>optional bool deprecated = 3 [default = false];</code> 20992 * 20993 * <pre> 20994 * Is this enum deprecated? 20995 * Depending on the target platform, this can emit Deprecated annotations 20996 * for the enum, or it will be completely ignored; in the very least, this 20997 * is a formalization for deprecating enums. 20998 * </pre> 20999 */ 21000 public boolean hasDeprecated() { 21001 return ((bitField0_ & 0x00000002) == 0x00000002); 21002 } 21003 /** 21004 * <code>optional bool deprecated = 3 [default = false];</code> 21005 * 21006 * <pre> 21007 * Is this enum deprecated? 21008 * Depending on the target platform, this can emit Deprecated annotations 21009 * for the enum, or it will be completely ignored; in the very least, this 21010 * is a formalization for deprecating enums. 21011 * </pre> 21012 */ 21013 public boolean getDeprecated() { 21014 return deprecated_; 21015 } 21016 /** 21017 * <code>optional bool deprecated = 3 [default = false];</code> 21018 * 21019 * <pre> 21020 * Is this enum deprecated? 21021 * Depending on the target platform, this can emit Deprecated annotations 21022 * for the enum, or it will be completely ignored; in the very least, this 21023 * is a formalization for deprecating enums. 21024 * </pre> 21025 */ 21026 public Builder setDeprecated(boolean value) { 21027 bitField0_ |= 0x00000002; 21028 deprecated_ = value; 21029 onChanged(); 21030 return this; 21031 } 21032 /** 21033 * <code>optional bool deprecated = 3 [default = false];</code> 21034 * 21035 * <pre> 21036 * Is this enum deprecated? 21037 * Depending on the target platform, this can emit Deprecated annotations 21038 * for the enum, or it will be completely ignored; in the very least, this 21039 * is a formalization for deprecating enums. 21040 * </pre> 21041 */ 21042 public Builder clearDeprecated() { 21043 bitField0_ = (bitField0_ & ~0x00000002); 21044 deprecated_ = false; 21045 onChanged(); 21046 return this; 21047 } 21048 19581 21049 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 19582 21050 java.util.Collections.emptyList(); 19583 21051 private void ensureUninterpretedOptionIsMutable() { 19584 if (!((bitField0_ & 0x0000000 2) == 0x00000002)) {21052 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 19585 21053 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 19586 bitField0_ |= 0x0000000 2;21054 bitField0_ |= 0x00000004; 19587 21055 } 19588 21056 } … … 19760 21228 if (uninterpretedOptionBuilder_ == null) { 19761 21229 ensureUninterpretedOptionIsMutable(); 19762 super.addAll(values, uninterpretedOption_); 21230 com.google.protobuf.AbstractMessageLite.Builder.addAll( 21231 values, uninterpretedOption_); 19763 21232 onChanged(); 19764 21233 } else { … … 19777 21246 if (uninterpretedOptionBuilder_ == null) { 19778 21247 uninterpretedOption_ = java.util.Collections.emptyList(); 19779 bitField0_ = (bitField0_ & ~0x0000000 2);21248 bitField0_ = (bitField0_ & ~0x00000004); 19780 21249 onChanged(); 19781 21250 } else { … … 19882 21351 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 19883 21352 uninterpretedOption_, 19884 ((bitField0_ & 0x0000000 2) == 0x00000002),21353 ((bitField0_ & 0x00000004) == 0x00000004), 19885 21354 getParentForChildren(), 19886 21355 isClean()); … … 19902 21371 19903 21372 public interface EnumValueOptionsOrBuilder extends 21373 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumValueOptions) 19904 21374 com.google.protobuf.GeneratedMessage. 19905 21375 ExtendableMessageOrBuilder<EnumValueOptions> { 19906 21376 19907 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 21377 /** 21378 * <code>optional bool deprecated = 1 [default = false];</code> 21379 * 21380 * <pre> 21381 * Is this enum value deprecated? 21382 * Depending on the target platform, this can emit Deprecated annotations 21383 * for the enum value, or it will be completely ignored; in the very least, 21384 * this is a formalization for deprecating enum values. 21385 * </pre> 21386 */ 21387 boolean hasDeprecated(); 21388 /** 21389 * <code>optional bool deprecated = 1 [default = false];</code> 21390 * 21391 * <pre> 21392 * Is this enum value deprecated? 21393 * Depending on the target platform, this can emit Deprecated annotations 21394 * for the enum value, or it will be completely ignored; in the very least, 21395 * this is a formalization for deprecating enum values. 21396 * </pre> 21397 */ 21398 boolean getDeprecated(); 21399 19908 21400 /** 19909 21401 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 19955 21447 public static final class EnumValueOptions extends 19956 21448 com.google.protobuf.GeneratedMessage.ExtendableMessage< 19957 EnumValueOptions> implements EnumValueOptionsOrBuilder { 21449 EnumValueOptions> implements 21450 // @@protoc_insertion_point(message_implements:google.protobuf.EnumValueOptions) 21451 EnumValueOptionsOrBuilder { 19958 21452 // Use EnumValueOptions.newBuilder() to construct. 19959 21453 private EnumValueOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumValueOptions, ?> builder) { … … 20001 21495 break; 20002 21496 } 21497 case 8: { 21498 bitField0_ |= 0x00000001; 21499 deprecated_ = input.readBool(); 21500 break; 21501 } 20003 21502 case 7994: { 20004 if (!((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {21503 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 20005 21504 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 20006 mutable_bitField0_ |= 0x0000000 1;21505 mutable_bitField0_ |= 0x00000002; 20007 21506 } 20008 21507 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 20017 21516 e.getMessage()).setUnfinishedMessage(this); 20018 21517 } finally { 20019 if (((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {21518 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 20020 21519 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 20021 21520 } … … 20051 21550 } 20052 21551 20053 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 21552 private int bitField0_; 21553 public static final int DEPRECATED_FIELD_NUMBER = 1; 21554 private boolean deprecated_; 21555 /** 21556 * <code>optional bool deprecated = 1 [default = false];</code> 21557 * 21558 * <pre> 21559 * Is this enum value deprecated? 21560 * Depending on the target platform, this can emit Deprecated annotations 21561 * for the enum value, or it will be completely ignored; in the very least, 21562 * this is a formalization for deprecating enum values. 21563 * </pre> 21564 */ 21565 public boolean hasDeprecated() { 21566 return ((bitField0_ & 0x00000001) == 0x00000001); 21567 } 21568 /** 21569 * <code>optional bool deprecated = 1 [default = false];</code> 21570 * 21571 * <pre> 21572 * Is this enum value deprecated? 21573 * Depending on the target platform, this can emit Deprecated annotations 21574 * for the enum value, or it will be completely ignored; in the very least, 21575 * this is a formalization for deprecating enum values. 21576 * </pre> 21577 */ 21578 public boolean getDeprecated() { 21579 return deprecated_; 21580 } 21581 20054 21582 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 20055 21583 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 20108 21636 20109 21637 private void initFields() { 21638 deprecated_ = false; 20110 21639 uninterpretedOption_ = java.util.Collections.emptyList(); 20111 21640 } … … 20113 21642 public final boolean isInitialized() { 20114 21643 byte isInitialized = memoizedIsInitialized; 20115 if (isInitialized != -1) return isInitialized == 1; 21644 if (isInitialized == 1) return true; 21645 if (isInitialized == 0) return false; 20116 21646 20117 21647 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 20135 21665 .ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumValueOptions>.ExtensionWriter extensionWriter = 20136 21666 newExtensionWriter(); 21667 if (((bitField0_ & 0x00000001) == 0x00000001)) { 21668 output.writeBool(1, deprecated_); 21669 } 20137 21670 for (int i = 0; i < uninterpretedOption_.size(); i++) { 20138 21671 output.writeMessage(999, uninterpretedOption_.get(i)); … … 20148 21681 20149 21682 size = 0; 21683 if (((bitField0_ & 0x00000001) == 0x00000001)) { 21684 size += com.google.protobuf.CodedOutputStream 21685 .computeBoolSize(1, deprecated_); 21686 } 20150 21687 for (int i = 0; i < uninterpretedOption_.size(); i++) { 20151 21688 size += com.google.protobuf.CodedOutputStream … … 20236 21773 public static final class Builder extends 20237 21774 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 20238 com.google.protobuf.DescriptorProtos.EnumValueOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder { 21775 com.google.protobuf.DescriptorProtos.EnumValueOptions, Builder> implements 21776 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumValueOptions) 21777 com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder { 20239 21778 public static final com.google.protobuf.Descriptors.Descriptor 20240 21779 getDescriptor() { … … 20270 21809 public Builder clear() { 20271 21810 super.clear(); 21811 deprecated_ = false; 21812 bitField0_ = (bitField0_ & ~0x00000001); 20272 21813 if (uninterpretedOptionBuilder_ == null) { 20273 21814 uninterpretedOption_ = java.util.Collections.emptyList(); 20274 bitField0_ = (bitField0_ & ~0x0000000 1);21815 bitField0_ = (bitField0_ & ~0x00000002); 20275 21816 } else { 20276 21817 uninterpretedOptionBuilder_.clear(); … … 20303 21844 com.google.protobuf.DescriptorProtos.EnumValueOptions result = new com.google.protobuf.DescriptorProtos.EnumValueOptions(this); 20304 21845 int from_bitField0_ = bitField0_; 21846 int to_bitField0_ = 0; 21847 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 21848 to_bitField0_ |= 0x00000001; 21849 } 21850 result.deprecated_ = deprecated_; 20305 21851 if (uninterpretedOptionBuilder_ == null) { 20306 if (((bitField0_ & 0x0000000 1) == 0x00000001)) {21852 if (((bitField0_ & 0x00000002) == 0x00000002)) { 20307 21853 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 20308 bitField0_ = (bitField0_ & ~0x0000000 1);21854 bitField0_ = (bitField0_ & ~0x00000002); 20309 21855 } 20310 21856 result.uninterpretedOption_ = uninterpretedOption_; … … 20312 21858 result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); 20313 21859 } 21860 result.bitField0_ = to_bitField0_; 20314 21861 onBuilt(); 20315 21862 return result; … … 20327 21874 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumValueOptions other) { 20328 21875 if (other == com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) return this; 21876 if (other.hasDeprecated()) { 21877 setDeprecated(other.getDeprecated()); 21878 } 20329 21879 if (uninterpretedOptionBuilder_ == null) { 20330 21880 if (!other.uninterpretedOption_.isEmpty()) { 20331 21881 if (uninterpretedOption_.isEmpty()) { 20332 21882 uninterpretedOption_ = other.uninterpretedOption_; 20333 bitField0_ = (bitField0_ & ~0x0000000 1);21883 bitField0_ = (bitField0_ & ~0x00000002); 20334 21884 } else { 20335 21885 ensureUninterpretedOptionIsMutable(); … … 20344 21894 uninterpretedOptionBuilder_ = null; 20345 21895 uninterpretedOption_ = other.uninterpretedOption_; 20346 bitField0_ = (bitField0_ & ~0x0000000 1);21896 bitField0_ = (bitField0_ & ~0x00000002); 20347 21897 uninterpretedOptionBuilder_ = 20348 21898 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 20391 21941 private int bitField0_; 20392 21942 20393 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 21943 private boolean deprecated_ ; 21944 /** 21945 * <code>optional bool deprecated = 1 [default = false];</code> 21946 * 21947 * <pre> 21948 * Is this enum value deprecated? 21949 * Depending on the target platform, this can emit Deprecated annotations 21950 * for the enum value, or it will be completely ignored; in the very least, 21951 * this is a formalization for deprecating enum values. 21952 * </pre> 21953 */ 21954 public boolean hasDeprecated() { 21955 return ((bitField0_ & 0x00000001) == 0x00000001); 21956 } 21957 /** 21958 * <code>optional bool deprecated = 1 [default = false];</code> 21959 * 21960 * <pre> 21961 * Is this enum value deprecated? 21962 * Depending on the target platform, this can emit Deprecated annotations 21963 * for the enum value, or it will be completely ignored; in the very least, 21964 * this is a formalization for deprecating enum values. 21965 * </pre> 21966 */ 21967 public boolean getDeprecated() { 21968 return deprecated_; 21969 } 21970 /** 21971 * <code>optional bool deprecated = 1 [default = false];</code> 21972 * 21973 * <pre> 21974 * Is this enum value deprecated? 21975 * Depending on the target platform, this can emit Deprecated annotations 21976 * for the enum value, or it will be completely ignored; in the very least, 21977 * this is a formalization for deprecating enum values. 21978 * </pre> 21979 */ 21980 public Builder setDeprecated(boolean value) { 21981 bitField0_ |= 0x00000001; 21982 deprecated_ = value; 21983 onChanged(); 21984 return this; 21985 } 21986 /** 21987 * <code>optional bool deprecated = 1 [default = false];</code> 21988 * 21989 * <pre> 21990 * Is this enum value deprecated? 21991 * Depending on the target platform, this can emit Deprecated annotations 21992 * for the enum value, or it will be completely ignored; in the very least, 21993 * this is a formalization for deprecating enum values. 21994 * </pre> 21995 */ 21996 public Builder clearDeprecated() { 21997 bitField0_ = (bitField0_ & ~0x00000001); 21998 deprecated_ = false; 21999 onChanged(); 22000 return this; 22001 } 22002 20394 22003 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 20395 22004 java.util.Collections.emptyList(); 20396 22005 private void ensureUninterpretedOptionIsMutable() { 20397 if (!((bitField0_ & 0x0000000 1) == 0x00000001)) {22006 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 20398 22007 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 20399 bitField0_ |= 0x0000000 1;22008 bitField0_ |= 0x00000002; 20400 22009 } 20401 22010 } … … 20573 22182 if (uninterpretedOptionBuilder_ == null) { 20574 22183 ensureUninterpretedOptionIsMutable(); 20575 super.addAll(values, uninterpretedOption_); 22184 com.google.protobuf.AbstractMessageLite.Builder.addAll( 22185 values, uninterpretedOption_); 20576 22186 onChanged(); 20577 22187 } else { … … 20590 22200 if (uninterpretedOptionBuilder_ == null) { 20591 22201 uninterpretedOption_ = java.util.Collections.emptyList(); 20592 bitField0_ = (bitField0_ & ~0x0000000 1);22202 bitField0_ = (bitField0_ & ~0x00000002); 20593 22203 onChanged(); 20594 22204 } else { … … 20695 22305 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 20696 22306 uninterpretedOption_, 20697 ((bitField0_ & 0x0000000 1) == 0x00000001),22307 ((bitField0_ & 0x00000002) == 0x00000002), 20698 22308 getParentForChildren(), 20699 22309 isClean()); … … 20715 22325 20716 22326 public interface ServiceOptionsOrBuilder extends 22327 // @@protoc_insertion_point(interface_extends:google.protobuf.ServiceOptions) 20717 22328 com.google.protobuf.GeneratedMessage. 20718 22329 ExtendableMessageOrBuilder<ServiceOptions> { 20719 22330 20720 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 22331 /** 22332 * <code>optional bool deprecated = 33 [default = false];</code> 22333 * 22334 * <pre> 22335 * Is this service deprecated? 22336 * Depending on the target platform, this can emit Deprecated annotations 22337 * for the service, or it will be completely ignored; in the very least, 22338 * this is a formalization for deprecating services. 22339 * </pre> 22340 */ 22341 boolean hasDeprecated(); 22342 /** 22343 * <code>optional bool deprecated = 33 [default = false];</code> 22344 * 22345 * <pre> 22346 * Is this service deprecated? 22347 * Depending on the target platform, this can emit Deprecated annotations 22348 * for the service, or it will be completely ignored; in the very least, 22349 * this is a formalization for deprecating services. 22350 * </pre> 22351 */ 22352 boolean getDeprecated(); 22353 20721 22354 /** 20722 22355 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 20768 22401 public static final class ServiceOptions extends 20769 22402 com.google.protobuf.GeneratedMessage.ExtendableMessage< 20770 ServiceOptions> implements ServiceOptionsOrBuilder { 22403 ServiceOptions> implements 22404 // @@protoc_insertion_point(message_implements:google.protobuf.ServiceOptions) 22405 ServiceOptionsOrBuilder { 20771 22406 // Use ServiceOptions.newBuilder() to construct. 20772 22407 private ServiceOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.ServiceOptions, ?> builder) { … … 20814 22449 break; 20815 22450 } 22451 case 264: { 22452 bitField0_ |= 0x00000001; 22453 deprecated_ = input.readBool(); 22454 break; 22455 } 20816 22456 case 7994: { 20817 if (!((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {22457 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 20818 22458 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 20819 mutable_bitField0_ |= 0x0000000 1;22459 mutable_bitField0_ |= 0x00000002; 20820 22460 } 20821 22461 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 20830 22470 e.getMessage()).setUnfinishedMessage(this); 20831 22471 } finally { 20832 if (((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {22472 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 20833 22473 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 20834 22474 } … … 20864 22504 } 20865 22505 20866 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 22506 private int bitField0_; 22507 public static final int DEPRECATED_FIELD_NUMBER = 33; 22508 private boolean deprecated_; 22509 /** 22510 * <code>optional bool deprecated = 33 [default = false];</code> 22511 * 22512 * <pre> 22513 * Is this service deprecated? 22514 * Depending on the target platform, this can emit Deprecated annotations 22515 * for the service, or it will be completely ignored; in the very least, 22516 * this is a formalization for deprecating services. 22517 * </pre> 22518 */ 22519 public boolean hasDeprecated() { 22520 return ((bitField0_ & 0x00000001) == 0x00000001); 22521 } 22522 /** 22523 * <code>optional bool deprecated = 33 [default = false];</code> 22524 * 22525 * <pre> 22526 * Is this service deprecated? 22527 * Depending on the target platform, this can emit Deprecated annotations 22528 * for the service, or it will be completely ignored; in the very least, 22529 * this is a formalization for deprecating services. 22530 * </pre> 22531 */ 22532 public boolean getDeprecated() { 22533 return deprecated_; 22534 } 22535 20867 22536 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 20868 22537 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 20921 22590 20922 22591 private void initFields() { 22592 deprecated_ = false; 20923 22593 uninterpretedOption_ = java.util.Collections.emptyList(); 20924 22594 } … … 20926 22596 public final boolean isInitialized() { 20927 22597 byte isInitialized = memoizedIsInitialized; 20928 if (isInitialized != -1) return isInitialized == 1; 22598 if (isInitialized == 1) return true; 22599 if (isInitialized == 0) return false; 20929 22600 20930 22601 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 20948 22619 .ExtendableMessage<com.google.protobuf.DescriptorProtos.ServiceOptions>.ExtensionWriter extensionWriter = 20949 22620 newExtensionWriter(); 22621 if (((bitField0_ & 0x00000001) == 0x00000001)) { 22622 output.writeBool(33, deprecated_); 22623 } 20950 22624 for (int i = 0; i < uninterpretedOption_.size(); i++) { 20951 22625 output.writeMessage(999, uninterpretedOption_.get(i)); … … 20961 22635 20962 22636 size = 0; 22637 if (((bitField0_ & 0x00000001) == 0x00000001)) { 22638 size += com.google.protobuf.CodedOutputStream 22639 .computeBoolSize(33, deprecated_); 22640 } 20963 22641 for (int i = 0; i < uninterpretedOption_.size(); i++) { 20964 22642 size += com.google.protobuf.CodedOutputStream … … 21049 22727 public static final class Builder extends 21050 22728 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 21051 com.google.protobuf.DescriptorProtos.ServiceOptions, Builder> implements com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder { 22729 com.google.protobuf.DescriptorProtos.ServiceOptions, Builder> implements 22730 // @@protoc_insertion_point(builder_implements:google.protobuf.ServiceOptions) 22731 com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder { 21052 22732 public static final com.google.protobuf.Descriptors.Descriptor 21053 22733 getDescriptor() { … … 21083 22763 public Builder clear() { 21084 22764 super.clear(); 22765 deprecated_ = false; 22766 bitField0_ = (bitField0_ & ~0x00000001); 21085 22767 if (uninterpretedOptionBuilder_ == null) { 21086 22768 uninterpretedOption_ = java.util.Collections.emptyList(); 21087 bitField0_ = (bitField0_ & ~0x0000000 1);22769 bitField0_ = (bitField0_ & ~0x00000002); 21088 22770 } else { 21089 22771 uninterpretedOptionBuilder_.clear(); … … 21116 22798 com.google.protobuf.DescriptorProtos.ServiceOptions result = new com.google.protobuf.DescriptorProtos.ServiceOptions(this); 21117 22799 int from_bitField0_ = bitField0_; 22800 int to_bitField0_ = 0; 22801 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 22802 to_bitField0_ |= 0x00000001; 22803 } 22804 result.deprecated_ = deprecated_; 21118 22805 if (uninterpretedOptionBuilder_ == null) { 21119 if (((bitField0_ & 0x0000000 1) == 0x00000001)) {22806 if (((bitField0_ & 0x00000002) == 0x00000002)) { 21120 22807 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 21121 bitField0_ = (bitField0_ & ~0x0000000 1);22808 bitField0_ = (bitField0_ & ~0x00000002); 21122 22809 } 21123 22810 result.uninterpretedOption_ = uninterpretedOption_; … … 21125 22812 result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); 21126 22813 } 22814 result.bitField0_ = to_bitField0_; 21127 22815 onBuilt(); 21128 22816 return result; … … 21140 22828 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.ServiceOptions other) { 21141 22829 if (other == com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) return this; 22830 if (other.hasDeprecated()) { 22831 setDeprecated(other.getDeprecated()); 22832 } 21142 22833 if (uninterpretedOptionBuilder_ == null) { 21143 22834 if (!other.uninterpretedOption_.isEmpty()) { 21144 22835 if (uninterpretedOption_.isEmpty()) { 21145 22836 uninterpretedOption_ = other.uninterpretedOption_; 21146 bitField0_ = (bitField0_ & ~0x0000000 1);22837 bitField0_ = (bitField0_ & ~0x00000002); 21147 22838 } else { 21148 22839 ensureUninterpretedOptionIsMutable(); … … 21157 22848 uninterpretedOptionBuilder_ = null; 21158 22849 uninterpretedOption_ = other.uninterpretedOption_; 21159 bitField0_ = (bitField0_ & ~0x0000000 1);22850 bitField0_ = (bitField0_ & ~0x00000002); 21160 22851 uninterpretedOptionBuilder_ = 21161 22852 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 21204 22895 private int bitField0_; 21205 22896 21206 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 22897 private boolean deprecated_ ; 22898 /** 22899 * <code>optional bool deprecated = 33 [default = false];</code> 22900 * 22901 * <pre> 22902 * Is this service deprecated? 22903 * Depending on the target platform, this can emit Deprecated annotations 22904 * for the service, or it will be completely ignored; in the very least, 22905 * this is a formalization for deprecating services. 22906 * </pre> 22907 */ 22908 public boolean hasDeprecated() { 22909 return ((bitField0_ & 0x00000001) == 0x00000001); 22910 } 22911 /** 22912 * <code>optional bool deprecated = 33 [default = false];</code> 22913 * 22914 * <pre> 22915 * Is this service deprecated? 22916 * Depending on the target platform, this can emit Deprecated annotations 22917 * for the service, or it will be completely ignored; in the very least, 22918 * this is a formalization for deprecating services. 22919 * </pre> 22920 */ 22921 public boolean getDeprecated() { 22922 return deprecated_; 22923 } 22924 /** 22925 * <code>optional bool deprecated = 33 [default = false];</code> 22926 * 22927 * <pre> 22928 * Is this service deprecated? 22929 * Depending on the target platform, this can emit Deprecated annotations 22930 * for the service, or it will be completely ignored; in the very least, 22931 * this is a formalization for deprecating services. 22932 * </pre> 22933 */ 22934 public Builder setDeprecated(boolean value) { 22935 bitField0_ |= 0x00000001; 22936 deprecated_ = value; 22937 onChanged(); 22938 return this; 22939 } 22940 /** 22941 * <code>optional bool deprecated = 33 [default = false];</code> 22942 * 22943 * <pre> 22944 * Is this service deprecated? 22945 * Depending on the target platform, this can emit Deprecated annotations 22946 * for the service, or it will be completely ignored; in the very least, 22947 * this is a formalization for deprecating services. 22948 * </pre> 22949 */ 22950 public Builder clearDeprecated() { 22951 bitField0_ = (bitField0_ & ~0x00000001); 22952 deprecated_ = false; 22953 onChanged(); 22954 return this; 22955 } 22956 21207 22957 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 21208 22958 java.util.Collections.emptyList(); 21209 22959 private void ensureUninterpretedOptionIsMutable() { 21210 if (!((bitField0_ & 0x0000000 1) == 0x00000001)) {22960 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 21211 22961 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 21212 bitField0_ |= 0x0000000 1;22962 bitField0_ |= 0x00000002; 21213 22963 } 21214 22964 } … … 21386 23136 if (uninterpretedOptionBuilder_ == null) { 21387 23137 ensureUninterpretedOptionIsMutable(); 21388 super.addAll(values, uninterpretedOption_); 23138 com.google.protobuf.AbstractMessageLite.Builder.addAll( 23139 values, uninterpretedOption_); 21389 23140 onChanged(); 21390 23141 } else { … … 21403 23154 if (uninterpretedOptionBuilder_ == null) { 21404 23155 uninterpretedOption_ = java.util.Collections.emptyList(); 21405 bitField0_ = (bitField0_ & ~0x0000000 1);23156 bitField0_ = (bitField0_ & ~0x00000002); 21406 23157 onChanged(); 21407 23158 } else { … … 21508 23259 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 21509 23260 uninterpretedOption_, 21510 ((bitField0_ & 0x0000000 1) == 0x00000001),23261 ((bitField0_ & 0x00000002) == 0x00000002), 21511 23262 getParentForChildren(), 21512 23263 isClean()); … … 21528 23279 21529 23280 public interface MethodOptionsOrBuilder extends 23281 // @@protoc_insertion_point(interface_extends:google.protobuf.MethodOptions) 21530 23282 com.google.protobuf.GeneratedMessage. 21531 23283 ExtendableMessageOrBuilder<MethodOptions> { 21532 23284 21533 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 23285 /** 23286 * <code>optional bool deprecated = 33 [default = false];</code> 23287 * 23288 * <pre> 23289 * Is this method deprecated? 23290 * Depending on the target platform, this can emit Deprecated annotations 23291 * for the method, or it will be completely ignored; in the very least, 23292 * this is a formalization for deprecating methods. 23293 * </pre> 23294 */ 23295 boolean hasDeprecated(); 23296 /** 23297 * <code>optional bool deprecated = 33 [default = false];</code> 23298 * 23299 * <pre> 23300 * Is this method deprecated? 23301 * Depending on the target platform, this can emit Deprecated annotations 23302 * for the method, or it will be completely ignored; in the very least, 23303 * this is a formalization for deprecating methods. 23304 * </pre> 23305 */ 23306 boolean getDeprecated(); 23307 21534 23308 /** 21535 23309 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> … … 21581 23355 public static final class MethodOptions extends 21582 23356 com.google.protobuf.GeneratedMessage.ExtendableMessage< 21583 MethodOptions> implements MethodOptionsOrBuilder { 23357 MethodOptions> implements 23358 // @@protoc_insertion_point(message_implements:google.protobuf.MethodOptions) 23359 MethodOptionsOrBuilder { 21584 23360 // Use MethodOptions.newBuilder() to construct. 21585 23361 private MethodOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MethodOptions, ?> builder) { … … 21627 23403 break; 21628 23404 } 23405 case 264: { 23406 bitField0_ |= 0x00000001; 23407 deprecated_ = input.readBool(); 23408 break; 23409 } 21629 23410 case 7994: { 21630 if (!((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {23411 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 21631 23412 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 21632 mutable_bitField0_ |= 0x0000000 1;23413 mutable_bitField0_ |= 0x00000002; 21633 23414 } 21634 23415 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); … … 21643 23424 e.getMessage()).setUnfinishedMessage(this); 21644 23425 } finally { 21645 if (((mutable_bitField0_ & 0x0000000 1) == 0x00000001)) {23426 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 21646 23427 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 21647 23428 } … … 21677 23458 } 21678 23459 21679 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 23460 private int bitField0_; 23461 public static final int DEPRECATED_FIELD_NUMBER = 33; 23462 private boolean deprecated_; 23463 /** 23464 * <code>optional bool deprecated = 33 [default = false];</code> 23465 * 23466 * <pre> 23467 * Is this method deprecated? 23468 * Depending on the target platform, this can emit Deprecated annotations 23469 * for the method, or it will be completely ignored; in the very least, 23470 * this is a formalization for deprecating methods. 23471 * </pre> 23472 */ 23473 public boolean hasDeprecated() { 23474 return ((bitField0_ & 0x00000001) == 0x00000001); 23475 } 23476 /** 23477 * <code>optional bool deprecated = 33 [default = false];</code> 23478 * 23479 * <pre> 23480 * Is this method deprecated? 23481 * Depending on the target platform, this can emit Deprecated annotations 23482 * for the method, or it will be completely ignored; in the very least, 23483 * this is a formalization for deprecating methods. 23484 * </pre> 23485 */ 23486 public boolean getDeprecated() { 23487 return deprecated_; 23488 } 23489 21680 23490 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 21681 23491 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; … … 21734 23544 21735 23545 private void initFields() { 23546 deprecated_ = false; 21736 23547 uninterpretedOption_ = java.util.Collections.emptyList(); 21737 23548 } … … 21739 23550 public final boolean isInitialized() { 21740 23551 byte isInitialized = memoizedIsInitialized; 21741 if (isInitialized != -1) return isInitialized == 1; 23552 if (isInitialized == 1) return true; 23553 if (isInitialized == 0) return false; 21742 23554 21743 23555 for (int i = 0; i < getUninterpretedOptionCount(); i++) { … … 21761 23573 .ExtendableMessage<com.google.protobuf.DescriptorProtos.MethodOptions>.ExtensionWriter extensionWriter = 21762 23574 newExtensionWriter(); 23575 if (((bitField0_ & 0x00000001) == 0x00000001)) { 23576 output.writeBool(33, deprecated_); 23577 } 21763 23578 for (int i = 0; i < uninterpretedOption_.size(); i++) { 21764 23579 output.writeMessage(999, uninterpretedOption_.get(i)); … … 21774 23589 21775 23590 size = 0; 23591 if (((bitField0_ & 0x00000001) == 0x00000001)) { 23592 size += com.google.protobuf.CodedOutputStream 23593 .computeBoolSize(33, deprecated_); 23594 } 21776 23595 for (int i = 0; i < uninterpretedOption_.size(); i++) { 21777 23596 size += com.google.protobuf.CodedOutputStream … … 21862 23681 public static final class Builder extends 21863 23682 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 21864 com.google.protobuf.DescriptorProtos.MethodOptions, Builder> implements com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder { 23683 com.google.protobuf.DescriptorProtos.MethodOptions, Builder> implements 23684 // @@protoc_insertion_point(builder_implements:google.protobuf.MethodOptions) 23685 com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder { 21865 23686 public static final com.google.protobuf.Descriptors.Descriptor 21866 23687 getDescriptor() { … … 21896 23717 public Builder clear() { 21897 23718 super.clear(); 23719 deprecated_ = false; 23720 bitField0_ = (bitField0_ & ~0x00000001); 21898 23721 if (uninterpretedOptionBuilder_ == null) { 21899 23722 uninterpretedOption_ = java.util.Collections.emptyList(); 21900 bitField0_ = (bitField0_ & ~0x0000000 1);23723 bitField0_ = (bitField0_ & ~0x00000002); 21901 23724 } else { 21902 23725 uninterpretedOptionBuilder_.clear(); … … 21929 23752 com.google.protobuf.DescriptorProtos.MethodOptions result = new com.google.protobuf.DescriptorProtos.MethodOptions(this); 21930 23753 int from_bitField0_ = bitField0_; 23754 int to_bitField0_ = 0; 23755 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 23756 to_bitField0_ |= 0x00000001; 23757 } 23758 result.deprecated_ = deprecated_; 21931 23759 if (uninterpretedOptionBuilder_ == null) { 21932 if (((bitField0_ & 0x0000000 1) == 0x00000001)) {23760 if (((bitField0_ & 0x00000002) == 0x00000002)) { 21933 23761 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 21934 bitField0_ = (bitField0_ & ~0x0000000 1);23762 bitField0_ = (bitField0_ & ~0x00000002); 21935 23763 } 21936 23764 result.uninterpretedOption_ = uninterpretedOption_; … … 21938 23766 result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); 21939 23767 } 23768 result.bitField0_ = to_bitField0_; 21940 23769 onBuilt(); 21941 23770 return result; … … 21953 23782 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.MethodOptions other) { 21954 23783 if (other == com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) return this; 23784 if (other.hasDeprecated()) { 23785 setDeprecated(other.getDeprecated()); 23786 } 21955 23787 if (uninterpretedOptionBuilder_ == null) { 21956 23788 if (!other.uninterpretedOption_.isEmpty()) { 21957 23789 if (uninterpretedOption_.isEmpty()) { 21958 23790 uninterpretedOption_ = other.uninterpretedOption_; 21959 bitField0_ = (bitField0_ & ~0x0000000 1);23791 bitField0_ = (bitField0_ & ~0x00000002); 21960 23792 } else { 21961 23793 ensureUninterpretedOptionIsMutable(); … … 21970 23802 uninterpretedOptionBuilder_ = null; 21971 23803 uninterpretedOption_ = other.uninterpretedOption_; 21972 bitField0_ = (bitField0_ & ~0x0000000 1);23804 bitField0_ = (bitField0_ & ~0x00000002); 21973 23805 uninterpretedOptionBuilder_ = 21974 23806 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? … … 22017 23849 private int bitField0_; 22018 23850 22019 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 23851 private boolean deprecated_ ; 23852 /** 23853 * <code>optional bool deprecated = 33 [default = false];</code> 23854 * 23855 * <pre> 23856 * Is this method deprecated? 23857 * Depending on the target platform, this can emit Deprecated annotations 23858 * for the method, or it will be completely ignored; in the very least, 23859 * this is a formalization for deprecating methods. 23860 * </pre> 23861 */ 23862 public boolean hasDeprecated() { 23863 return ((bitField0_ & 0x00000001) == 0x00000001); 23864 } 23865 /** 23866 * <code>optional bool deprecated = 33 [default = false];</code> 23867 * 23868 * <pre> 23869 * Is this method deprecated? 23870 * Depending on the target platform, this can emit Deprecated annotations 23871 * for the method, or it will be completely ignored; in the very least, 23872 * this is a formalization for deprecating methods. 23873 * </pre> 23874 */ 23875 public boolean getDeprecated() { 23876 return deprecated_; 23877 } 23878 /** 23879 * <code>optional bool deprecated = 33 [default = false];</code> 23880 * 23881 * <pre> 23882 * Is this method deprecated? 23883 * Depending on the target platform, this can emit Deprecated annotations 23884 * for the method, or it will be completely ignored; in the very least, 23885 * this is a formalization for deprecating methods. 23886 * </pre> 23887 */ 23888 public Builder setDeprecated(boolean value) { 23889 bitField0_ |= 0x00000001; 23890 deprecated_ = value; 23891 onChanged(); 23892 return this; 23893 } 23894 /** 23895 * <code>optional bool deprecated = 33 [default = false];</code> 23896 * 23897 * <pre> 23898 * Is this method deprecated? 23899 * Depending on the target platform, this can emit Deprecated annotations 23900 * for the method, or it will be completely ignored; in the very least, 23901 * this is a formalization for deprecating methods. 23902 * </pre> 23903 */ 23904 public Builder clearDeprecated() { 23905 bitField0_ = (bitField0_ & ~0x00000001); 23906 deprecated_ = false; 23907 onChanged(); 23908 return this; 23909 } 23910 22020 23911 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 22021 23912 java.util.Collections.emptyList(); 22022 23913 private void ensureUninterpretedOptionIsMutable() { 22023 if (!((bitField0_ & 0x0000000 1) == 0x00000001)) {23914 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 22024 23915 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 22025 bitField0_ |= 0x0000000 1;23916 bitField0_ |= 0x00000002; 22026 23917 } 22027 23918 } … … 22199 24090 if (uninterpretedOptionBuilder_ == null) { 22200 24091 ensureUninterpretedOptionIsMutable(); 22201 super.addAll(values, uninterpretedOption_); 24092 com.google.protobuf.AbstractMessageLite.Builder.addAll( 24093 values, uninterpretedOption_); 22202 24094 onChanged(); 22203 24095 } else { … … 22216 24108 if (uninterpretedOptionBuilder_ == null) { 22217 24109 uninterpretedOption_ = java.util.Collections.emptyList(); 22218 bitField0_ = (bitField0_ & ~0x0000000 1);24110 bitField0_ = (bitField0_ & ~0x00000002); 22219 24111 onChanged(); 22220 24112 } else { … … 22321 24213 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 22322 24214 uninterpretedOption_, 22323 ((bitField0_ & 0x0000000 1) == 0x00000001),24215 ((bitField0_ & 0x00000002) == 0x00000002), 22324 24216 getParentForChildren(), 22325 24217 isClean()); … … 22340 24232 } 22341 24233 22342 public interface UninterpretedOptionOrBuilder 22343 extends com.google.protobuf.MessageOrBuilder {22344 22345 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; 24234 public interface UninterpretedOptionOrBuilder extends 24235 // @@protoc_insertion_point(interface_extends:google.protobuf.UninterpretedOption) 24236 com.google.protobuf.MessageOrBuilder { 24237 22346 24238 /** 22347 24239 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> … … 22368 24260 int index); 22369 24261 22370 // optional string identifier_value = 3;22371 24262 /** 22372 24263 * <code>optional string identifier_value = 3;</code> … … 22398 24289 getIdentifierValueBytes(); 22399 24290 22400 // optional uint64 positive_int_value = 4;22401 24291 /** 22402 24292 * <code>optional uint64 positive_int_value = 4;</code> … … 22408 24298 long getPositiveIntValue(); 22409 24299 22410 // optional int64 negative_int_value = 5;22411 24300 /** 22412 24301 * <code>optional int64 negative_int_value = 5;</code> … … 22418 24307 long getNegativeIntValue(); 22419 24308 22420 // optional double double_value = 6;22421 24309 /** 22422 24310 * <code>optional double double_value = 6;</code> … … 22428 24316 double getDoubleValue(); 22429 24317 22430 // optional bytes string_value = 7;22431 24318 /** 22432 24319 * <code>optional bytes string_value = 7;</code> … … 22438 24325 com.google.protobuf.ByteString getStringValue(); 22439 24326 22440 // optional string aggregate_value = 8;22441 24327 /** 22442 24328 * <code>optional string aggregate_value = 8;</code> … … 22466 24352 */ 22467 24353 public static final class UninterpretedOption extends 22468 com.google.protobuf.GeneratedMessage 22469 implements UninterpretedOptionOrBuilder { 24354 com.google.protobuf.GeneratedMessage implements 24355 // @@protoc_insertion_point(message_implements:google.protobuf.UninterpretedOption) 24356 UninterpretedOptionOrBuilder { 22470 24357 // Use UninterpretedOption.newBuilder() to construct. 22471 24358 private UninterpretedOption(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 22522 24409 } 22523 24410 case 26: { 24411 com.google.protobuf.ByteString bs = input.readBytes(); 22524 24412 bitField0_ |= 0x00000001; 22525 identifierValue_ = input.readBytes();24413 identifierValue_ = bs; 22526 24414 break; 22527 24415 } … … 22547 24435 } 22548 24436 case 66: { 24437 com.google.protobuf.ByteString bs = input.readBytes(); 22549 24438 bitField0_ |= 0x00000020; 22550 aggregateValue_ = input.readBytes();24439 aggregateValue_ = bs; 22551 24440 break; 22552 24441 } … … 22593 24482 } 22594 24483 22595 public interface NamePartOrBuilder 22596 extends com.google.protobuf.MessageOrBuilder {22597 22598 // required string name_part = 1; 24484 public interface NamePartOrBuilder extends 24485 // @@protoc_insertion_point(interface_extends:google.protobuf.UninterpretedOption.NamePart) 24486 com.google.protobuf.MessageOrBuilder { 24487 22599 24488 /** 22600 24489 * <code>required string name_part = 1;</code> … … 22611 24500 getNamePartBytes(); 22612 24501 22613 // required bool is_extension = 2;22614 24502 /** 22615 24503 * <code>required bool is_extension = 2;</code> … … 22633 24521 */ 22634 24522 public static final class NamePart extends 22635 com.google.protobuf.GeneratedMessage 22636 implements NamePartOrBuilder { 24523 com.google.protobuf.GeneratedMessage implements 24524 // @@protoc_insertion_point(message_implements:google.protobuf.UninterpretedOption.NamePart) 24525 NamePartOrBuilder { 22637 24526 // Use NamePart.newBuilder() to construct. 22638 24527 private NamePart(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 22681 24570 } 22682 24571 case 10: { 24572 com.google.protobuf.ByteString bs = input.readBytes(); 22683 24573 bitField0_ |= 0x00000001; 22684 namePart_ = input.readBytes();24574 namePart_ = bs; 22685 24575 break; 22686 24576 } … … 22730 24620 22731 24621 private int bitField0_; 22732 // required string name_part = 1;22733 24622 public static final int NAME_PART_FIELD_NUMBER = 1; 22734 24623 private java.lang.Object namePart_; … … 22773 24662 } 22774 24663 22775 // required bool is_extension = 2;22776 24664 public static final int IS_EXTENSION_FIELD_NUMBER = 2; 22777 24665 private boolean isExtension_; … … 22796 24684 public final boolean isInitialized() { 22797 24685 byte isInitialized = memoizedIsInitialized; 22798 if (isInitialized != -1) return isInitialized == 1; 24686 if (isInitialized == 1) return true; 24687 if (isInitialized == 0) return false; 22799 24688 22800 24689 if (!hasNamePart()) { … … 22926 24815 */ 22927 24816 public static final class Builder extends 22928 com.google.protobuf.GeneratedMessage.Builder<Builder> 22929 implements com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder { 24817 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 24818 // @@protoc_insertion_point(builder_implements:google.protobuf.UninterpretedOption.NamePart) 24819 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder { 22930 24820 public static final com.google.protobuf.Descriptors.Descriptor 22931 24821 getDescriptor() { … … 23059 24949 private int bitField0_; 23060 24950 23061 // required string name_part = 1;23062 24951 private java.lang.Object namePart_ = ""; 23063 24952 /** … … 23073 24962 java.lang.Object ref = namePart_; 23074 24963 if (!(ref instanceof java.lang.String)) { 23075 java.lang.String s = ((com.google.protobuf.ByteString) ref) 23076 .toStringUtf8(); 23077 namePart_ = s; 24964 com.google.protobuf.ByteString bs = 24965 (com.google.protobuf.ByteString) ref; 24966 java.lang.String s = bs.toStringUtf8(); 24967 if (bs.isValidUtf8()) { 24968 namePart_ = s; 24969 } 23078 24970 return s; 23079 24971 } else { … … 23133 25025 } 23134 25026 23135 // required bool is_extension = 2;23136 25027 private boolean isExtension_ ; 23137 25028 /** … … 23178 25069 23179 25070 private int bitField0_; 23180 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;23181 25071 public static final int NAME_FIELD_NUMBER = 2; 23182 25072 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> name_; … … 23214 25104 } 23215 25105 23216 // optional string identifier_value = 3;23217 25106 public static final int IDENTIFIER_VALUE_FIELD_NUMBER = 3; 23218 25107 private java.lang.Object identifierValue_; … … 23272 25161 } 23273 25162 23274 // optional uint64 positive_int_value = 4;23275 25163 public static final int POSITIVE_INT_VALUE_FIELD_NUMBER = 4; 23276 25164 private long positiveIntValue_; … … 23288 25176 } 23289 25177 23290 // optional int64 negative_int_value = 5;23291 25178 public static final int NEGATIVE_INT_VALUE_FIELD_NUMBER = 5; 23292 25179 private long negativeIntValue_; … … 23304 25191 } 23305 25192 23306 // optional double double_value = 6;23307 25193 public static final int DOUBLE_VALUE_FIELD_NUMBER = 6; 23308 25194 private double doubleValue_; … … 23320 25206 } 23321 25207 23322 // optional bytes string_value = 7;23323 25208 public static final int STRING_VALUE_FIELD_NUMBER = 7; 23324 25209 private com.google.protobuf.ByteString stringValue_; … … 23336 25221 } 23337 25222 23338 // optional string aggregate_value = 8;23339 25223 public static final int AGGREGATE_VALUE_FIELD_NUMBER = 8; 23340 25224 private java.lang.Object aggregateValue_; … … 23391 25275 public final boolean isInitialized() { 23392 25276 byte isInitialized = memoizedIsInitialized; 23393 if (isInitialized != -1) return isInitialized == 1; 25277 if (isInitialized == 1) return true; 25278 if (isInitialized == 0) return false; 23394 25279 23395 25280 for (int i = 0; i < getNameCount(); i++) { … … 23555 25440 */ 23556 25441 public static final class Builder extends 23557 com.google.protobuf.GeneratedMessage.Builder<Builder> 23558 implements com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder { 25442 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 25443 // @@protoc_insertion_point(builder_implements:google.protobuf.UninterpretedOption) 25444 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder { 23559 25445 public static final com.google.protobuf.Descriptors.Descriptor 23560 25446 getDescriptor() { … … 23766 25652 private int bitField0_; 23767 25653 23768 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;23769 25654 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> name_ = 23770 25655 java.util.Collections.emptyList(); … … 23908 25793 if (nameBuilder_ == null) { 23909 25794 ensureNameIsMutable(); 23910 super.addAll(values, name_); 25795 com.google.protobuf.AbstractMessageLite.Builder.addAll( 25796 values, name_); 23911 25797 onChanged(); 23912 25798 } else { … … 24006 25892 } 24007 25893 24008 // optional string identifier_value = 3;24009 25894 private java.lang.Object identifierValue_ = ""; 24010 25895 /** … … 24030 25915 java.lang.Object ref = identifierValue_; 24031 25916 if (!(ref instanceof java.lang.String)) { 24032 java.lang.String s = ((com.google.protobuf.ByteString) ref) 24033 .toStringUtf8(); 24034 identifierValue_ = s; 25917 com.google.protobuf.ByteString bs = 25918 (com.google.protobuf.ByteString) ref; 25919 java.lang.String s = bs.toStringUtf8(); 25920 if (bs.isValidUtf8()) { 25921 identifierValue_ = s; 25922 } 24035 25923 return s; 24036 25924 } else { … … 24110 25998 } 24111 25999 24112 // optional uint64 positive_int_value = 4;24113 26000 private long positiveIntValue_ ; 24114 26001 /** … … 24143 26030 } 24144 26031 24145 // optional int64 negative_int_value = 5;24146 26032 private long negativeIntValue_ ; 24147 26033 /** … … 24176 26062 } 24177 26063 24178 // optional double double_value = 6;24179 26064 private double doubleValue_ ; 24180 26065 /** … … 24209 26094 } 24210 26095 24211 // optional bytes string_value = 7;24212 26096 private com.google.protobuf.ByteString stringValue_ = com.google.protobuf.ByteString.EMPTY; 24213 26097 /** … … 24245 26129 } 24246 26130 24247 // optional string aggregate_value = 8;24248 26131 private java.lang.Object aggregateValue_ = ""; 24249 26132 /** … … 24259 26142 java.lang.Object ref = aggregateValue_; 24260 26143 if (!(ref instanceof java.lang.String)) { 24261 java.lang.String s = ((com.google.protobuf.ByteString) ref) 24262 .toStringUtf8(); 24263 aggregateValue_ = s; 26144 com.google.protobuf.ByteString bs = 26145 (com.google.protobuf.ByteString) ref; 26146 java.lang.String s = bs.toStringUtf8(); 26147 if (bs.isValidUtf8()) { 26148 aggregateValue_ = s; 26149 } 24264 26150 return s; 24265 26151 } else { … … 24330 26216 } 24331 26217 24332 public interface SourceCodeInfoOrBuilder 24333 extends com.google.protobuf.MessageOrBuilder {24334 24335 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; 26218 public interface SourceCodeInfoOrBuilder extends 26219 // @@protoc_insertion_point(interface_extends:google.protobuf.SourceCodeInfo) 26220 com.google.protobuf.MessageOrBuilder { 26221 24336 26222 /** 24337 26223 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> … … 24342 26228 * to be useful to IDEs, code indexers, documentation generators, and similar 24343 26229 * tools. 24344 *24345 26230 * For example, say we have a file like: 24346 26231 * message Foo { … … 24358 26243 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 24359 26244 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 24360 *24361 26245 * Notes: 24362 26246 * - A location may refer to a repeated field itself (i.e. not to any … … 24393 26277 * to be useful to IDEs, code indexers, documentation generators, and similar 24394 26278 * tools. 24395 *24396 26279 * For example, say we have a file like: 24397 26280 * message Foo { … … 24409 26292 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 24410 26293 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 24411 *24412 26294 * Notes: 24413 26295 * - A location may refer to a repeated field itself (i.e. not to any … … 24443 26325 * to be useful to IDEs, code indexers, documentation generators, and similar 24444 26326 * tools. 24445 *24446 26327 * For example, say we have a file like: 24447 26328 * message Foo { … … 24459 26340 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 24460 26341 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 24461 *24462 26342 * Notes: 24463 26343 * - A location may refer to a repeated field itself (i.e. not to any … … 24493 26373 * to be useful to IDEs, code indexers, documentation generators, and similar 24494 26374 * tools. 24495 *24496 26375 * For example, say we have a file like: 24497 26376 * message Foo { … … 24509 26388 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 24510 26389 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 24511 *24512 26390 * Notes: 24513 26391 * - A location may refer to a repeated field itself (i.e. not to any … … 24544 26422 * to be useful to IDEs, code indexers, documentation generators, and similar 24545 26423 * tools. 24546 *24547 26424 * For example, say we have a file like: 24548 26425 * message Foo { … … 24560 26437 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 24561 26438 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 24562 *24563 26439 * Notes: 24564 26440 * - A location may refer to a repeated field itself (i.e. not to any … … 24597 26473 */ 24598 26474 public static final class SourceCodeInfo extends 24599 com.google.protobuf.GeneratedMessage 24600 implements SourceCodeInfoOrBuilder { 26475 com.google.protobuf.GeneratedMessage implements 26476 // @@protoc_insertion_point(message_implements:google.protobuf.SourceCodeInfo) 26477 SourceCodeInfoOrBuilder { 24601 26478 // Use SourceCodeInfo.newBuilder() to construct. 24602 26479 private SourceCodeInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 24694 26571 } 24695 26572 24696 public interface LocationOrBuilder 24697 extends com.google.protobuf.MessageOrBuilder {24698 24699 // repeated int32 path = 1 [packed = true]; 26573 public interface LocationOrBuilder extends 26574 // @@protoc_insertion_point(interface_extends:google.protobuf.SourceCodeInfo.Location) 26575 com.google.protobuf.MessageOrBuilder { 26576 24700 26577 /** 24701 26578 * <code>repeated int32 path = 1 [packed = true];</code> … … 24704 26581 * Identifies which part of the FileDescriptorProto was defined at this 24705 26582 * location. 24706 *24707 26583 * Each element is a field number or an index. They form a path from 24708 26584 * the root FileDescriptorProto to the place where the definition. For … … 24719 26595 * and FieldDescriptorProto.name has field number 1: 24720 26596 * optional string name = 1; 24721 *24722 26597 * Thus, the above path gives the location of a field name. If we removed 24723 26598 * the last element: … … 24734 26609 * Identifies which part of the FileDescriptorProto was defined at this 24735 26610 * location. 24736 *24737 26611 * Each element is a field number or an index. They form a path from 24738 26612 * the root FileDescriptorProto to the place where the definition. For … … 24749 26623 * and FieldDescriptorProto.name has field number 1: 24750 26624 * optional string name = 1; 24751 *24752 26625 * Thus, the above path gives the location of a field name. If we removed 24753 26626 * the last element: … … 24764 26637 * Identifies which part of the FileDescriptorProto was defined at this 24765 26638 * location. 24766 *24767 26639 * Each element is a field number or an index. They form a path from 24768 26640 * the root FileDescriptorProto to the place where the definition. For … … 24779 26651 * and FieldDescriptorProto.name has field number 1: 24780 26652 * optional string name = 1; 24781 *24782 26653 * Thus, the above path gives the location of a field name. If we removed 24783 26654 * the last element: … … 24789 26660 int getPath(int index); 24790 26661 24791 // repeated int32 span = 2 [packed = true];24792 26662 /** 24793 26663 * <code>repeated int32 span = 2 [packed = true];</code> … … 24827 26697 int getSpan(int index); 24828 26698 24829 // optional string leading_comments = 3;24830 26699 /** 24831 26700 * <code>optional string leading_comments = 3;</code> … … 24835 26704 * comments appearing before and after the declaration which appear to be 24836 26705 * attached to the declaration. 24837 *24838 26706 * A series of line comments appearing on consecutive lines, with no other 24839 26707 * tokens appearing on those lines, will be treated as a single comment. 24840 *24841 26708 * Only the comment content is provided; comment markers (e.g. //) are 24842 26709 * stripped out. For block comments, leading whitespace and an asterisk 24843 26710 * will be stripped from the beginning of each line other than the first. 24844 26711 * Newlines are included in the output. 24845 *24846 26712 * Examples: 24847 *24848 26713 * optional int32 foo = 1; // Comment attached to foo. 24849 26714 * // Comment attached to bar. 24850 26715 * optional int32 bar = 2; 24851 *24852 26716 * optional string baz = 3; 24853 26717 * // Comment attached to baz. 24854 26718 * // Another line attached to baz. 24855 *24856 26719 * // Comment attached to qux. 24857 26720 * // 24858 26721 * // Another line attached to qux. 24859 26722 * optional double qux = 4; 24860 *24861 26723 * optional string corge = 5; 24862 26724 * /* Block comment attached … … 24876 26738 * comments appearing before and after the declaration which appear to be 24877 26739 * attached to the declaration. 24878 *24879 26740 * A series of line comments appearing on consecutive lines, with no other 24880 26741 * tokens appearing on those lines, will be treated as a single comment. 24881 *24882 26742 * Only the comment content is provided; comment markers (e.g. //) are 24883 26743 * stripped out. For block comments, leading whitespace and an asterisk 24884 26744 * will be stripped from the beginning of each line other than the first. 24885 26745 * Newlines are included in the output. 24886 *24887 26746 * Examples: 24888 *24889 26747 * optional int32 foo = 1; // Comment attached to foo. 24890 26748 * // Comment attached to bar. 24891 26749 * optional int32 bar = 2; 24892 *24893 26750 * optional string baz = 3; 24894 26751 * // Comment attached to baz. 24895 26752 * // Another line attached to baz. 24896 *24897 26753 * // Comment attached to qux. 24898 26754 * // 24899 26755 * // Another line attached to qux. 24900 26756 * optional double qux = 4; 24901 *24902 26757 * optional string corge = 5; 24903 26758 * /* Block comment attached … … 24917 26772 * comments appearing before and after the declaration which appear to be 24918 26773 * attached to the declaration. 24919 *24920 26774 * A series of line comments appearing on consecutive lines, with no other 24921 26775 * tokens appearing on those lines, will be treated as a single comment. 24922 *24923 26776 * Only the comment content is provided; comment markers (e.g. //) are 24924 26777 * stripped out. For block comments, leading whitespace and an asterisk 24925 26778 * will be stripped from the beginning of each line other than the first. 24926 26779 * Newlines are included in the output. 24927 *24928 26780 * Examples: 24929 *24930 26781 * optional int32 foo = 1; // Comment attached to foo. 24931 26782 * // Comment attached to bar. 24932 26783 * optional int32 bar = 2; 24933 *24934 26784 * optional string baz = 3; 24935 26785 * // Comment attached to baz. 24936 26786 * // Another line attached to baz. 24937 *24938 26787 * // Comment attached to qux. 24939 26788 * // 24940 26789 * // Another line attached to qux. 24941 26790 * optional double qux = 4; 24942 *24943 26791 * optional string corge = 5; 24944 26792 * /* Block comment attached … … 24953 26801 getLeadingCommentsBytes(); 24954 26802 24955 // optional string trailing_comments = 4;24956 26803 /** 24957 26804 * <code>optional string trailing_comments = 4;</code> … … 24972 26819 */ 24973 26820 public static final class Location extends 24974 com.google.protobuf.GeneratedMessage 24975 implements LocationOrBuilder { 26821 com.google.protobuf.GeneratedMessage implements 26822 // @@protoc_insertion_point(message_implements:google.protobuf.SourceCodeInfo.Location) 26823 LocationOrBuilder { 24976 26824 // Use Location.newBuilder() to construct. 24977 26825 private Location(com.google.protobuf.GeneratedMessage.Builder<?> builder) { … … 25062 26910 } 25063 26911 case 26: { 26912 com.google.protobuf.ByteString bs = input.readBytes(); 25064 26913 bitField0_ |= 0x00000001; 25065 leadingComments_ = input.readBytes();26914 leadingComments_ = bs; 25066 26915 break; 25067 26916 } 25068 26917 case 34: { 26918 com.google.protobuf.ByteString bs = input.readBytes(); 25069 26919 bitField0_ |= 0x00000002; 25070 trailingComments_ = input.readBytes();26920 trailingComments_ = bs; 25071 26921 break; 25072 26922 } … … 25117 26967 25118 26968 private int bitField0_; 25119 // repeated int32 path = 1 [packed = true];25120 26969 public static final int PATH_FIELD_NUMBER = 1; 25121 26970 private java.util.List<java.lang.Integer> path_; … … 25126 26975 * Identifies which part of the FileDescriptorProto was defined at this 25127 26976 * location. 25128 *25129 26977 * Each element is a field number or an index. They form a path from 25130 26978 * the root FileDescriptorProto to the place where the definition. For … … 25141 26989 * and FieldDescriptorProto.name has field number 1: 25142 26990 * optional string name = 1; 25143 *25144 26991 * Thus, the above path gives the location of a field name. If we removed 25145 26992 * the last element: … … 25159 27006 * Identifies which part of the FileDescriptorProto was defined at this 25160 27007 * location. 25161 *25162 27008 * Each element is a field number or an index. They form a path from 25163 27009 * the root FileDescriptorProto to the place where the definition. For … … 25174 27020 * and FieldDescriptorProto.name has field number 1: 25175 27021 * optional string name = 1; 25176 *25177 27022 * Thus, the above path gives the location of a field name. If we removed 25178 27023 * the last element: … … 25191 27036 * Identifies which part of the FileDescriptorProto was defined at this 25192 27037 * location. 25193 *25194 27038 * Each element is a field number or an index. They form a path from 25195 27039 * the root FileDescriptorProto to the place where the definition. For … … 25206 27050 * and FieldDescriptorProto.name has field number 1: 25207 27051 * optional string name = 1; 25208 *25209 27052 * Thus, the above path gives the location of a field name. If we removed 25210 27053 * the last element: … … 25219 27062 private int pathMemoizedSerializedSize = -1; 25220 27063 25221 // repeated int32 span = 2 [packed = true];25222 27064 public static final int SPAN_FIELD_NUMBER = 2; 25223 27065 private java.util.List<java.lang.Integer> span_; … … 25267 27109 private int spanMemoizedSerializedSize = -1; 25268 27110 25269 // optional string leading_comments = 3;25270 27111 public static final int LEADING_COMMENTS_FIELD_NUMBER = 3; 25271 27112 private java.lang.Object leadingComments_; … … 25277 27118 * comments appearing before and after the declaration which appear to be 25278 27119 * attached to the declaration. 25279 *25280 27120 * A series of line comments appearing on consecutive lines, with no other 25281 27121 * tokens appearing on those lines, will be treated as a single comment. 25282 *25283 27122 * Only the comment content is provided; comment markers (e.g. //) are 25284 27123 * stripped out. For block comments, leading whitespace and an asterisk 25285 27124 * will be stripped from the beginning of each line other than the first. 25286 27125 * Newlines are included in the output. 25287 *25288 27126 * Examples: 25289 *25290 27127 * optional int32 foo = 1; // Comment attached to foo. 25291 27128 * // Comment attached to bar. 25292 27129 * optional int32 bar = 2; 25293 *25294 27130 * optional string baz = 3; 25295 27131 * // Comment attached to baz. 25296 27132 * // Another line attached to baz. 25297 *25298 27133 * // Comment attached to qux. 25299 27134 * // 25300 27135 * // Another line attached to qux. 25301 27136 * optional double qux = 4; 25302 *25303 27137 * optional string corge = 5; 25304 27138 * /* Block comment attached … … 25320 27154 * comments appearing before and after the declaration which appear to be 25321 27155 * attached to the declaration. 25322 *25323 27156 * A series of line comments appearing on consecutive lines, with no other 25324 27157 * tokens appearing on those lines, will be treated as a single comment. 25325 *25326 27158 * Only the comment content is provided; comment markers (e.g. //) are 25327 27159 * stripped out. For block comments, leading whitespace and an asterisk 25328 27160 * will be stripped from the beginning of each line other than the first. 25329 27161 * Newlines are included in the output. 25330 *25331 27162 * Examples: 25332 *25333 27163 * optional int32 foo = 1; // Comment attached to foo. 25334 27164 * // Comment attached to bar. 25335 27165 * optional int32 bar = 2; 25336 *25337 27166 * optional string baz = 3; 25338 27167 * // Comment attached to baz. 25339 27168 * // Another line attached to baz. 25340 *25341 27169 * // Comment attached to qux. 25342 27170 * // 25343 27171 * // Another line attached to qux. 25344 27172 * optional double qux = 4; 25345 *25346 27173 * optional string corge = 5; 25347 27174 * /* Block comment attached … … 25374 27201 * comments appearing before and after the declaration which appear to be 25375 27202 * attached to the declaration. 25376 *25377 27203 * A series of line comments appearing on consecutive lines, with no other 25378 27204 * tokens appearing on those lines, will be treated as a single comment. 25379 *25380 27205 * Only the comment content is provided; comment markers (e.g. //) are 25381 27206 * stripped out. For block comments, leading whitespace and an asterisk 25382 27207 * will be stripped from the beginning of each line other than the first. 25383 27208 * Newlines are included in the output. 25384 *25385 27209 * Examples: 25386 *25387 27210 * optional int32 foo = 1; // Comment attached to foo. 25388 27211 * // Comment attached to bar. 25389 27212 * optional int32 bar = 2; 25390 *25391 27213 * optional string baz = 3; 25392 27214 * // Comment attached to baz. 25393 27215 * // Another line attached to baz. 25394 *25395 27216 * // Comment attached to qux. 25396 27217 * // 25397 27218 * // Another line attached to qux. 25398 27219 * optional double qux = 4; 25399 *25400 27220 * optional string corge = 5; 25401 27221 * /* Block comment attached … … 25421 27241 } 25422 27242 25423 // optional string trailing_comments = 4;25424 27243 public static final int TRAILING_COMMENTS_FIELD_NUMBER = 4; 25425 27244 private java.lang.Object trailingComments_; … … 25473 27292 public final boolean isInitialized() { 25474 27293 byte isInitialized = memoizedIsInitialized; 25475 if (isInitialized != -1) return isInitialized == 1; 27294 if (isInitialized == 1) return true; 27295 if (isInitialized == 0) return false; 25476 27296 25477 27297 memoizedIsInitialized = 1; … … 25629 27449 */ 25630 27450 public static final class Builder extends 25631 com.google.protobuf.GeneratedMessage.Builder<Builder> 25632 implements com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder { 27451 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 27452 // @@protoc_insertion_point(builder_implements:google.protobuf.SourceCodeInfo.Location) 27453 com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder { 25633 27454 public static final com.google.protobuf.Descriptors.Descriptor 25634 27455 getDescriptor() { … … 25790 27611 private int bitField0_; 25791 27612 25792 // repeated int32 path = 1 [packed = true];25793 27613 private java.util.List<java.lang.Integer> path_ = java.util.Collections.emptyList(); 25794 27614 private void ensurePathIsMutable() { … … 25804 27624 * Identifies which part of the FileDescriptorProto was defined at this 25805 27625 * location. 25806 *25807 27626 * Each element is a field number or an index. They form a path from 25808 27627 * the root FileDescriptorProto to the place where the definition. For … … 25819 27638 * and FieldDescriptorProto.name has field number 1: 25820 27639 * optional string name = 1; 25821 *25822 27640 * Thus, the above path gives the location of a field name. If we removed 25823 27641 * the last element: … … 25837 27655 * Identifies which part of the FileDescriptorProto was defined at this 25838 27656 * location. 25839 *25840 27657 * Each element is a field number or an index. They form a path from 25841 27658 * the root FileDescriptorProto to the place where the definition. For … … 25852 27669 * and FieldDescriptorProto.name has field number 1: 25853 27670 * optional string name = 1; 25854 *25855 27671 * Thus, the above path gives the location of a field name. If we removed 25856 27672 * the last element: … … 25869 27685 * Identifies which part of the FileDescriptorProto was defined at this 25870 27686 * location. 25871 *25872 27687 * Each element is a field number or an index. They form a path from 25873 27688 * the root FileDescriptorProto to the place where the definition. For … … 25884 27699 * and FieldDescriptorProto.name has field number 1: 25885 27700 * optional string name = 1; 25886 *25887 27701 * Thus, the above path gives the location of a field name. If we removed 25888 27702 * the last element: … … 25901 27715 * Identifies which part of the FileDescriptorProto was defined at this 25902 27716 * location. 25903 *25904 27717 * Each element is a field number or an index. They form a path from 25905 27718 * the root FileDescriptorProto to the place where the definition. For … … 25916 27729 * and FieldDescriptorProto.name has field number 1: 25917 27730 * optional string name = 1; 25918 *25919 27731 * Thus, the above path gives the location of a field name. If we removed 25920 27732 * the last element: … … 25937 27749 * Identifies which part of the FileDescriptorProto was defined at this 25938 27750 * location. 25939 *25940 27751 * Each element is a field number or an index. They form a path from 25941 27752 * the root FileDescriptorProto to the place where the definition. For … … 25952 27763 * and FieldDescriptorProto.name has field number 1: 25953 27764 * optional string name = 1; 25954 *25955 27765 * Thus, the above path gives the location of a field name. If we removed 25956 27766 * the last element: … … 25972 27782 * Identifies which part of the FileDescriptorProto was defined at this 25973 27783 * location. 25974 *25975 27784 * Each element is a field number or an index. They form a path from 25976 27785 * the root FileDescriptorProto to the place where the definition. For … … 25987 27796 * and FieldDescriptorProto.name has field number 1: 25988 27797 * optional string name = 1; 25989 *25990 27798 * Thus, the above path gives the location of a field name. If we removed 25991 27799 * the last element: … … 25998 27806 java.lang.Iterable<? extends java.lang.Integer> values) { 25999 27807 ensurePathIsMutable(); 26000 super.addAll(values, path_); 27808 com.google.protobuf.AbstractMessageLite.Builder.addAll( 27809 values, path_); 26001 27810 onChanged(); 26002 27811 return this; … … 26008 27817 * Identifies which part of the FileDescriptorProto was defined at this 26009 27818 * location. 26010 *26011 27819 * Each element is a field number or an index. They form a path from 26012 27820 * the root FileDescriptorProto to the place where the definition. For … … 26023 27831 * and FieldDescriptorProto.name has field number 1: 26024 27832 * optional string name = 1; 26025 *26026 27833 * Thus, the above path gives the location of a field name. If we removed 26027 27834 * the last element: … … 26038 27845 } 26039 27846 26040 // repeated int32 span = 2 [packed = true];26041 27847 private java.util.List<java.lang.Integer> span_ = java.util.Collections.emptyList(); 26042 27848 private void ensureSpanIsMutable() { … … 26138 27944 java.lang.Iterable<? extends java.lang.Integer> values) { 26139 27945 ensureSpanIsMutable(); 26140 super.addAll(values, span_); 27946 com.google.protobuf.AbstractMessageLite.Builder.addAll( 27947 values, span_); 26141 27948 onChanged(); 26142 27949 return this; … … 26160 27967 } 26161 27968 26162 // optional string leading_comments = 3;26163 27969 private java.lang.Object leadingComments_ = ""; 26164 27970 /** … … 26169 27975 * comments appearing before and after the declaration which appear to be 26170 27976 * attached to the declaration. 26171 *26172 27977 * A series of line comments appearing on consecutive lines, with no other 26173 27978 * tokens appearing on those lines, will be treated as a single comment. 26174 *26175 27979 * Only the comment content is provided; comment markers (e.g. //) are 26176 27980 * stripped out. For block comments, leading whitespace and an asterisk 26177 27981 * will be stripped from the beginning of each line other than the first. 26178 27982 * Newlines are included in the output. 26179 *26180 27983 * Examples: 26181 *26182 27984 * optional int32 foo = 1; // Comment attached to foo. 26183 27985 * // Comment attached to bar. 26184 27986 * optional int32 bar = 2; 26185 *26186 27987 * optional string baz = 3; 26187 27988 * // Comment attached to baz. 26188 27989 * // Another line attached to baz. 26189 *26190 27990 * // Comment attached to qux. 26191 27991 * // 26192 27992 * // Another line attached to qux. 26193 27993 * optional double qux = 4; 26194 *26195 27994 * optional string corge = 5; 26196 27995 * /* Block comment attached … … 26212 28011 * comments appearing before and after the declaration which appear to be 26213 28012 * attached to the declaration. 26214 *26215 28013 * A series of line comments appearing on consecutive lines, with no other 26216 28014 * tokens appearing on those lines, will be treated as a single comment. 26217 *26218 28015 * Only the comment content is provided; comment markers (e.g. //) are 26219 28016 * stripped out. For block comments, leading whitespace and an asterisk 26220 28017 * will be stripped from the beginning of each line other than the first. 26221 28018 * Newlines are included in the output. 26222 *26223 28019 * Examples: 26224 *26225 28020 * optional int32 foo = 1; // Comment attached to foo. 26226 28021 * // Comment attached to bar. 26227 28022 * optional int32 bar = 2; 26228 *26229 28023 * optional string baz = 3; 26230 28024 * // Comment attached to baz. 26231 28025 * // Another line attached to baz. 26232 *26233 28026 * // Comment attached to qux. 26234 28027 * // 26235 28028 * // Another line attached to qux. 26236 28029 * optional double qux = 4; 26237 *26238 28030 * optional string corge = 5; 26239 28031 * /* Block comment attached … … 26248 28040 java.lang.Object ref = leadingComments_; 26249 28041 if (!(ref instanceof java.lang.String)) { 26250 java.lang.String s = ((com.google.protobuf.ByteString) ref) 26251 .toStringUtf8(); 26252 leadingComments_ = s; 28042 com.google.protobuf.ByteString bs = 28043 (com.google.protobuf.ByteString) ref; 28044 java.lang.String s = bs.toStringUtf8(); 28045 if (bs.isValidUtf8()) { 28046 leadingComments_ = s; 28047 } 26253 28048 return s; 26254 28049 } else { … … 26263 28058 * comments appearing before and after the declaration which appear to be 26264 28059 * attached to the declaration. 26265 *26266 28060 * A series of line comments appearing on consecutive lines, with no other 26267 28061 * tokens appearing on those lines, will be treated as a single comment. 26268 *26269 28062 * Only the comment content is provided; comment markers (e.g. //) are 26270 28063 * stripped out. For block comments, leading whitespace and an asterisk 26271 28064 * will be stripped from the beginning of each line other than the first. 26272 28065 * Newlines are included in the output. 26273 *26274 28066 * Examples: 26275 *26276 28067 * optional int32 foo = 1; // Comment attached to foo. 26277 28068 * // Comment attached to bar. 26278 28069 * optional int32 bar = 2; 26279 *26280 28070 * optional string baz = 3; 26281 28071 * // Comment attached to baz. 26282 28072 * // Another line attached to baz. 26283 *26284 28073 * // Comment attached to qux. 26285 28074 * // 26286 28075 * // Another line attached to qux. 26287 28076 * optional double qux = 4; 26288 *26289 28077 * optional string corge = 5; 26290 28078 * /* Block comment attached … … 26316 28104 * comments appearing before and after the declaration which appear to be 26317 28105 * attached to the declaration. 26318 *26319 28106 * A series of line comments appearing on consecutive lines, with no other 26320 28107 * tokens appearing on those lines, will be treated as a single comment. 26321 *26322 28108 * Only the comment content is provided; comment markers (e.g. //) are 26323 28109 * stripped out. For block comments, leading whitespace and an asterisk 26324 28110 * will be stripped from the beginning of each line other than the first. 26325 28111 * Newlines are included in the output. 26326 *26327 28112 * Examples: 26328 *26329 28113 * optional int32 foo = 1; // Comment attached to foo. 26330 28114 * // Comment attached to bar. 26331 28115 * optional int32 bar = 2; 26332 *26333 28116 * optional string baz = 3; 26334 28117 * // Comment attached to baz. 26335 28118 * // Another line attached to baz. 26336 *26337 28119 * // Comment attached to qux. 26338 28120 * // 26339 28121 * // Another line attached to qux. 26340 28122 * optional double qux = 4; 26341 *26342 28123 * optional string corge = 5; 26343 28124 * /* Block comment attached … … 26366 28147 * comments appearing before and after the declaration which appear to be 26367 28148 * attached to the declaration. 26368 *26369 28149 * A series of line comments appearing on consecutive lines, with no other 26370 28150 * tokens appearing on those lines, will be treated as a single comment. 26371 *26372 28151 * Only the comment content is provided; comment markers (e.g. //) are 26373 28152 * stripped out. For block comments, leading whitespace and an asterisk 26374 28153 * will be stripped from the beginning of each line other than the first. 26375 28154 * Newlines are included in the output. 26376 *26377 28155 * Examples: 26378 *26379 28156 * optional int32 foo = 1; // Comment attached to foo. 26380 28157 * // Comment attached to bar. 26381 28158 * optional int32 bar = 2; 26382 *26383 28159 * optional string baz = 3; 26384 28160 * // Comment attached to baz. 26385 28161 * // Another line attached to baz. 26386 *26387 28162 * // Comment attached to qux. 26388 28163 * // 26389 28164 * // Another line attached to qux. 26390 28165 * optional double qux = 4; 26391 *26392 28166 * optional string corge = 5; 26393 28167 * /* Block comment attached … … 26412 28186 * comments appearing before and after the declaration which appear to be 26413 28187 * attached to the declaration. 26414 *26415 28188 * A series of line comments appearing on consecutive lines, with no other 26416 28189 * tokens appearing on those lines, will be treated as a single comment. 26417 *26418 28190 * Only the comment content is provided; comment markers (e.g. //) are 26419 28191 * stripped out. For block comments, leading whitespace and an asterisk 26420 28192 * will be stripped from the beginning of each line other than the first. 26421 28193 * Newlines are included in the output. 26422 *26423 28194 * Examples: 26424 *26425 28195 * optional int32 foo = 1; // Comment attached to foo. 26426 28196 * // Comment attached to bar. 26427 28197 * optional int32 bar = 2; 26428 *26429 28198 * optional string baz = 3; 26430 28199 * // Comment attached to baz. 26431 28200 * // Another line attached to baz. 26432 *26433 28201 * // Comment attached to qux. 26434 28202 * // 26435 28203 * // Another line attached to qux. 26436 28204 * optional double qux = 4; 26437 *26438 28205 * optional string corge = 5; 26439 28206 * /* Block comment attached … … 26456 28223 } 26457 28224 26458 // optional string trailing_comments = 4;26459 28225 private java.lang.Object trailingComments_ = ""; 26460 28226 /** … … 26470 28236 java.lang.Object ref = trailingComments_; 26471 28237 if (!(ref instanceof java.lang.String)) { 26472 java.lang.String s = ((com.google.protobuf.ByteString) ref) 26473 .toStringUtf8(); 26474 trailingComments_ = s; 28238 com.google.protobuf.ByteString bs = 28239 (com.google.protobuf.ByteString) ref; 28240 java.lang.String s = bs.toStringUtf8(); 28241 if (bs.isValidUtf8()) { 28242 trailingComments_ = s; 28243 } 26475 28244 return s; 26476 28245 } else { … … 26541 28310 } 26542 28311 26543 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;26544 28312 public static final int LOCATION_FIELD_NUMBER = 1; 26545 28313 private java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> location_; … … 26552 28320 * to be useful to IDEs, code indexers, documentation generators, and similar 26553 28321 * tools. 26554 *26555 28322 * For example, say we have a file like: 26556 28323 * message Foo { … … 26568 28335 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 26569 28336 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 26570 *26571 28337 * Notes: 26572 28338 * - A location may refer to a repeated field itself (i.e. not to any … … 26604 28370 * to be useful to IDEs, code indexers, documentation generators, and similar 26605 28371 * tools. 26606 *26607 28372 * For example, say we have a file like: 26608 28373 * message Foo { … … 26620 28385 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 26621 28386 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 26622 *26623 28387 * Notes: 26624 28388 * - A location may refer to a repeated field itself (i.e. not to any … … 26657 28421 * to be useful to IDEs, code indexers, documentation generators, and similar 26658 28422 * tools. 26659 *26660 28423 * For example, say we have a file like: 26661 28424 * message Foo { … … 26673 28436 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 26674 28437 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 26675 *26676 28438 * Notes: 26677 28439 * - A location may refer to a repeated field itself (i.e. not to any … … 26709 28471 * to be useful to IDEs, code indexers, documentation generators, and similar 26710 28472 * tools. 26711 *26712 28473 * For example, say we have a file like: 26713 28474 * message Foo { … … 26725 28486 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 26726 28487 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 26727 *26728 28488 * Notes: 26729 28489 * - A location may refer to a repeated field itself (i.e. not to any … … 26761 28521 * to be useful to IDEs, code indexers, documentation generators, and similar 26762 28522 * tools. 26763 *26764 28523 * For example, say we have a file like: 26765 28524 * message Foo { … … 26777 28536 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 26778 28537 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 26779 *26780 28538 * Notes: 26781 28539 * - A location may refer to a repeated field itself (i.e. not to any … … 26813 28571 public final boolean isInitialized() { 26814 28572 byte isInitialized = memoizedIsInitialized; 26815 if (isInitialized != -1) return isInitialized == 1; 28573 if (isInitialized == 1) return true; 28574 if (isInitialized == 0) return false; 26816 28575 26817 28576 memoizedIsInitialized = 1; … … 26925 28684 */ 26926 28685 public static final class Builder extends 26927 com.google.protobuf.GeneratedMessage.Builder<Builder> 26928 implements com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder { 28686 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 28687 // @@protoc_insertion_point(builder_implements:google.protobuf.SourceCodeInfo) 28688 com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder { 26929 28689 public static final com.google.protobuf.Descriptors.Descriptor 26930 28690 getDescriptor() { … … 27070 28830 private int bitField0_; 27071 28831 27072 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;27073 28832 private java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> location_ = 27074 28833 java.util.Collections.emptyList(); … … 27091 28850 * to be useful to IDEs, code indexers, documentation generators, and similar 27092 28851 * tools. 27093 *27094 28852 * For example, say we have a file like: 27095 28853 * message Foo { … … 27107 28865 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27108 28866 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27109 *27110 28867 * Notes: 27111 28868 * - A location may refer to a repeated field itself (i.e. not to any … … 27147 28904 * to be useful to IDEs, code indexers, documentation generators, and similar 27148 28905 * tools. 27149 *27150 28906 * For example, say we have a file like: 27151 28907 * message Foo { … … 27163 28919 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27164 28920 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27165 *27166 28921 * Notes: 27167 28922 * - A location may refer to a repeated field itself (i.e. not to any … … 27203 28958 * to be useful to IDEs, code indexers, documentation generators, and similar 27204 28959 * tools. 27205 *27206 28960 * For example, say we have a file like: 27207 28961 * message Foo { … … 27219 28973 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27220 28974 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27221 *27222 28975 * Notes: 27223 28976 * - A location may refer to a repeated field itself (i.e. not to any … … 27259 29012 * to be useful to IDEs, code indexers, documentation generators, and similar 27260 29013 * tools. 27261 *27262 29014 * For example, say we have a file like: 27263 29015 * message Foo { … … 27275 29027 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27276 29028 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27277 *27278 29029 * Notes: 27279 29030 * - A location may refer to a repeated field itself (i.e. not to any … … 27322 29073 * to be useful to IDEs, code indexers, documentation generators, and similar 27323 29074 * tools. 27324 *27325 29075 * For example, say we have a file like: 27326 29076 * message Foo { … … 27338 29088 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27339 29089 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27340 *27341 29090 * Notes: 27342 29091 * - A location may refer to a repeated field itself (i.e. not to any … … 27382 29131 * to be useful to IDEs, code indexers, documentation generators, and similar 27383 29132 * tools. 27384 *27385 29133 * For example, say we have a file like: 27386 29134 * message Foo { … … 27398 29146 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27399 29147 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27400 *27401 29148 * Notes: 27402 29149 * - A location may refer to a repeated field itself (i.e. not to any … … 27444 29191 * to be useful to IDEs, code indexers, documentation generators, and similar 27445 29192 * tools. 27446 *27447 29193 * For example, say we have a file like: 27448 29194 * message Foo { … … 27460 29206 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27461 29207 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27462 *27463 29208 * Notes: 27464 29209 * - A location may refer to a repeated field itself (i.e. not to any … … 27507 29252 * to be useful to IDEs, code indexers, documentation generators, and similar 27508 29253 * tools. 27509 *27510 29254 * For example, say we have a file like: 27511 29255 * message Foo { … … 27523 29267 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27524 29268 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27525 *27526 29269 * Notes: 27527 29270 * - A location may refer to a repeated field itself (i.e. not to any … … 27567 29310 * to be useful to IDEs, code indexers, documentation generators, and similar 27568 29311 * tools. 27569 *27570 29312 * For example, say we have a file like: 27571 29313 * message Foo { … … 27583 29325 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27584 29326 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27585 *27586 29327 * Notes: 27587 29328 * - A location may refer to a repeated field itself (i.e. not to any … … 27627 29368 * to be useful to IDEs, code indexers, documentation generators, and similar 27628 29369 * tools. 27629 *27630 29370 * For example, say we have a file like: 27631 29371 * message Foo { … … 27643 29383 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27644 29384 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27645 *27646 29385 * Notes: 27647 29386 * - A location may refer to a repeated field itself (i.e. not to any … … 27672 29411 if (locationBuilder_ == null) { 27673 29412 ensureLocationIsMutable(); 27674 super.addAll(values, location_); 29413 com.google.protobuf.AbstractMessageLite.Builder.addAll( 29414 values, location_); 27675 29415 onChanged(); 27676 29416 } else { … … 27687 29427 * to be useful to IDEs, code indexers, documentation generators, and similar 27688 29428 * tools. 27689 *27690 29429 * For example, say we have a file like: 27691 29430 * message Foo { … … 27703 29442 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27704 29443 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27705 *27706 29444 * Notes: 27707 29445 * - A location may refer to a repeated field itself (i.e. not to any … … 27746 29484 * to be useful to IDEs, code indexers, documentation generators, and similar 27747 29485 * tools. 27748 *27749 29486 * For example, say we have a file like: 27750 29487 * message Foo { … … 27762 29499 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27763 29500 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27764 *27765 29501 * Notes: 27766 29502 * - A location may refer to a repeated field itself (i.e. not to any … … 27805 29541 * to be useful to IDEs, code indexers, documentation generators, and similar 27806 29542 * tools. 27807 *27808 29543 * For example, say we have a file like: 27809 29544 * message Foo { … … 27821 29556 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27822 29557 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27823 *27824 29558 * Notes: 27825 29559 * - A location may refer to a repeated field itself (i.e. not to any … … 27858 29592 * to be useful to IDEs, code indexers, documentation generators, and similar 27859 29593 * tools. 27860 *27861 29594 * For example, say we have a file like: 27862 29595 * message Foo { … … 27874 29607 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27875 29608 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27876 *27877 29609 * Notes: 27878 29610 * - A location may refer to a repeated field itself (i.e. not to any … … 27914 29646 * to be useful to IDEs, code indexers, documentation generators, and similar 27915 29647 * tools. 27916 *27917 29648 * For example, say we have a file like: 27918 29649 * message Foo { … … 27930 29661 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27931 29662 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27932 *27933 29663 * Notes: 27934 29664 * - A location may refer to a repeated field itself (i.e. not to any … … 27971 29701 * to be useful to IDEs, code indexers, documentation generators, and similar 27972 29702 * tools. 27973 *27974 29703 * For example, say we have a file like: 27975 29704 * message Foo { … … 27987 29716 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 27988 29717 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 27989 *27990 29718 * Notes: 27991 29719 * - A location may refer to a repeated field itself (i.e. not to any … … 28024 29752 * to be useful to IDEs, code indexers, documentation generators, and similar 28025 29753 * tools. 28026 *28027 29754 * For example, say we have a file like: 28028 29755 * message Foo { … … 28040 29767 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 28041 29768 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 28042 *28043 29769 * Notes: 28044 29770 * - A location may refer to a repeated field itself (i.e. not to any … … 28078 29804 * to be useful to IDEs, code indexers, documentation generators, and similar 28079 29805 * tools. 28080 *28081 29806 * For example, say we have a file like: 28082 29807 * message Foo { … … 28094 29819 * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). 28095 29820 * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). 28096 *28097 29821 * Notes: 28098 29822 * - A location may refer to a repeated field itself (i.e. not to any … … 28149 29873 } 28150 29874 28151 private static com.google.protobuf.Descriptors.Descriptor 29875 private static final com.google.protobuf.Descriptors.Descriptor 28152 29876 internal_static_google_protobuf_FileDescriptorSet_descriptor; 28153 29877 private static 28154 29878 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28155 29879 internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable; 28156 private static com.google.protobuf.Descriptors.Descriptor 29880 private static final com.google.protobuf.Descriptors.Descriptor 28157 29881 internal_static_google_protobuf_FileDescriptorProto_descriptor; 28158 29882 private static 28159 29883 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28160 29884 internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable; 28161 private static com.google.protobuf.Descriptors.Descriptor 29885 private static final com.google.protobuf.Descriptors.Descriptor 28162 29886 internal_static_google_protobuf_DescriptorProto_descriptor; 28163 29887 private static 28164 29888 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28165 29889 internal_static_google_protobuf_DescriptorProto_fieldAccessorTable; 28166 private static com.google.protobuf.Descriptors.Descriptor 29890 private static final com.google.protobuf.Descriptors.Descriptor 28167 29891 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 28168 29892 private static 28169 29893 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28170 29894 internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable; 28171 private static com.google.protobuf.Descriptors.Descriptor 29895 private static final com.google.protobuf.Descriptors.Descriptor 28172 29896 internal_static_google_protobuf_FieldDescriptorProto_descriptor; 28173 29897 private static 28174 29898 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28175 29899 internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable; 28176 private static com.google.protobuf.Descriptors.Descriptor 29900 private static final com.google.protobuf.Descriptors.Descriptor 29901 internal_static_google_protobuf_OneofDescriptorProto_descriptor; 29902 private static 29903 com.google.protobuf.GeneratedMessage.FieldAccessorTable 29904 internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable; 29905 private static final com.google.protobuf.Descriptors.Descriptor 28177 29906 internal_static_google_protobuf_EnumDescriptorProto_descriptor; 28178 29907 private static 28179 29908 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28180 29909 internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable; 28181 private static com.google.protobuf.Descriptors.Descriptor 29910 private static final com.google.protobuf.Descriptors.Descriptor 28182 29911 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor; 28183 29912 private static 28184 29913 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28185 29914 internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable; 28186 private static com.google.protobuf.Descriptors.Descriptor 29915 private static final com.google.protobuf.Descriptors.Descriptor 28187 29916 internal_static_google_protobuf_ServiceDescriptorProto_descriptor; 28188 29917 private static 28189 29918 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28190 29919 internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable; 28191 private static com.google.protobuf.Descriptors.Descriptor 29920 private static final com.google.protobuf.Descriptors.Descriptor 28192 29921 internal_static_google_protobuf_MethodDescriptorProto_descriptor; 28193 29922 private static 28194 29923 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28195 29924 internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable; 28196 private static com.google.protobuf.Descriptors.Descriptor 29925 private static final com.google.protobuf.Descriptors.Descriptor 28197 29926 internal_static_google_protobuf_FileOptions_descriptor; 28198 29927 private static 28199 29928 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28200 29929 internal_static_google_protobuf_FileOptions_fieldAccessorTable; 28201 private static com.google.protobuf.Descriptors.Descriptor 29930 private static final com.google.protobuf.Descriptors.Descriptor 28202 29931 internal_static_google_protobuf_MessageOptions_descriptor; 28203 29932 private static 28204 29933 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28205 29934 internal_static_google_protobuf_MessageOptions_fieldAccessorTable; 28206 private static com.google.protobuf.Descriptors.Descriptor 29935 private static final com.google.protobuf.Descriptors.Descriptor 28207 29936 internal_static_google_protobuf_FieldOptions_descriptor; 28208 29937 private static 28209 29938 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28210 29939 internal_static_google_protobuf_FieldOptions_fieldAccessorTable; 28211 private static com.google.protobuf.Descriptors.Descriptor 29940 private static final com.google.protobuf.Descriptors.Descriptor 28212 29941 internal_static_google_protobuf_EnumOptions_descriptor; 28213 29942 private static 28214 29943 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28215 29944 internal_static_google_protobuf_EnumOptions_fieldAccessorTable; 28216 private static com.google.protobuf.Descriptors.Descriptor 29945 private static final com.google.protobuf.Descriptors.Descriptor 28217 29946 internal_static_google_protobuf_EnumValueOptions_descriptor; 28218 29947 private static 28219 29948 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28220 29949 internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable; 28221 private static com.google.protobuf.Descriptors.Descriptor 29950 private static final com.google.protobuf.Descriptors.Descriptor 28222 29951 internal_static_google_protobuf_ServiceOptions_descriptor; 28223 29952 private static 28224 29953 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28225 29954 internal_static_google_protobuf_ServiceOptions_fieldAccessorTable; 28226 private static com.google.protobuf.Descriptors.Descriptor 29955 private static final com.google.protobuf.Descriptors.Descriptor 28227 29956 internal_static_google_protobuf_MethodOptions_descriptor; 28228 29957 private static 28229 29958 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28230 29959 internal_static_google_protobuf_MethodOptions_fieldAccessorTable; 28231 private static com.google.protobuf.Descriptors.Descriptor 29960 private static final com.google.protobuf.Descriptors.Descriptor 28232 29961 internal_static_google_protobuf_UninterpretedOption_descriptor; 28233 29962 private static 28234 29963 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28235 29964 internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable; 28236 private static com.google.protobuf.Descriptors.Descriptor 29965 private static final com.google.protobuf.Descriptors.Descriptor 28237 29966 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor; 28238 29967 private static 28239 29968 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28240 29969 internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable; 28241 private static com.google.protobuf.Descriptors.Descriptor 29970 private static final com.google.protobuf.Descriptors.Descriptor 28242 29971 internal_static_google_protobuf_SourceCodeInfo_descriptor; 28243 29972 private static 28244 29973 com.google.protobuf.GeneratedMessage.FieldAccessorTable 28245 29974 internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable; 28246 private static com.google.protobuf.Descriptors.Descriptor 29975 private static final com.google.protobuf.Descriptors.Descriptor 28247 29976 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor; 28248 29977 private static … … 28258 29987 static { 28259 29988 java.lang.String[] descriptorData = { 28260 "\n\031protobuf/descriptor.proto\022\017google.prot" + 28261 "obuf\"G\n\021FileDescriptorSet\0222\n\004file\030\001 \003(\0132" + 28262 "$.google.protobuf.FileDescriptorProto\"\313\003" + 28263 "\n\023FileDescriptorProto\022\014\n\004name\030\001 \001(\t\022\017\n\007p" + 28264 "ackage\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022\031\n\021publ" + 28265 "ic_dependency\030\n \003(\005\022\027\n\017weak_dependency\030\013" + 28266 " \003(\005\0226\n\014message_type\030\004 \003(\0132 .google.prot" + 28267 "obuf.DescriptorProto\0227\n\tenum_type\030\005 \003(\0132" + 28268 "$.google.protobuf.EnumDescriptorProto\0228\n" + 28269 "\007service\030\006 \003(\0132\'.google.protobuf.Service", 28270 "DescriptorProto\0228\n\textension\030\007 \003(\0132%.goo" + 28271 "gle.protobuf.FieldDescriptorProto\022-\n\007opt" + 28272 "ions\030\010 \001(\0132\034.google.protobuf.FileOptions" + 28273 "\0229\n\020source_code_info\030\t \001(\0132\037.google.prot" + 28274 "obuf.SourceCodeInfo\"\251\003\n\017DescriptorProto\022" + 28275 "\014\n\004name\030\001 \001(\t\0224\n\005field\030\002 \003(\0132%.google.pr" + 28276 "otobuf.FieldDescriptorProto\0228\n\textension" + 28277 "\030\006 \003(\0132%.google.protobuf.FieldDescriptor" + 28278 "Proto\0225\n\013nested_type\030\003 \003(\0132 .google.prot" + 28279 "obuf.DescriptorProto\0227\n\tenum_type\030\004 \003(\0132", 28280 "$.google.protobuf.EnumDescriptorProto\022H\n" + 28281 "\017extension_range\030\005 \003(\0132/.google.protobuf" + 28282 ".DescriptorProto.ExtensionRange\0220\n\007optio" + 28283 "ns\030\007 \001(\0132\037.google.protobuf.MessageOption" + 28284 "s\032,\n\016ExtensionRange\022\r\n\005start\030\001 \001(\005\022\013\n\003en" + 28285 "d\030\002 \001(\005\"\224\005\n\024FieldDescriptorProto\022\014\n\004name" + 28286 "\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:\n\005label\030\004 \001(\0162+." + 28287 "google.protobuf.FieldDescriptorProto.Lab" + 28288 "el\0228\n\004type\030\005 \001(\0162*.google.protobuf.Field" + 28289 "DescriptorProto.Type\022\021\n\ttype_name\030\006 \001(\t\022", 28290 "\020\n\010extendee\030\002 \001(\t\022\025\n\rdefault_value\030\007 \001(\t" + 28291 "\022.\n\007options\030\010 \001(\0132\035.google.protobuf.Fiel" + 28292 "dOptions\"\266\002\n\004Type\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTY" + 28293 "PE_FLOAT\020\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013TYPE_UINT6" + 28294 "4\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n" + 28295 "\014TYPE_FIXED32\020\007\022\r\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_S" + 28296 "TRING\020\t\022\016\n\nTYPE_GROUP\020\n\022\020\n\014TYPE_MESSAGE\020" + 28297 "\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTY" + 28298 "PE_ENUM\020\016\022\021\n\rTYPE_SFIXED32\020\017\022\021\n\rTYPE_SFI" + 28299 "XED64\020\020\022\017\n\013TYPE_SINT32\020\021\022\017\n\013TYPE_SINT64\020", 28300 "\022\"C\n\005Label\022\022\n\016LABEL_OPTIONAL\020\001\022\022\n\016LABEL_" + 28301 "REQUIRED\020\002\022\022\n\016LABEL_REPEATED\020\003\"\214\001\n\023EnumD" + 28302 "escriptorProto\022\014\n\004name\030\001 \001(\t\0228\n\005value\030\002 " + 28303 "\003(\0132).google.protobuf.EnumValueDescripto" + 28304 "rProto\022-\n\007options\030\003 \001(\0132\034.google.protobu" + 28305 "f.EnumOptions\"l\n\030EnumValueDescriptorProt" + 28306 "o\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007optio" + 28307 "ns\030\003 \001(\0132!.google.protobuf.EnumValueOpti" + 28308 "ons\"\220\001\n\026ServiceDescriptorProto\022\014\n\004name\030\001" + 28309 " \001(\t\0226\n\006method\030\002 \003(\0132&.google.protobuf.M", 28310 "ethodDescriptorProto\0220\n\007options\030\003 \001(\0132\037." + 28311 "google.protobuf.ServiceOptions\"\177\n\025Method" + 28312 "DescriptorProto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_t" + 28313 "ype\030\002 \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007option" + 28314 "s\030\004 \001(\0132\036.google.protobuf.MethodOptions\"" + 28315 "\351\003\n\013FileOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n" + 28316 "\024java_outer_classname\030\010 \001(\t\022\"\n\023java_mult" + 28317 "iple_files\030\n \001(\010:\005false\022,\n\035java_generate" + 28318 "_equals_and_hash\030\024 \001(\010:\005false\022F\n\014optimiz" + 28319 "e_for\030\t \001(\0162).google.protobuf.FileOption", 28320 "s.OptimizeMode:\005SPEED\022\022\n\ngo_package\030\013 \001(" + 28321 "\t\022\"\n\023cc_generic_services\030\020 \001(\010:\005false\022$\n" + 28322 "\025java_generic_services\030\021 \001(\010:\005false\022\"\n\023p" + 28323 "y_generic_services\030\022 \001(\010:\005false\022C\n\024unint" + 28324 "erpreted_option\030\347\007 \003(\0132$.google.protobuf" + 28325 ".UninterpretedOption\":\n\014OptimizeMode\022\t\n\005" + 28326 "SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003" + 28327 "*\t\010\350\007\020\200\200\200\200\002\"\270\001\n\016MessageOptions\022&\n\027messag" + 28328 "e_set_wire_format\030\001 \001(\010:\005false\022.\n\037no_sta" + 28329 "ndard_descriptor_accessor\030\002 \001(\010:\005false\022C", 28330 "\n\024uninterpreted_option\030\347\007 \003(\0132$.google.p" + 28331 "rotobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\276" + 28332 "\002\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.google." + 28333 "protobuf.FieldOptions.CType:\006STRING\022\016\n\006p" + 28334 "acked\030\002 \001(\010\022\023\n\004lazy\030\005 \001(\010:\005false\022\031\n\ndepr" + 28335 "ecated\030\003 \001(\010:\005false\022\034\n\024experimental_map_" + 28336 "key\030\t \001(\t\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024uninte" + 28337 "rpreted_option\030\347\007 \003(\0132$.google.protobuf." + 28338 "UninterpretedOption\"/\n\005CType\022\n\n\006STRING\020\000" + 28339 "\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002*\t\010\350\007\020\200\200\200\200\002\"", 28340 "x\n\013EnumOptions\022\031\n\013allow_alias\030\002 \001(\010:\004tru" + 29989 "\n\020descriptor.proto\022\017google.protobuf\"G\n\021F" + 29990 "ileDescriptorSet\0222\n\004file\030\001 \003(\0132$.google." + 29991 "protobuf.FileDescriptorProto\"\313\003\n\023FileDes" + 29992 "criptorProto\022\014\n\004name\030\001 \001(\t\022\017\n\007package\030\002 " + 29993 "\001(\t\022\022\n\ndependency\030\003 \003(\t\022\031\n\021public_depend" + 29994 "ency\030\n \003(\005\022\027\n\017weak_dependency\030\013 \003(\005\0226\n\014m" + 29995 "essage_type\030\004 \003(\0132 .google.protobuf.Desc" + 29996 "riptorProto\0227\n\tenum_type\030\005 \003(\0132$.google." + 29997 "protobuf.EnumDescriptorProto\0228\n\007service\030" + 29998 "\006 \003(\0132\'.google.protobuf.ServiceDescripto", 29999 "rProto\0228\n\textension\030\007 \003(\0132%.google.proto" + 30000 "buf.FieldDescriptorProto\022-\n\007options\030\010 \001(" + 30001 "\0132\034.google.protobuf.FileOptions\0229\n\020sourc" + 30002 "e_code_info\030\t \001(\0132\037.google.protobuf.Sour" + 30003 "ceCodeInfo\"\344\003\n\017DescriptorProto\022\014\n\004name\030\001" + 30004 " \001(\t\0224\n\005field\030\002 \003(\0132%.google.protobuf.Fi" + 30005 "eldDescriptorProto\0228\n\textension\030\006 \003(\0132%." + 30006 "google.protobuf.FieldDescriptorProto\0225\n\013" + 30007 "nested_type\030\003 \003(\0132 .google.protobuf.Desc" + 30008 "riptorProto\0227\n\tenum_type\030\004 \003(\0132$.google.", 30009 "protobuf.EnumDescriptorProto\022H\n\017extensio" + 30010 "n_range\030\005 \003(\0132/.google.protobuf.Descript" + 30011 "orProto.ExtensionRange\0229\n\noneof_decl\030\010 \003" + 30012 "(\0132%.google.protobuf.OneofDescriptorProt" + 30013 "o\0220\n\007options\030\007 \001(\0132\037.google.protobuf.Mes" + 30014 "sageOptions\032,\n\016ExtensionRange\022\r\n\005start\030\001" + 30015 " \001(\005\022\013\n\003end\030\002 \001(\005\"\251\005\n\024FieldDescriptorPro" + 30016 "to\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:\n\005labe" + 30017 "l\030\004 \001(\0162+.google.protobuf.FieldDescripto" + 30018 "rProto.Label\0228\n\004type\030\005 \001(\0162*.google.prot", 30019 "obuf.FieldDescriptorProto.Type\022\021\n\ttype_n" + 30020 "ame\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t\022\025\n\rdefault_v" + 30021 "alue\030\007 \001(\t\022\023\n\013oneof_index\030\t \001(\005\022.\n\007optio" + 30022 "ns\030\010 \001(\0132\035.google.protobuf.FieldOptions\"" + 30023 "\266\002\n\004Type\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020" + 30024 "\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTY" + 30025 "PE_INT32\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n\014TYPE_FIX" + 30026 "ED32\020\007\022\r\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016" + 30027 "\n\nTYPE_GROUP\020\n\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE" + 30028 "_BYTES\020\014\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016", 30029 "\022\021\n\rTYPE_SFIXED32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017" + 30030 "\n\013TYPE_SINT32\020\021\022\017\n\013TYPE_SINT64\020\022\"C\n\005Labe" + 30031 "l\022\022\n\016LABEL_OPTIONAL\020\001\022\022\n\016LABEL_REQUIRED\020" + 30032 "\002\022\022\n\016LABEL_REPEATED\020\003\"$\n\024OneofDescriptor" + 30033 "Proto\022\014\n\004name\030\001 \001(\t\"\214\001\n\023EnumDescriptorPr" + 30034 "oto\022\014\n\004name\030\001 \001(\t\0228\n\005value\030\002 \003(\0132).googl" + 30035 "e.protobuf.EnumValueDescriptorProto\022-\n\007o" + 30036 "ptions\030\003 \001(\0132\034.google.protobuf.EnumOptio" + 30037 "ns\"l\n\030EnumValueDescriptorProto\022\014\n\004name\030\001" + 30038 " \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.", 30039 "google.protobuf.EnumValueOptions\"\220\001\n\026Ser" + 30040 "viceDescriptorProto\022\014\n\004name\030\001 \001(\t\0226\n\006met" + 30041 "hod\030\002 \003(\0132&.google.protobuf.MethodDescri" + 30042 "ptorProto\0220\n\007options\030\003 \001(\0132\037.google.prot" + 30043 "obuf.ServiceOptions\"\177\n\025MethodDescriptorP" + 30044 "roto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023" + 30045 "\n\013output_type\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.g" + 30046 "oogle.protobuf.MethodOptions\"\253\004\n\013FileOpt" + 30047 "ions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_outer" + 30048 "_classname\030\010 \001(\t\022\"\n\023java_multiple_files\030", 30049 "\n \001(\010:\005false\022,\n\035java_generate_equals_and" + 30050 "_hash\030\024 \001(\010:\005false\022%\n\026java_string_check_" + 30051 "utf8\030\033 \001(\010:\005false\022F\n\014optimize_for\030\t \001(\0162" + 30052 ").google.protobuf.FileOptions.OptimizeMo" + 30053 "de:\005SPEED\022\022\n\ngo_package\030\013 \001(\t\022\"\n\023cc_gene" + 30054 "ric_services\030\020 \001(\010:\005false\022$\n\025java_generi" + 30055 "c_services\030\021 \001(\010:\005false\022\"\n\023py_generic_se" + 30056 "rvices\030\022 \001(\010:\005false\022\031\n\ndeprecated\030\027 \001(\010:" + 30057 "\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132$." + 30058 "google.protobuf.UninterpretedOption\":\n\014O", 30059 "ptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n" + 30060 "\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\323\001\n\016MessageOp" + 30061 "tions\022&\n\027message_set_wire_format\030\001 \001(\010:\005" + 30062 "false\022.\n\037no_standard_descriptor_accessor" + 30063 "\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:\005false" + 30064 "\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.google" + 30065 ".protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002" + 30066 "\"\276\002\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.googl" + 30067 "e.protobuf.FieldOptions.CType:\006STRING\022\016\n" + 30068 "\006packed\030\002 \001(\010\022\023\n\004lazy\030\005 \001(\010:\005false\022\031\n\nde", 30069 "precated\030\003 \001(\010:\005false\022\034\n\024experimental_ma" + 30070 "p_key\030\t \001(\t\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024unin" + 30071 "terpreted_option\030\347\007 \003(\0132$.google.protobu" + 30072 "f.UninterpretedOption\"/\n\005CType\022\n\n\006STRING" + 30073 "\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002*\t\010\350\007\020\200\200\200\200" + 30074 "\002\"\215\001\n\013EnumOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031" + 30075 "\n\ndeprecated\030\003 \001(\010:\005false\022C\n\024uninterpret" + 30076 "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint" + 30077 "erpretedOption*\t\010\350\007\020\200\200\200\200\002\"}\n\020EnumValueOp" + 30078 "tions\022\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024unin", 30079 "terpreted_option\030\347\007 \003(\0132$.google.protobu" + 30080 "f.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016Serv" + 30081 "iceOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n" + 30082 "\024uninterpreted_option\030\347\007 \003(\0132$.google.pr" + 30083 "otobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n" + 30084 "\rMethodOptions\022\031\n\ndeprecated\030! \001(\010:\005fals" + 28341 30085 "e\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.googl" + 28342 30086 "e.protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200" + 28343 "\002\"b\n\020EnumValueOptions\022C\n\024uninterpreted_o" + 28344 "ption\030\347\007 \003(\0132$.google.protobuf.Uninterpr" + 28345 "etedOption*\t\010\350\007\020\200\200\200\200\002\"`\n\016ServiceOptions\022" + 28346 "C\n\024uninterpreted_option\030\347\007 \003(\0132$.google." + 28347 "protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"" + 28348 "_\n\rMethodOptions\022C\n\024uninterpreted_option" + 28349 "\030\347\007 \003(\0132$.google.protobuf.UninterpretedO", 28350 "ption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023UninterpretedOption" + 28351 "\022;\n\004name\030\002 \003(\0132-.google.protobuf.Uninter" + 28352 "pretedOption.NamePart\022\030\n\020identifier_valu" + 28353 "e\030\003 \001(\t\022\032\n\022positive_int_value\030\004 \001(\004\022\032\n\022n" + 28354 "egative_int_value\030\005 \001(\003\022\024\n\014double_value\030" + 28355 "\006 \001(\001\022\024\n\014string_value\030\007 \001(\014\022\027\n\017aggregate" + 28356 "_value\030\010 \001(\t\0323\n\010NamePart\022\021\n\tname_part\030\001 " + 28357 "\002(\t\022\024\n\014is_extension\030\002 \002(\010\"\261\001\n\016SourceCode" + 28358 "Info\022:\n\010location\030\001 \003(\0132(.google.protobuf" + 28359 ".SourceCodeInfo.Location\032c\n\010Location\022\020\n\004", 28360 "path\030\001 \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020lead" + 28361 "ing_comments\030\003 \001(\t\022\031\n\021trailing_comments\030" + 28362 "\004 \001(\tB)\n\023com.google.protobufB\020Descriptor" + 28363 "ProtosH\001" 30087 "\002\"\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\0132" + 30088 "-.google.protobuf.UninterpretedOption.Na", 30089 "mePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022posi" + 30090 "tive_int_value\030\004 \001(\004\022\032\n\022negative_int_val" + 30091 "ue\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string" + 30092 "_value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n" + 30093 "\010NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_exten" + 30094 "sion\030\002 \002(\010\"\261\001\n\016SourceCodeInfo\022:\n\010locatio" + 30095 "n\030\001 \003(\0132(.google.protobuf.SourceCodeInfo" + 30096 ".Location\032c\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022" + 30097 "\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 " + 30098 "\001(\t\022\031\n\021trailing_comments\030\004 \001(\tB)\n\023com.go", 30099 "ogle.protobufB\020DescriptorProtosH\001" 28364 30100 }; 28365 30101 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 28366 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { 28367 public com.google.protobuf.ExtensionRegistry assignDescriptors( 28368 com.google.protobuf.Descriptors.FileDescriptor root) { 28369 descriptor = root; 28370 internal_static_google_protobuf_FileDescriptorSet_descriptor = 28371 getDescriptor().getMessageTypes().get(0); 28372 internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable = new 28373 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28374 internal_static_google_protobuf_FileDescriptorSet_descriptor, 28375 new java.lang.String[] { "File", }); 28376 internal_static_google_protobuf_FileDescriptorProto_descriptor = 28377 getDescriptor().getMessageTypes().get(1); 28378 internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable = new 28379 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28380 internal_static_google_protobuf_FileDescriptorProto_descriptor, 28381 new java.lang.String[] { "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", }); 28382 internal_static_google_protobuf_DescriptorProto_descriptor = 28383 getDescriptor().getMessageTypes().get(2); 28384 internal_static_google_protobuf_DescriptorProto_fieldAccessorTable = new 28385 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28386 internal_static_google_protobuf_DescriptorProto_descriptor, 28387 new java.lang.String[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "Options", }); 28388 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor = 28389 internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(0); 28390 internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable = new 28391 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28392 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor, 28393 new java.lang.String[] { "Start", "End", }); 28394 internal_static_google_protobuf_FieldDescriptorProto_descriptor = 28395 getDescriptor().getMessageTypes().get(3); 28396 internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable = new 28397 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28398 internal_static_google_protobuf_FieldDescriptorProto_descriptor, 28399 new java.lang.String[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "Options", }); 28400 internal_static_google_protobuf_EnumDescriptorProto_descriptor = 28401 getDescriptor().getMessageTypes().get(4); 28402 internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable = new 28403 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28404 internal_static_google_protobuf_EnumDescriptorProto_descriptor, 28405 new java.lang.String[] { "Name", "Value", "Options", }); 28406 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor = 28407 getDescriptor().getMessageTypes().get(5); 28408 internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable = new 28409 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28410 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor, 28411 new java.lang.String[] { "Name", "Number", "Options", }); 28412 internal_static_google_protobuf_ServiceDescriptorProto_descriptor = 28413 getDescriptor().getMessageTypes().get(6); 28414 internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable = new 28415 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28416 internal_static_google_protobuf_ServiceDescriptorProto_descriptor, 28417 new java.lang.String[] { "Name", "Method", "Options", }); 28418 internal_static_google_protobuf_MethodDescriptorProto_descriptor = 28419 getDescriptor().getMessageTypes().get(7); 28420 internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable = new 28421 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28422 internal_static_google_protobuf_MethodDescriptorProto_descriptor, 28423 new java.lang.String[] { "Name", "InputType", "OutputType", "Options", }); 28424 internal_static_google_protobuf_FileOptions_descriptor = 28425 getDescriptor().getMessageTypes().get(8); 28426 internal_static_google_protobuf_FileOptions_fieldAccessorTable = new 28427 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28428 internal_static_google_protobuf_FileOptions_descriptor, 28429 new java.lang.String[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "UninterpretedOption", }); 28430 internal_static_google_protobuf_MessageOptions_descriptor = 28431 getDescriptor().getMessageTypes().get(9); 28432 internal_static_google_protobuf_MessageOptions_fieldAccessorTable = new 28433 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28434 internal_static_google_protobuf_MessageOptions_descriptor, 28435 new java.lang.String[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "UninterpretedOption", }); 28436 internal_static_google_protobuf_FieldOptions_descriptor = 28437 getDescriptor().getMessageTypes().get(10); 28438 internal_static_google_protobuf_FieldOptions_fieldAccessorTable = new 28439 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28440 internal_static_google_protobuf_FieldOptions_descriptor, 28441 new java.lang.String[] { "Ctype", "Packed", "Lazy", "Deprecated", "ExperimentalMapKey", "Weak", "UninterpretedOption", }); 28442 internal_static_google_protobuf_EnumOptions_descriptor = 28443 getDescriptor().getMessageTypes().get(11); 28444 internal_static_google_protobuf_EnumOptions_fieldAccessorTable = new 28445 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28446 internal_static_google_protobuf_EnumOptions_descriptor, 28447 new java.lang.String[] { "AllowAlias", "UninterpretedOption", }); 28448 internal_static_google_protobuf_EnumValueOptions_descriptor = 28449 getDescriptor().getMessageTypes().get(12); 28450 internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable = new 28451 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28452 internal_static_google_protobuf_EnumValueOptions_descriptor, 28453 new java.lang.String[] { "UninterpretedOption", }); 28454 internal_static_google_protobuf_ServiceOptions_descriptor = 28455 getDescriptor().getMessageTypes().get(13); 28456 internal_static_google_protobuf_ServiceOptions_fieldAccessorTable = new 28457 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28458 internal_static_google_protobuf_ServiceOptions_descriptor, 28459 new java.lang.String[] { "UninterpretedOption", }); 28460 internal_static_google_protobuf_MethodOptions_descriptor = 28461 getDescriptor().getMessageTypes().get(14); 28462 internal_static_google_protobuf_MethodOptions_fieldAccessorTable = new 28463 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28464 internal_static_google_protobuf_MethodOptions_descriptor, 28465 new java.lang.String[] { "UninterpretedOption", }); 28466 internal_static_google_protobuf_UninterpretedOption_descriptor = 28467 getDescriptor().getMessageTypes().get(15); 28468 internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable = new 28469 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28470 internal_static_google_protobuf_UninterpretedOption_descriptor, 28471 new java.lang.String[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", }); 28472 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor = 28473 internal_static_google_protobuf_UninterpretedOption_descriptor.getNestedTypes().get(0); 28474 internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable = new 28475 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28476 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor, 28477 new java.lang.String[] { "NamePart", "IsExtension", }); 28478 internal_static_google_protobuf_SourceCodeInfo_descriptor = 28479 getDescriptor().getMessageTypes().get(16); 28480 internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable = new 28481 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28482 internal_static_google_protobuf_SourceCodeInfo_descriptor, 28483 new java.lang.String[] { "Location", }); 28484 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor = 28485 internal_static_google_protobuf_SourceCodeInfo_descriptor.getNestedTypes().get(0); 28486 internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable = new 28487 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 28488 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor, 28489 new java.lang.String[] { "Path", "Span", "LeadingComments", "TrailingComments", }); 28490 return null; 28491 } 28492 }; 30102 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 30103 public com.google.protobuf.ExtensionRegistry assignDescriptors( 30104 com.google.protobuf.Descriptors.FileDescriptor root) { 30105 descriptor = root; 30106 return null; 30107 } 30108 }; 28493 30109 com.google.protobuf.Descriptors.FileDescriptor 28494 30110 .internalBuildGeneratedFileFrom(descriptorData, 28495 30111 new com.google.protobuf.Descriptors.FileDescriptor[] { 28496 30112 }, assigner); 30113 internal_static_google_protobuf_FileDescriptorSet_descriptor = 30114 getDescriptor().getMessageTypes().get(0); 30115 internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable = new 30116 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30117 internal_static_google_protobuf_FileDescriptorSet_descriptor, 30118 new java.lang.String[] { "File", }); 30119 internal_static_google_protobuf_FileDescriptorProto_descriptor = 30120 getDescriptor().getMessageTypes().get(1); 30121 internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable = new 30122 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30123 internal_static_google_protobuf_FileDescriptorProto_descriptor, 30124 new java.lang.String[] { "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", }); 30125 internal_static_google_protobuf_DescriptorProto_descriptor = 30126 getDescriptor().getMessageTypes().get(2); 30127 internal_static_google_protobuf_DescriptorProto_fieldAccessorTable = new 30128 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30129 internal_static_google_protobuf_DescriptorProto_descriptor, 30130 new java.lang.String[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", }); 30131 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor = 30132 internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(0); 30133 internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable = new 30134 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30135 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor, 30136 new java.lang.String[] { "Start", "End", }); 30137 internal_static_google_protobuf_FieldDescriptorProto_descriptor = 30138 getDescriptor().getMessageTypes().get(3); 30139 internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable = new 30140 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30141 internal_static_google_protobuf_FieldDescriptorProto_descriptor, 30142 new java.lang.String[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "Options", }); 30143 internal_static_google_protobuf_OneofDescriptorProto_descriptor = 30144 getDescriptor().getMessageTypes().get(4); 30145 internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable = new 30146 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30147 internal_static_google_protobuf_OneofDescriptorProto_descriptor, 30148 new java.lang.String[] { "Name", }); 30149 internal_static_google_protobuf_EnumDescriptorProto_descriptor = 30150 getDescriptor().getMessageTypes().get(5); 30151 internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable = new 30152 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30153 internal_static_google_protobuf_EnumDescriptorProto_descriptor, 30154 new java.lang.String[] { "Name", "Value", "Options", }); 30155 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor = 30156 getDescriptor().getMessageTypes().get(6); 30157 internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable = new 30158 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30159 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor, 30160 new java.lang.String[] { "Name", "Number", "Options", }); 30161 internal_static_google_protobuf_ServiceDescriptorProto_descriptor = 30162 getDescriptor().getMessageTypes().get(7); 30163 internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable = new 30164 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30165 internal_static_google_protobuf_ServiceDescriptorProto_descriptor, 30166 new java.lang.String[] { "Name", "Method", "Options", }); 30167 internal_static_google_protobuf_MethodDescriptorProto_descriptor = 30168 getDescriptor().getMessageTypes().get(8); 30169 internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable = new 30170 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30171 internal_static_google_protobuf_MethodDescriptorProto_descriptor, 30172 new java.lang.String[] { "Name", "InputType", "OutputType", "Options", }); 30173 internal_static_google_protobuf_FileOptions_descriptor = 30174 getDescriptor().getMessageTypes().get(9); 30175 internal_static_google_protobuf_FileOptions_fieldAccessorTable = new 30176 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30177 internal_static_google_protobuf_FileOptions_descriptor, 30178 new java.lang.String[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "Deprecated", "UninterpretedOption", }); 30179 internal_static_google_protobuf_MessageOptions_descriptor = 30180 getDescriptor().getMessageTypes().get(10); 30181 internal_static_google_protobuf_MessageOptions_fieldAccessorTable = new 30182 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30183 internal_static_google_protobuf_MessageOptions_descriptor, 30184 new java.lang.String[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "UninterpretedOption", }); 30185 internal_static_google_protobuf_FieldOptions_descriptor = 30186 getDescriptor().getMessageTypes().get(11); 30187 internal_static_google_protobuf_FieldOptions_fieldAccessorTable = new 30188 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30189 internal_static_google_protobuf_FieldOptions_descriptor, 30190 new java.lang.String[] { "Ctype", "Packed", "Lazy", "Deprecated", "ExperimentalMapKey", "Weak", "UninterpretedOption", }); 30191 internal_static_google_protobuf_EnumOptions_descriptor = 30192 getDescriptor().getMessageTypes().get(12); 30193 internal_static_google_protobuf_EnumOptions_fieldAccessorTable = new 30194 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30195 internal_static_google_protobuf_EnumOptions_descriptor, 30196 new java.lang.String[] { "AllowAlias", "Deprecated", "UninterpretedOption", }); 30197 internal_static_google_protobuf_EnumValueOptions_descriptor = 30198 getDescriptor().getMessageTypes().get(13); 30199 internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable = new 30200 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30201 internal_static_google_protobuf_EnumValueOptions_descriptor, 30202 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 30203 internal_static_google_protobuf_ServiceOptions_descriptor = 30204 getDescriptor().getMessageTypes().get(14); 30205 internal_static_google_protobuf_ServiceOptions_fieldAccessorTable = new 30206 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30207 internal_static_google_protobuf_ServiceOptions_descriptor, 30208 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 30209 internal_static_google_protobuf_MethodOptions_descriptor = 30210 getDescriptor().getMessageTypes().get(15); 30211 internal_static_google_protobuf_MethodOptions_fieldAccessorTable = new 30212 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30213 internal_static_google_protobuf_MethodOptions_descriptor, 30214 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 30215 internal_static_google_protobuf_UninterpretedOption_descriptor = 30216 getDescriptor().getMessageTypes().get(16); 30217 internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable = new 30218 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30219 internal_static_google_protobuf_UninterpretedOption_descriptor, 30220 new java.lang.String[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", }); 30221 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor = 30222 internal_static_google_protobuf_UninterpretedOption_descriptor.getNestedTypes().get(0); 30223 internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable = new 30224 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30225 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor, 30226 new java.lang.String[] { "NamePart", "IsExtension", }); 30227 internal_static_google_protobuf_SourceCodeInfo_descriptor = 30228 getDescriptor().getMessageTypes().get(17); 30229 internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable = new 30230 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30231 internal_static_google_protobuf_SourceCodeInfo_descriptor, 30232 new java.lang.String[] { "Location", }); 30233 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor = 30234 internal_static_google_protobuf_SourceCodeInfo_descriptor.getNestedTypes().get(0); 30235 internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable = new 30236 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 30237 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor, 30238 new java.lang.String[] { "Path", "Span", "LeadingComments", "TrailingComments", }); 28497 30239 } 28498 30240 -
applications/editors/josm/plugins/pbf/gen/crosby/binary/Fileformat.java
r30490 r30658 1 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: src/crosby/binary/fileformat.proto2 // source: fileformat.proto 3 3 4 4 package crosby.binary; … … 9 9 com.google.protobuf.ExtensionRegistryLite registry) { 10 10 } 11 public interface BlobOrBuilder 12 extends com.google.protobuf.MessageLiteOrBuilder {13 14 // optional bytes raw = 1; 11 public interface BlobOrBuilder extends 12 // @@protoc_insertion_point(interface_extends:OSMPBF.Blob) 13 com.google.protobuf.MessageLiteOrBuilder { 14 15 15 /** 16 16 * <code>optional bytes raw = 1;</code> … … 30 30 com.google.protobuf.ByteString getRaw(); 31 31 32 // optional int32 raw_size = 2;33 32 /** 34 33 * <code>optional int32 raw_size = 2;</code> … … 48 47 int getRawSize(); 49 48 50 // optional bytes zlib_data = 3;51 49 /** 52 50 * <code>optional bytes zlib_data = 3;</code> … … 66 64 com.google.protobuf.ByteString getZlibData(); 67 65 68 // optional bytes lzma_data = 4;69 66 /** 70 67 * <code>optional bytes lzma_data = 4;</code> … … 84 81 com.google.protobuf.ByteString getLzmaData(); 85 82 86 // optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];87 83 /** 88 84 * <code>optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];</code> … … 106 102 */ 107 103 public static final class Blob extends 108 com.google.protobuf.GeneratedMessageLite 109 implements BlobOrBuilder { 104 com.google.protobuf.GeneratedMessageLite implements 105 // @@protoc_insertion_point(message_implements:OSMPBF.Blob) 106 BlobOrBuilder { 110 107 // Use Blob.newBuilder() to construct. 111 108 private Blob(com.google.protobuf.GeneratedMessageLite.Builder builder) { 112 109 super(builder); 113 114 } 115 private Blob(boolean noInit) {} 110 this.unknownFields = builder.getUnknownFields(); 111 } 112 private Blob(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 116 113 117 114 private static final Blob defaultInstance; … … 124 121 } 125 122 123 private final com.google.protobuf.ByteString unknownFields; 126 124 private Blob( 127 125 com.google.protobuf.CodedInputStream input, … … 130 128 initFields(); 131 129 int mutable_bitField0_ = 0; 130 com.google.protobuf.ByteString.Output unknownFieldsOutput = 131 com.google.protobuf.ByteString.newOutput(); 132 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 133 com.google.protobuf.CodedOutputStream.newInstance( 134 unknownFieldsOutput); 132 135 try { 133 136 boolean done = false; … … 139 142 break; 140 143 default: { 141 if (!parseUnknownField(input, 144 if (!parseUnknownField(input, unknownFieldsCodedOutput, 142 145 extensionRegistry, tag)) { 143 146 done = true; … … 178 181 e.getMessage()).setUnfinishedMessage(this); 179 182 } finally { 183 try { 184 unknownFieldsCodedOutput.flush(); 185 } catch (java.io.IOException e) { 186 // Should not happen 187 } finally { 188 unknownFields = unknownFieldsOutput.toByteString(); 189 } 180 190 makeExtensionsImmutable(); 181 191 } … … 197 207 198 208 private int bitField0_; 199 // optional bytes raw = 1;200 209 public static final int RAW_FIELD_NUMBER = 1; 201 210 private com.google.protobuf.ByteString raw_; … … 221 230 } 222 231 223 // optional int32 raw_size = 2;224 232 public static final int RAW_SIZE_FIELD_NUMBER = 2; 225 233 private int rawSize_; … … 245 253 } 246 254 247 // optional bytes zlib_data = 3;248 255 public static final int ZLIB_DATA_FIELD_NUMBER = 3; 249 256 private com.google.protobuf.ByteString zlibData_; … … 269 276 } 270 277 271 // optional bytes lzma_data = 4;272 278 public static final int LZMA_DATA_FIELD_NUMBER = 4; 273 279 private com.google.protobuf.ByteString lzmaData_; … … 293 299 } 294 300 295 // optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];296 301 public static final int OBSOLETE_BZIP2_DATA_FIELD_NUMBER = 5; 297 302 private com.google.protobuf.ByteString oBSOLETEBzip2Data_; … … 327 332 public final boolean isInitialized() { 328 333 byte isInitialized = memoizedIsInitialized; 329 if (isInitialized != -1) return isInitialized == 1; 334 if (isInitialized == 1) return true; 335 if (isInitialized == 0) return false; 330 336 331 337 memoizedIsInitialized = 1; … … 351 357 output.writeBytes(5, oBSOLETEBzip2Data_); 352 358 } 359 output.writeRawBytes(unknownFields); 353 360 } 354 361 … … 379 386 .computeBytesSize(5, oBSOLETEBzip2Data_); 380 387 } 388 size += unknownFields.size(); 381 389 memoizedSerializedSize = size; 382 390 return size; … … 456 464 com.google.protobuf.GeneratedMessageLite.Builder< 457 465 crosby.binary.Fileformat.Blob, Builder> 458 implements crosby.binary.Fileformat.BlobOrBuilder { 466 implements 467 // @@protoc_insertion_point(builder_implements:OSMPBF.Blob) 468 crosby.binary.Fileformat.BlobOrBuilder { 459 469 // Construct using crosby.binary.Fileformat.Blob.newBuilder() 460 470 private Builder() { … … 544 554 setOBSOLETEBzip2Data(other.getOBSOLETEBzip2Data()); 545 555 } 556 setUnknownFields( 557 getUnknownFields().concat(other.unknownFields)); 546 558 return this; 547 559 } … … 570 582 private int bitField0_; 571 583 572 // optional bytes raw = 1;573 584 private com.google.protobuf.ByteString raw_ = com.google.protobuf.ByteString.EMPTY; 574 585 /** … … 622 633 } 623 634 624 // optional int32 raw_size = 2;625 635 private int rawSize_ ; 626 636 /** … … 671 681 } 672 682 673 // optional bytes zlib_data = 3;674 683 private com.google.protobuf.ByteString zlibData_ = com.google.protobuf.ByteString.EMPTY; 675 684 /** … … 723 732 } 724 733 725 // optional bytes lzma_data = 4;726 734 private com.google.protobuf.ByteString lzmaData_ = com.google.protobuf.ByteString.EMPTY; 727 735 /** … … 775 783 } 776 784 777 // optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];778 785 private com.google.protobuf.ByteString oBSOLETEBzip2Data_ = com.google.protobuf.ByteString.EMPTY; 779 786 /** … … 838 845 } 839 846 840 public interface BlobHeaderOrBuilder 841 extends com.google.protobuf.MessageLiteOrBuilder {842 843 // required string type = 1; 847 public interface BlobHeaderOrBuilder extends 848 // @@protoc_insertion_point(interface_extends:OSMPBF.BlobHeader) 849 com.google.protobuf.MessageLiteOrBuilder { 850 844 851 /** 845 852 * <code>required string type = 1;</code> … … 856 863 getTypeBytes(); 857 864 858 // optional bytes indexdata = 2;859 865 /** 860 866 * <code>optional bytes indexdata = 2;</code> … … 866 872 com.google.protobuf.ByteString getIndexdata(); 867 873 868 // required int32 datasize = 3;869 874 /** 870 875 * <code>required int32 datasize = 3;</code> … … 880 885 */ 881 886 public static final class BlobHeader extends 882 com.google.protobuf.GeneratedMessageLite 883 implements BlobHeaderOrBuilder { 887 com.google.protobuf.GeneratedMessageLite implements 888 // @@protoc_insertion_point(message_implements:OSMPBF.BlobHeader) 889 BlobHeaderOrBuilder { 884 890 // Use BlobHeader.newBuilder() to construct. 885 891 private BlobHeader(com.google.protobuf.GeneratedMessageLite.Builder builder) { 886 892 super(builder); 887 888 } 889 private BlobHeader(boolean noInit) {} 893 this.unknownFields = builder.getUnknownFields(); 894 } 895 private BlobHeader(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 890 896 891 897 private static final BlobHeader defaultInstance; … … 898 904 } 899 905 906 private final com.google.protobuf.ByteString unknownFields; 900 907 private BlobHeader( 901 908 com.google.protobuf.CodedInputStream input, … … 904 911 initFields(); 905 912 int mutable_bitField0_ = 0; 913 com.google.protobuf.ByteString.Output unknownFieldsOutput = 914 com.google.protobuf.ByteString.newOutput(); 915 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 916 com.google.protobuf.CodedOutputStream.newInstance( 917 unknownFieldsOutput); 906 918 try { 907 919 boolean done = false; … … 913 925 break; 914 926 default: { 915 if (!parseUnknownField(input, 927 if (!parseUnknownField(input, unknownFieldsCodedOutput, 916 928 extensionRegistry, tag)) { 917 929 done = true; … … 920 932 } 921 933 case 10: { 934 com.google.protobuf.ByteString bs = input.readBytes(); 922 935 bitField0_ |= 0x00000001; 923 type_ = input.readBytes();936 type_ = bs; 924 937 break; 925 938 } … … 942 955 e.getMessage()).setUnfinishedMessage(this); 943 956 } finally { 957 try { 958 unknownFieldsCodedOutput.flush(); 959 } catch (java.io.IOException e) { 960 // Should not happen 961 } finally { 962 unknownFields = unknownFieldsOutput.toByteString(); 963 } 944 964 makeExtensionsImmutable(); 945 965 } … … 961 981 962 982 private int bitField0_; 963 // required string type = 1;964 983 public static final int TYPE_FIELD_NUMBER = 1; 965 984 private java.lang.Object type_; … … 1004 1023 } 1005 1024 1006 // optional bytes indexdata = 2;1007 1025 public static final int INDEXDATA_FIELD_NUMBER = 2; 1008 1026 private com.google.protobuf.ByteString indexdata_; … … 1020 1038 } 1021 1039 1022 // required int32 datasize = 3;1023 1040 public static final int DATASIZE_FIELD_NUMBER = 3; 1024 1041 private int datasize_; … … 1044 1061 public final boolean isInitialized() { 1045 1062 byte isInitialized = memoizedIsInitialized; 1046 if (isInitialized != -1) return isInitialized == 1; 1063 if (isInitialized == 1) return true; 1064 if (isInitialized == 0) return false; 1047 1065 1048 1066 if (!hasType()) { … … 1070 1088 output.writeInt32(3, datasize_); 1071 1089 } 1090 output.writeRawBytes(unknownFields); 1072 1091 } 1073 1092 … … 1090 1109 .computeInt32Size(3, datasize_); 1091 1110 } 1111 size += unknownFields.size(); 1092 1112 memoizedSerializedSize = size; 1093 1113 return size; … … 1167 1187 com.google.protobuf.GeneratedMessageLite.Builder< 1168 1188 crosby.binary.Fileformat.BlobHeader, Builder> 1169 implements crosby.binary.Fileformat.BlobHeaderOrBuilder { 1189 implements 1190 // @@protoc_insertion_point(builder_implements:OSMPBF.BlobHeader) 1191 crosby.binary.Fileformat.BlobHeaderOrBuilder { 1170 1192 // Construct using crosby.binary.Fileformat.BlobHeader.newBuilder() 1171 1193 private Builder() { … … 1239 1261 setDatasize(other.getDatasize()); 1240 1262 } 1263 setUnknownFields( 1264 getUnknownFields().concat(other.unknownFields)); 1241 1265 return this; 1242 1266 } … … 1273 1297 private int bitField0_; 1274 1298 1275 // required string type = 1;1276 1299 private java.lang.Object type_ = ""; 1277 1300 /** … … 1287 1310 java.lang.Object ref = type_; 1288 1311 if (!(ref instanceof java.lang.String)) { 1289 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1290 .toStringUtf8(); 1291 type_ = s; 1312 com.google.protobuf.ByteString bs = 1313 (com.google.protobuf.ByteString) ref; 1314 java.lang.String s = bs.toStringUtf8(); 1315 if (bs.isValidUtf8()) { 1316 type_ = s; 1317 } 1292 1318 return s; 1293 1319 } else { … … 1347 1373 } 1348 1374 1349 // optional bytes indexdata = 2;1350 1375 private com.google.protobuf.ByteString indexdata_ = com.google.protobuf.ByteString.EMPTY; 1351 1376 /** … … 1383 1408 } 1384 1409 1385 // required int32 datasize = 3;1386 1410 private int datasize_ ; 1387 1411 /** -
applications/editors/josm/plugins/pbf/gen/crosby/binary/Osmformat.java
r30490 r30658 1 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: src/crosby/binary/osmformat.proto2 // source: osmformat.proto 3 3 4 4 package crosby.binary; … … 9 9 com.google.protobuf.ExtensionRegistryLite registry) { 10 10 } 11 public interface HeaderBlockOrBuilder 12 extends com.google.protobuf.MessageLiteOrBuilder {13 14 // optional .OSMPBF.HeaderBBox bbox = 1; 11 public interface HeaderBlockOrBuilder extends 12 // @@protoc_insertion_point(interface_extends:OSMPBF.HeaderBlock) 13 com.google.protobuf.MessageLiteOrBuilder { 14 15 15 /** 16 16 * <code>optional .OSMPBF.HeaderBBox bbox = 1;</code> … … 22 22 crosby.binary.Osmformat.HeaderBBox getBbox(); 23 23 24 // repeated string required_features = 4;25 24 /** 26 25 * <code>repeated string required_features = 4;</code> … … 30 29 * </pre> 31 30 */ 32 java.util.List<java.lang.String>33 getRequiredFeaturesList(); 31 com.google.protobuf.ProtocolStringList 32 getRequiredFeaturesList(); 34 33 /** 35 34 * <code>repeated string required_features = 4;</code> … … 58 57 getRequiredFeaturesBytes(int index); 59 58 60 // repeated string optional_features = 5;61 59 /** 62 60 * <code>repeated string optional_features = 5;</code> 63 61 */ 64 java.util.List<java.lang.String>65 getOptionalFeaturesList(); 62 com.google.protobuf.ProtocolStringList 63 getOptionalFeaturesList(); 66 64 /** 67 65 * <code>repeated string optional_features = 5;</code> … … 78 76 getOptionalFeaturesBytes(int index); 79 77 80 // optional string writingprogram = 16;81 78 /** 82 79 * <code>optional string writingprogram = 16;</code> … … 93 90 getWritingprogramBytes(); 94 91 95 // optional string source = 17;96 92 /** 97 93 * <code>optional string source = 17;</code> … … 120 116 getSourceBytes(); 121 117 122 // optional int64 osmosis_replication_timestamp = 32;123 118 /** 124 119 * <code>optional int64 osmosis_replication_timestamp = 32;</code> … … 142 137 long getOsmosisReplicationTimestamp(); 143 138 144 // optional int64 osmosis_replication_sequence_number = 33;145 139 /** 146 140 * <code>optional int64 osmosis_replication_sequence_number = 33;</code> … … 160 154 long getOsmosisReplicationSequenceNumber(); 161 155 162 // optional string osmosis_replication_base_url = 34;163 156 /** 164 157 * <code>optional string osmosis_replication_base_url = 34;</code> … … 191 184 */ 192 185 public static final class HeaderBlock extends 193 com.google.protobuf.GeneratedMessageLite 194 implements HeaderBlockOrBuilder { 186 com.google.protobuf.GeneratedMessageLite implements 187 // @@protoc_insertion_point(message_implements:OSMPBF.HeaderBlock) 188 HeaderBlockOrBuilder { 195 189 // Use HeaderBlock.newBuilder() to construct. 196 190 private HeaderBlock(com.google.protobuf.GeneratedMessageLite.Builder builder) { 197 191 super(builder); 198 199 } 200 private HeaderBlock(boolean noInit) {} 192 this.unknownFields = builder.getUnknownFields(); 193 } 194 private HeaderBlock(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 201 195 202 196 private static final HeaderBlock defaultInstance; … … 209 203 } 210 204 205 private final com.google.protobuf.ByteString unknownFields; 211 206 private HeaderBlock( 212 207 com.google.protobuf.CodedInputStream input, … … 215 210 initFields(); 216 211 int mutable_bitField0_ = 0; 212 com.google.protobuf.ByteString.Output unknownFieldsOutput = 213 com.google.protobuf.ByteString.newOutput(); 214 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 215 com.google.protobuf.CodedOutputStream.newInstance( 216 unknownFieldsOutput); 217 217 try { 218 218 boolean done = false; … … 224 224 break; 225 225 default: { 226 if (!parseUnknownField(input, 226 if (!parseUnknownField(input, unknownFieldsCodedOutput, 227 227 extensionRegistry, tag)) { 228 228 done = true; … … 244 244 } 245 245 case 34: { 246 com.google.protobuf.ByteString bs = input.readBytes(); 246 247 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 247 248 requiredFeatures_ = new com.google.protobuf.LazyStringArrayList(); 248 249 mutable_bitField0_ |= 0x00000002; 249 250 } 250 requiredFeatures_.add( input.readBytes());251 requiredFeatures_.add(bs); 251 252 break; 252 253 } 253 254 case 42: { 255 com.google.protobuf.ByteString bs = input.readBytes(); 254 256 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 255 257 optionalFeatures_ = new com.google.protobuf.LazyStringArrayList(); 256 258 mutable_bitField0_ |= 0x00000004; 257 259 } 258 optionalFeatures_.add( input.readBytes());260 optionalFeatures_.add(bs); 259 261 break; 260 262 } 261 263 case 130: { 264 com.google.protobuf.ByteString bs = input.readBytes(); 262 265 bitField0_ |= 0x00000002; 263 writingprogram_ = input.readBytes();266 writingprogram_ = bs; 264 267 break; 265 268 } 266 269 case 138: { 270 com.google.protobuf.ByteString bs = input.readBytes(); 267 271 bitField0_ |= 0x00000004; 268 source_ = input.readBytes();272 source_ = bs; 269 273 break; 270 274 } … … 280 284 } 281 285 case 274: { 286 com.google.protobuf.ByteString bs = input.readBytes(); 282 287 bitField0_ |= 0x00000020; 283 osmosisReplicationBaseUrl_ = input.readBytes();288 osmosisReplicationBaseUrl_ = bs; 284 289 break; 285 290 } … … 293 298 } finally { 294 299 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 295 requiredFeatures_ = new com.google.protobuf.UnmodifiableLazyStringList(requiredFeatures_);300 requiredFeatures_ = requiredFeatures_.getUnmodifiableView(); 296 301 } 297 302 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 298 optionalFeatures_ = new com.google.protobuf.UnmodifiableLazyStringList(optionalFeatures_); 303 optionalFeatures_ = optionalFeatures_.getUnmodifiableView(); 304 } 305 try { 306 unknownFieldsCodedOutput.flush(); 307 } catch (java.io.IOException e) { 308 // Should not happen 309 } finally { 310 unknownFields = unknownFieldsOutput.toByteString(); 299 311 } 300 312 makeExtensionsImmutable(); … … 317 329 318 330 private int bitField0_; 319 // optional .OSMPBF.HeaderBBox bbox = 1;320 331 public static final int BBOX_FIELD_NUMBER = 1; 321 332 private crosby.binary.Osmformat.HeaderBBox bbox_; … … 333 344 } 334 345 335 // repeated string required_features = 4;336 346 public static final int REQUIRED_FEATURES_FIELD_NUMBER = 4; 337 347 private com.google.protobuf.LazyStringList requiredFeatures_; … … 343 353 * </pre> 344 354 */ 345 public java.util.List<java.lang.String>355 public com.google.protobuf.ProtocolStringList 346 356 getRequiredFeaturesList() { 347 357 return requiredFeatures_; … … 379 389 } 380 390 381 // repeated string optional_features = 5;382 391 public static final int OPTIONAL_FEATURES_FIELD_NUMBER = 5; 383 392 private com.google.protobuf.LazyStringList optionalFeatures_; … … 385 394 * <code>repeated string optional_features = 5;</code> 386 395 */ 387 public java.util.List<java.lang.String>396 public com.google.protobuf.ProtocolStringList 388 397 getOptionalFeaturesList() { 389 398 return optionalFeatures_; … … 409 418 } 410 419 411 // optional string writingprogram = 16;412 420 public static final int WRITINGPROGRAM_FIELD_NUMBER = 16; 413 421 private java.lang.Object writingprogram_; … … 452 460 } 453 461 454 // optional string source = 17;455 462 public static final int SOURCE_FIELD_NUMBER = 17; 456 463 private java.lang.Object source_; … … 507 514 } 508 515 509 // optional int64 osmosis_replication_timestamp = 32;510 516 public static final int OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER = 32; 511 517 private long osmosisReplicationTimestamp_; … … 535 541 } 536 542 537 // optional int64 osmosis_replication_sequence_number = 33;538 543 public static final int OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER = 33; 539 544 private long osmosisReplicationSequenceNumber_; … … 559 564 } 560 565 561 // optional string osmosis_replication_base_url = 34;562 566 public static final int OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER = 34; 563 567 private java.lang.Object osmosisReplicationBaseUrl_; … … 627 631 public final boolean isInitialized() { 628 632 byte isInitialized = memoizedIsInitialized; 629 if (isInitialized != -1) return isInitialized == 1; 633 if (isInitialized == 1) return true; 634 if (isInitialized == 0) return false; 630 635 631 636 if (hasBbox()) { … … 666 671 output.writeBytes(34, getOsmosisReplicationBaseUrlBytes()); 667 672 } 673 output.writeRawBytes(unknownFields); 668 674 } 669 675 … … 716 722 .computeBytesSize(34, getOsmosisReplicationBaseUrlBytes()); 717 723 } 724 size += unknownFields.size(); 718 725 memoizedSerializedSize = size; 719 726 return size; … … 793 800 com.google.protobuf.GeneratedMessageLite.Builder< 794 801 crosby.binary.Osmformat.HeaderBlock, Builder> 795 implements crosby.binary.Osmformat.HeaderBlockOrBuilder { 802 implements 803 // @@protoc_insertion_point(builder_implements:OSMPBF.HeaderBlock) 804 crosby.binary.Osmformat.HeaderBlockOrBuilder { 796 805 // Construct using crosby.binary.Osmformat.HeaderBlock.newBuilder() 797 806 private Builder() { … … 851 860 result.bbox_ = bbox_; 852 861 if (((bitField0_ & 0x00000002) == 0x00000002)) { 853 requiredFeatures_ = new com.google.protobuf.UnmodifiableLazyStringList( 854 requiredFeatures_); 862 requiredFeatures_ = requiredFeatures_.getUnmodifiableView(); 855 863 bitField0_ = (bitField0_ & ~0x00000002); 856 864 } 857 865 result.requiredFeatures_ = requiredFeatures_; 858 866 if (((bitField0_ & 0x00000004) == 0x00000004)) { 859 optionalFeatures_ = new com.google.protobuf.UnmodifiableLazyStringList( 860 optionalFeatures_); 867 optionalFeatures_ = optionalFeatures_.getUnmodifiableView(); 861 868 bitField0_ = (bitField0_ & ~0x00000004); 862 869 } … … 932 939 933 940 } 941 setUnknownFields( 942 getUnknownFields().concat(other.unknownFields)); 934 943 return this; 935 944 } … … 964 973 private int bitField0_; 965 974 966 // optional .OSMPBF.HeaderBBox bbox = 1;967 975 private crosby.binary.Osmformat.HeaderBBox bbox_ = crosby.binary.Osmformat.HeaderBBox.getDefaultInstance(); 968 976 /** … … 1025 1033 } 1026 1034 1027 // repeated string required_features = 4;1028 1035 private com.google.protobuf.LazyStringList requiredFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1029 1036 private void ensureRequiredFeaturesIsMutable() { … … 1040 1047 * </pre> 1041 1048 */ 1042 public java.util.List<java.lang.String>1049 public com.google.protobuf.ProtocolStringList 1043 1050 getRequiredFeaturesList() { 1044 return java.util.Collections.unmodifiableList(requiredFeatures_);1051 return requiredFeatures_.getUnmodifiableView(); 1045 1052 } 1046 1053 /** … … 1119 1126 java.lang.Iterable<java.lang.String> values) { 1120 1127 ensureRequiredFeaturesIsMutable(); 1121 super.addAll(values, requiredFeatures_); 1128 com.google.protobuf.AbstractMessageLite.Builder.addAll( 1129 values, requiredFeatures_); 1122 1130 1123 1131 return this; … … 1154 1162 } 1155 1163 1156 // repeated string optional_features = 5;1157 1164 private com.google.protobuf.LazyStringList optionalFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1158 1165 private void ensureOptionalFeaturesIsMutable() { … … 1165 1172 * <code>repeated string optional_features = 5;</code> 1166 1173 */ 1167 public java.util.List<java.lang.String>1174 public com.google.protobuf.ProtocolStringList 1168 1175 getOptionalFeaturesList() { 1169 return java.util.Collections.unmodifiableList(optionalFeatures_);1176 return optionalFeatures_.getUnmodifiableView(); 1170 1177 } 1171 1178 /** … … 1220 1227 java.lang.Iterable<java.lang.String> values) { 1221 1228 ensureOptionalFeaturesIsMutable(); 1222 super.addAll(values, optionalFeatures_); 1229 com.google.protobuf.AbstractMessageLite.Builder.addAll( 1230 values, optionalFeatures_); 1223 1231 1224 1232 return this; … … 1247 1255 } 1248 1256 1249 // optional string writingprogram = 16;1250 1257 private java.lang.Object writingprogram_ = ""; 1251 1258 /** … … 1261 1268 java.lang.Object ref = writingprogram_; 1262 1269 if (!(ref instanceof java.lang.String)) { 1263 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1264 .toStringUtf8(); 1265 writingprogram_ = s; 1270 com.google.protobuf.ByteString bs = 1271 (com.google.protobuf.ByteString) ref; 1272 java.lang.String s = bs.toStringUtf8(); 1273 if (bs.isValidUtf8()) { 1274 writingprogram_ = s; 1275 } 1266 1276 return s; 1267 1277 } else { … … 1321 1331 } 1322 1332 1323 // optional string source = 17;1324 1333 private java.lang.Object source_ = ""; 1325 1334 /** … … 1343 1352 java.lang.Object ref = source_; 1344 1353 if (!(ref instanceof java.lang.String)) { 1345 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1346 .toStringUtf8(); 1347 source_ = s; 1354 com.google.protobuf.ByteString bs = 1355 (com.google.protobuf.ByteString) ref; 1356 java.lang.String s = bs.toStringUtf8(); 1357 if (bs.isValidUtf8()) { 1358 source_ = s; 1359 } 1348 1360 return s; 1349 1361 } else { … … 1419 1431 } 1420 1432 1421 // optional int64 osmosis_replication_timestamp = 32;1422 1433 private long osmosisReplicationTimestamp_ ; 1423 1434 /** … … 1476 1487 } 1477 1488 1478 // optional int64 osmosis_replication_sequence_number = 33;1479 1489 private long osmosisReplicationSequenceNumber_ ; 1480 1490 /** … … 1525 1535 } 1526 1536 1527 // optional string osmosis_replication_base_url = 34;1528 1537 private java.lang.Object osmosisReplicationBaseUrl_ = ""; 1529 1538 /** … … 1547 1556 java.lang.Object ref = osmosisReplicationBaseUrl_; 1548 1557 if (!(ref instanceof java.lang.String)) { 1549 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1550 .toStringUtf8(); 1551 osmosisReplicationBaseUrl_ = s; 1558 com.google.protobuf.ByteString bs = 1559 (com.google.protobuf.ByteString) ref; 1560 java.lang.String s = bs.toStringUtf8(); 1561 if (bs.isValidUtf8()) { 1562 osmosisReplicationBaseUrl_ = s; 1563 } 1552 1564 return s; 1553 1565 } else { … … 1634 1646 } 1635 1647 1636 public interface HeaderBBoxOrBuilder 1637 extends com.google.protobuf.MessageLiteOrBuilder {1638 1639 // required sint64 left = 1; 1648 public interface HeaderBBoxOrBuilder extends 1649 // @@protoc_insertion_point(interface_extends:OSMPBF.HeaderBBox) 1650 com.google.protobuf.MessageLiteOrBuilder { 1651 1640 1652 /** 1641 1653 * <code>required sint64 left = 1;</code> … … 1647 1659 long getLeft(); 1648 1660 1649 // required sint64 right = 2;1650 1661 /** 1651 1662 * <code>required sint64 right = 2;</code> … … 1657 1668 long getRight(); 1658 1669 1659 // required sint64 top = 3;1660 1670 /** 1661 1671 * <code>required sint64 top = 3;</code> … … 1667 1677 long getTop(); 1668 1678 1669 // required sint64 bottom = 4;1670 1679 /** 1671 1680 * <code>required sint64 bottom = 4;</code> … … 1681 1690 */ 1682 1691 public static final class HeaderBBox extends 1683 com.google.protobuf.GeneratedMessageLite 1684 implements HeaderBBoxOrBuilder { 1692 com.google.protobuf.GeneratedMessageLite implements 1693 // @@protoc_insertion_point(message_implements:OSMPBF.HeaderBBox) 1694 HeaderBBoxOrBuilder { 1685 1695 // Use HeaderBBox.newBuilder() to construct. 1686 1696 private HeaderBBox(com.google.protobuf.GeneratedMessageLite.Builder builder) { 1687 1697 super(builder); 1688 1689 } 1690 private HeaderBBox(boolean noInit) {} 1698 this.unknownFields = builder.getUnknownFields(); 1699 } 1700 private HeaderBBox(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 1691 1701 1692 1702 private static final HeaderBBox defaultInstance; … … 1699 1709 } 1700 1710 1711 private final com.google.protobuf.ByteString unknownFields; 1701 1712 private HeaderBBox( 1702 1713 com.google.protobuf.CodedInputStream input, … … 1705 1716 initFields(); 1706 1717 int mutable_bitField0_ = 0; 1718 com.google.protobuf.ByteString.Output unknownFieldsOutput = 1719 com.google.protobuf.ByteString.newOutput(); 1720 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 1721 com.google.protobuf.CodedOutputStream.newInstance( 1722 unknownFieldsOutput); 1707 1723 try { 1708 1724 boolean done = false; … … 1714 1730 break; 1715 1731 default: { 1716 if (!parseUnknownField(input, 1732 if (!parseUnknownField(input, unknownFieldsCodedOutput, 1717 1733 extensionRegistry, tag)) { 1718 1734 done = true; … … 1748 1764 e.getMessage()).setUnfinishedMessage(this); 1749 1765 } finally { 1766 try { 1767 unknownFieldsCodedOutput.flush(); 1768 } catch (java.io.IOException e) { 1769 // Should not happen 1770 } finally { 1771 unknownFields = unknownFieldsOutput.toByteString(); 1772 } 1750 1773 makeExtensionsImmutable(); 1751 1774 } … … 1767 1790 1768 1791 private int bitField0_; 1769 // required sint64 left = 1;1770 1792 public static final int LEFT_FIELD_NUMBER = 1; 1771 1793 private long left_; … … 1783 1805 } 1784 1806 1785 // required sint64 right = 2;1786 1807 public static final int RIGHT_FIELD_NUMBER = 2; 1787 1808 private long right_; … … 1799 1820 } 1800 1821 1801 // required sint64 top = 3;1802 1822 public static final int TOP_FIELD_NUMBER = 3; 1803 1823 private long top_; … … 1815 1835 } 1816 1836 1817 // required sint64 bottom = 4;1818 1837 public static final int BOTTOM_FIELD_NUMBER = 4; 1819 1838 private long bottom_; … … 1840 1859 public final boolean isInitialized() { 1841 1860 byte isInitialized = memoizedIsInitialized; 1842 if (isInitialized != -1) return isInitialized == 1; 1861 if (isInitialized == 1) return true; 1862 if (isInitialized == 0) return false; 1843 1863 1844 1864 if (!hasLeft()) { … … 1877 1897 output.writeSInt64(4, bottom_); 1878 1898 } 1899 output.writeRawBytes(unknownFields); 1879 1900 } 1880 1901 … … 1901 1922 .computeSInt64Size(4, bottom_); 1902 1923 } 1924 size += unknownFields.size(); 1903 1925 memoizedSerializedSize = size; 1904 1926 return size; … … 1978 2000 com.google.protobuf.GeneratedMessageLite.Builder< 1979 2001 crosby.binary.Osmformat.HeaderBBox, Builder> 1980 implements crosby.binary.Osmformat.HeaderBBoxOrBuilder { 2002 implements 2003 // @@protoc_insertion_point(builder_implements:OSMPBF.HeaderBBox) 2004 crosby.binary.Osmformat.HeaderBBoxOrBuilder { 1981 2005 // Construct using crosby.binary.Osmformat.HeaderBBox.newBuilder() 1982 2006 private Builder() { … … 2057 2081 setBottom(other.getBottom()); 2058 2082 } 2083 setUnknownFields( 2084 getUnknownFields().concat(other.unknownFields)); 2059 2085 return this; 2060 2086 } … … 2099 2125 private int bitField0_; 2100 2126 2101 // required sint64 left = 1;2102 2127 private long left_ ; 2103 2128 /** … … 2132 2157 } 2133 2158 2134 // required sint64 right = 2;2135 2159 private long right_ ; 2136 2160 /** … … 2165 2189 } 2166 2190 2167 // required sint64 top = 3;2168 2191 private long top_ ; 2169 2192 /** … … 2198 2221 } 2199 2222 2200 // required sint64 bottom = 4;2201 2223 private long bottom_ ; 2202 2224 /** … … 2242 2264 } 2243 2265 2244 public interface PrimitiveBlockOrBuilder 2245 extends com.google.protobuf.MessageLiteOrBuilder {2246 2247 // required .OSMPBF.StringTable stringtable = 1; 2266 public interface PrimitiveBlockOrBuilder extends 2267 // @@protoc_insertion_point(interface_extends:OSMPBF.PrimitiveBlock) 2268 com.google.protobuf.MessageLiteOrBuilder { 2269 2248 2270 /** 2249 2271 * <code>required .OSMPBF.StringTable stringtable = 1;</code> … … 2255 2277 crosby.binary.Osmformat.StringTable getStringtable(); 2256 2278 2257 // repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;2258 2279 /** 2259 2280 * <code>repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;</code> … … 2270 2291 int getPrimitivegroupCount(); 2271 2292 2272 // optional int32 granularity = 17 [default = 100];2273 2293 /** 2274 2294 * <code>optional int32 granularity = 17 [default = 100];</code> … … 2288 2308 int getGranularity(); 2289 2309 2290 // optional int64 lat_offset = 19 [default = 0];2291 2310 /** 2292 2311 * <code>optional int64 lat_offset = 19 [default = 0];</code> … … 2306 2325 long getLatOffset(); 2307 2326 2308 // optional int64 lon_offset = 20 [default = 0];2309 2327 /** 2310 2328 * <code>optional int64 lon_offset = 20 [default = 0];</code> … … 2316 2334 long getLonOffset(); 2317 2335 2318 // optional int32 date_granularity = 18 [default = 1000];2319 2336 /** 2320 2337 * <code>optional int32 date_granularity = 18 [default = 1000];</code> … … 2338 2355 */ 2339 2356 public static final class PrimitiveBlock extends 2340 com.google.protobuf.GeneratedMessageLite 2341 implements PrimitiveBlockOrBuilder { 2357 com.google.protobuf.GeneratedMessageLite implements 2358 // @@protoc_insertion_point(message_implements:OSMPBF.PrimitiveBlock) 2359 PrimitiveBlockOrBuilder { 2342 2360 // Use PrimitiveBlock.newBuilder() to construct. 2343 2361 private PrimitiveBlock(com.google.protobuf.GeneratedMessageLite.Builder builder) { 2344 2362 super(builder); 2345 2346 } 2347 private PrimitiveBlock(boolean noInit) {} 2363 this.unknownFields = builder.getUnknownFields(); 2364 } 2365 private PrimitiveBlock(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 2348 2366 2349 2367 private static final PrimitiveBlock defaultInstance; … … 2356 2374 } 2357 2375 2376 private final com.google.protobuf.ByteString unknownFields; 2358 2377 private PrimitiveBlock( 2359 2378 com.google.protobuf.CodedInputStream input, … … 2362 2381 initFields(); 2363 2382 int mutable_bitField0_ = 0; 2383 com.google.protobuf.ByteString.Output unknownFieldsOutput = 2384 com.google.protobuf.ByteString.newOutput(); 2385 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 2386 com.google.protobuf.CodedOutputStream.newInstance( 2387 unknownFieldsOutput); 2364 2388 try { 2365 2389 boolean done = false; … … 2371 2395 break; 2372 2396 default: { 2373 if (!parseUnknownField(input, 2397 if (!parseUnknownField(input, unknownFieldsCodedOutput, 2374 2398 extensionRegistry, tag)) { 2375 2399 done = true; … … 2429 2453 primitivegroup_ = java.util.Collections.unmodifiableList(primitivegroup_); 2430 2454 } 2455 try { 2456 unknownFieldsCodedOutput.flush(); 2457 } catch (java.io.IOException e) { 2458 // Should not happen 2459 } finally { 2460 unknownFields = unknownFieldsOutput.toByteString(); 2461 } 2431 2462 makeExtensionsImmutable(); 2432 2463 } … … 2448 2479 2449 2480 private int bitField0_; 2450 // required .OSMPBF.StringTable stringtable = 1;2451 2481 public static final int STRINGTABLE_FIELD_NUMBER = 1; 2452 2482 private crosby.binary.Osmformat.StringTable stringtable_; … … 2464 2494 } 2465 2495 2466 // repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;2467 2496 public static final int PRIMITIVEGROUP_FIELD_NUMBER = 2; 2468 2497 private java.util.List<crosby.binary.Osmformat.PrimitiveGroup> primitivegroup_; … … 2500 2529 } 2501 2530 2502 // optional int32 granularity = 17 [default = 100];2503 2531 public static final int GRANULARITY_FIELD_NUMBER = 17; 2504 2532 private int granularity_; … … 2524 2552 } 2525 2553 2526 // optional int64 lat_offset = 19 [default = 0];2527 2554 public static final int LAT_OFFSET_FIELD_NUMBER = 19; 2528 2555 private long latOffset_; … … 2548 2575 } 2549 2576 2550 // optional int64 lon_offset = 20 [default = 0];2551 2577 public static final int LON_OFFSET_FIELD_NUMBER = 20; 2552 2578 private long lonOffset_; … … 2564 2590 } 2565 2591 2566 // optional int32 date_granularity = 18 [default = 1000];2567 2592 public static final int DATE_GRANULARITY_FIELD_NUMBER = 18; 2568 2593 private int dateGranularity_; … … 2599 2624 public final boolean isInitialized() { 2600 2625 byte isInitialized = memoizedIsInitialized; 2601 if (isInitialized != -1) return isInitialized == 1; 2626 if (isInitialized == 1) return true; 2627 if (isInitialized == 0) return false; 2602 2628 2603 2629 if (!hasStringtable()) { … … 2636 2662 output.writeInt64(20, lonOffset_); 2637 2663 } 2664 output.writeRawBytes(unknownFields); 2638 2665 } 2639 2666 … … 2668 2695 .computeInt64Size(20, lonOffset_); 2669 2696 } 2697 size += unknownFields.size(); 2670 2698 memoizedSerializedSize = size; 2671 2699 return size; … … 2745 2773 com.google.protobuf.GeneratedMessageLite.Builder< 2746 2774 crosby.binary.Osmformat.PrimitiveBlock, Builder> 2747 implements crosby.binary.Osmformat.PrimitiveBlockOrBuilder { 2775 implements 2776 // @@protoc_insertion_point(builder_implements:OSMPBF.PrimitiveBlock) 2777 crosby.binary.Osmformat.PrimitiveBlockOrBuilder { 2748 2778 // Construct using crosby.binary.Osmformat.PrimitiveBlock.newBuilder() 2749 2779 private Builder() { … … 2850 2880 setDateGranularity(other.getDateGranularity()); 2851 2881 } 2882 setUnknownFields( 2883 getUnknownFields().concat(other.unknownFields)); 2852 2884 return this; 2853 2885 } … … 2886 2918 private int bitField0_; 2887 2919 2888 // required .OSMPBF.StringTable stringtable = 1;2889 2920 private crosby.binary.Osmformat.StringTable stringtable_ = crosby.binary.Osmformat.StringTable.getDefaultInstance(); 2890 2921 /** … … 2947 2978 } 2948 2979 2949 // repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;2950 2980 private java.util.List<crosby.binary.Osmformat.PrimitiveGroup> primitivegroup_ = 2951 2981 java.util.Collections.emptyList(); … … 3049 3079 java.lang.Iterable<? extends crosby.binary.Osmformat.PrimitiveGroup> values) { 3050 3080 ensurePrimitivegroupIsMutable(); 3051 super.addAll(values, primitivegroup_); 3081 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3082 values, primitivegroup_); 3052 3083 3053 3084 return this; … … 3072 3103 } 3073 3104 3074 // optional int32 granularity = 17 [default = 100];3075 3105 private int granularity_ = 100; 3076 3106 /** … … 3121 3151 } 3122 3152 3123 // optional int64 lat_offset = 19 [default = 0];3124 3153 private long latOffset_ ; 3125 3154 /** … … 3170 3199 } 3171 3200 3172 // optional int64 lon_offset = 20 [default = 0];3173 3201 private long lonOffset_ ; 3174 3202 /** … … 3203 3231 } 3204 3232 3205 // optional int32 date_granularity = 18 [default = 1000];3206 3233 private int dateGranularity_ = 1000; 3207 3234 /** … … 3263 3290 } 3264 3291 3265 public interface PrimitiveGroupOrBuilder 3266 extends com.google.protobuf.MessageLiteOrBuilder {3267 3268 // repeated .OSMPBF.Node nodes = 1; 3292 public interface PrimitiveGroupOrBuilder extends 3293 // @@protoc_insertion_point(interface_extends:OSMPBF.PrimitiveGroup) 3294 com.google.protobuf.MessageLiteOrBuilder { 3295 3269 3296 /** 3270 3297 * <code>repeated .OSMPBF.Node nodes = 1;</code> … … 3281 3308 int getNodesCount(); 3282 3309 3283 // optional .OSMPBF.DenseNodes dense = 2;3284 3310 /** 3285 3311 * <code>optional .OSMPBF.DenseNodes dense = 2;</code> … … 3291 3317 crosby.binary.Osmformat.DenseNodes getDense(); 3292 3318 3293 // repeated .OSMPBF.Way ways = 3;3294 3319 /** 3295 3320 * <code>repeated .OSMPBF.Way ways = 3;</code> … … 3306 3331 int getWaysCount(); 3307 3332 3308 // repeated .OSMPBF.Relation relations = 4;3309 3333 /** 3310 3334 * <code>repeated .OSMPBF.Relation relations = 4;</code> … … 3321 3345 int getRelationsCount(); 3322 3346 3323 // repeated .OSMPBF.ChangeSet changesets = 5;3324 3347 /** 3325 3348 * <code>repeated .OSMPBF.ChangeSet changesets = 5;</code> … … 3344 3367 */ 3345 3368 public static final class PrimitiveGroup extends 3346 com.google.protobuf.GeneratedMessageLite 3347 implements PrimitiveGroupOrBuilder { 3369 com.google.protobuf.GeneratedMessageLite implements 3370 // @@protoc_insertion_point(message_implements:OSMPBF.PrimitiveGroup) 3371 PrimitiveGroupOrBuilder { 3348 3372 // Use PrimitiveGroup.newBuilder() to construct. 3349 3373 private PrimitiveGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { 3350 3374 super(builder); 3351 3352 } 3353 private PrimitiveGroup(boolean noInit) {} 3375 this.unknownFields = builder.getUnknownFields(); 3376 } 3377 private PrimitiveGroup(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 3354 3378 3355 3379 private static final PrimitiveGroup defaultInstance; … … 3362 3386 } 3363 3387 3388 private final com.google.protobuf.ByteString unknownFields; 3364 3389 private PrimitiveGroup( 3365 3390 com.google.protobuf.CodedInputStream input, … … 3368 3393 initFields(); 3369 3394 int mutable_bitField0_ = 0; 3395 com.google.protobuf.ByteString.Output unknownFieldsOutput = 3396 com.google.protobuf.ByteString.newOutput(); 3397 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 3398 com.google.protobuf.CodedOutputStream.newInstance( 3399 unknownFieldsOutput); 3370 3400 try { 3371 3401 boolean done = false; … … 3377 3407 break; 3378 3408 default: { 3379 if (!parseUnknownField(input, 3409 if (!parseUnknownField(input, unknownFieldsCodedOutput, 3380 3410 extensionRegistry, tag)) { 3381 3411 done = true; … … 3448 3478 changesets_ = java.util.Collections.unmodifiableList(changesets_); 3449 3479 } 3480 try { 3481 unknownFieldsCodedOutput.flush(); 3482 } catch (java.io.IOException e) { 3483 // Should not happen 3484 } finally { 3485 unknownFields = unknownFieldsOutput.toByteString(); 3486 } 3450 3487 makeExtensionsImmutable(); 3451 3488 } … … 3467 3504 3468 3505 private int bitField0_; 3469 // repeated .OSMPBF.Node nodes = 1;3470 3506 public static final int NODES_FIELD_NUMBER = 1; 3471 3507 private java.util.List<crosby.binary.Osmformat.Node> nodes_; … … 3503 3539 } 3504 3540 3505 // optional .OSMPBF.DenseNodes dense = 2;3506 3541 public static final int DENSE_FIELD_NUMBER = 2; 3507 3542 private crosby.binary.Osmformat.DenseNodes dense_; … … 3519 3554 } 3520 3555 3521 // repeated .OSMPBF.Way ways = 3;3522 3556 public static final int WAYS_FIELD_NUMBER = 3; 3523 3557 private java.util.List<crosby.binary.Osmformat.Way> ways_; … … 3555 3589 } 3556 3590 3557 // repeated .OSMPBF.Relation relations = 4;3558 3591 public static final int RELATIONS_FIELD_NUMBER = 4; 3559 3592 private java.util.List<crosby.binary.Osmformat.Relation> relations_; … … 3591 3624 } 3592 3625 3593 // repeated .OSMPBF.ChangeSet changesets = 5;3594 3626 public static final int CHANGESETS_FIELD_NUMBER = 5; 3595 3627 private java.util.List<crosby.binary.Osmformat.ChangeSet> changesets_; … … 3637 3669 public final boolean isInitialized() { 3638 3670 byte isInitialized = memoizedIsInitialized; 3639 if (isInitialized != -1) return isInitialized == 1; 3671 if (isInitialized == 1) return true; 3672 if (isInitialized == 0) return false; 3640 3673 3641 3674 for (int i = 0; i < getNodesCount(); i++) { … … 3685 3718 output.writeMessage(5, changesets_.get(i)); 3686 3719 } 3720 output.writeRawBytes(unknownFields); 3687 3721 } 3688 3722 … … 3713 3747 .computeMessageSize(5, changesets_.get(i)); 3714 3748 } 3749 size += unknownFields.size(); 3715 3750 memoizedSerializedSize = size; 3716 3751 return size; … … 3794 3829 com.google.protobuf.GeneratedMessageLite.Builder< 3795 3830 crosby.binary.Osmformat.PrimitiveGroup, Builder> 3796 implements crosby.binary.Osmformat.PrimitiveGroupOrBuilder { 3831 implements 3832 // @@protoc_insertion_point(builder_implements:OSMPBF.PrimitiveGroup) 3833 crosby.binary.Osmformat.PrimitiveGroupOrBuilder { 3797 3834 // Construct using crosby.binary.Osmformat.PrimitiveGroup.newBuilder() 3798 3835 private Builder() { … … 3914 3951 3915 3952 } 3953 setUnknownFields( 3954 getUnknownFields().concat(other.unknownFields)); 3916 3955 return this; 3917 3956 } … … 3964 4003 private int bitField0_; 3965 4004 3966 // repeated .OSMPBF.Node nodes = 1;3967 4005 private java.util.List<crosby.binary.Osmformat.Node> nodes_ = 3968 4006 java.util.Collections.emptyList(); … … 4066 4104 java.lang.Iterable<? extends crosby.binary.Osmformat.Node> values) { 4067 4105 ensureNodesIsMutable(); 4068 super.addAll(values, nodes_); 4106 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4107 values, nodes_); 4069 4108 4070 4109 return this; … … 4089 4128 } 4090 4129 4091 // optional .OSMPBF.DenseNodes dense = 2;4092 4130 private crosby.binary.Osmformat.DenseNodes dense_ = crosby.binary.Osmformat.DenseNodes.getDefaultInstance(); 4093 4131 /** … … 4150 4188 } 4151 4189 4152 // repeated .OSMPBF.Way ways = 3;4153 4190 private java.util.List<crosby.binary.Osmformat.Way> ways_ = 4154 4191 java.util.Collections.emptyList(); … … 4252 4289 java.lang.Iterable<? extends crosby.binary.Osmformat.Way> values) { 4253 4290 ensureWaysIsMutable(); 4254 super.addAll(values, ways_); 4291 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4292 values, ways_); 4255 4293 4256 4294 return this; … … 4275 4313 } 4276 4314 4277 // repeated .OSMPBF.Relation relations = 4;4278 4315 private java.util.List<crosby.binary.Osmformat.Relation> relations_ = 4279 4316 java.util.Collections.emptyList(); … … 4377 4414 java.lang.Iterable<? extends crosby.binary.Osmformat.Relation> values) { 4378 4415 ensureRelationsIsMutable(); 4379 super.addAll(values, relations_); 4416 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4417 values, relations_); 4380 4418 4381 4419 return this; … … 4400 4438 } 4401 4439 4402 // repeated .OSMPBF.ChangeSet changesets = 5;4403 4440 private java.util.List<crosby.binary.Osmformat.ChangeSet> changesets_ = 4404 4441 java.util.Collections.emptyList(); … … 4502 4539 java.lang.Iterable<? extends crosby.binary.Osmformat.ChangeSet> values) { 4503 4540 ensureChangesetsIsMutable(); 4504 super.addAll(values, changesets_); 4541 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4542 values, changesets_); 4505 4543 4506 4544 return this; … … 4536 4574 } 4537 4575 4538 public interface StringTableOrBuilder 4539 extends com.google.protobuf.MessageLiteOrBuilder {4540 4541 // repeated bytes s = 1; 4576 public interface StringTableOrBuilder extends 4577 // @@protoc_insertion_point(interface_extends:OSMPBF.StringTable) 4578 com.google.protobuf.MessageLiteOrBuilder { 4579 4542 4580 /** 4543 4581 * <code>repeated bytes s = 1;</code> … … 4558 4596 * <pre> 4559 4597 ** String table, contains the common strings in each block. 4560 *4561 4598 *Note that we reserve index '0' as a delimiter, so the entry at that 4562 4599 *index in the table is ALWAYS blank and unused. … … 4564 4601 */ 4565 4602 public static final class StringTable extends 4566 com.google.protobuf.GeneratedMessageLite 4567 implements StringTableOrBuilder { 4603 com.google.protobuf.GeneratedMessageLite implements 4604 // @@protoc_insertion_point(message_implements:OSMPBF.StringTable) 4605 StringTableOrBuilder { 4568 4606 // Use StringTable.newBuilder() to construct. 4569 4607 private StringTable(com.google.protobuf.GeneratedMessageLite.Builder builder) { 4570 4608 super(builder); 4571 4572 } 4573 private StringTable(boolean noInit) {} 4609 this.unknownFields = builder.getUnknownFields(); 4610 } 4611 private StringTable(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 4574 4612 4575 4613 private static final StringTable defaultInstance; … … 4582 4620 } 4583 4621 4622 private final com.google.protobuf.ByteString unknownFields; 4584 4623 private StringTable( 4585 4624 com.google.protobuf.CodedInputStream input, … … 4588 4627 initFields(); 4589 4628 int mutable_bitField0_ = 0; 4629 com.google.protobuf.ByteString.Output unknownFieldsOutput = 4630 com.google.protobuf.ByteString.newOutput(); 4631 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 4632 com.google.protobuf.CodedOutputStream.newInstance( 4633 unknownFieldsOutput); 4590 4634 try { 4591 4635 boolean done = false; … … 4597 4641 break; 4598 4642 default: { 4599 if (!parseUnknownField(input, 4643 if (!parseUnknownField(input, unknownFieldsCodedOutput, 4600 4644 extensionRegistry, tag)) { 4601 4645 done = true; … … 4622 4666 s_ = java.util.Collections.unmodifiableList(s_); 4623 4667 } 4668 try { 4669 unknownFieldsCodedOutput.flush(); 4670 } catch (java.io.IOException e) { 4671 // Should not happen 4672 } finally { 4673 unknownFields = unknownFieldsOutput.toByteString(); 4674 } 4624 4675 makeExtensionsImmutable(); 4625 4676 } … … 4640 4691 } 4641 4692 4642 // repeated bytes s = 1;4643 4693 public static final int S_FIELD_NUMBER = 1; 4644 4694 private java.util.List<com.google.protobuf.ByteString> s_; … … 4669 4719 public final boolean isInitialized() { 4670 4720 byte isInitialized = memoizedIsInitialized; 4671 if (isInitialized != -1) return isInitialized == 1; 4721 if (isInitialized == 1) return true; 4722 if (isInitialized == 0) return false; 4672 4723 4673 4724 memoizedIsInitialized = 1; … … 4681 4732 output.writeBytes(1, s_.get(i)); 4682 4733 } 4734 output.writeRawBytes(unknownFields); 4683 4735 } 4684 4736 … … 4698 4750 size += 1 * getSList().size(); 4699 4751 } 4752 size += unknownFields.size(); 4700 4753 memoizedSerializedSize = size; 4701 4754 return size; … … 4774 4827 * <pre> 4775 4828 ** String table, contains the common strings in each block. 4776 *4777 4829 *Note that we reserve index '0' as a delimiter, so the entry at that 4778 4830 *index in the table is ALWAYS blank and unused. … … 4782 4834 com.google.protobuf.GeneratedMessageLite.Builder< 4783 4835 crosby.binary.Osmformat.StringTable, Builder> 4784 implements crosby.binary.Osmformat.StringTableOrBuilder { 4836 implements 4837 // @@protoc_insertion_point(builder_implements:OSMPBF.StringTable) 4838 crosby.binary.Osmformat.StringTableOrBuilder { 4785 4839 // Construct using crosby.binary.Osmformat.StringTable.newBuilder() 4786 4840 private Builder() { … … 4840 4894 4841 4895 } 4896 setUnknownFields( 4897 getUnknownFields().concat(other.unknownFields)); 4842 4898 return this; 4843 4899 } … … 4866 4922 private int bitField0_; 4867 4923 4868 // repeated bytes s = 1;4869 4924 private java.util.List<com.google.protobuf.ByteString> s_ = java.util.Collections.emptyList(); 4870 4925 private void ensureSIsMutable() { … … 4924 4979 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 4925 4980 ensureSIsMutable(); 4926 super.addAll(values, s_); 4981 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4982 values, s_); 4927 4983 4928 4984 return this; … … 4949 5005 } 4950 5006 4951 public interface InfoOrBuilder 4952 extends com.google.protobuf.MessageLiteOrBuilder {4953 4954 // optional int32 version = 1 [default = -1]; 5007 public interface InfoOrBuilder extends 5008 // @@protoc_insertion_point(interface_extends:OSMPBF.Info) 5009 com.google.protobuf.MessageLiteOrBuilder { 5010 4955 5011 /** 4956 5012 * <code>optional int32 version = 1 [default = -1];</code> … … 4962 5018 int getVersion(); 4963 5019 4964 // optional int64 timestamp = 2;4965 5020 /** 4966 5021 * <code>optional int64 timestamp = 2;</code> … … 4972 5027 long getTimestamp(); 4973 5028 4974 // optional int64 changeset = 3;4975 5029 /** 4976 5030 * <code>optional int64 changeset = 3;</code> … … 4982 5036 long getChangeset(); 4983 5037 4984 // optional int32 uid = 4;4985 5038 /** 4986 5039 * <code>optional int32 uid = 4;</code> … … 4992 5045 int getUid(); 4993 5046 4994 // optional uint32 user_sid = 5;4995 5047 /** 4996 5048 * <code>optional uint32 user_sid = 5;</code> … … 5010 5062 int getUserSid(); 5011 5063 5012 // optional bool visible = 6;5013 5064 /** 5014 5065 * <code>optional bool visible = 6;</code> … … 5050 5101 */ 5051 5102 public static final class Info extends 5052 com.google.protobuf.GeneratedMessageLite 5053 implements InfoOrBuilder { 5103 com.google.protobuf.GeneratedMessageLite implements 5104 // @@protoc_insertion_point(message_implements:OSMPBF.Info) 5105 InfoOrBuilder { 5054 5106 // Use Info.newBuilder() to construct. 5055 5107 private Info(com.google.protobuf.GeneratedMessageLite.Builder builder) { 5056 5108 super(builder); 5057 5058 } 5059 private Info(boolean noInit) {} 5109 this.unknownFields = builder.getUnknownFields(); 5110 } 5111 private Info(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 5060 5112 5061 5113 private static final Info defaultInstance; … … 5068 5120 } 5069 5121 5122 private final com.google.protobuf.ByteString unknownFields; 5070 5123 private Info( 5071 5124 com.google.protobuf.CodedInputStream input, … … 5074 5127 initFields(); 5075 5128 int mutable_bitField0_ = 0; 5129 com.google.protobuf.ByteString.Output unknownFieldsOutput = 5130 com.google.protobuf.ByteString.newOutput(); 5131 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 5132 com.google.protobuf.CodedOutputStream.newInstance( 5133 unknownFieldsOutput); 5076 5134 try { 5077 5135 boolean done = false; … … 5083 5141 break; 5084 5142 default: { 5085 if (!parseUnknownField(input, 5143 if (!parseUnknownField(input, unknownFieldsCodedOutput, 5086 5144 extensionRegistry, tag)) { 5087 5145 done = true; … … 5127 5185 e.getMessage()).setUnfinishedMessage(this); 5128 5186 } finally { 5187 try { 5188 unknownFieldsCodedOutput.flush(); 5189 } catch (java.io.IOException e) { 5190 // Should not happen 5191 } finally { 5192 unknownFields = unknownFieldsOutput.toByteString(); 5193 } 5129 5194 makeExtensionsImmutable(); 5130 5195 } … … 5146 5211 5147 5212 private int bitField0_; 5148 // optional int32 version = 1 [default = -1];5149 5213 public static final int VERSION_FIELD_NUMBER = 1; 5150 5214 private int version_; … … 5162 5226 } 5163 5227 5164 // optional int64 timestamp = 2;5165 5228 public static final int TIMESTAMP_FIELD_NUMBER = 2; 5166 5229 private long timestamp_; … … 5178 5241 } 5179 5242 5180 // optional int64 changeset = 3;5181 5243 public static final int CHANGESET_FIELD_NUMBER = 3; 5182 5244 private long changeset_; … … 5194 5256 } 5195 5257 5196 // optional int32 uid = 4;5197 5258 public static final int UID_FIELD_NUMBER = 4; 5198 5259 private int uid_; … … 5210 5271 } 5211 5272 5212 // optional uint32 user_sid = 5;5213 5273 public static final int USER_SID_FIELD_NUMBER = 5; 5214 5274 private int userSid_; … … 5234 5294 } 5235 5295 5236 // optional bool visible = 6;5237 5296 public static final int VISIBLE_FIELD_NUMBER = 6; 5238 5297 private boolean visible_; … … 5283 5342 public final boolean isInitialized() { 5284 5343 byte isInitialized = memoizedIsInitialized; 5285 if (isInitialized != -1) return isInitialized == 1; 5344 if (isInitialized == 1) return true; 5345 if (isInitialized == 0) return false; 5286 5346 5287 5347 memoizedIsInitialized = 1; … … 5310 5370 output.writeBool(6, visible_); 5311 5371 } 5372 output.writeRawBytes(unknownFields); 5312 5373 } 5313 5374 … … 5342 5403 .computeBoolSize(6, visible_); 5343 5404 } 5405 size += unknownFields.size(); 5344 5406 memoizedSerializedSize = size; 5345 5407 return size; … … 5423 5485 com.google.protobuf.GeneratedMessageLite.Builder< 5424 5486 crosby.binary.Osmformat.Info, Builder> 5425 implements crosby.binary.Osmformat.InfoOrBuilder { 5487 implements 5488 // @@protoc_insertion_point(builder_implements:OSMPBF.Info) 5489 crosby.binary.Osmformat.InfoOrBuilder { 5426 5490 // Construct using crosby.binary.Osmformat.Info.newBuilder() 5427 5491 private Builder() { … … 5520 5584 setVisible(other.getVisible()); 5521 5585 } 5586 setUnknownFields( 5587 getUnknownFields().concat(other.unknownFields)); 5522 5588 return this; 5523 5589 } … … 5546 5612 private int bitField0_; 5547 5613 5548 // optional int32 version = 1 [default = -1];5549 5614 private int version_ = -1; 5550 5615 /** … … 5579 5644 } 5580 5645 5581 // optional int64 timestamp = 2;5582 5646 private long timestamp_ ; 5583 5647 /** … … 5612 5676 } 5613 5677 5614 // optional int64 changeset = 3;5615 5678 private long changeset_ ; 5616 5679 /** … … 5645 5708 } 5646 5709 5647 // optional int32 uid = 4;5648 5710 private int uid_ ; 5649 5711 /** … … 5678 5740 } 5679 5741 5680 // optional uint32 user_sid = 5;5681 5742 private int userSid_ ; 5682 5743 /** … … 5727 5788 } 5728 5789 5729 // optional bool visible = 6;5730 5790 private boolean visible_ ; 5731 5791 /** … … 5815 5875 } 5816 5876 5817 public interface DenseInfoOrBuilder 5818 extends com.google.protobuf.MessageLiteOrBuilder {5819 5820 // repeated int32 version = 1 [packed = true]; 5877 public interface DenseInfoOrBuilder extends 5878 // @@protoc_insertion_point(interface_extends:OSMPBF.DenseInfo) 5879 com.google.protobuf.MessageLiteOrBuilder { 5880 5821 5881 /** 5822 5882 * <code>repeated int32 version = 1 [packed = true];</code> … … 5832 5892 int getVersion(int index); 5833 5893 5834 // repeated sint64 timestamp = 2 [packed = true];5835 5894 /** 5836 5895 * <code>repeated sint64 timestamp = 2 [packed = true];</code> … … 5858 5917 long getTimestamp(int index); 5859 5918 5860 // repeated sint64 changeset = 3 [packed = true];5861 5919 /** 5862 5920 * <code>repeated sint64 changeset = 3 [packed = true];</code> … … 5884 5942 long getChangeset(int index); 5885 5943 5886 // repeated sint32 uid = 4 [packed = true];5887 5944 /** 5888 5945 * <code>repeated sint32 uid = 4 [packed = true];</code> … … 5910 5967 int getUid(int index); 5911 5968 5912 // repeated sint32 user_sid = 5 [packed = true];5913 5969 /** 5914 5970 * <code>repeated sint32 user_sid = 5 [packed = true];</code> … … 5936 5992 int getUserSid(int index); 5937 5993 5938 // repeated bool visible = 6 [packed = true];5939 5994 /** 5940 5995 * <code>repeated bool visible = 6 [packed = true];</code> … … 5991 6046 */ 5992 6047 public static final class DenseInfo extends 5993 com.google.protobuf.GeneratedMessageLite 5994 implements DenseInfoOrBuilder { 6048 com.google.protobuf.GeneratedMessageLite implements 6049 // @@protoc_insertion_point(message_implements:OSMPBF.DenseInfo) 6050 DenseInfoOrBuilder { 5995 6051 // Use DenseInfo.newBuilder() to construct. 5996 6052 private DenseInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { 5997 6053 super(builder); 5998 5999 } 6000 private DenseInfo(boolean noInit) {} 6054 this.unknownFields = builder.getUnknownFields(); 6055 } 6056 private DenseInfo(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 6001 6057 6002 6058 private static final DenseInfo defaultInstance; … … 6009 6065 } 6010 6066 6067 private final com.google.protobuf.ByteString unknownFields; 6011 6068 private DenseInfo( 6012 6069 com.google.protobuf.CodedInputStream input, … … 6015 6072 initFields(); 6016 6073 int mutable_bitField0_ = 0; 6074 com.google.protobuf.ByteString.Output unknownFieldsOutput = 6075 com.google.protobuf.ByteString.newOutput(); 6076 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 6077 com.google.protobuf.CodedOutputStream.newInstance( 6078 unknownFieldsOutput); 6017 6079 try { 6018 6080 boolean done = false; … … 6024 6086 break; 6025 6087 default: { 6026 if (!parseUnknownField(input, 6088 if (!parseUnknownField(input, unknownFieldsCodedOutput, 6027 6089 extensionRegistry, tag)) { 6028 6090 done = true; … … 6182 6244 visible_ = java.util.Collections.unmodifiableList(visible_); 6183 6245 } 6246 try { 6247 unknownFieldsCodedOutput.flush(); 6248 } catch (java.io.IOException e) { 6249 // Should not happen 6250 } finally { 6251 unknownFields = unknownFieldsOutput.toByteString(); 6252 } 6184 6253 makeExtensionsImmutable(); 6185 6254 } … … 6200 6269 } 6201 6270 6202 // repeated int32 version = 1 [packed = true];6203 6271 public static final int VERSION_FIELD_NUMBER = 1; 6204 6272 private java.util.List<java.lang.Integer> version_; … … 6224 6292 private int versionMemoizedSerializedSize = -1; 6225 6293 6226 // repeated sint64 timestamp = 2 [packed = true];6227 6294 public static final int TIMESTAMP_FIELD_NUMBER = 2; 6228 6295 private java.util.List<java.lang.Long> timestamp_; … … 6260 6327 private int timestampMemoizedSerializedSize = -1; 6261 6328 6262 // repeated sint64 changeset = 3 [packed = true];6263 6329 public static final int CHANGESET_FIELD_NUMBER = 3; 6264 6330 private java.util.List<java.lang.Long> changeset_; … … 6296 6362 private int changesetMemoizedSerializedSize = -1; 6297 6363 6298 // repeated sint32 uid = 4 [packed = true];6299 6364 public static final int UID_FIELD_NUMBER = 4; 6300 6365 private java.util.List<java.lang.Integer> uid_; … … 6332 6397 private int uidMemoizedSerializedSize = -1; 6333 6398 6334 // repeated sint32 user_sid = 5 [packed = true];6335 6399 public static final int USER_SID_FIELD_NUMBER = 5; 6336 6400 private java.util.List<java.lang.Integer> userSid_; … … 6368 6432 private int userSidMemoizedSerializedSize = -1; 6369 6433 6370 // repeated bool visible = 6 [packed = true];6371 6434 public static final int VISIBLE_FIELD_NUMBER = 6; 6372 6435 private java.util.List<java.lang.Boolean> visible_; … … 6436 6499 public final boolean isInitialized() { 6437 6500 byte isInitialized = memoizedIsInitialized; 6438 if (isInitialized != -1) return isInitialized == 1; 6501 if (isInitialized == 1) return true; 6502 if (isInitialized == 0) return false; 6439 6503 6440 6504 memoizedIsInitialized = 1; … … 6487 6551 output.writeBoolNoTag(visible_.get(i)); 6488 6552 } 6553 output.writeRawBytes(unknownFields); 6489 6554 } 6490 6555 … … 6576 6641 visibleMemoizedSerializedSize = dataSize; 6577 6642 } 6643 size += unknownFields.size(); 6578 6644 memoizedSerializedSize = size; 6579 6645 return size; … … 6657 6723 com.google.protobuf.GeneratedMessageLite.Builder< 6658 6724 crosby.binary.Osmformat.DenseInfo, Builder> 6659 implements crosby.binary.Osmformat.DenseInfoOrBuilder { 6725 implements 6726 // @@protoc_insertion_point(builder_implements:OSMPBF.DenseInfo) 6727 crosby.binary.Osmformat.DenseInfoOrBuilder { 6660 6728 // Construct using crosby.binary.Osmformat.DenseInfo.newBuilder() 6661 6729 private Builder() { … … 6800 6868 6801 6869 } 6870 setUnknownFields( 6871 getUnknownFields().concat(other.unknownFields)); 6802 6872 return this; 6803 6873 } … … 6826 6896 private int bitField0_; 6827 6897 6828 // repeated int32 version = 1 [packed = true];6829 6898 private java.util.List<java.lang.Integer> version_ = java.util.Collections.emptyList(); 6830 6899 private void ensureVersionIsMutable() { … … 6878 6947 java.lang.Iterable<? extends java.lang.Integer> values) { 6879 6948 ensureVersionIsMutable(); 6880 super.addAll(values, version_); 6949 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6950 values, version_); 6881 6951 6882 6952 return this; … … 6892 6962 } 6893 6963 6894 // repeated sint64 timestamp = 2 [packed = true];6895 6964 private java.util.List<java.lang.Long> timestamp_ = java.util.Collections.emptyList(); 6896 6965 private void ensureTimestampIsMutable() { … … 6968 7037 java.lang.Iterable<? extends java.lang.Long> values) { 6969 7038 ensureTimestampIsMutable(); 6970 super.addAll(values, timestamp_); 7039 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7040 values, timestamp_); 6971 7041 6972 7042 return this; … … 6986 7056 } 6987 7057 6988 // repeated sint64 changeset = 3 [packed = true];6989 7058 private java.util.List<java.lang.Long> changeset_ = java.util.Collections.emptyList(); 6990 7059 private void ensureChangesetIsMutable() { … … 7062 7131 java.lang.Iterable<? extends java.lang.Long> values) { 7063 7132 ensureChangesetIsMutable(); 7064 super.addAll(values, changeset_); 7133 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7134 values, changeset_); 7065 7135 7066 7136 return this; … … 7080 7150 } 7081 7151 7082 // repeated sint32 uid = 4 [packed = true];7083 7152 private java.util.List<java.lang.Integer> uid_ = java.util.Collections.emptyList(); 7084 7153 private void ensureUidIsMutable() { … … 7156 7225 java.lang.Iterable<? extends java.lang.Integer> values) { 7157 7226 ensureUidIsMutable(); 7158 super.addAll(values, uid_); 7227 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7228 values, uid_); 7159 7229 7160 7230 return this; … … 7174 7244 } 7175 7245 7176 // repeated sint32 user_sid = 5 [packed = true];7177 7246 private java.util.List<java.lang.Integer> userSid_ = java.util.Collections.emptyList(); 7178 7247 private void ensureUserSidIsMutable() { … … 7250 7319 java.lang.Iterable<? extends java.lang.Integer> values) { 7251 7320 ensureUserSidIsMutable(); 7252 super.addAll(values, userSid_); 7321 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7322 values, userSid_); 7253 7323 7254 7324 return this; … … 7268 7338 } 7269 7339 7270 // repeated bool visible = 6 [packed = true];7271 7340 private java.util.List<java.lang.Boolean> visible_ = java.util.Collections.emptyList(); 7272 7341 private void ensureVisibleIsMutable() { … … 7386 7455 java.lang.Iterable<? extends java.lang.Boolean> values) { 7387 7456 ensureVisibleIsMutable(); 7388 super.addAll(values, visible_); 7457 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7458 values, visible_); 7389 7459 7390 7460 return this; … … 7422 7492 } 7423 7493 7424 public interface ChangeSetOrBuilder 7425 extends com.google.protobuf.MessageLiteOrBuilder {7426 7427 // required int64 id = 1; 7494 public interface ChangeSetOrBuilder extends 7495 // @@protoc_insertion_point(interface_extends:OSMPBF.ChangeSet) 7496 com.google.protobuf.MessageLiteOrBuilder { 7497 7428 7498 /** 7429 7499 * <code>required int64 id = 1;</code> … … 7434 7504 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7435 7505 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7436 *7437 7506 * optional Info info = 4; 7438 7507 * </pre> … … 7447 7516 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7448 7517 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7449 *7450 7518 * optional Info info = 4; 7451 7519 * </pre> … … 7462 7530 */ 7463 7531 public static final class ChangeSet extends 7464 com.google.protobuf.GeneratedMessageLite 7465 implements ChangeSetOrBuilder { 7532 com.google.protobuf.GeneratedMessageLite implements 7533 // @@protoc_insertion_point(message_implements:OSMPBF.ChangeSet) 7534 ChangeSetOrBuilder { 7466 7535 // Use ChangeSet.newBuilder() to construct. 7467 7536 private ChangeSet(com.google.protobuf.GeneratedMessageLite.Builder builder) { 7468 7537 super(builder); 7469 7470 } 7471 private ChangeSet(boolean noInit) {} 7538 this.unknownFields = builder.getUnknownFields(); 7539 } 7540 private ChangeSet(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 7472 7541 7473 7542 private static final ChangeSet defaultInstance; … … 7480 7549 } 7481 7550 7551 private final com.google.protobuf.ByteString unknownFields; 7482 7552 private ChangeSet( 7483 7553 com.google.protobuf.CodedInputStream input, … … 7486 7556 initFields(); 7487 7557 int mutable_bitField0_ = 0; 7558 com.google.protobuf.ByteString.Output unknownFieldsOutput = 7559 com.google.protobuf.ByteString.newOutput(); 7560 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 7561 com.google.protobuf.CodedOutputStream.newInstance( 7562 unknownFieldsOutput); 7488 7563 try { 7489 7564 boolean done = false; … … 7495 7570 break; 7496 7571 default: { 7497 if (!parseUnknownField(input, 7572 if (!parseUnknownField(input, unknownFieldsCodedOutput, 7498 7573 extensionRegistry, tag)) { 7499 7574 done = true; … … 7514 7589 e.getMessage()).setUnfinishedMessage(this); 7515 7590 } finally { 7591 try { 7592 unknownFieldsCodedOutput.flush(); 7593 } catch (java.io.IOException e) { 7594 // Should not happen 7595 } finally { 7596 unknownFields = unknownFieldsOutput.toByteString(); 7597 } 7516 7598 makeExtensionsImmutable(); 7517 7599 } … … 7533 7615 7534 7616 private int bitField0_; 7535 // required int64 id = 1;7536 7617 public static final int ID_FIELD_NUMBER = 1; 7537 7618 private long id_; … … 7544 7625 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7545 7626 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7546 *7547 7627 * optional Info info = 4; 7548 7628 * </pre> … … 7559 7639 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7560 7640 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7561 *7562 7641 * optional Info info = 4; 7563 7642 * </pre> … … 7573 7652 public final boolean isInitialized() { 7574 7653 byte isInitialized = memoizedIsInitialized; 7575 if (isInitialized != -1) return isInitialized == 1; 7654 if (isInitialized == 1) return true; 7655 if (isInitialized == 0) return false; 7576 7656 7577 7657 if (!hasId()) { … … 7589 7669 output.writeInt64(1, id_); 7590 7670 } 7671 output.writeRawBytes(unknownFields); 7591 7672 } 7592 7673 … … 7601 7682 .computeInt64Size(1, id_); 7602 7683 } 7684 size += unknownFields.size(); 7603 7685 memoizedSerializedSize = size; 7604 7686 return size; … … 7683 7765 com.google.protobuf.GeneratedMessageLite.Builder< 7684 7766 crosby.binary.Osmformat.ChangeSet, Builder> 7685 implements crosby.binary.Osmformat.ChangeSetOrBuilder { 7767 implements 7768 // @@protoc_insertion_point(builder_implements:OSMPBF.ChangeSet) 7769 crosby.binary.Osmformat.ChangeSetOrBuilder { 7686 7770 // Construct using crosby.binary.Osmformat.ChangeSet.newBuilder() 7687 7771 private Builder() { … … 7735 7819 setId(other.getId()); 7736 7820 } 7821 setUnknownFields( 7822 getUnknownFields().concat(other.unknownFields)); 7737 7823 return this; 7738 7824 } … … 7765 7851 private int bitField0_; 7766 7852 7767 // required int64 id = 1;7768 7853 private long id_ ; 7769 7854 /** … … 7775 7860 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7776 7861 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7777 *7778 7862 * optional Info info = 4; 7779 7863 * </pre> … … 7790 7874 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7791 7875 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7792 *7793 7876 * optional Info info = 4; 7794 7877 * </pre> … … 7805 7888 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7806 7889 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7807 *7808 7890 * optional Info info = 4; 7809 7891 * </pre> … … 7823 7905 * repeated uint32 keys = 2 [packed = true]; // String IDs. 7824 7906 * repeated uint32 vals = 3 [packed = true]; // String IDs. 7825 *7826 7907 * optional Info info = 4; 7827 7908 * </pre> … … 7845 7926 } 7846 7927 7847 public interface NodeOrBuilder 7848 extends com.google.protobuf.MessageLiteOrBuilder {7849 7850 // required sint64 id = 1; 7928 public interface NodeOrBuilder extends 7929 // @@protoc_insertion_point(interface_extends:OSMPBF.Node) 7930 com.google.protobuf.MessageLiteOrBuilder { 7931 7851 7932 /** 7852 7933 * <code>required sint64 id = 1;</code> … … 7858 7939 long getId(); 7859 7940 7860 // repeated uint32 keys = 2 [packed = true];7861 7941 /** 7862 7942 * <code>repeated uint32 keys = 2 [packed = true];</code> … … 7884 7964 int getKeys(int index); 7885 7965 7886 // repeated uint32 vals = 3 [packed = true];7887 7966 /** 7888 7967 * <code>repeated uint32 vals = 3 [packed = true];</code> … … 7910 7989 int getVals(int index); 7911 7990 7912 // optional .OSMPBF.Info info = 4;7913 7991 /** 7914 7992 * <code>optional .OSMPBF.Info info = 4;</code> … … 7928 8006 crosby.binary.Osmformat.Info getInfo(); 7929 8007 7930 // required sint64 lat = 8;7931 8008 /** 7932 8009 * <code>required sint64 lat = 8;</code> … … 7938 8015 long getLat(); 7939 8016 7940 // required sint64 lon = 9;7941 8017 /** 7942 8018 * <code>required sint64 lon = 9;</code> … … 7952 8028 */ 7953 8029 public static final class Node extends 7954 com.google.protobuf.GeneratedMessageLite 7955 implements NodeOrBuilder { 8030 com.google.protobuf.GeneratedMessageLite implements 8031 // @@protoc_insertion_point(message_implements:OSMPBF.Node) 8032 NodeOrBuilder { 7956 8033 // Use Node.newBuilder() to construct. 7957 8034 private Node(com.google.protobuf.GeneratedMessageLite.Builder builder) { 7958 8035 super(builder); 7959 7960 } 7961 private Node(boolean noInit) {} 8036 this.unknownFields = builder.getUnknownFields(); 8037 } 8038 private Node(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 7962 8039 7963 8040 private static final Node defaultInstance; … … 7970 8047 } 7971 8048 8049 private final com.google.protobuf.ByteString unknownFields; 7972 8050 private Node( 7973 8051 com.google.protobuf.CodedInputStream input, … … 7976 8054 initFields(); 7977 8055 int mutable_bitField0_ = 0; 8056 com.google.protobuf.ByteString.Output unknownFieldsOutput = 8057 com.google.protobuf.ByteString.newOutput(); 8058 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 8059 com.google.protobuf.CodedOutputStream.newInstance( 8060 unknownFieldsOutput); 7978 8061 try { 7979 8062 boolean done = false; … … 7985 8068 break; 7986 8069 default: { 7987 if (!parseUnknownField(input, 8070 if (!parseUnknownField(input, unknownFieldsCodedOutput, 7988 8071 extensionRegistry, tag)) { 7989 8072 done = true; … … 8075 8158 vals_ = java.util.Collections.unmodifiableList(vals_); 8076 8159 } 8160 try { 8161 unknownFieldsCodedOutput.flush(); 8162 } catch (java.io.IOException e) { 8163 // Should not happen 8164 } finally { 8165 unknownFields = unknownFieldsOutput.toByteString(); 8166 } 8077 8167 makeExtensionsImmutable(); 8078 8168 } … … 8094 8184 8095 8185 private int bitField0_; 8096 // required sint64 id = 1;8097 8186 public static final int ID_FIELD_NUMBER = 1; 8098 8187 private long id_; … … 8110 8199 } 8111 8200 8112 // repeated uint32 keys = 2 [packed = true];8113 8201 public static final int KEYS_FIELD_NUMBER = 2; 8114 8202 private java.util.List<java.lang.Integer> keys_; … … 8146 8234 private int keysMemoizedSerializedSize = -1; 8147 8235 8148 // repeated uint32 vals = 3 [packed = true];8149 8236 public static final int VALS_FIELD_NUMBER = 3; 8150 8237 private java.util.List<java.lang.Integer> vals_; … … 8182 8269 private int valsMemoizedSerializedSize = -1; 8183 8270 8184 // optional .OSMPBF.Info info = 4;8185 8271 public static final int INFO_FIELD_NUMBER = 4; 8186 8272 private crosby.binary.Osmformat.Info info_; … … 8206 8292 } 8207 8293 8208 // required sint64 lat = 8;8209 8294 public static final int LAT_FIELD_NUMBER = 8; 8210 8295 private long lat_; … … 8222 8307 } 8223 8308 8224 // required sint64 lon = 9;8225 8309 public static final int LON_FIELD_NUMBER = 9; 8226 8310 private long lon_; … … 8249 8333 public final boolean isInitialized() { 8250 8334 byte isInitialized = memoizedIsInitialized; 8251 if (isInitialized != -1) return isInitialized == 1; 8335 if (isInitialized == 1) return true; 8336 if (isInitialized == 0) return false; 8252 8337 8253 8338 if (!hasId()) { … … 8296 8381 output.writeSInt64(9, lon_); 8297 8382 } 8383 output.writeRawBytes(unknownFields); 8298 8384 } 8299 8385 … … 8348 8434 .computeSInt64Size(9, lon_); 8349 8435 } 8436 size += unknownFields.size(); 8350 8437 memoizedSerializedSize = size; 8351 8438 return size; … … 8425 8512 com.google.protobuf.GeneratedMessageLite.Builder< 8426 8513 crosby.binary.Osmformat.Node, Builder> 8427 implements crosby.binary.Osmformat.NodeOrBuilder { 8514 implements 8515 // @@protoc_insertion_point(builder_implements:OSMPBF.Node) 8516 crosby.binary.Osmformat.NodeOrBuilder { 8428 8517 // Construct using crosby.binary.Osmformat.Node.newBuilder() 8429 8518 private Builder() { … … 8538 8627 setLon(other.getLon()); 8539 8628 } 8629 setUnknownFields( 8630 getUnknownFields().concat(other.unknownFields)); 8540 8631 return this; 8541 8632 } … … 8576 8667 private int bitField0_; 8577 8668 8578 // required sint64 id = 1;8579 8669 private long id_ ; 8580 8670 /** … … 8609 8699 } 8610 8700 8611 // repeated uint32 keys = 2 [packed = true];8612 8701 private java.util.List<java.lang.Integer> keys_ = java.util.Collections.emptyList(); 8613 8702 private void ensureKeysIsMutable() { … … 8685 8774 java.lang.Iterable<? extends java.lang.Integer> values) { 8686 8775 ensureKeysIsMutable(); 8687 super.addAll(values, keys_); 8776 com.google.protobuf.AbstractMessageLite.Builder.addAll( 8777 values, keys_); 8688 8778 8689 8779 return this; … … 8703 8793 } 8704 8794 8705 // repeated uint32 vals = 3 [packed = true];8706 8795 private java.util.List<java.lang.Integer> vals_ = java.util.Collections.emptyList(); 8707 8796 private void ensureValsIsMutable() { … … 8779 8868 java.lang.Iterable<? extends java.lang.Integer> values) { 8780 8869 ensureValsIsMutable(); 8781 super.addAll(values, vals_); 8870 com.google.protobuf.AbstractMessageLite.Builder.addAll( 8871 values, vals_); 8782 8872 8783 8873 return this; … … 8797 8887 } 8798 8888 8799 // optional .OSMPBF.Info info = 4;8800 8889 private crosby.binary.Osmformat.Info info_ = crosby.binary.Osmformat.Info.getDefaultInstance(); 8801 8890 /** … … 8882 8971 } 8883 8972 8884 // required sint64 lat = 8;8885 8973 private long lat_ ; 8886 8974 /** … … 8915 9003 } 8916 9004 8917 // required sint64 lon = 9;8918 9005 private long lon_ ; 8919 9006 /** … … 8959 9046 } 8960 9047 8961 public interface DenseNodesOrBuilder 8962 extends com.google.protobuf.MessageLiteOrBuilder {8963 8964 // repeated sint64 id = 1 [packed = true]; 9048 public interface DenseNodesOrBuilder extends 9049 // @@protoc_insertion_point(interface_extends:OSMPBF.DenseNodes) 9050 com.google.protobuf.MessageLiteOrBuilder { 9051 8965 9052 /** 8966 9053 * <code>repeated sint64 id = 1 [packed = true];</code> … … 8988 9075 long getId(int index); 8989 9076 8990 // optional .OSMPBF.DenseInfo denseinfo = 5;8991 9077 /** 8992 9078 * <code>optional .OSMPBF.DenseInfo denseinfo = 5;</code> … … 9006 9092 crosby.binary.Osmformat.DenseInfo getDenseinfo(); 9007 9093 9008 // repeated sint64 lat = 8 [packed = true];9009 9094 /** 9010 9095 * <code>repeated sint64 lat = 8 [packed = true];</code> … … 9032 9117 long getLat(int index); 9033 9118 9034 // repeated sint64 lon = 9 [packed = true];9035 9119 /** 9036 9120 * <code>repeated sint64 lon = 9 [packed = true];</code> … … 9058 9142 long getLon(int index); 9059 9143 9060 // repeated int32 keys_vals = 10 [packed = true];9061 9144 /** 9062 9145 * <code>repeated int32 keys_vals = 10 [packed = true];</code> … … 9088 9171 */ 9089 9172 public static final class DenseNodes extends 9090 com.google.protobuf.GeneratedMessageLite 9091 implements DenseNodesOrBuilder { 9173 com.google.protobuf.GeneratedMessageLite implements 9174 // @@protoc_insertion_point(message_implements:OSMPBF.DenseNodes) 9175 DenseNodesOrBuilder { 9092 9176 // Use DenseNodes.newBuilder() to construct. 9093 9177 private DenseNodes(com.google.protobuf.GeneratedMessageLite.Builder builder) { 9094 9178 super(builder); 9095 9096 } 9097 private DenseNodes(boolean noInit) {} 9179 this.unknownFields = builder.getUnknownFields(); 9180 } 9181 private DenseNodes(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 9098 9182 9099 9183 private static final DenseNodes defaultInstance; … … 9106 9190 } 9107 9191 9192 private final com.google.protobuf.ByteString unknownFields; 9108 9193 private DenseNodes( 9109 9194 com.google.protobuf.CodedInputStream input, … … 9112 9197 initFields(); 9113 9198 int mutable_bitField0_ = 0; 9199 com.google.protobuf.ByteString.Output unknownFieldsOutput = 9200 com.google.protobuf.ByteString.newOutput(); 9201 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 9202 com.google.protobuf.CodedOutputStream.newInstance( 9203 unknownFieldsOutput); 9114 9204 try { 9115 9205 boolean done = false; … … 9121 9211 break; 9122 9212 default: { 9123 if (!parseUnknownField(input, 9213 if (!parseUnknownField(input, unknownFieldsCodedOutput, 9124 9214 extensionRegistry, tag)) { 9125 9215 done = true; … … 9244 9334 keysVals_ = java.util.Collections.unmodifiableList(keysVals_); 9245 9335 } 9336 try { 9337 unknownFieldsCodedOutput.flush(); 9338 } catch (java.io.IOException e) { 9339 // Should not happen 9340 } finally { 9341 unknownFields = unknownFieldsOutput.toByteString(); 9342 } 9246 9343 makeExtensionsImmutable(); 9247 9344 } … … 9263 9360 9264 9361 private int bitField0_; 9265 // repeated sint64 id = 1 [packed = true];9266 9362 public static final int ID_FIELD_NUMBER = 1; 9267 9363 private java.util.List<java.lang.Long> id_; … … 9299 9395 private int idMemoizedSerializedSize = -1; 9300 9396 9301 // optional .OSMPBF.DenseInfo denseinfo = 5;9302 9397 public static final int DENSEINFO_FIELD_NUMBER = 5; 9303 9398 private crosby.binary.Osmformat.DenseInfo denseinfo_; … … 9323 9418 } 9324 9419 9325 // repeated sint64 lat = 8 [packed = true];9326 9420 public static final int LAT_FIELD_NUMBER = 8; 9327 9421 private java.util.List<java.lang.Long> lat_; … … 9359 9453 private int latMemoizedSerializedSize = -1; 9360 9454 9361 // repeated sint64 lon = 9 [packed = true];9362 9455 public static final int LON_FIELD_NUMBER = 9; 9363 9456 private java.util.List<java.lang.Long> lon_; … … 9395 9488 private int lonMemoizedSerializedSize = -1; 9396 9489 9397 // repeated int32 keys_vals = 10 [packed = true];9398 9490 public static final int KEYS_VALS_FIELD_NUMBER = 10; 9399 9491 private java.util.List<java.lang.Integer> keysVals_; … … 9441 9533 public final boolean isInitialized() { 9442 9534 byte isInitialized = memoizedIsInitialized; 9443 if (isInitialized != -1) return isInitialized == 1; 9535 if (isInitialized == 1) return true; 9536 if (isInitialized == 0) return false; 9444 9537 9445 9538 memoizedIsInitialized = 1; … … 9481 9574 output.writeInt32NoTag(keysVals_.get(i)); 9482 9575 } 9576 output.writeRawBytes(unknownFields); 9483 9577 } 9484 9578 … … 9549 9643 keysValsMemoizedSerializedSize = dataSize; 9550 9644 } 9645 size += unknownFields.size(); 9551 9646 memoizedSerializedSize = size; 9552 9647 return size; … … 9626 9721 com.google.protobuf.GeneratedMessageLite.Builder< 9627 9722 crosby.binary.Osmformat.DenseNodes, Builder> 9628 implements crosby.binary.Osmformat.DenseNodesOrBuilder { 9723 implements 9724 // @@protoc_insertion_point(builder_implements:OSMPBF.DenseNodes) 9725 crosby.binary.Osmformat.DenseNodesOrBuilder { 9629 9726 // Construct using crosby.binary.Osmformat.DenseNodes.newBuilder() 9630 9727 private Builder() { … … 9746 9843 9747 9844 } 9845 setUnknownFields( 9846 getUnknownFields().concat(other.unknownFields)); 9748 9847 return this; 9749 9848 } … … 9772 9871 private int bitField0_; 9773 9872 9774 // repeated sint64 id = 1 [packed = true];9775 9873 private java.util.List<java.lang.Long> id_ = java.util.Collections.emptyList(); 9776 9874 private void ensureIdIsMutable() { … … 9848 9946 java.lang.Iterable<? extends java.lang.Long> values) { 9849 9947 ensureIdIsMutable(); 9850 super.addAll(values, id_); 9948 com.google.protobuf.AbstractMessageLite.Builder.addAll( 9949 values, id_); 9851 9950 9852 9951 return this; … … 9866 9965 } 9867 9966 9868 // optional .OSMPBF.DenseInfo denseinfo = 5;9869 9967 private crosby.binary.Osmformat.DenseInfo denseinfo_ = crosby.binary.Osmformat.DenseInfo.getDefaultInstance(); 9870 9968 /** … … 9951 10049 } 9952 10050 9953 // repeated sint64 lat = 8 [packed = true];9954 10051 private java.util.List<java.lang.Long> lat_ = java.util.Collections.emptyList(); 9955 10052 private void ensureLatIsMutable() { … … 10027 10124 java.lang.Iterable<? extends java.lang.Long> values) { 10028 10125 ensureLatIsMutable(); 10029 super.addAll(values, lat_); 10126 com.google.protobuf.AbstractMessageLite.Builder.addAll( 10127 values, lat_); 10030 10128 10031 10129 return this; … … 10045 10143 } 10046 10144 10047 // repeated sint64 lon = 9 [packed = true];10048 10145 private java.util.List<java.lang.Long> lon_ = java.util.Collections.emptyList(); 10049 10146 private void ensureLonIsMutable() { … … 10121 10218 java.lang.Iterable<? extends java.lang.Long> values) { 10122 10219 ensureLonIsMutable(); 10123 super.addAll(values, lon_); 10220 com.google.protobuf.AbstractMessageLite.Builder.addAll( 10221 values, lon_); 10124 10222 10125 10223 return this; … … 10139 10237 } 10140 10238 10141 // repeated int32 keys_vals = 10 [packed = true];10142 10239 private java.util.List<java.lang.Integer> keysVals_ = java.util.Collections.emptyList(); 10143 10240 private void ensureKeysValsIsMutable() { … … 10215 10312 java.lang.Iterable<? extends java.lang.Integer> values) { 10216 10313 ensureKeysValsIsMutable(); 10217 super.addAll(values, keysVals_); 10314 com.google.protobuf.AbstractMessageLite.Builder.addAll( 10315 values, keysVals_); 10218 10316 10219 10317 return this; … … 10244 10342 } 10245 10343 10246 public interface WayOrBuilder 10247 extends com.google.protobuf.MessageLiteOrBuilder {10248 10249 // required int64 id = 1; 10344 public interface WayOrBuilder extends 10345 // @@protoc_insertion_point(interface_extends:OSMPBF.Way) 10346 com.google.protobuf.MessageLiteOrBuilder { 10347 10250 10348 /** 10251 10349 * <code>required int64 id = 1;</code> … … 10257 10355 long getId(); 10258 10356 10259 // repeated uint32 keys = 2 [packed = true];10260 10357 /** 10261 10358 * <code>repeated uint32 keys = 2 [packed = true];</code> … … 10283 10380 int getKeys(int index); 10284 10381 10285 // repeated uint32 vals = 3 [packed = true];10286 10382 /** 10287 10383 * <code>repeated uint32 vals = 3 [packed = true];</code> … … 10297 10393 int getVals(int index); 10298 10394 10299 // optional .OSMPBF.Info info = 4;10300 10395 /** 10301 10396 * <code>optional .OSMPBF.Info info = 4;</code> … … 10307 10402 crosby.binary.Osmformat.Info getInfo(); 10308 10403 10309 // repeated sint64 refs = 8 [packed = true];10310 10404 /** 10311 10405 * <code>repeated sint64 refs = 8 [packed = true];</code> … … 10337 10431 */ 10338 10432 public static final class Way extends 10339 com.google.protobuf.GeneratedMessageLite 10340 implements WayOrBuilder { 10433 com.google.protobuf.GeneratedMessageLite implements 10434 // @@protoc_insertion_point(message_implements:OSMPBF.Way) 10435 WayOrBuilder { 10341 10436 // Use Way.newBuilder() to construct. 10342 10437 private Way(com.google.protobuf.GeneratedMessageLite.Builder builder) { 10343 10438 super(builder); 10344 10345 } 10346 private Way(boolean noInit) {} 10439 this.unknownFields = builder.getUnknownFields(); 10440 } 10441 private Way(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 10347 10442 10348 10443 private static final Way defaultInstance; … … 10355 10450 } 10356 10451 10452 private final com.google.protobuf.ByteString unknownFields; 10357 10453 private Way( 10358 10454 com.google.protobuf.CodedInputStream input, … … 10361 10457 initFields(); 10362 10458 int mutable_bitField0_ = 0; 10459 com.google.protobuf.ByteString.Output unknownFieldsOutput = 10460 com.google.protobuf.ByteString.newOutput(); 10461 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 10462 com.google.protobuf.CodedOutputStream.newInstance( 10463 unknownFieldsOutput); 10363 10464 try { 10364 10465 boolean done = false; … … 10370 10471 break; 10371 10472 default: { 10372 if (!parseUnknownField(input, 10473 if (!parseUnknownField(input, unknownFieldsCodedOutput, 10373 10474 extensionRegistry, tag)) { 10374 10475 done = true; … … 10474 10575 refs_ = java.util.Collections.unmodifiableList(refs_); 10475 10576 } 10577 try { 10578 unknownFieldsCodedOutput.flush(); 10579 } catch (java.io.IOException e) { 10580 // Should not happen 10581 } finally { 10582 unknownFields = unknownFieldsOutput.toByteString(); 10583 } 10476 10584 makeExtensionsImmutable(); 10477 10585 } … … 10493 10601 10494 10602 private int bitField0_; 10495 // required int64 id = 1;10496 10603 public static final int ID_FIELD_NUMBER = 1; 10497 10604 private long id_; … … 10509 10616 } 10510 10617 10511 // repeated uint32 keys = 2 [packed = true];10512 10618 public static final int KEYS_FIELD_NUMBER = 2; 10513 10619 private java.util.List<java.lang.Integer> keys_; … … 10545 10651 private int keysMemoizedSerializedSize = -1; 10546 10652 10547 // repeated uint32 vals = 3 [packed = true];10548 10653 public static final int VALS_FIELD_NUMBER = 3; 10549 10654 private java.util.List<java.lang.Integer> vals_; … … 10569 10674 private int valsMemoizedSerializedSize = -1; 10570 10675 10571 // optional .OSMPBF.Info info = 4;10572 10676 public static final int INFO_FIELD_NUMBER = 4; 10573 10677 private crosby.binary.Osmformat.Info info_; … … 10585 10689 } 10586 10690 10587 // repeated sint64 refs = 8 [packed = true];10588 10691 public static final int REFS_FIELD_NUMBER = 8; 10589 10692 private java.util.List<java.lang.Long> refs_; … … 10631 10734 public final boolean isInitialized() { 10632 10735 byte isInitialized = memoizedIsInitialized; 10633 if (isInitialized != -1) return isInitialized == 1; 10736 if (isInitialized == 1) return true; 10737 if (isInitialized == 0) return false; 10634 10738 10635 10739 if (!hasId()) { … … 10671 10775 output.writeSInt64NoTag(refs_.get(i)); 10672 10776 } 10777 output.writeRawBytes(unknownFields); 10673 10778 } 10674 10779 … … 10729 10834 refsMemoizedSerializedSize = dataSize; 10730 10835 } 10836 size += unknownFields.size(); 10731 10837 memoizedSerializedSize = size; 10732 10838 return size; … … 10806 10912 com.google.protobuf.GeneratedMessageLite.Builder< 10807 10913 crosby.binary.Osmformat.Way, Builder> 10808 implements crosby.binary.Osmformat.WayOrBuilder { 10914 implements 10915 // @@protoc_insertion_point(builder_implements:OSMPBF.Way) 10916 crosby.binary.Osmformat.WayOrBuilder { 10809 10917 // Construct using crosby.binary.Osmformat.Way.newBuilder() 10810 10918 private Builder() { … … 10918 11026 10919 11027 } 11028 setUnknownFields( 11029 getUnknownFields().concat(other.unknownFields)); 10920 11030 return this; 10921 11031 } … … 10948 11058 private int bitField0_; 10949 11059 10950 // required int64 id = 1;10951 11060 private long id_ ; 10952 11061 /** … … 10981 11090 } 10982 11091 10983 // repeated uint32 keys = 2 [packed = true];10984 11092 private java.util.List<java.lang.Integer> keys_ = java.util.Collections.emptyList(); 10985 11093 private void ensureKeysIsMutable() { … … 11057 11165 java.lang.Iterable<? extends java.lang.Integer> values) { 11058 11166 ensureKeysIsMutable(); 11059 super.addAll(values, keys_); 11167 com.google.protobuf.AbstractMessageLite.Builder.addAll( 11168 values, keys_); 11060 11169 11061 11170 return this; … … 11075 11184 } 11076 11185 11077 // repeated uint32 vals = 3 [packed = true];11078 11186 private java.util.List<java.lang.Integer> vals_ = java.util.Collections.emptyList(); 11079 11187 private void ensureValsIsMutable() { … … 11127 11235 java.lang.Iterable<? extends java.lang.Integer> values) { 11128 11236 ensureValsIsMutable(); 11129 super.addAll(values, vals_); 11237 com.google.protobuf.AbstractMessageLite.Builder.addAll( 11238 values, vals_); 11130 11239 11131 11240 return this; … … 11141 11250 } 11142 11251 11143 // optional .OSMPBF.Info info = 4;11144 11252 private crosby.binary.Osmformat.Info info_ = crosby.binary.Osmformat.Info.getDefaultInstance(); 11145 11253 /** … … 11202 11310 } 11203 11311 11204 // repeated sint64 refs = 8 [packed = true];11205 11312 private java.util.List<java.lang.Long> refs_ = java.util.Collections.emptyList(); 11206 11313 private void ensureRefsIsMutable() { … … 11278 11385 java.lang.Iterable<? extends java.lang.Long> values) { 11279 11386 ensureRefsIsMutable(); 11280 super.addAll(values, refs_); 11387 com.google.protobuf.AbstractMessageLite.Builder.addAll( 11388 values, refs_); 11281 11389 11282 11390 return this; … … 11307 11415 } 11308 11416 11309 public interface RelationOrBuilder 11310 extends com.google.protobuf.MessageLiteOrBuilder {11311 11312 // required int64 id = 1; 11417 public interface RelationOrBuilder extends 11418 // @@protoc_insertion_point(interface_extends:OSMPBF.Relation) 11419 com.google.protobuf.MessageLiteOrBuilder { 11420 11313 11421 /** 11314 11422 * <code>required int64 id = 1;</code> … … 11320 11428 long getId(); 11321 11429 11322 // repeated uint32 keys = 2 [packed = true];11323 11430 /** 11324 11431 * <code>repeated uint32 keys = 2 [packed = true];</code> … … 11346 11453 int getKeys(int index); 11347 11454 11348 // repeated uint32 vals = 3 [packed = true];11349 11455 /** 11350 11456 * <code>repeated uint32 vals = 3 [packed = true];</code> … … 11360 11466 int getVals(int index); 11361 11467 11362 // optional .OSMPBF.Info info = 4;11363 11468 /** 11364 11469 * <code>optional .OSMPBF.Info info = 4;</code> … … 11370 11475 crosby.binary.Osmformat.Info getInfo(); 11371 11476 11372 // repeated int32 roles_sid = 8 [packed = true];11373 11477 /** 11374 11478 * <code>repeated int32 roles_sid = 8 [packed = true];</code> … … 11396 11500 int getRolesSid(int index); 11397 11501 11398 // repeated sint64 memids = 9 [packed = true];11399 11502 /** 11400 11503 * <code>repeated sint64 memids = 9 [packed = true];</code> … … 11422 11525 long getMemids(int index); 11423 11526 11424 // repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];11425 11527 /** 11426 11528 * <code>repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];</code> … … 11440 11542 */ 11441 11543 public static final class Relation extends 11442 com.google.protobuf.GeneratedMessageLite 11443 implements RelationOrBuilder { 11544 com.google.protobuf.GeneratedMessageLite implements 11545 // @@protoc_insertion_point(message_implements:OSMPBF.Relation) 11546 RelationOrBuilder { 11444 11547 // Use Relation.newBuilder() to construct. 11445 11548 private Relation(com.google.protobuf.GeneratedMessageLite.Builder builder) { 11446 11549 super(builder); 11447 11448 } 11449 private Relation(boolean noInit) {} 11550 this.unknownFields = builder.getUnknownFields(); 11551 } 11552 private Relation(boolean noInit) { this.unknownFields = com.google.protobuf.ByteString.EMPTY;} 11450 11553 11451 11554 private static final Relation defaultInstance; … … 11458 11561 } 11459 11562 11563 private final com.google.protobuf.ByteString unknownFields; 11460 11564 private Relation( 11461 11565 com.google.protobuf.CodedInputStream input, … … 11464 11568 initFields(); 11465 11569 int mutable_bitField0_ = 0; 11570 com.google.protobuf.ByteString.Output unknownFieldsOutput = 11571 com.google.protobuf.ByteString.newOutput(); 11572 com.google.protobuf.CodedOutputStream unknownFieldsCodedOutput = 11573 com.google.protobuf.CodedOutputStream.newInstance( 11574 unknownFieldsOutput); 11466 11575 try { 11467 11576 boolean done = false; … … 11473 11582 break; 11474 11583 default: { 11475 if (!parseUnknownField(input, 11584 if (!parseUnknownField(input, unknownFieldsCodedOutput, 11476 11585 extensionRegistry, tag)) { 11477 11586 done = true; … … 11584 11693 int rawValue = input.readEnum(); 11585 11694 crosby.binary.Osmformat.Relation.MemberType value = crosby.binary.Osmformat.Relation.MemberType.valueOf(rawValue); 11586 if (value != null) { 11695 if (value == null) { 11696 unknownFieldsCodedOutput.writeRawVarint32(tag); 11697 unknownFieldsCodedOutput.writeRawVarint32(rawValue); 11698 } else { 11587 11699 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 11588 11700 types_ = new java.util.ArrayList<crosby.binary.Osmformat.Relation.MemberType>(); … … 11599 11711 int rawValue = input.readEnum(); 11600 11712 crosby.binary.Osmformat.Relation.MemberType value = crosby.binary.Osmformat.Relation.MemberType.valueOf(rawValue); 11601 if (value != null) { 11713 if (value == null) { 11714 unknownFieldsCodedOutput.writeRawVarint32(tag); 11715 unknownFieldsCodedOutput.writeRawVarint32(rawValue); 11716 } else { 11602 11717 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 11603 11718 types_ = new java.util.ArrayList<crosby.binary.Osmformat.Relation.MemberType>(); … … 11633 11748 types_ = java.util.Collections.unmodifiableList(types_); 11634 11749 } 11750 try { 11751 unknownFieldsCodedOutput.flush(); 11752 } catch (java.io.IOException e) { 11753 // Should not happen 11754 } finally { 11755 unknownFields = unknownFieldsOutput.toByteString(); 11756 } 11635 11757 makeExtensionsImmutable(); 11636 11758 } … … 11717 11839 11718 11840 private int bitField0_; 11719 // required int64 id = 1;11720 11841 public static final int ID_FIELD_NUMBER = 1; 11721 11842 private long id_; … … 11733 11854 } 11734 11855 11735 // repeated uint32 keys = 2 [packed = true];11736 11856 public static final int KEYS_FIELD_NUMBER = 2; 11737 11857 private java.util.List<java.lang.Integer> keys_; … … 11769 11889 private int keysMemoizedSerializedSize = -1; 11770 11890 11771 // repeated uint32 vals = 3 [packed = true];11772 11891 public static final int VALS_FIELD_NUMBER = 3; 11773 11892 private java.util.List<java.lang.Integer> vals_; … … 11793 11912 private int valsMemoizedSerializedSize = -1; 11794 11913 11795 // optional .OSMPBF.Info info = 4;11796 11914 public static final int INFO_FIELD_NUMBER = 4; 11797 11915 private crosby.binary.Osmformat.Info info_; … … 11809 11927 } 11810 11928 11811 // repeated int32 roles_sid = 8 [packed = true];11812 11929 public static final int ROLES_SID_FIELD_NUMBER = 8; 11813 11930 private java.util.List<java.lang.Integer> rolesSid_; … … 11845 11962 private int rolesSidMemoizedSerializedSize = -1; 11846 11963 11847 // repeated sint64 memids = 9 [packed = true];11848 11964 public static final int MEMIDS_FIELD_NUMBER = 9; 11849 11965 private java.util.List<java.lang.Long> memids_; … … 11881 11997 private int memidsMemoizedSerializedSize = -1; 11882 11998 11883 // repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];11884 11999 public static final int TYPES_FIELD_NUMBER = 10; 11885 12000 private java.util.List<crosby.binary.Osmformat.Relation.MemberType> types_; … … 11916 12031 public final boolean isInitialized() { 11917 12032 byte isInitialized = memoizedIsInitialized; 11918 if (isInitialized != -1) return isInitialized == 1; 12033 if (isInitialized == 1) return true; 12034 if (isInitialized == 0) return false; 11919 12035 11920 12036 if (!hasId()) { … … 11970 12086 output.writeEnumNoTag(types_.get(i).getNumber()); 11971 12087 } 12088 output.writeRawBytes(unknownFields); 11972 12089 } 11973 12090 … … 12054 12171 }typesMemoizedSerializedSize = dataSize; 12055 12172 } 12173 size += unknownFields.size(); 12056 12174 memoizedSerializedSize = size; 12057 12175 return size; … … 12131 12249 com.google.protobuf.GeneratedMessageLite.Builder< 12132 12250 crosby.binary.Osmformat.Relation, Builder> 12133 implements crosby.binary.Osmformat.RelationOrBuilder { 12251 implements 12252 // @@protoc_insertion_point(builder_implements:OSMPBF.Relation) 12253 crosby.binary.Osmformat.RelationOrBuilder { 12134 12254 // Construct using crosby.binary.Osmformat.Relation.newBuilder() 12135 12255 private Builder() { … … 12277 12397 12278 12398 } 12399 setUnknownFields( 12400 getUnknownFields().concat(other.unknownFields)); 12279 12401 return this; 12280 12402 } … … 12307 12429 private int bitField0_; 12308 12430 12309 // required int64 id = 1;12310 12431 private long id_ ; 12311 12432 /** … … 12340 12461 } 12341 12462 12342 // repeated uint32 keys = 2 [packed = true];12343 12463 private java.util.List<java.lang.Integer> keys_ = java.util.Collections.emptyList(); 12344 12464 private void ensureKeysIsMutable() { … … 12416 12536 java.lang.Iterable<? extends java.lang.Integer> values) { 12417 12537 ensureKeysIsMutable(); 12418 super.addAll(values, keys_); 12538 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12539 values, keys_); 12419 12540 12420 12541 return this; … … 12434 12555 } 12435 12556 12436 // repeated uint32 vals = 3 [packed = true];12437 12557 private java.util.List<java.lang.Integer> vals_ = java.util.Collections.emptyList(); 12438 12558 private void ensureValsIsMutable() { … … 12486 12606 java.lang.Iterable<? extends java.lang.Integer> values) { 12487 12607 ensureValsIsMutable(); 12488 super.addAll(values, vals_); 12608 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12609 values, vals_); 12489 12610 12490 12611 return this; … … 12500 12621 } 12501 12622 12502 // optional .OSMPBF.Info info = 4;12503 12623 private crosby.binary.Osmformat.Info info_ = crosby.binary.Osmformat.Info.getDefaultInstance(); 12504 12624 /** … … 12561 12681 } 12562 12682 12563 // repeated int32 roles_sid = 8 [packed = true];12564 12683 private java.util.List<java.lang.Integer> rolesSid_ = java.util.Collections.emptyList(); 12565 12684 private void ensureRolesSidIsMutable() { … … 12637 12756 java.lang.Iterable<? extends java.lang.Integer> values) { 12638 12757 ensureRolesSidIsMutable(); 12639 super.addAll(values, rolesSid_); 12758 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12759 values, rolesSid_); 12640 12760 12641 12761 return this; … … 12655 12775 } 12656 12776 12657 // repeated sint64 memids = 9 [packed = true];12658 12777 private java.util.List<java.lang.Long> memids_ = java.util.Collections.emptyList(); 12659 12778 private void ensureMemidsIsMutable() { … … 12731 12850 java.lang.Iterable<? extends java.lang.Long> values) { 12732 12851 ensureMemidsIsMutable(); 12733 super.addAll(values, memids_); 12852 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12853 values, memids_); 12734 12854 12735 12855 return this; … … 12749 12869 } 12750 12870 12751 // repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];12752 12871 private java.util.List<crosby.binary.Osmformat.Relation.MemberType> types_ = 12753 12872 java.util.Collections.emptyList(); … … 12807 12926 java.lang.Iterable<? extends crosby.binary.Osmformat.Relation.MemberType> values) { 12808 12927 ensureTypesIsMutable(); 12809 super.addAll(values, types_); 12928 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12929 values, types_); 12810 12930 12811 12931 return this; -
applications/editors/josm/plugins/pbf/src/com/google
- Property svn:externals
-
old new 1 http://protobuf.googlecode.com/svn/tags/2. 5.0/java/src/main/java/com/google/protobuf protobuf1 http://protobuf.googlecode.com/svn/tags/2.6.0/java/src/main/java/com/google/protobuf protobuf
-
- Property svn:externals
Note:
See TracChangeset
for help on using the changeset viewer.