Changeset 33772 in osm for applications/editors/josm/plugins/pbf/gen/com
- Timestamp:
- 2017-11-04T21:50:31+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf
- Property svn:externals
-
old new 1 proto https://github.com/scrosby/OSM-binary/trunk/src 2 protobuf https://github.com/google/protobuf/tags/v2.6.1/src/google/protobuf/ 1 https://github.com/scrosby/OSM-binary/trunk/src proto 2 https://github.com/google/protobuf/tags/v3.4.1/src/google/protobuf protobuf
-
- Property svn:externals
-
applications/editors/josm/plugins/pbf/gen/com/google/protobuf/DescriptorProtos.java
r31905 r33772 7 7 private DescriptorProtos() {} 8 8 public static void registerAllExtensions( 9 com.google.protobuf.ExtensionRegistryLite registry) { 10 } 11 12 public static void registerAllExtensions( 9 13 com.google.protobuf.ExtensionRegistry registry) { 14 registerAllExtensions( 15 (com.google.protobuf.ExtensionRegistryLite) registry); 10 16 } 11 17 public interface FileDescriptorSetOrBuilder extends … … 16 22 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 17 23 */ 18 java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> 24 java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> 19 25 getFileList(); 20 26 /** … … 29 35 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 30 36 */ 31 java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 37 java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 32 38 getFileOrBuilderList(); 33 39 /** … … 38 44 } 39 45 /** 40 * Protobuf type {@code google.protobuf.FileDescriptorSet}41 *42 46 * <pre> 43 47 * The protocol compiler can output a FileDescriptorSet containing the .proto 44 48 * files it parses. 45 49 * </pre> 50 * 51 * Protobuf type {@code google.protobuf.FileDescriptorSet} 46 52 */ 47 public static final class FileDescriptorSet extends 48 com.google.protobuf.GeneratedMessage implements 53 public static final class FileDescriptorSet extends 54 com.google.protobuf.GeneratedMessageV3 implements 49 55 // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorSet) 50 56 FileDescriptorSetOrBuilder { 57 private static final long serialVersionUID = 0L; 51 58 // Use FileDescriptorSet.newBuilder() to construct. 52 private FileDescriptorSet(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 59 private FileDescriptorSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 53 60 super(builder); 54 this.unknownFields = builder.getUnknownFields(); 55 } 56 private FileDescriptorSet(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 57 58 private static final FileDescriptorSet defaultInstance; 59 public static FileDescriptorSet getDefaultInstance() { 60 return defaultInstance; 61 } 62 63 @Override 64 public FileDescriptorSet getDefaultInstanceForType() { 65 return defaultInstance; 66 } 67 68 private final com.google.protobuf.UnknownFieldSet unknownFields; 61 } 62 private FileDescriptorSet() { 63 file_ = java.util.Collections.emptyList(); 64 } 65 69 66 @java.lang.Override 70 67 public final com.google.protobuf.UnknownFieldSet 71 68 getUnknownFields() { 72 69 return this.unknownFields; 73 70 } … … 76 73 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 77 74 throws com.google.protobuf.InvalidProtocolBufferException { 78 initFields();75 this(); 79 76 int mutable_bitField0_ = 0; 80 77 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 89 86 break; 90 87 default: { 91 if (!parseUnknownField( input, unknownFields,92 88 if (!parseUnknownField( 89 input, unknownFields, extensionRegistry, tag)) { 93 90 done = true; 94 91 } … … 97 94 case 10: { 98 95 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 99 file_ = new java.util.ArrayList<>(); 96 file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>(); 100 97 mutable_bitField0_ |= 0x00000001; 101 98 } 102 file_.add(input.readMessage(com.google.protobuf.DescriptorProtos.FileDescriptorProto.PARSER, extensionRegistry)); 99 file_.add( 100 input.readMessage(com.google.protobuf.DescriptorProtos.FileDescriptorProto.PARSER, extensionRegistry)); 103 101 break; 104 102 } … … 109 107 } catch (java.io.IOException e) { 110 108 throw new com.google.protobuf.InvalidProtocolBufferException( 111 e .getMessage()).setUnfinishedMessage(this);109 e).setUnfinishedMessage(this); 112 110 } finally { 113 111 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { … … 123 121 } 124 122 125 @Override 126 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 123 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 127 124 internalGetFieldAccessorTable() { 128 125 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable … … 131 128 } 132 129 133 public static com.google.protobuf.Parser<FileDescriptorSet> PARSER =134 new com.google.protobuf.AbstractParser<FileDescriptorSet>() {135 @Override136 public FileDescriptorSet parsePartialFrom(137 com.google.protobuf.CodedInputStream input,138 com.google.protobuf.ExtensionRegistryLite extensionRegistry)139 throws com.google.protobuf.InvalidProtocolBufferException {140 return new FileDescriptorSet(input, extensionRegistry);141 }142 };143 144 @java.lang.Override145 public com.google.protobuf.Parser<FileDescriptorSet> getParserForType() {146 return PARSER;147 }148 149 130 public static final int FILE_FIELD_NUMBER = 1; 150 131 private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_; … … 152 133 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 153 134 */ 154 @Override 155 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() { 135 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() { 156 136 return file_; 157 137 } … … 159 139 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 160 140 */ 161 @Override 162 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 141 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 163 142 getFileOrBuilderList() { 164 143 return file_; … … 167 146 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 168 147 */ 169 @Override 170 public int getFileCount() { 148 public int getFileCount() { 171 149 return file_.size(); 172 150 } … … 174 152 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 175 153 */ 176 @Override 177 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { 154 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { 178 155 return file_.get(index); 179 156 } … … 181 158 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 182 159 */ 183 @Override 184 public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder( 160 public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder( 185 161 int index) { 186 162 return file_.get(index); 187 163 } 188 164 189 private void initFields() {190 file_ = java.util.Collections.emptyList();191 }192 165 private byte memoizedIsInitialized = -1; 193 @Override 194 public final boolean isInitialized() { 166 public final boolean isInitialized() { 195 167 byte isInitialized = memoizedIsInitialized; 196 168 if (isInitialized == 1) return true; … … 207 179 } 208 180 209 @Override 210 public void writeTo(com.google.protobuf.CodedOutputStream output) 181 public void writeTo(com.google.protobuf.CodedOutputStream output) 211 182 throws java.io.IOException { 212 getSerializedSize();213 183 for (int i = 0; i < file_.size(); i++) { 214 184 output.writeMessage(1, file_.get(i)); 215 185 } 216 getUnknownFields().writeTo(output); 217 } 218 219 private int memoizedSerializedSize = -1; 220 @Override 221 public int getSerializedSize() { 222 int size = memoizedSerializedSize; 186 unknownFields.writeTo(output); 187 } 188 189 public int getSerializedSize() { 190 int size = memoizedSize; 223 191 if (size != -1) return size; 224 192 … … 228 196 .computeMessageSize(1, file_.get(i)); 229 197 } 230 size += getUnknownFields().getSerializedSize();231 memoizedS erializedSize = size;198 size += unknownFields.getSerializedSize(); 199 memoizedSize = size; 232 200 return size; 233 201 } 234 202 235 private static final long serialVersionUID = 0L;236 203 @java.lang.Override 237 protected java.lang.Object writeReplace() 238 throws java.io.ObjectStreamException { 239 return super.writeReplace(); 240 } 241 204 public boolean equals(final java.lang.Object obj) { 205 if (obj == this) { 206 return true; 207 } 208 if (!(obj instanceof com.google.protobuf.DescriptorProtos.FileDescriptorSet)) { 209 return super.equals(obj); 210 } 211 com.google.protobuf.DescriptorProtos.FileDescriptorSet other = (com.google.protobuf.DescriptorProtos.FileDescriptorSet) obj; 212 213 boolean result = true; 214 result = result && getFileList() 215 .equals(other.getFileList()); 216 result = result && unknownFields.equals(other.unknownFields); 217 return result; 218 } 219 220 @java.lang.Override 221 public int hashCode() { 222 if (memoizedHashCode != 0) { 223 return memoizedHashCode; 224 } 225 int hash = 41; 226 hash = (19 * hash) + getDescriptor().hashCode(); 227 if (getFileCount() > 0) { 228 hash = (37 * hash) + FILE_FIELD_NUMBER; 229 hash = (53 * hash) + getFileList().hashCode(); 230 } 231 hash = (29 * hash) + unknownFields.hashCode(); 232 memoizedHashCode = hash; 233 return hash; 234 } 235 236 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( 237 java.nio.ByteBuffer data) 238 throws com.google.protobuf.InvalidProtocolBufferException { 239 return PARSER.parseFrom(data); 240 } 241 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( 242 java.nio.ByteBuffer data, 243 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 244 throws com.google.protobuf.InvalidProtocolBufferException { 245 return PARSER.parseFrom(data, extensionRegistry); 246 } 242 247 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( 243 248 com.google.protobuf.ByteString data) … … 263 268 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input) 264 269 throws java.io.IOException { 265 return PARSER.parseFrom(input); 270 return com.google.protobuf.GeneratedMessageV3 271 .parseWithIOException(PARSER, input); 266 272 } 267 273 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( … … 269 275 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 270 276 throws java.io.IOException { 271 return PARSER.parseFrom(input, extensionRegistry); 277 return com.google.protobuf.GeneratedMessageV3 278 .parseWithIOException(PARSER, input, extensionRegistry); 272 279 } 273 280 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input) 274 281 throws java.io.IOException { 275 return PARSER.parseDelimitedFrom(input); 282 return com.google.protobuf.GeneratedMessageV3 283 .parseDelimitedWithIOException(PARSER, input); 276 284 } 277 285 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom( … … 279 287 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 280 288 throws java.io.IOException { 281 return PARSER.parseDelimitedFrom(input, extensionRegistry); 289 return com.google.protobuf.GeneratedMessageV3 290 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 282 291 } 283 292 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( 284 293 com.google.protobuf.CodedInputStream input) 285 294 throws java.io.IOException { 286 return PARSER.parseFrom(input); 295 return com.google.protobuf.GeneratedMessageV3 296 .parseWithIOException(PARSER, input); 287 297 } 288 298 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( … … 290 300 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 291 301 throws java.io.IOException { 292 return PARSER.parseFrom(input, extensionRegistry); 293 } 294 295 public static Builder newBuilder() { return Builder.create(); } 296 @Override 297 public Builder newBuilderForType() { return newBuilder(); } 302 return com.google.protobuf.GeneratedMessageV3 303 .parseWithIOException(PARSER, input, extensionRegistry); 304 } 305 306 public Builder newBuilderForType() { return newBuilder(); } 307 public static Builder newBuilder() { 308 return DEFAULT_INSTANCE.toBuilder(); 309 } 298 310 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) { 299 return newBuilder().mergeFrom(prototype); 300 } 301 @Override 302 public Builder toBuilder() { return newBuilder(this); } 311 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 312 } 313 public Builder toBuilder() { 314 return this == DEFAULT_INSTANCE 315 ? new Builder() : new Builder().mergeFrom(this); 316 } 303 317 304 318 @java.lang.Override 305 319 protected Builder newBuilderForType( 306 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 320 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 307 321 Builder builder = new Builder(parent); 308 322 return builder; 309 323 } 310 324 /** 311 * Protobuf type {@code google.protobuf.FileDescriptorSet}312 *313 325 * <pre> 314 326 * The protocol compiler can output a FileDescriptorSet containing the .proto 315 327 * files it parses. 316 328 * </pre> 329 * 330 * Protobuf type {@code google.protobuf.FileDescriptorSet} 317 331 */ 318 332 public static final class Builder extends 319 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 333 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 320 334 // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorSet) 321 335 com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder { … … 325 339 } 326 340 327 @Override 328 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 341 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 329 342 internalGetFieldAccessorTable() { 330 343 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable … … 339 352 340 353 private Builder( 341 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 354 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 342 355 super(parent); 343 356 maybeForceBuilderInitialization(); 344 357 } 345 358 private void maybeForceBuilderInitialization() { 346 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 359 if (com.google.protobuf.GeneratedMessageV3 360 .alwaysUseFieldBuilders) { 347 361 getFileFieldBuilder(); 348 362 } 349 363 } 350 private static Builder create() { 351 return new Builder(); 352 } 353 354 @Override 355 public Builder clear() { 364 public Builder clear() { 356 365 super.clear(); 357 366 if (fileBuilder_ == null) { … … 364 373 } 365 374 366 @Override 367 public Builder clone() { 368 return create().mergeFrom(buildPartial()); 369 } 370 371 @Override 372 public com.google.protobuf.Descriptors.Descriptor 375 public com.google.protobuf.Descriptors.Descriptor 373 376 getDescriptorForType() { 374 377 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor; 375 378 } 376 379 377 @Override 378 public com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() { 380 public com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() { 379 381 return com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance(); 380 382 } 381 383 382 @Override 383 public com.google.protobuf.DescriptorProtos.FileDescriptorSet build() { 384 public com.google.protobuf.DescriptorProtos.FileDescriptorSet build() { 384 385 com.google.protobuf.DescriptorProtos.FileDescriptorSet result = buildPartial(); 385 386 if (!result.isInitialized()) { … … 389 390 } 390 391 391 @Override 392 public com.google.protobuf.DescriptorProtos.FileDescriptorSet buildPartial() { 392 public com.google.protobuf.DescriptorProtos.FileDescriptorSet buildPartial() { 393 393 com.google.protobuf.DescriptorProtos.FileDescriptorSet result = new com.google.protobuf.DescriptorProtos.FileDescriptorSet(this); 394 394 int from_bitField0_ = bitField0_; … … 406 406 } 407 407 408 @Override 409 public Builder mergeFrom(com.google.protobuf.Message other) { 408 public Builder clone() { 409 return (Builder) super.clone(); 410 } 411 public Builder setField( 412 com.google.protobuf.Descriptors.FieldDescriptor field, 413 java.lang.Object value) { 414 return (Builder) super.setField(field, value); 415 } 416 public Builder clearField( 417 com.google.protobuf.Descriptors.FieldDescriptor field) { 418 return (Builder) super.clearField(field); 419 } 420 public Builder clearOneof( 421 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 422 return (Builder) super.clearOneof(oneof); 423 } 424 public Builder setRepeatedField( 425 com.google.protobuf.Descriptors.FieldDescriptor field, 426 int index, java.lang.Object value) { 427 return (Builder) super.setRepeatedField(field, index, value); 428 } 429 public Builder addRepeatedField( 430 com.google.protobuf.Descriptors.FieldDescriptor field, 431 java.lang.Object value) { 432 return (Builder) super.addRepeatedField(field, value); 433 } 434 public Builder mergeFrom(com.google.protobuf.Message other) { 410 435 if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorSet) { 411 436 return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorSet)other); … … 436 461 file_ = other.file_; 437 462 bitField0_ = (bitField0_ & ~0x00000001); 438 fileBuilder_ = 439 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 463 fileBuilder_ = 464 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 440 465 getFileFieldBuilder() : null; 441 466 } else { … … 444 469 } 445 470 } 446 this.mergeUnknownFields(other. getUnknownFields());447 return this;448 }449 450 @Override 451 471 this.mergeUnknownFields(other.unknownFields); 472 onChanged(); 473 return this; 474 } 475 476 public final boolean isInitialized() { 452 477 for (int i = 0; i < getFileCount(); i++) { 453 478 if (!getFile(i).isInitialized()) { 454 455 479 return false; 456 480 } … … 459 483 } 460 484 461 @Override 462 public Builder mergeFrom( 485 public Builder mergeFrom( 463 486 com.google.protobuf.CodedInputStream input, 464 487 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 469 492 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 470 493 parsedMessage = (com.google.protobuf.DescriptorProtos.FileDescriptorSet) e.getUnfinishedMessage(); 471 throw e; 494 throw e.unwrapIOException(); 472 495 } finally { 473 496 if (parsedMessage != null) { … … 483 506 private void ensureFileIsMutable() { 484 507 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 485 file_ = new java.util.ArrayList<>(file_); 508 file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>(file_); 486 509 bitField0_ |= 0x00000001; 487 510 } 488 511 } 489 512 490 private com.google.protobuf.RepeatedFieldBuilder< 513 private com.google.protobuf.RepeatedFieldBuilderV3< 491 514 com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> fileBuilder_; 492 515 … … 494 517 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 495 518 */ 496 @Override 497 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() { 519 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() { 498 520 if (fileBuilder_ == null) { 499 521 return java.util.Collections.unmodifiableList(file_); … … 505 527 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 506 528 */ 507 @Override 508 public int getFileCount() { 529 public int getFileCount() { 509 530 if (fileBuilder_ == null) { 510 531 return file_.size(); … … 516 537 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 517 538 */ 518 @Override 519 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { 539 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { 520 540 if (fileBuilder_ == null) { 521 541 return file_.get(index); … … 667 687 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 668 688 */ 669 @Override 670 public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder( 689 public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder( 671 690 int index) { 672 691 if (fileBuilder_ == null) { … … 678 697 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 679 698 */ 680 @Override 681 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 699 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 682 700 getFileOrBuilderList() { 683 701 if (fileBuilder_ != null) { … … 705 723 * <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> 706 724 */ 707 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder> 725 public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder> 708 726 getFileBuilderList() { 709 727 return getFileFieldBuilder().getBuilderList(); 710 728 } 711 private com.google.protobuf.RepeatedFieldBuilder< 712 com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 729 private com.google.protobuf.RepeatedFieldBuilderV3< 730 com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> 713 731 getFileFieldBuilder() { 714 732 if (fileBuilder_ == null) { 715 fileBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 733 fileBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 734 com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>( 716 735 file_, 717 736 ((bitField0_ & 0x00000001) == 0x00000001), … … 722 741 return fileBuilder_; 723 742 } 743 public final Builder setUnknownFields( 744 final com.google.protobuf.UnknownFieldSet unknownFields) { 745 return super.setUnknownFields(unknownFields); 746 } 747 748 public final Builder mergeUnknownFields( 749 final com.google.protobuf.UnknownFieldSet unknownFields) { 750 return super.mergeUnknownFields(unknownFields); 751 } 752 724 753 725 754 // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorSet) 726 755 } 727 756 757 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) 758 private static final com.google.protobuf.DescriptorProtos.FileDescriptorSet DEFAULT_INSTANCE; 728 759 static { 729 defaultInstance = new FileDescriptorSet(true); 730 defaultInstance.initFields(); 731 } 732 733 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) 760 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.FileDescriptorSet(); 761 } 762 763 public static com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstance() { 764 return DEFAULT_INSTANCE; 765 } 766 767 @java.lang.Deprecated public static final com.google.protobuf.Parser<FileDescriptorSet> 768 PARSER = new com.google.protobuf.AbstractParser<FileDescriptorSet>() { 769 public FileDescriptorSet parsePartialFrom( 770 com.google.protobuf.CodedInputStream input, 771 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 772 throws com.google.protobuf.InvalidProtocolBufferException { 773 return new FileDescriptorSet(input, extensionRegistry); 774 } 775 }; 776 777 public static com.google.protobuf.Parser<FileDescriptorSet> parser() { 778 return PARSER; 779 } 780 781 @java.lang.Override 782 public com.google.protobuf.Parser<FileDescriptorSet> getParserForType() { 783 return PARSER; 784 } 785 786 public com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() { 787 return DEFAULT_INSTANCE; 788 } 789 734 790 } 735 791 … … 739 795 740 796 /** 741 * <code>optional string name = 1;</code>742 *743 797 * <pre> 744 798 * file name, relative to root of source tree 745 799 * </pre> 800 * 801 * <code>optional string name = 1;</code> 746 802 */ 747 803 boolean hasName(); 748 804 /** 749 * <code>optional string name = 1;</code>750 *751 805 * <pre> 752 806 * file name, relative to root of source tree 753 807 * </pre> 808 * 809 * <code>optional string name = 1;</code> 754 810 */ 755 811 java.lang.String getName(); 756 812 /** 757 * <code>optional string name = 1;</code>758 *759 813 * <pre> 760 814 * file name, relative to root of source tree 761 815 * </pre> 816 * 817 * <code>optional string name = 1;</code> 762 818 */ 763 819 com.google.protobuf.ByteString … … 765 821 766 822 /** 767 * <code>optional string package = 2;</code>768 *769 823 * <pre> 770 824 * e.g. "foo", "foo.bar", etc. 771 825 * </pre> 826 * 827 * <code>optional string package = 2;</code> 772 828 */ 773 829 boolean hasPackage(); 774 830 /** 775 * <code>optional string package = 2;</code>776 *777 831 * <pre> 778 832 * e.g. "foo", "foo.bar", etc. 779 833 * </pre> 834 * 835 * <code>optional string package = 2;</code> 780 836 */ 781 837 java.lang.String getPackage(); 782 838 /** 783 * <code>optional string package = 2;</code>784 *785 839 * <pre> 786 840 * e.g. "foo", "foo.bar", etc. 787 841 * </pre> 842 * 843 * <code>optional string package = 2;</code> 788 844 */ 789 845 com.google.protobuf.ByteString … … 791 847 792 848 /** 793 * <code>repeated string dependency = 3;</code>794 *795 849 * <pre> 796 850 * Names of files imported by this file. 797 851 * </pre> 798 */ 799 com.google.protobuf.ProtocolStringList 852 * 853 * <code>repeated string dependency = 3;</code> 854 */ 855 java.util.List<java.lang.String> 800 856 getDependencyList(); 801 857 /** 802 * <code>repeated string dependency = 3;</code>803 *804 858 * <pre> 805 859 * Names of files imported by this file. 806 860 * </pre> 861 * 862 * <code>repeated string dependency = 3;</code> 807 863 */ 808 864 int getDependencyCount(); 809 865 /** 810 * <code>repeated string dependency = 3;</code>811 *812 866 * <pre> 813 867 * Names of files imported by this file. 814 868 * </pre> 869 * 870 * <code>repeated string dependency = 3;</code> 815 871 */ 816 872 java.lang.String getDependency(int index); 817 873 /** 818 * <code>repeated string dependency = 3;</code>819 *820 874 * <pre> 821 875 * Names of files imported by this file. 822 876 * </pre> 877 * 878 * <code>repeated string dependency = 3;</code> 823 879 */ 824 880 com.google.protobuf.ByteString … … 826 882 827 883 /** 828 * <code>repeated int32 public_dependency = 10;</code>829 *830 884 * <pre> 831 885 * Indexes of the public imported files in the dependency list above. 832 886 * </pre> 887 * 888 * <code>repeated int32 public_dependency = 10;</code> 833 889 */ 834 890 java.util.List<java.lang.Integer> getPublicDependencyList(); 835 891 /** 836 * <code>repeated int32 public_dependency = 10;</code>837 *838 892 * <pre> 839 893 * Indexes of the public imported files in the dependency list above. 840 894 * </pre> 895 * 896 * <code>repeated int32 public_dependency = 10;</code> 841 897 */ 842 898 int getPublicDependencyCount(); 843 899 /** 844 * <code>repeated int32 public_dependency = 10;</code>845 *846 900 * <pre> 847 901 * Indexes of the public imported files in the dependency list above. 848 902 * </pre> 903 * 904 * <code>repeated int32 public_dependency = 10;</code> 849 905 */ 850 906 int getPublicDependency(int index); 851 907 852 908 /** 853 * <code>repeated int32 weak_dependency = 11;</code>854 *855 909 * <pre> 856 910 * Indexes of the weak imported files in the dependency list. 857 911 * For Google-internal migration only. Do not use. 858 912 * </pre> 913 * 914 * <code>repeated int32 weak_dependency = 11;</code> 859 915 */ 860 916 java.util.List<java.lang.Integer> getWeakDependencyList(); 861 917 /** 862 * <code>repeated int32 weak_dependency = 11;</code>863 *864 918 * <pre> 865 919 * Indexes of the weak imported files in the dependency list. 866 920 * For Google-internal migration only. Do not use. 867 921 * </pre> 922 * 923 * <code>repeated int32 weak_dependency = 11;</code> 868 924 */ 869 925 int getWeakDependencyCount(); 870 926 /** 871 * <code>repeated int32 weak_dependency = 11;</code>872 *873 927 * <pre> 874 928 * Indexes of the weak imported files in the dependency list. 875 929 * For Google-internal migration only. Do not use. 876 930 * </pre> 931 * 932 * <code>repeated int32 weak_dependency = 11;</code> 877 933 */ 878 934 int getWeakDependency(int index); 879 935 880 936 /** 881 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>882 *883 937 * <pre> 884 938 * All top-level definitions in this file. 885 939 * </pre> 886 */ 887 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> 940 * 941 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 942 */ 943 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> 888 944 getMessageTypeList(); 889 945 /** 890 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>891 *892 946 * <pre> 893 947 * All top-level definitions in this file. 894 948 * </pre> 949 * 950 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 895 951 */ 896 952 com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index); 897 953 /** 898 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>899 *900 954 * <pre> 901 955 * All top-level definitions in this file. 902 956 * </pre> 957 * 958 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 903 959 */ 904 960 int getMessageTypeCount(); 905 961 /** 906 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>907 *908 962 * <pre> 909 963 * All top-level definitions in this file. 910 964 * </pre> 911 */ 912 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 965 * 966 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 967 */ 968 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 913 969 getMessageTypeOrBuilderList(); 914 970 /** 915 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>916 *917 971 * <pre> 918 972 * All top-level definitions in this file. 919 973 * </pre> 974 * 975 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 920 976 */ 921 977 com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( … … 925 981 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 926 982 */ 927 java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> 983 java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> 928 984 getEnumTypeList(); 929 985 /** … … 938 994 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 939 995 */ 940 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 996 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 941 997 getEnumTypeOrBuilderList(); 942 998 /** … … 949 1005 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 950 1006 */ 951 java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> 1007 java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> 952 1008 getServiceList(); 953 1009 /** … … 962 1018 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 963 1019 */ 964 java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 1020 java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 965 1021 getServiceOrBuilderList(); 966 1022 /** … … 973 1029 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 974 1030 */ 975 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 1031 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 976 1032 getExtensionList(); 977 1033 /** … … 986 1042 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 987 1043 */ 988 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 1044 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 989 1045 getExtensionOrBuilderList(); 990 1046 /** … … 1008 1064 1009 1065 /** 1010 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>1011 *1012 1066 * <pre> 1013 1067 * This field contains optional information about the original source code. 1014 * You may safely remove this entire field w hithout harming runtime1068 * You may safely remove this entire field without harming runtime 1015 1069 * functionality of the descriptors -- the information is needed only by 1016 1070 * development tools. 1017 1071 * </pre> 1072 * 1073 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1018 1074 */ 1019 1075 boolean hasSourceCodeInfo(); 1020 1076 /** 1021 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>1022 *1023 1077 * <pre> 1024 1078 * This field contains optional information about the original source code. 1025 * You may safely remove this entire field w hithout harming runtime1079 * You may safely remove this entire field without harming runtime 1026 1080 * functionality of the descriptors -- the information is needed only by 1027 1081 * development tools. 1028 1082 * </pre> 1083 * 1084 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1029 1085 */ 1030 1086 com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo(); 1031 1087 /** 1032 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>1033 *1034 1088 * <pre> 1035 1089 * This field contains optional information about the original source code. 1036 * You may safely remove this entire field w hithout harming runtime1090 * You may safely remove this entire field without harming runtime 1037 1091 * functionality of the descriptors -- the information is needed only by 1038 1092 * development tools. 1039 1093 * </pre> 1094 * 1095 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1040 1096 */ 1041 1097 com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder(); 1098 1099 /** 1100 * <pre> 1101 * The syntax of the proto file. 1102 * The supported values are "proto2" and "proto3". 1103 * </pre> 1104 * 1105 * <code>optional string syntax = 12;</code> 1106 */ 1107 boolean hasSyntax(); 1108 /** 1109 * <pre> 1110 * The syntax of the proto file. 1111 * The supported values are "proto2" and "proto3". 1112 * </pre> 1113 * 1114 * <code>optional string syntax = 12;</code> 1115 */ 1116 java.lang.String getSyntax(); 1117 /** 1118 * <pre> 1119 * The syntax of the proto file. 1120 * The supported values are "proto2" and "proto3". 1121 * </pre> 1122 * 1123 * <code>optional string syntax = 12;</code> 1124 */ 1125 com.google.protobuf.ByteString 1126 getSyntaxBytes(); 1042 1127 } 1043 1128 /** 1044 * Protobuf type {@code google.protobuf.FileDescriptorProto}1045 *1046 1129 * <pre> 1047 1130 * Describes a complete .proto file. 1048 1131 * </pre> 1132 * 1133 * Protobuf type {@code google.protobuf.FileDescriptorProto} 1049 1134 */ 1050 public static final class FileDescriptorProto extends 1051 com.google.protobuf.GeneratedMessage implements 1135 public static final class FileDescriptorProto extends 1136 com.google.protobuf.GeneratedMessageV3 implements 1052 1137 // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorProto) 1053 1138 FileDescriptorProtoOrBuilder { 1139 private static final long serialVersionUID = 0L; 1054 1140 // Use FileDescriptorProto.newBuilder() to construct. 1055 private FileDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 1141 private FileDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 1056 1142 super(builder); 1057 this.unknownFields = builder.getUnknownFields(); 1058 } 1059 private FileDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 1060 1061 private static final FileDescriptorProto defaultInstance; 1062 public static FileDescriptorProto getDefaultInstance() { 1063 return defaultInstance; 1064 } 1065 1066 @Override 1067 public FileDescriptorProto getDefaultInstanceForType() { 1068 return defaultInstance; 1069 } 1070 1071 private final com.google.protobuf.UnknownFieldSet unknownFields; 1143 } 1144 private FileDescriptorProto() { 1145 name_ = ""; 1146 package_ = ""; 1147 dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1148 publicDependency_ = java.util.Collections.emptyList(); 1149 weakDependency_ = java.util.Collections.emptyList(); 1150 messageType_ = java.util.Collections.emptyList(); 1151 enumType_ = java.util.Collections.emptyList(); 1152 service_ = java.util.Collections.emptyList(); 1153 extension_ = java.util.Collections.emptyList(); 1154 syntax_ = ""; 1155 } 1156 1072 1157 @java.lang.Override 1073 1158 public final com.google.protobuf.UnknownFieldSet 1074 1159 getUnknownFields() { 1075 1160 return this.unknownFields; 1076 1161 } … … 1079 1164 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1080 1165 throws com.google.protobuf.InvalidProtocolBufferException { 1081 initFields();1166 this(); 1082 1167 int mutable_bitField0_ = 0; 1083 1168 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 1092 1177 break; 1093 1178 default: { 1094 if (!parseUnknownField( input, unknownFields,1095 1179 if (!parseUnknownField( 1180 input, unknownFields, extensionRegistry, tag)) { 1096 1181 done = true; 1097 1182 } … … 1121 1206 case 34: { 1122 1207 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 1123 messageType_ = new java.util.ArrayList<>(); 1208 messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(); 1124 1209 mutable_bitField0_ |= 0x00000020; 1125 1210 } 1126 messageType_.add(input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry)); 1211 messageType_.add( 1212 input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry)); 1127 1213 break; 1128 1214 } 1129 1215 case 42: { 1130 1216 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 1131 enumType_ = new java.util.ArrayList<>(); 1217 enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(); 1132 1218 mutable_bitField0_ |= 0x00000040; 1133 1219 } 1134 enumType_.add(input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry)); 1220 enumType_.add( 1221 input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry)); 1135 1222 break; 1136 1223 } 1137 1224 case 50: { 1138 1225 if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { 1139 service_ = new java.util.ArrayList<>(); 1226 service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>(); 1140 1227 mutable_bitField0_ |= 0x00000080; 1141 1228 } 1142 service_.add(input.readMessage(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.PARSER, extensionRegistry)); 1229 service_.add( 1230 input.readMessage(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.PARSER, extensionRegistry)); 1143 1231 break; 1144 1232 } 1145 1233 case 58: { 1146 1234 if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { 1147 extension_ = new java.util.ArrayList<>(); 1235 extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(); 1148 1236 mutable_bitField0_ |= 0x00000100; 1149 1237 } 1150 extension_.add(input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 1238 extension_.add( 1239 input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 1151 1240 break; 1152 1241 } … … 1179 1268 case 80: { 1180 1269 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 1181 publicDependency_ = new java.util.ArrayList<>(); 1270 publicDependency_ = new java.util.ArrayList<java.lang.Integer>(); 1182 1271 mutable_bitField0_ |= 0x00000008; 1183 1272 } … … 1189 1278 int limit = input.pushLimit(length); 1190 1279 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { 1191 publicDependency_ = new java.util.ArrayList<>(); 1280 publicDependency_ = new java.util.ArrayList<java.lang.Integer>(); 1192 1281 mutable_bitField0_ |= 0x00000008; 1193 1282 } … … 1200 1289 case 88: { 1201 1290 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 1202 weakDependency_ = new java.util.ArrayList<>(); 1291 weakDependency_ = new java.util.ArrayList<java.lang.Integer>(); 1203 1292 mutable_bitField0_ |= 0x00000010; 1204 1293 } … … 1210 1299 int limit = input.pushLimit(length); 1211 1300 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { 1212 weakDependency_ = new java.util.ArrayList<>(); 1301 weakDependency_ = new java.util.ArrayList<java.lang.Integer>(); 1213 1302 mutable_bitField0_ |= 0x00000010; 1214 1303 } … … 1219 1308 break; 1220 1309 } 1310 case 98: { 1311 com.google.protobuf.ByteString bs = input.readBytes(); 1312 bitField0_ |= 0x00000010; 1313 syntax_ = bs; 1314 break; 1315 } 1221 1316 } 1222 1317 } … … 1225 1320 } catch (java.io.IOException e) { 1226 1321 throw new com.google.protobuf.InvalidProtocolBufferException( 1227 e .getMessage()).setUnfinishedMessage(this);1322 e).setUnfinishedMessage(this); 1228 1323 } finally { 1229 1324 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { … … 1257 1352 } 1258 1353 1259 @Override 1260 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1354 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1261 1355 internalGetFieldAccessorTable() { 1262 1356 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable … … 1265 1359 } 1266 1360 1267 public static com.google.protobuf.Parser<FileDescriptorProto> PARSER =1268 new com.google.protobuf.AbstractParser<FileDescriptorProto>() {1269 @Override1270 public FileDescriptorProto parsePartialFrom(1271 com.google.protobuf.CodedInputStream input,1272 com.google.protobuf.ExtensionRegistryLite extensionRegistry)1273 throws com.google.protobuf.InvalidProtocolBufferException {1274 return new FileDescriptorProto(input, extensionRegistry);1275 }1276 };1277 1278 @java.lang.Override1279 public com.google.protobuf.Parser<FileDescriptorProto> getParserForType() {1280 return PARSER;1281 }1282 1283 1361 private int bitField0_; 1284 1362 public static final int NAME_FIELD_NUMBER = 1; 1285 private java.lang.Object name_; 1286 /** 1287 * <code>optional string name = 1;</code> 1288 * 1363 private volatile java.lang.Object name_; 1364 /** 1289 1365 * <pre> 1290 1366 * file name, relative to root of source tree 1291 1367 * </pre> 1292 */ 1293 @Override 1294 public boolean hasName() { 1368 * 1369 * <code>optional string name = 1;</code> 1370 */ 1371 public boolean hasName() { 1295 1372 return ((bitField0_ & 0x00000001) == 0x00000001); 1296 1373 } 1297 1374 /** 1298 * <code>optional string name = 1;</code>1299 *1300 1375 * <pre> 1301 1376 * file name, relative to root of source tree 1302 1377 * </pre> 1303 */ 1304 @Override 1305 public java.lang.String getName() { 1378 * 1379 * <code>optional string name = 1;</code> 1380 */ 1381 public java.lang.String getName() { 1306 1382 java.lang.Object ref = name_; 1307 1383 if (ref instanceof java.lang.String) { 1308 1384 return (java.lang.String) ref; 1309 1385 } else { 1310 com.google.protobuf.ByteString bs = 1386 com.google.protobuf.ByteString bs = 1311 1387 (com.google.protobuf.ByteString) ref; 1312 1388 java.lang.String s = bs.toStringUtf8(); … … 1318 1394 } 1319 1395 /** 1320 * <code>optional string name = 1;</code>1321 *1322 1396 * <pre> 1323 1397 * file name, relative to root of source tree 1324 1398 * </pre> 1325 */ 1326 @Override 1327 public com.google.protobuf.ByteString 1399 * 1400 * <code>optional string name = 1;</code> 1401 */ 1402 public com.google.protobuf.ByteString 1328 1403 getNameBytes() { 1329 1404 java.lang.Object ref = name_; 1330 1405 if (ref instanceof java.lang.String) { 1331 com.google.protobuf.ByteString b = 1406 com.google.protobuf.ByteString b = 1332 1407 com.google.protobuf.ByteString.copyFromUtf8( 1333 1408 (java.lang.String) ref); … … 1340 1415 1341 1416 public static final int PACKAGE_FIELD_NUMBER = 2; 1342 private java.lang.Object package_; 1343 /** 1344 * <code>optional string package = 2;</code> 1345 * 1417 private volatile java.lang.Object package_; 1418 /** 1346 1419 * <pre> 1347 1420 * e.g. "foo", "foo.bar", etc. 1348 1421 * </pre> 1349 */ 1350 @Override 1351 public boolean hasPackage() { 1422 * 1423 * <code>optional string package = 2;</code> 1424 */ 1425 public boolean hasPackage() { 1352 1426 return ((bitField0_ & 0x00000002) == 0x00000002); 1353 1427 } 1354 1428 /** 1355 * <code>optional string package = 2;</code>1356 *1357 1429 * <pre> 1358 1430 * e.g. "foo", "foo.bar", etc. 1359 1431 * </pre> 1360 */ 1361 @Override 1362 public java.lang.String getPackage() { 1432 * 1433 * <code>optional string package = 2;</code> 1434 */ 1435 public java.lang.String getPackage() { 1363 1436 java.lang.Object ref = package_; 1364 1437 if (ref instanceof java.lang.String) { 1365 1438 return (java.lang.String) ref; 1366 1439 } else { 1367 com.google.protobuf.ByteString bs = 1440 com.google.protobuf.ByteString bs = 1368 1441 (com.google.protobuf.ByteString) ref; 1369 1442 java.lang.String s = bs.toStringUtf8(); … … 1375 1448 } 1376 1449 /** 1377 * <code>optional string package = 2;</code>1378 *1379 1450 * <pre> 1380 1451 * e.g. "foo", "foo.bar", etc. 1381 1452 * </pre> 1382 */ 1383 @Override 1384 public com.google.protobuf.ByteString 1453 * 1454 * <code>optional string package = 2;</code> 1455 */ 1456 public com.google.protobuf.ByteString 1385 1457 getPackageBytes() { 1386 1458 java.lang.Object ref = package_; 1387 1459 if (ref instanceof java.lang.String) { 1388 com.google.protobuf.ByteString b = 1460 com.google.protobuf.ByteString b = 1389 1461 com.google.protobuf.ByteString.copyFromUtf8( 1390 1462 (java.lang.String) ref); … … 1399 1471 private com.google.protobuf.LazyStringList dependency_; 1400 1472 /** 1401 * <code>repeated string dependency = 3;</code>1402 *1403 1473 * <pre> 1404 1474 * Names of files imported by this file. 1405 1475 * </pre> 1406 */ 1407 @Override 1408 public com.google.protobuf.ProtocolStringList 1476 * 1477 * <code>repeated string dependency = 3;</code> 1478 */ 1479 public com.google.protobuf.ProtocolStringList 1409 1480 getDependencyList() { 1410 1481 return dependency_; 1411 1482 } 1412 1483 /** 1413 * <code>repeated string dependency = 3;</code>1414 *1415 1484 * <pre> 1416 1485 * Names of files imported by this file. 1417 1486 * </pre> 1418 */ 1419 @Override 1420 public int getDependencyCount() { 1487 * 1488 * <code>repeated string dependency = 3;</code> 1489 */ 1490 public int getDependencyCount() { 1421 1491 return dependency_.size(); 1422 1492 } 1423 1493 /** 1424 * <code>repeated string dependency = 3;</code>1425 *1426 1494 * <pre> 1427 1495 * Names of files imported by this file. 1428 1496 * </pre> 1429 */ 1430 @Override 1431 public java.lang.String getDependency(int index) { 1497 * 1498 * <code>repeated string dependency = 3;</code> 1499 */ 1500 public java.lang.String getDependency(int index) { 1432 1501 return dependency_.get(index); 1433 1502 } 1434 1503 /** 1435 * <code>repeated string dependency = 3;</code>1436 *1437 1504 * <pre> 1438 1505 * Names of files imported by this file. 1439 1506 * </pre> 1440 */ 1441 @Override 1442 public com.google.protobuf.ByteString 1507 * 1508 * <code>repeated string dependency = 3;</code> 1509 */ 1510 public com.google.protobuf.ByteString 1443 1511 getDependencyBytes(int index) { 1444 1512 return dependency_.getByteString(index); … … 1448 1516 private java.util.List<java.lang.Integer> publicDependency_; 1449 1517 /** 1450 * <code>repeated int32 public_dependency = 10;</code>1451 *1452 1518 * <pre> 1453 1519 * Indexes of the public imported files in the dependency list above. 1454 1520 * </pre> 1455 */ 1456 @Override 1457 public java.util.List<java.lang.Integer> 1521 * 1522 * <code>repeated int32 public_dependency = 10;</code> 1523 */ 1524 public java.util.List<java.lang.Integer> 1458 1525 getPublicDependencyList() { 1459 1526 return publicDependency_; 1460 1527 } 1461 1528 /** 1462 * <code>repeated int32 public_dependency = 10;</code>1463 *1464 1529 * <pre> 1465 1530 * Indexes of the public imported files in the dependency list above. 1466 1531 * </pre> 1467 */ 1468 @Override 1469 public int getPublicDependencyCount() { 1532 * 1533 * <code>repeated int32 public_dependency = 10;</code> 1534 */ 1535 public int getPublicDependencyCount() { 1470 1536 return publicDependency_.size(); 1471 1537 } 1472 1538 /** 1473 * <code>repeated int32 public_dependency = 10;</code>1474 *1475 1539 * <pre> 1476 1540 * Indexes of the public imported files in the dependency list above. 1477 1541 * </pre> 1478 */ 1479 @Override 1480 public int getPublicDependency(int index) { 1542 * 1543 * <code>repeated int32 public_dependency = 10;</code> 1544 */ 1545 public int getPublicDependency(int index) { 1481 1546 return publicDependency_.get(index); 1482 1547 } … … 1485 1550 private java.util.List<java.lang.Integer> weakDependency_; 1486 1551 /** 1487 * <code>repeated int32 weak_dependency = 11;</code>1488 *1489 1552 * <pre> 1490 1553 * Indexes of the weak imported files in the dependency list. 1491 1554 * For Google-internal migration only. Do not use. 1492 1555 * </pre> 1493 */ 1494 @Override 1495 public java.util.List<java.lang.Integer> 1556 * 1557 * <code>repeated int32 weak_dependency = 11;</code> 1558 */ 1559 public java.util.List<java.lang.Integer> 1496 1560 getWeakDependencyList() { 1497 1561 return weakDependency_; 1498 1562 } 1499 1563 /** 1500 * <code>repeated int32 weak_dependency = 11;</code>1501 *1502 1564 * <pre> 1503 1565 * Indexes of the weak imported files in the dependency list. 1504 1566 * For Google-internal migration only. Do not use. 1505 1567 * </pre> 1506 */ 1507 @Override 1508 public int getWeakDependencyCount() { 1568 * 1569 * <code>repeated int32 weak_dependency = 11;</code> 1570 */ 1571 public int getWeakDependencyCount() { 1509 1572 return weakDependency_.size(); 1510 1573 } 1511 1574 /** 1512 * <code>repeated int32 weak_dependency = 11;</code>1513 *1514 1575 * <pre> 1515 1576 * Indexes of the weak imported files in the dependency list. 1516 1577 * For Google-internal migration only. Do not use. 1517 1578 * </pre> 1518 */ 1519 @Override 1520 public int getWeakDependency(int index) { 1579 * 1580 * <code>repeated int32 weak_dependency = 11;</code> 1581 */ 1582 public int getWeakDependency(int index) { 1521 1583 return weakDependency_.get(index); 1522 1584 } … … 1525 1587 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_; 1526 1588 /** 1527 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>1528 *1529 1589 * <pre> 1530 1590 * All top-level definitions in this file. 1531 1591 * </pre> 1532 */ 1533 @Override 1534 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() { 1592 * 1593 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 1594 */ 1595 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() { 1535 1596 return messageType_; 1536 1597 } 1537 1598 /** 1538 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>1539 *1540 1599 * <pre> 1541 1600 * All top-level definitions in this file. 1542 1601 * </pre> 1543 */ 1544 @Override 1545 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 1602 * 1603 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 1604 */ 1605 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 1546 1606 getMessageTypeOrBuilderList() { 1547 1607 return messageType_; 1548 1608 } 1549 1609 /** 1550 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>1551 *1552 1610 * <pre> 1553 1611 * All top-level definitions in this file. 1554 1612 * </pre> 1555 */ 1556 @Override 1557 public int getMessageTypeCount() { 1613 * 1614 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 1615 */ 1616 public int getMessageTypeCount() { 1558 1617 return messageType_.size(); 1559 1618 } 1560 1619 /** 1561 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>1562 *1563 1620 * <pre> 1564 1621 * All top-level definitions in this file. 1565 1622 * </pre> 1566 */ 1567 @Override 1568 public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { 1623 * 1624 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 1625 */ 1626 public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { 1569 1627 return messageType_.get(index); 1570 1628 } 1571 1629 /** 1572 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>1573 *1574 1630 * <pre> 1575 1631 * All top-level definitions in this file. 1576 1632 * </pre> 1577 */ 1578 @Override 1579 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( 1633 * 1634 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 1635 */ 1636 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( 1580 1637 int index) { 1581 1638 return messageType_.get(index); … … 1587 1644 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 1588 1645 */ 1589 @Override 1590 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 1646 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 1591 1647 return enumType_; 1592 1648 } … … 1594 1650 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 1595 1651 */ 1596 @Override 1597 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 1652 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 1598 1653 getEnumTypeOrBuilderList() { 1599 1654 return enumType_; … … 1602 1657 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 1603 1658 */ 1604 @Override 1605 public int getEnumTypeCount() { 1659 public int getEnumTypeCount() { 1606 1660 return enumType_.size(); 1607 1661 } … … 1609 1663 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 1610 1664 */ 1611 @Override 1612 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 1665 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 1613 1666 return enumType_.get(index); 1614 1667 } … … 1616 1669 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 1617 1670 */ 1618 @Override 1619 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 1671 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 1620 1672 int index) { 1621 1673 return enumType_.get(index); … … 1627 1679 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 1628 1680 */ 1629 @Override 1630 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() { 1681 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() { 1631 1682 return service_; 1632 1683 } … … 1634 1685 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 1635 1686 */ 1636 @Override 1637 public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 1687 public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 1638 1688 getServiceOrBuilderList() { 1639 1689 return service_; … … 1642 1692 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 1643 1693 */ 1644 @Override 1645 public int getServiceCount() { 1694 public int getServiceCount() { 1646 1695 return service_.size(); 1647 1696 } … … 1649 1698 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 1650 1699 */ 1651 @Override 1652 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { 1700 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { 1653 1701 return service_.get(index); 1654 1702 } … … 1656 1704 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 1657 1705 */ 1658 @Override 1659 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder( 1706 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder( 1660 1707 int index) { 1661 1708 return service_.get(index); … … 1667 1714 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 1668 1715 */ 1669 @Override 1670 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 1716 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 1671 1717 return extension_; 1672 1718 } … … 1674 1720 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 1675 1721 */ 1676 @Override 1677 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 1722 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 1678 1723 getExtensionOrBuilderList() { 1679 1724 return extension_; … … 1682 1727 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 1683 1728 */ 1684 @Override 1685 public int getExtensionCount() { 1729 public int getExtensionCount() { 1686 1730 return extension_.size(); 1687 1731 } … … 1689 1733 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 1690 1734 */ 1691 @Override 1692 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 1735 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 1693 1736 return extension_.get(index); 1694 1737 } … … 1696 1739 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 1697 1740 */ 1698 @Override 1699 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 1741 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 1700 1742 int index) { 1701 1743 return extension_.get(index); … … 1707 1749 * <code>optional .google.protobuf.FileOptions options = 8;</code> 1708 1750 */ 1709 @Override 1710 public boolean hasOptions() { 1751 public boolean hasOptions() { 1711 1752 return ((bitField0_ & 0x00000004) == 0x00000004); 1712 1753 } … … 1714 1755 * <code>optional .google.protobuf.FileOptions options = 8;</code> 1715 1756 */ 1716 @Override 1717 public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { 1718 return options_; 1757 public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { 1758 return options_ == null ? com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_; 1719 1759 } 1720 1760 /** 1721 1761 * <code>optional .google.protobuf.FileOptions options = 8;</code> 1722 1762 */ 1723 @Override 1724 public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() { 1725 return options_; 1763 public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() { 1764 return options_ == null ? com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_; 1726 1765 } 1727 1766 … … 1729 1768 private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_; 1730 1769 /** 1731 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>1732 *1733 1770 * <pre> 1734 1771 * This field contains optional information about the original source code. 1735 * You may safely remove this entire field w hithout harming runtime1772 * You may safely remove this entire field without harming runtime 1736 1773 * functionality of the descriptors -- the information is needed only by 1737 1774 * development tools. 1738 1775 * </pre> 1739 */ 1740 @Override 1741 public boolean hasSourceCodeInfo() { 1776 * 1777 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1778 */ 1779 public boolean hasSourceCodeInfo() { 1742 1780 return ((bitField0_ & 0x00000008) == 0x00000008); 1743 1781 } 1744 1782 /** 1745 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>1746 *1747 1783 * <pre> 1748 1784 * This field contains optional information about the original source code. 1749 * You may safely remove this entire field w hithout harming runtime1785 * You may safely remove this entire field without harming runtime 1750 1786 * functionality of the descriptors -- the information is needed only by 1751 1787 * development tools. 1752 1788 * </pre> 1753 */ 1754 @Override 1755 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { 1756 return sourceCodeInfo_; 1757 } 1758 /** 1789 * 1759 1790 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1760 * 1791 */ 1792 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { 1793 return sourceCodeInfo_ == null ? com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_; 1794 } 1795 /** 1761 1796 * <pre> 1762 1797 * This field contains optional information about the original source code. 1763 * You may safely remove this entire field w hithout harming runtime1798 * You may safely remove this entire field without harming runtime 1764 1799 * functionality of the descriptors -- the information is needed only by 1765 1800 * development tools. 1766 1801 * </pre> 1767 */ 1768 @Override 1769 public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() { 1770 return sourceCodeInfo_; 1771 } 1772 1773 private void initFields() { 1774 name_ = ""; 1775 package_ = ""; 1776 dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1777 publicDependency_ = java.util.Collections.emptyList(); 1778 weakDependency_ = java.util.Collections.emptyList(); 1779 messageType_ = java.util.Collections.emptyList(); 1780 enumType_ = java.util.Collections.emptyList(); 1781 service_ = java.util.Collections.emptyList(); 1782 extension_ = java.util.Collections.emptyList(); 1783 options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance(); 1784 sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance(); 1785 } 1802 * 1803 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 1804 */ 1805 public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() { 1806 return sourceCodeInfo_ == null ? com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_; 1807 } 1808 1809 public static final int SYNTAX_FIELD_NUMBER = 12; 1810 private volatile java.lang.Object syntax_; 1811 /** 1812 * <pre> 1813 * The syntax of the proto file. 1814 * The supported values are "proto2" and "proto3". 1815 * </pre> 1816 * 1817 * <code>optional string syntax = 12;</code> 1818 */ 1819 public boolean hasSyntax() { 1820 return ((bitField0_ & 0x00000010) == 0x00000010); 1821 } 1822 /** 1823 * <pre> 1824 * The syntax of the proto file. 1825 * The supported values are "proto2" and "proto3". 1826 * </pre> 1827 * 1828 * <code>optional string syntax = 12;</code> 1829 */ 1830 public java.lang.String getSyntax() { 1831 java.lang.Object ref = syntax_; 1832 if (ref instanceof java.lang.String) { 1833 return (java.lang.String) ref; 1834 } else { 1835 com.google.protobuf.ByteString bs = 1836 (com.google.protobuf.ByteString) ref; 1837 java.lang.String s = bs.toStringUtf8(); 1838 if (bs.isValidUtf8()) { 1839 syntax_ = s; 1840 } 1841 return s; 1842 } 1843 } 1844 /** 1845 * <pre> 1846 * The syntax of the proto file. 1847 * The supported values are "proto2" and "proto3". 1848 * </pre> 1849 * 1850 * <code>optional string syntax = 12;</code> 1851 */ 1852 public com.google.protobuf.ByteString 1853 getSyntaxBytes() { 1854 java.lang.Object ref = syntax_; 1855 if (ref instanceof java.lang.String) { 1856 com.google.protobuf.ByteString b = 1857 com.google.protobuf.ByteString.copyFromUtf8( 1858 (java.lang.String) ref); 1859 syntax_ = b; 1860 return b; 1861 } else { 1862 return (com.google.protobuf.ByteString) ref; 1863 } 1864 } 1865 1786 1866 private byte memoizedIsInitialized = -1; 1787 @Override 1788 public final boolean isInitialized() { 1867 public final boolean isInitialized() { 1789 1868 byte isInitialized = memoizedIsInitialized; 1790 1869 if (isInitialized == 1) return true; … … 1825 1904 } 1826 1905 1827 @Override 1828 public void writeTo(com.google.protobuf.CodedOutputStream output) 1906 public void writeTo(com.google.protobuf.CodedOutputStream output) 1829 1907 throws java.io.IOException { 1830 getSerializedSize();1831 1908 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1832 output.writeBytes(1, getNameBytes());1909 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 1833 1910 } 1834 1911 if (((bitField0_ & 0x00000002) == 0x00000002)) { 1835 output.writeBytes(2, getPackageBytes());1912 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, package_); 1836 1913 } 1837 1914 for (int i = 0; i < dependency_.size(); i++) { 1838 output.writeBytes(3, dependency_.getByteString(i));1915 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dependency_.getRaw(i)); 1839 1916 } 1840 1917 for (int i = 0; i < messageType_.size(); i++) { … … 1851 1928 } 1852 1929 if (((bitField0_ & 0x00000004) == 0x00000004)) { 1853 output.writeMessage(8, options_);1930 output.writeMessage(8, getOptions()); 1854 1931 } 1855 1932 if (((bitField0_ & 0x00000008) == 0x00000008)) { 1856 output.writeMessage(9, sourceCodeInfo_);1933 output.writeMessage(9, getSourceCodeInfo()); 1857 1934 } 1858 1935 for (int i = 0; i < publicDependency_.size(); i++) { … … 1862 1939 output.writeInt32(11, weakDependency_.get(i)); 1863 1940 } 1864 getUnknownFields().writeTo(output); 1865 } 1866 1867 private int memoizedSerializedSize = -1; 1868 @Override 1869 public int getSerializedSize() { 1870 int size = memoizedSerializedSize; 1941 if (((bitField0_ & 0x00000010) == 0x00000010)) { 1942 com.google.protobuf.GeneratedMessageV3.writeString(output, 12, syntax_); 1943 } 1944 unknownFields.writeTo(output); 1945 } 1946 1947 public int getSerializedSize() { 1948 int size = memoizedSize; 1871 1949 if (size != -1) return size; 1872 1950 1873 1951 size = 0; 1874 1952 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1875 size += com.google.protobuf.CodedOutputStream 1876 .computeBytesSize(1, getNameBytes()); 1953 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 1877 1954 } 1878 1955 if (((bitField0_ & 0x00000002) == 0x00000002)) { 1879 size += com.google.protobuf.CodedOutputStream 1880 .computeBytesSize(2, getPackageBytes()); 1956 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, package_); 1881 1957 } 1882 1958 { 1883 1959 int dataSize = 0; 1884 1960 for (int i = 0; i < dependency_.size(); i++) { 1885 dataSize += com.google.protobuf.CodedOutputStream 1886 .computeBytesSizeNoTag(dependency_.getByteString(i)); 1961 dataSize += computeStringSizeNoTag(dependency_.getRaw(i)); 1887 1962 } 1888 1963 size += dataSize; … … 1907 1982 if (((bitField0_ & 0x00000004) == 0x00000004)) { 1908 1983 size += com.google.protobuf.CodedOutputStream 1909 .computeMessageSize(8, options_);1984 .computeMessageSize(8, getOptions()); 1910 1985 } 1911 1986 if (((bitField0_ & 0x00000008) == 0x00000008)) { 1912 1987 size += com.google.protobuf.CodedOutputStream 1913 .computeMessageSize(9, sourceCodeInfo_);1988 .computeMessageSize(9, getSourceCodeInfo()); 1914 1989 } 1915 1990 { … … 1931 2006 size += 1 * getWeakDependencyList().size(); 1932 2007 } 1933 size += getUnknownFields().getSerializedSize(); 1934 memoizedSerializedSize = size; 2008 if (((bitField0_ & 0x00000010) == 0x00000010)) { 2009 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, syntax_); 2010 } 2011 size += unknownFields.getSerializedSize(); 2012 memoizedSize = size; 1935 2013 return size; 1936 2014 } 1937 2015 1938 private static final long serialVersionUID = 0L;1939 2016 @java.lang.Override 1940 protected java.lang.Object writeReplace() 1941 throws java.io.ObjectStreamException { 1942 return super.writeReplace(); 1943 } 1944 2017 public boolean equals(final java.lang.Object obj) { 2018 if (obj == this) { 2019 return true; 2020 } 2021 if (!(obj instanceof com.google.protobuf.DescriptorProtos.FileDescriptorProto)) { 2022 return super.equals(obj); 2023 } 2024 com.google.protobuf.DescriptorProtos.FileDescriptorProto other = (com.google.protobuf.DescriptorProtos.FileDescriptorProto) obj; 2025 2026 boolean result = true; 2027 result = result && (hasName() == other.hasName()); 2028 if (hasName()) { 2029 result = result && getName() 2030 .equals(other.getName()); 2031 } 2032 result = result && (hasPackage() == other.hasPackage()); 2033 if (hasPackage()) { 2034 result = result && getPackage() 2035 .equals(other.getPackage()); 2036 } 2037 result = result && getDependencyList() 2038 .equals(other.getDependencyList()); 2039 result = result && getPublicDependencyList() 2040 .equals(other.getPublicDependencyList()); 2041 result = result && getWeakDependencyList() 2042 .equals(other.getWeakDependencyList()); 2043 result = result && getMessageTypeList() 2044 .equals(other.getMessageTypeList()); 2045 result = result && getEnumTypeList() 2046 .equals(other.getEnumTypeList()); 2047 result = result && getServiceList() 2048 .equals(other.getServiceList()); 2049 result = result && getExtensionList() 2050 .equals(other.getExtensionList()); 2051 result = result && (hasOptions() == other.hasOptions()); 2052 if (hasOptions()) { 2053 result = result && getOptions() 2054 .equals(other.getOptions()); 2055 } 2056 result = result && (hasSourceCodeInfo() == other.hasSourceCodeInfo()); 2057 if (hasSourceCodeInfo()) { 2058 result = result && getSourceCodeInfo() 2059 .equals(other.getSourceCodeInfo()); 2060 } 2061 result = result && (hasSyntax() == other.hasSyntax()); 2062 if (hasSyntax()) { 2063 result = result && getSyntax() 2064 .equals(other.getSyntax()); 2065 } 2066 result = result && unknownFields.equals(other.unknownFields); 2067 return result; 2068 } 2069 2070 @java.lang.Override 2071 public int hashCode() { 2072 if (memoizedHashCode != 0) { 2073 return memoizedHashCode; 2074 } 2075 int hash = 41; 2076 hash = (19 * hash) + getDescriptor().hashCode(); 2077 if (hasName()) { 2078 hash = (37 * hash) + NAME_FIELD_NUMBER; 2079 hash = (53 * hash) + getName().hashCode(); 2080 } 2081 if (hasPackage()) { 2082 hash = (37 * hash) + PACKAGE_FIELD_NUMBER; 2083 hash = (53 * hash) + getPackage().hashCode(); 2084 } 2085 if (getDependencyCount() > 0) { 2086 hash = (37 * hash) + DEPENDENCY_FIELD_NUMBER; 2087 hash = (53 * hash) + getDependencyList().hashCode(); 2088 } 2089 if (getPublicDependencyCount() > 0) { 2090 hash = (37 * hash) + PUBLIC_DEPENDENCY_FIELD_NUMBER; 2091 hash = (53 * hash) + getPublicDependencyList().hashCode(); 2092 } 2093 if (getWeakDependencyCount() > 0) { 2094 hash = (37 * hash) + WEAK_DEPENDENCY_FIELD_NUMBER; 2095 hash = (53 * hash) + getWeakDependencyList().hashCode(); 2096 } 2097 if (getMessageTypeCount() > 0) { 2098 hash = (37 * hash) + MESSAGE_TYPE_FIELD_NUMBER; 2099 hash = (53 * hash) + getMessageTypeList().hashCode(); 2100 } 2101 if (getEnumTypeCount() > 0) { 2102 hash = (37 * hash) + ENUM_TYPE_FIELD_NUMBER; 2103 hash = (53 * hash) + getEnumTypeList().hashCode(); 2104 } 2105 if (getServiceCount() > 0) { 2106 hash = (37 * hash) + SERVICE_FIELD_NUMBER; 2107 hash = (53 * hash) + getServiceList().hashCode(); 2108 } 2109 if (getExtensionCount() > 0) { 2110 hash = (37 * hash) + EXTENSION_FIELD_NUMBER; 2111 hash = (53 * hash) + getExtensionList().hashCode(); 2112 } 2113 if (hasOptions()) { 2114 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 2115 hash = (53 * hash) + getOptions().hashCode(); 2116 } 2117 if (hasSourceCodeInfo()) { 2118 hash = (37 * hash) + SOURCE_CODE_INFO_FIELD_NUMBER; 2119 hash = (53 * hash) + getSourceCodeInfo().hashCode(); 2120 } 2121 if (hasSyntax()) { 2122 hash = (37 * hash) + SYNTAX_FIELD_NUMBER; 2123 hash = (53 * hash) + getSyntax().hashCode(); 2124 } 2125 hash = (29 * hash) + unknownFields.hashCode(); 2126 memoizedHashCode = hash; 2127 return hash; 2128 } 2129 2130 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( 2131 java.nio.ByteBuffer data) 2132 throws com.google.protobuf.InvalidProtocolBufferException { 2133 return PARSER.parseFrom(data); 2134 } 2135 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( 2136 java.nio.ByteBuffer data, 2137 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2138 throws com.google.protobuf.InvalidProtocolBufferException { 2139 return PARSER.parseFrom(data, extensionRegistry); 2140 } 1945 2141 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( 1946 2142 com.google.protobuf.ByteString data) … … 1966 2162 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input) 1967 2163 throws java.io.IOException { 1968 return PARSER.parseFrom(input); 2164 return com.google.protobuf.GeneratedMessageV3 2165 .parseWithIOException(PARSER, input); 1969 2166 } 1970 2167 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( … … 1972 2169 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1973 2170 throws java.io.IOException { 1974 return PARSER.parseFrom(input, extensionRegistry); 2171 return com.google.protobuf.GeneratedMessageV3 2172 .parseWithIOException(PARSER, input, extensionRegistry); 1975 2173 } 1976 2174 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input) 1977 2175 throws java.io.IOException { 1978 return PARSER.parseDelimitedFrom(input); 2176 return com.google.protobuf.GeneratedMessageV3 2177 .parseDelimitedWithIOException(PARSER, input); 1979 2178 } 1980 2179 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom( … … 1982 2181 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1983 2182 throws java.io.IOException { 1984 return PARSER.parseDelimitedFrom(input, extensionRegistry); 2183 return com.google.protobuf.GeneratedMessageV3 2184 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 1985 2185 } 1986 2186 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( 1987 2187 com.google.protobuf.CodedInputStream input) 1988 2188 throws java.io.IOException { 1989 return PARSER.parseFrom(input); 2189 return com.google.protobuf.GeneratedMessageV3 2190 .parseWithIOException(PARSER, input); 1990 2191 } 1991 2192 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( … … 1993 2194 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1994 2195 throws java.io.IOException { 1995 return PARSER.parseFrom(input, extensionRegistry); 1996 } 1997 1998 public static Builder newBuilder() { return Builder.create(); } 1999 @Override 2000 public Builder newBuilderForType() { return newBuilder(); } 2196 return com.google.protobuf.GeneratedMessageV3 2197 .parseWithIOException(PARSER, input, extensionRegistry); 2198 } 2199 2200 public Builder newBuilderForType() { return newBuilder(); } 2201 public static Builder newBuilder() { 2202 return DEFAULT_INSTANCE.toBuilder(); 2203 } 2001 2204 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) { 2002 return newBuilder().mergeFrom(prototype); 2003 } 2004 @Override 2005 public Builder toBuilder() { return newBuilder(this); } 2205 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2206 } 2207 public Builder toBuilder() { 2208 return this == DEFAULT_INSTANCE 2209 ? new Builder() : new Builder().mergeFrom(this); 2210 } 2006 2211 2007 2212 @java.lang.Override 2008 2213 protected Builder newBuilderForType( 2009 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2214 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2010 2215 Builder builder = new Builder(parent); 2011 2216 return builder; 2012 2217 } 2013 2218 /** 2014 * Protobuf type {@code google.protobuf.FileDescriptorProto}2015 *2016 2219 * <pre> 2017 2220 * Describes a complete .proto file. 2018 2221 * </pre> 2222 * 2223 * Protobuf type {@code google.protobuf.FileDescriptorProto} 2019 2224 */ 2020 2225 public static final class Builder extends 2021 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 2226 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 2022 2227 // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorProto) 2023 2228 com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder { … … 2027 2232 } 2028 2233 2029 @Override 2030 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2234 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 2031 2235 internalGetFieldAccessorTable() { 2032 2236 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable … … 2041 2245 2042 2246 private Builder( 2043 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2247 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2044 2248 super(parent); 2045 2249 maybeForceBuilderInitialization(); 2046 2250 } 2047 2251 private void maybeForceBuilderInitialization() { 2048 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 2252 if (com.google.protobuf.GeneratedMessageV3 2253 .alwaysUseFieldBuilders) { 2049 2254 getMessageTypeFieldBuilder(); 2050 2255 getEnumTypeFieldBuilder(); … … 2055 2260 } 2056 2261 } 2057 private static Builder create() { 2058 return new Builder(); 2059 } 2060 2061 @Override 2062 public Builder clear() { 2262 public Builder clear() { 2063 2263 super.clear(); 2064 2264 name_ = ""; … … 2097 2297 } 2098 2298 if (optionsBuilder_ == null) { 2099 options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();2299 options_ = null; 2100 2300 } else { 2101 2301 optionsBuilder_.clear(); … … 2103 2303 bitField0_ = (bitField0_ & ~0x00000200); 2104 2304 if (sourceCodeInfoBuilder_ == null) { 2105 sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();2305 sourceCodeInfo_ = null; 2106 2306 } else { 2107 2307 sourceCodeInfoBuilder_.clear(); 2108 2308 } 2109 2309 bitField0_ = (bitField0_ & ~0x00000400); 2110 return this; 2111 } 2112 2113 @Override 2114 public Builder clone() { 2115 return create().mergeFrom(buildPartial()); 2116 } 2117 2118 @Override 2119 public com.google.protobuf.Descriptors.Descriptor 2310 syntax_ = ""; 2311 bitField0_ = (bitField0_ & ~0x00000800); 2312 return this; 2313 } 2314 2315 public com.google.protobuf.Descriptors.Descriptor 2120 2316 getDescriptorForType() { 2121 2317 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor; 2122 2318 } 2123 2319 2124 @Override 2125 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() { 2320 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() { 2126 2321 return com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance(); 2127 2322 } 2128 2323 2129 @Override 2130 public com.google.protobuf.DescriptorProtos.FileDescriptorProto build() { 2324 public com.google.protobuf.DescriptorProtos.FileDescriptorProto build() { 2131 2325 com.google.protobuf.DescriptorProtos.FileDescriptorProto result = buildPartial(); 2132 2326 if (!result.isInitialized()) { … … 2136 2330 } 2137 2331 2138 @Override 2139 public com.google.protobuf.DescriptorProtos.FileDescriptorProto buildPartial() { 2332 public com.google.protobuf.DescriptorProtos.FileDescriptorProto buildPartial() { 2140 2333 com.google.protobuf.DescriptorProtos.FileDescriptorProto result = new com.google.protobuf.DescriptorProtos.FileDescriptorProto(this); 2141 2334 int from_bitField0_ = bitField0_; … … 2216 2409 result.sourceCodeInfo_ = sourceCodeInfoBuilder_.build(); 2217 2410 } 2411 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 2412 to_bitField0_ |= 0x00000010; 2413 } 2414 result.syntax_ = syntax_; 2218 2415 result.bitField0_ = to_bitField0_; 2219 2416 onBuilt(); … … 2221 2418 } 2222 2419 2223 @Override 2224 public Builder mergeFrom(com.google.protobuf.Message other) { 2420 public Builder clone() { 2421 return (Builder) super.clone(); 2422 } 2423 public Builder setField( 2424 com.google.protobuf.Descriptors.FieldDescriptor field, 2425 java.lang.Object value) { 2426 return (Builder) super.setField(field, value); 2427 } 2428 public Builder clearField( 2429 com.google.protobuf.Descriptors.FieldDescriptor field) { 2430 return (Builder) super.clearField(field); 2431 } 2432 public Builder clearOneof( 2433 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 2434 return (Builder) super.clearOneof(oneof); 2435 } 2436 public Builder setRepeatedField( 2437 com.google.protobuf.Descriptors.FieldDescriptor field, 2438 int index, java.lang.Object value) { 2439 return (Builder) super.setRepeatedField(field, index, value); 2440 } 2441 public Builder addRepeatedField( 2442 com.google.protobuf.Descriptors.FieldDescriptor field, 2443 java.lang.Object value) { 2444 return (Builder) super.addRepeatedField(field, value); 2445 } 2446 public Builder mergeFrom(com.google.protobuf.Message other) { 2225 2447 if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorProto) { 2226 2448 return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorProto)other); … … 2291 2513 messageType_ = other.messageType_; 2292 2514 bitField0_ = (bitField0_ & ~0x00000020); 2293 messageTypeBuilder_ = 2294 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 2515 messageTypeBuilder_ = 2516 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 2295 2517 getMessageTypeFieldBuilder() : null; 2296 2518 } else { … … 2317 2539 enumType_ = other.enumType_; 2318 2540 bitField0_ = (bitField0_ & ~0x00000040); 2319 enumTypeBuilder_ = 2320 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 2541 enumTypeBuilder_ = 2542 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 2321 2543 getEnumTypeFieldBuilder() : null; 2322 2544 } else { … … 2343 2565 service_ = other.service_; 2344 2566 bitField0_ = (bitField0_ & ~0x00000080); 2345 serviceBuilder_ = 2346 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 2567 serviceBuilder_ = 2568 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 2347 2569 getServiceFieldBuilder() : null; 2348 2570 } else { … … 2369 2591 extension_ = other.extension_; 2370 2592 bitField0_ = (bitField0_ & ~0x00000100); 2371 extensionBuilder_ = 2372 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 2593 extensionBuilder_ = 2594 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 2373 2595 getExtensionFieldBuilder() : null; 2374 2596 } else { … … 2383 2605 mergeSourceCodeInfo(other.getSourceCodeInfo()); 2384 2606 } 2385 this.mergeUnknownFields(other.getUnknownFields()); 2386 return this; 2387 } 2388 2389 @Override 2390 public final boolean isInitialized() { 2607 if (other.hasSyntax()) { 2608 bitField0_ |= 0x00000800; 2609 syntax_ = other.syntax_; 2610 onChanged(); 2611 } 2612 this.mergeUnknownFields(other.unknownFields); 2613 onChanged(); 2614 return this; 2615 } 2616 2617 public final boolean isInitialized() { 2391 2618 for (int i = 0; i < getMessageTypeCount(); i++) { 2392 2619 if (!getMessageType(i).isInitialized()) { 2393 2394 2620 return false; 2395 2621 } … … 2397 2623 for (int i = 0; i < getEnumTypeCount(); i++) { 2398 2624 if (!getEnumType(i).isInitialized()) { 2399 2400 2625 return false; 2401 2626 } … … 2403 2628 for (int i = 0; i < getServiceCount(); i++) { 2404 2629 if (!getService(i).isInitialized()) { 2405 2406 2630 return false; 2407 2631 } … … 2409 2633 for (int i = 0; i < getExtensionCount(); i++) { 2410 2634 if (!getExtension(i).isInitialized()) { 2411 2412 2635 return false; 2413 2636 } … … 2415 2638 if (hasOptions()) { 2416 2639 if (!getOptions().isInitialized()) { 2417 2418 2640 return false; 2419 2641 } … … 2422 2644 } 2423 2645 2424 @Override 2425 public Builder mergeFrom( 2646 public Builder mergeFrom( 2426 2647 com.google.protobuf.CodedInputStream input, 2427 2648 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 2432 2653 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2433 2654 parsedMessage = (com.google.protobuf.DescriptorProtos.FileDescriptorProto) e.getUnfinishedMessage(); 2434 throw e; 2655 throw e.unwrapIOException(); 2435 2656 } finally { 2436 2657 if (parsedMessage != null) { … … 2444 2665 private java.lang.Object name_ = ""; 2445 2666 /** 2667 * <pre> 2668 * file name, relative to root of source tree 2669 * </pre> 2670 * 2446 2671 * <code>optional string name = 1;</code> 2447 * 2672 */ 2673 public boolean hasName() { 2674 return ((bitField0_ & 0x00000001) == 0x00000001); 2675 } 2676 /** 2448 2677 * <pre> 2449 2678 * file name, relative to root of source tree 2450 2679 * </pre> 2451 */ 2452 @Override 2453 public boolean hasName() { 2454 return ((bitField0_ & 0x00000001) == 0x00000001); 2455 } 2456 /** 2680 * 2457 2681 * <code>optional string name = 1;</code> 2458 * 2459 * <pre> 2460 * file name, relative to root of source tree 2461 * </pre> 2462 */ 2463 @Override 2464 public java.lang.String getName() { 2682 */ 2683 public java.lang.String getName() { 2465 2684 java.lang.Object ref = name_; 2466 2685 if (!(ref instanceof java.lang.String)) { … … 2477 2696 } 2478 2697 /** 2698 * <pre> 2699 * file name, relative to root of source tree 2700 * </pre> 2701 * 2479 2702 * <code>optional string name = 1;</code> 2480 * 2481 * <pre> 2482 * file name, relative to root of source tree 2483 * </pre> 2484 */ 2485 @Override 2486 public com.google.protobuf.ByteString 2703 */ 2704 public com.google.protobuf.ByteString 2487 2705 getNameBytes() { 2488 2706 java.lang.Object ref = name_; 2489 2707 if (ref instanceof String) { 2490 com.google.protobuf.ByteString b = 2708 com.google.protobuf.ByteString b = 2491 2709 com.google.protobuf.ByteString.copyFromUtf8( 2492 2710 (java.lang.String) ref); … … 2498 2716 } 2499 2717 /** 2718 * <pre> 2719 * file name, relative to root of source tree 2720 * </pre> 2721 * 2500 2722 * <code>optional string name = 1;</code> 2501 *2502 * <pre>2503 * file name, relative to root of source tree2504 * </pre>2505 2723 */ 2506 2724 public Builder setName( … … 2515 2733 } 2516 2734 /** 2735 * <pre> 2736 * file name, relative to root of source tree 2737 * </pre> 2738 * 2517 2739 * <code>optional string name = 1;</code> 2518 *2519 * <pre>2520 * file name, relative to root of source tree2521 * </pre>2522 2740 */ 2523 2741 public Builder clearName() { … … 2528 2746 } 2529 2747 /** 2748 * <pre> 2749 * file name, relative to root of source tree 2750 * </pre> 2751 * 2530 2752 * <code>optional string name = 1;</code> 2531 *2532 * <pre>2533 * file name, relative to root of source tree2534 * </pre>2535 2753 */ 2536 2754 public Builder setNameBytes( … … 2547 2765 private java.lang.Object package_ = ""; 2548 2766 /** 2767 * <pre> 2768 * e.g. "foo", "foo.bar", etc. 2769 * </pre> 2770 * 2549 2771 * <code>optional string package = 2;</code> 2550 * 2772 */ 2773 public boolean hasPackage() { 2774 return ((bitField0_ & 0x00000002) == 0x00000002); 2775 } 2776 /** 2551 2777 * <pre> 2552 2778 * e.g. "foo", "foo.bar", etc. 2553 2779 * </pre> 2554 */ 2555 @Override 2556 public boolean hasPackage() { 2557 return ((bitField0_ & 0x00000002) == 0x00000002); 2558 } 2559 /** 2780 * 2560 2781 * <code>optional string package = 2;</code> 2561 * 2562 * <pre> 2563 * e.g. "foo", "foo.bar", etc. 2564 * </pre> 2565 */ 2566 @Override 2567 public java.lang.String getPackage() { 2782 */ 2783 public java.lang.String getPackage() { 2568 2784 java.lang.Object ref = package_; 2569 2785 if (!(ref instanceof java.lang.String)) { … … 2580 2796 } 2581 2797 /** 2798 * <pre> 2799 * e.g. "foo", "foo.bar", etc. 2800 * </pre> 2801 * 2582 2802 * <code>optional string package = 2;</code> 2583 * 2584 * <pre> 2585 * e.g. "foo", "foo.bar", etc. 2586 * </pre> 2587 */ 2588 @Override 2589 public com.google.protobuf.ByteString 2803 */ 2804 public com.google.protobuf.ByteString 2590 2805 getPackageBytes() { 2591 2806 java.lang.Object ref = package_; 2592 2807 if (ref instanceof String) { 2593 com.google.protobuf.ByteString b = 2808 com.google.protobuf.ByteString b = 2594 2809 com.google.protobuf.ByteString.copyFromUtf8( 2595 2810 (java.lang.String) ref); … … 2601 2816 } 2602 2817 /** 2818 * <pre> 2819 * e.g. "foo", "foo.bar", etc. 2820 * </pre> 2821 * 2603 2822 * <code>optional string package = 2;</code> 2604 *2605 * <pre>2606 * e.g. "foo", "foo.bar", etc.2607 * </pre>2608 2823 */ 2609 2824 public Builder setPackage( … … 2618 2833 } 2619 2834 /** 2835 * <pre> 2836 * e.g. "foo", "foo.bar", etc. 2837 * </pre> 2838 * 2620 2839 * <code>optional string package = 2;</code> 2621 *2622 * <pre>2623 * e.g. "foo", "foo.bar", etc.2624 * </pre>2625 2840 */ 2626 2841 public Builder clearPackage() { … … 2631 2846 } 2632 2847 /** 2848 * <pre> 2849 * e.g. "foo", "foo.bar", etc. 2850 * </pre> 2851 * 2633 2852 * <code>optional string package = 2;</code> 2634 *2635 * <pre>2636 * e.g. "foo", "foo.bar", etc.2637 * </pre>2638 2853 */ 2639 2854 public Builder setPackageBytes( … … 2656 2871 } 2657 2872 /** 2873 * <pre> 2874 * Names of files imported by this file. 2875 * </pre> 2876 * 2658 2877 * <code>repeated string dependency = 3;</code> 2659 * 2660 * <pre> 2661 * Names of files imported by this file. 2662 * </pre> 2663 */ 2664 @Override 2665 public com.google.protobuf.ProtocolStringList 2878 */ 2879 public com.google.protobuf.ProtocolStringList 2666 2880 getDependencyList() { 2667 2881 return dependency_.getUnmodifiableView(); 2668 2882 } 2669 2883 /** 2884 * <pre> 2885 * Names of files imported by this file. 2886 * </pre> 2887 * 2670 2888 * <code>repeated string dependency = 3;</code> 2671 * 2889 */ 2890 public int getDependencyCount() { 2891 return dependency_.size(); 2892 } 2893 /** 2672 2894 * <pre> 2673 2895 * Names of files imported by this file. 2674 2896 * </pre> 2675 */ 2676 @Override 2677 public int getDependencyCount() { 2678 return dependency_.size(); 2679 } 2680 /** 2897 * 2681 2898 * <code>repeated string dependency = 3;</code> 2682 * 2899 */ 2900 public java.lang.String getDependency(int index) { 2901 return dependency_.get(index); 2902 } 2903 /** 2683 2904 * <pre> 2684 2905 * Names of files imported by this file. 2685 2906 * </pre> 2686 */ 2687 @Override 2688 public java.lang.String getDependency(int index) { 2689 return dependency_.get(index); 2690 } 2691 /** 2907 * 2692 2908 * <code>repeated string dependency = 3;</code> 2693 * 2694 * <pre> 2695 * Names of files imported by this file. 2696 * </pre> 2697 */ 2698 @Override 2699 public com.google.protobuf.ByteString 2909 */ 2910 public com.google.protobuf.ByteString 2700 2911 getDependencyBytes(int index) { 2701 2912 return dependency_.getByteString(index); 2702 2913 } 2703 2914 /** 2915 * <pre> 2916 * Names of files imported by this file. 2917 * </pre> 2918 * 2704 2919 * <code>repeated string dependency = 3;</code> 2705 *2706 * <pre>2707 * Names of files imported by this file.2708 * </pre>2709 2920 */ 2710 2921 public Builder setDependency( … … 2719 2930 } 2720 2931 /** 2932 * <pre> 2933 * Names of files imported by this file. 2934 * </pre> 2935 * 2721 2936 * <code>repeated string dependency = 3;</code> 2722 *2723 * <pre>2724 * Names of files imported by this file.2725 * </pre>2726 2937 */ 2727 2938 public Builder addDependency( … … 2736 2947 } 2737 2948 /** 2949 * <pre> 2950 * Names of files imported by this file. 2951 * </pre> 2952 * 2738 2953 * <code>repeated string dependency = 3;</code> 2739 *2740 * <pre>2741 * Names of files imported by this file.2742 * </pre>2743 2954 */ 2744 2955 public Builder addAllDependency( … … 2751 2962 } 2752 2963 /** 2964 * <pre> 2965 * Names of files imported by this file. 2966 * </pre> 2967 * 2753 2968 * <code>repeated string dependency = 3;</code> 2754 *2755 * <pre>2756 * Names of files imported by this file.2757 * </pre>2758 2969 */ 2759 2970 public Builder clearDependency() { … … 2764 2975 } 2765 2976 /** 2977 * <pre> 2978 * Names of files imported by this file. 2979 * </pre> 2980 * 2766 2981 * <code>repeated string dependency = 3;</code> 2767 *2768 * <pre>2769 * Names of files imported by this file.2770 * </pre>2771 2982 */ 2772 2983 public Builder addDependencyBytes( … … 2784 2995 private void ensurePublicDependencyIsMutable() { 2785 2996 if (!((bitField0_ & 0x00000008) == 0x00000008)) { 2786 publicDependency_ = new java.util.ArrayList<>(publicDependency_); 2997 publicDependency_ = new java.util.ArrayList<java.lang.Integer>(publicDependency_); 2787 2998 bitField0_ |= 0x00000008; 2788 2999 } 2789 3000 } 2790 3001 /** 3002 * <pre> 3003 * Indexes of the public imported files in the dependency list above. 3004 * </pre> 3005 * 2791 3006 * <code>repeated int32 public_dependency = 10;</code> 2792 * 2793 * <pre> 2794 * Indexes of the public imported files in the dependency list above. 2795 * </pre> 2796 */ 2797 @Override 2798 public java.util.List<java.lang.Integer> 3007 */ 3008 public java.util.List<java.lang.Integer> 2799 3009 getPublicDependencyList() { 2800 3010 return java.util.Collections.unmodifiableList(publicDependency_); 2801 3011 } 2802 3012 /** 3013 * <pre> 3014 * Indexes of the public imported files in the dependency list above. 3015 * </pre> 3016 * 2803 3017 * <code>repeated int32 public_dependency = 10;</code> 2804 * 3018 */ 3019 public int getPublicDependencyCount() { 3020 return publicDependency_.size(); 3021 } 3022 /** 2805 3023 * <pre> 2806 3024 * Indexes of the public imported files in the dependency list above. 2807 3025 * </pre> 2808 */ 2809 @Override 2810 public int getPublicDependencyCount() { 2811 return publicDependency_.size(); 2812 } 2813 /** 3026 * 2814 3027 * <code>repeated int32 public_dependency = 10;</code> 2815 * 3028 */ 3029 public int getPublicDependency(int index) { 3030 return publicDependency_.get(index); 3031 } 3032 /** 2816 3033 * <pre> 2817 3034 * Indexes of the public imported files in the dependency list above. 2818 3035 * </pre> 2819 */ 2820 @Override 2821 public int getPublicDependency(int index) { 2822 return publicDependency_.get(index); 2823 } 2824 /** 3036 * 2825 3037 * <code>repeated int32 public_dependency = 10;</code> 2826 *2827 * <pre>2828 * Indexes of the public imported files in the dependency list above.2829 * </pre>2830 3038 */ 2831 3039 public Builder setPublicDependency( … … 2837 3045 } 2838 3046 /** 3047 * <pre> 3048 * Indexes of the public imported files in the dependency list above. 3049 * </pre> 3050 * 2839 3051 * <code>repeated int32 public_dependency = 10;</code> 2840 *2841 * <pre>2842 * Indexes of the public imported files in the dependency list above.2843 * </pre>2844 3052 */ 2845 3053 public Builder addPublicDependency(int value) { … … 2850 3058 } 2851 3059 /** 3060 * <pre> 3061 * Indexes of the public imported files in the dependency list above. 3062 * </pre> 3063 * 2852 3064 * <code>repeated int32 public_dependency = 10;</code> 2853 *2854 * <pre>2855 * Indexes of the public imported files in the dependency list above.2856 * </pre>2857 3065 */ 2858 3066 public Builder addAllPublicDependency( … … 2865 3073 } 2866 3074 /** 3075 * <pre> 3076 * Indexes of the public imported files in the dependency list above. 3077 * </pre> 3078 * 2867 3079 * <code>repeated int32 public_dependency = 10;</code> 2868 *2869 * <pre>2870 * Indexes of the public imported files in the dependency list above.2871 * </pre>2872 3080 */ 2873 3081 public Builder clearPublicDependency() { … … 2881 3089 private void ensureWeakDependencyIsMutable() { 2882 3090 if (!((bitField0_ & 0x00000010) == 0x00000010)) { 2883 weakDependency_ = new java.util.ArrayList<>(weakDependency_); 3091 weakDependency_ = new java.util.ArrayList<java.lang.Integer>(weakDependency_); 2884 3092 bitField0_ |= 0x00000010; 2885 3093 } 2886 3094 } 2887 3095 /** 2888 * <code>repeated int32 weak_dependency = 11;</code>2889 *2890 3096 * <pre> 2891 3097 * Indexes of the weak imported files in the dependency list. 2892 3098 * For Google-internal migration only. Do not use. 2893 3099 * </pre> 2894 */ 2895 @Override 2896 public java.util.List<java.lang.Integer> 3100 * 3101 * <code>repeated int32 weak_dependency = 11;</code> 3102 */ 3103 public java.util.List<java.lang.Integer> 2897 3104 getWeakDependencyList() { 2898 3105 return java.util.Collections.unmodifiableList(weakDependency_); 2899 3106 } 2900 3107 /** 2901 * <code>repeated int32 weak_dependency = 11;</code>2902 *2903 3108 * <pre> 2904 3109 * Indexes of the weak imported files in the dependency list. 2905 3110 * For Google-internal migration only. Do not use. 2906 3111 * </pre> 2907 */ 2908 @Override 2909 public int getWeakDependencyCount() { 3112 * 3113 * <code>repeated int32 weak_dependency = 11;</code> 3114 */ 3115 public int getWeakDependencyCount() { 2910 3116 return weakDependency_.size(); 2911 3117 } 2912 3118 /** 2913 * <code>repeated int32 weak_dependency = 11;</code>2914 *2915 3119 * <pre> 2916 3120 * Indexes of the weak imported files in the dependency list. 2917 3121 * For Google-internal migration only. Do not use. 2918 3122 * </pre> 2919 */ 2920 @Override 2921 public int getWeakDependency(int index) { 3123 * 3124 * <code>repeated int32 weak_dependency = 11;</code> 3125 */ 3126 public int getWeakDependency(int index) { 2922 3127 return weakDependency_.get(index); 2923 3128 } 2924 3129 /** 2925 * <code>repeated int32 weak_dependency = 11;</code>2926 *2927 3130 * <pre> 2928 3131 * Indexes of the weak imported files in the dependency list. 2929 3132 * For Google-internal migration only. Do not use. 2930 3133 * </pre> 3134 * 3135 * <code>repeated int32 weak_dependency = 11;</code> 2931 3136 */ 2932 3137 public Builder setWeakDependency( … … 2938 3143 } 2939 3144 /** 2940 * <code>repeated int32 weak_dependency = 11;</code>2941 *2942 3145 * <pre> 2943 3146 * Indexes of the weak imported files in the dependency list. 2944 3147 * For Google-internal migration only. Do not use. 2945 3148 * </pre> 3149 * 3150 * <code>repeated int32 weak_dependency = 11;</code> 2946 3151 */ 2947 3152 public Builder addWeakDependency(int value) { … … 2952 3157 } 2953 3158 /** 2954 * <code>repeated int32 weak_dependency = 11;</code>2955 *2956 3159 * <pre> 2957 3160 * Indexes of the weak imported files in the dependency list. 2958 3161 * For Google-internal migration only. Do not use. 2959 3162 * </pre> 3163 * 3164 * <code>repeated int32 weak_dependency = 11;</code> 2960 3165 */ 2961 3166 public Builder addAllWeakDependency( … … 2968 3173 } 2969 3174 /** 2970 * <code>repeated int32 weak_dependency = 11;</code>2971 *2972 3175 * <pre> 2973 3176 * Indexes of the weak imported files in the dependency list. 2974 3177 * For Google-internal migration only. Do not use. 2975 3178 * </pre> 3179 * 3180 * <code>repeated int32 weak_dependency = 11;</code> 2976 3181 */ 2977 3182 public Builder clearWeakDependency() { … … 2986 3191 private void ensureMessageTypeIsMutable() { 2987 3192 if (!((bitField0_ & 0x00000020) == 0x00000020)) { 2988 messageType_ = new java.util.ArrayList<>(messageType_); 3193 messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(messageType_); 2989 3194 bitField0_ |= 0x00000020; 2990 3195 } 2991 3196 } 2992 3197 2993 private com.google.protobuf.RepeatedFieldBuilder< 3198 private com.google.protobuf.RepeatedFieldBuilderV3< 2994 3199 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> messageTypeBuilder_; 2995 3200 2996 3201 /** 3202 * <pre> 3203 * All top-level definitions in this file. 3204 * </pre> 3205 * 2997 3206 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 2998 * 2999 * <pre> 3000 * All top-level definitions in this file. 3001 * </pre> 3002 */ 3003 @Override 3004 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() { 3207 */ 3208 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() { 3005 3209 if (messageTypeBuilder_ == null) { 3006 3210 return java.util.Collections.unmodifiableList(messageType_); … … 3010 3214 } 3011 3215 /** 3216 * <pre> 3217 * All top-level definitions in this file. 3218 * </pre> 3219 * 3012 3220 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3013 * 3014 * <pre> 3015 * All top-level definitions in this file. 3016 * </pre> 3017 */ 3018 @Override 3019 public int getMessageTypeCount() { 3221 */ 3222 public int getMessageTypeCount() { 3020 3223 if (messageTypeBuilder_ == null) { 3021 3224 return messageType_.size(); … … 3025 3228 } 3026 3229 /** 3230 * <pre> 3231 * All top-level definitions in this file. 3232 * </pre> 3233 * 3027 3234 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3028 * 3029 * <pre> 3030 * All top-level definitions in this file. 3031 * </pre> 3032 */ 3033 @Override 3034 public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { 3235 */ 3236 public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { 3035 3237 if (messageTypeBuilder_ == null) { 3036 3238 return messageType_.get(index); … … 3040 3242 } 3041 3243 /** 3244 * <pre> 3245 * All top-level definitions in this file. 3246 * </pre> 3247 * 3042 3248 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3043 *3044 * <pre>3045 * All top-level definitions in this file.3046 * </pre>3047 3249 */ 3048 3250 public Builder setMessageType( … … 3061 3263 } 3062 3264 /** 3265 * <pre> 3266 * All top-level definitions in this file. 3267 * </pre> 3268 * 3063 3269 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3064 *3065 * <pre>3066 * All top-level definitions in this file.3067 * </pre>3068 3270 */ 3069 3271 public Builder setMessageType( … … 3079 3281 } 3080 3282 /** 3283 * <pre> 3284 * All top-level definitions in this file. 3285 * </pre> 3286 * 3081 3287 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3082 *3083 * <pre>3084 * All top-level definitions in this file.3085 * </pre>3086 3288 */ 3087 3289 public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) { … … 3099 3301 } 3100 3302 /** 3303 * <pre> 3304 * All top-level definitions in this file. 3305 * </pre> 3306 * 3101 3307 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3102 *3103 * <pre>3104 * All top-level definitions in this file.3105 * </pre>3106 3308 */ 3107 3309 public Builder addMessageType( … … 3120 3322 } 3121 3323 /** 3324 * <pre> 3325 * All top-level definitions in this file. 3326 * </pre> 3327 * 3122 3328 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3123 *3124 * <pre>3125 * All top-level definitions in this file.3126 * </pre>3127 3329 */ 3128 3330 public Builder addMessageType( … … 3138 3340 } 3139 3341 /** 3342 * <pre> 3343 * All top-level definitions in this file. 3344 * </pre> 3345 * 3140 3346 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3141 *3142 * <pre>3143 * All top-level definitions in this file.3144 * </pre>3145 3347 */ 3146 3348 public Builder addMessageType( … … 3156 3358 } 3157 3359 /** 3360 * <pre> 3361 * All top-level definitions in this file. 3362 * </pre> 3363 * 3158 3364 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3159 *3160 * <pre>3161 * All top-level definitions in this file.3162 * </pre>3163 3365 */ 3164 3366 public Builder addAllMessageType( … … 3175 3377 } 3176 3378 /** 3379 * <pre> 3380 * All top-level definitions in this file. 3381 * </pre> 3382 * 3177 3383 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3178 *3179 * <pre>3180 * All top-level definitions in this file.3181 * </pre>3182 3384 */ 3183 3385 public Builder clearMessageType() { … … 3192 3394 } 3193 3395 /** 3396 * <pre> 3397 * All top-level definitions in this file. 3398 * </pre> 3399 * 3194 3400 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3195 *3196 * <pre>3197 * All top-level definitions in this file.3198 * </pre>3199 3401 */ 3200 3402 public Builder removeMessageType(int index) { … … 3209 3411 } 3210 3412 /** 3413 * <pre> 3414 * All top-level definitions in this file. 3415 * </pre> 3416 * 3211 3417 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3212 *3213 * <pre>3214 * All top-level definitions in this file.3215 * </pre>3216 3418 */ 3217 3419 public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder( … … 3220 3422 } 3221 3423 /** 3424 * <pre> 3425 * All top-level definitions in this file. 3426 * </pre> 3427 * 3222 3428 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3223 * 3224 * <pre> 3225 * All top-level definitions in this file. 3226 * </pre> 3227 */ 3228 @Override 3229 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( 3429 */ 3430 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( 3230 3431 int index) { 3231 3432 if (messageTypeBuilder_ == null) { … … 3235 3436 } 3236 3437 /** 3438 * <pre> 3439 * All top-level definitions in this file. 3440 * </pre> 3441 * 3237 3442 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3238 * 3239 * <pre> 3240 * All top-level definitions in this file. 3241 * </pre> 3242 */ 3243 @Override 3244 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 3443 */ 3444 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 3245 3445 getMessageTypeOrBuilderList() { 3246 3446 if (messageTypeBuilder_ != null) { … … 3251 3451 } 3252 3452 /** 3453 * <pre> 3454 * All top-level definitions in this file. 3455 * </pre> 3456 * 3253 3457 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3254 *3255 * <pre>3256 * All top-level definitions in this file.3257 * </pre>3258 3458 */ 3259 3459 public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder() { … … 3262 3462 } 3263 3463 /** 3464 * <pre> 3465 * All top-level definitions in this file. 3466 * </pre> 3467 * 3264 3468 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3265 *3266 * <pre>3267 * All top-level definitions in this file.3268 * </pre>3269 3469 */ 3270 3470 public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder( … … 3274 3474 } 3275 3475 /** 3476 * <pre> 3477 * All top-level definitions in this file. 3478 * </pre> 3479 * 3276 3480 * <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 3277 * 3278 * <pre> 3279 * All top-level definitions in this file. 3280 * </pre> 3281 */ 3282 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder> 3481 */ 3482 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder> 3283 3483 getMessageTypeBuilderList() { 3284 3484 return getMessageTypeFieldBuilder().getBuilderList(); 3285 3485 } 3286 private com.google.protobuf.RepeatedFieldBuilder< 3287 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 3486 private com.google.protobuf.RepeatedFieldBuilderV3< 3487 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 3288 3488 getMessageTypeFieldBuilder() { 3289 3489 if (messageTypeBuilder_ == null) { 3290 messageTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 3490 messageTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 3491 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>( 3291 3492 messageType_, 3292 3493 ((bitField0_ & 0x00000020) == 0x00000020), … … 3302 3503 private void ensureEnumTypeIsMutable() { 3303 3504 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 3304 enumType_ = new java.util.ArrayList<>(enumType_); 3505 enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(enumType_); 3305 3506 bitField0_ |= 0x00000040; 3306 3507 } 3307 3508 } 3308 3509 3309 private com.google.protobuf.RepeatedFieldBuilder< 3510 private com.google.protobuf.RepeatedFieldBuilderV3< 3310 3511 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_; 3311 3512 … … 3313 3514 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3314 3515 */ 3315 @Override 3316 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 3516 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 3317 3517 if (enumTypeBuilder_ == null) { 3318 3518 return java.util.Collections.unmodifiableList(enumType_); … … 3324 3524 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3325 3525 */ 3326 @Override 3327 public int getEnumTypeCount() { 3526 public int getEnumTypeCount() { 3328 3527 if (enumTypeBuilder_ == null) { 3329 3528 return enumType_.size(); … … 3335 3534 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3336 3535 */ 3337 @Override 3338 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 3536 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 3339 3537 if (enumTypeBuilder_ == null) { 3340 3538 return enumType_.get(index); … … 3486 3684 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3487 3685 */ 3488 @Override 3489 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 3686 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 3490 3687 int index) { 3491 3688 if (enumTypeBuilder_ == null) { … … 3497 3694 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3498 3695 */ 3499 @Override 3500 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 3696 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 3501 3697 getEnumTypeOrBuilderList() { 3502 3698 if (enumTypeBuilder_ != null) { … … 3524 3720 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code> 3525 3721 */ 3526 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder> 3722 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder> 3527 3723 getEnumTypeBuilderList() { 3528 3724 return getEnumTypeFieldBuilder().getBuilderList(); 3529 3725 } 3530 private com.google.protobuf.RepeatedFieldBuilder< 3531 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 3726 private com.google.protobuf.RepeatedFieldBuilderV3< 3727 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 3532 3728 getEnumTypeFieldBuilder() { 3533 3729 if (enumTypeBuilder_ == null) { 3534 enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 3730 enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 3731 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>( 3535 3732 enumType_, 3536 3733 ((bitField0_ & 0x00000040) == 0x00000040), … … 3546 3743 private void ensureServiceIsMutable() { 3547 3744 if (!((bitField0_ & 0x00000080) == 0x00000080)) { 3548 service_ = new java.util.ArrayList<>(service_); 3745 service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>(service_); 3549 3746 bitField0_ |= 0x00000080; 3550 3747 } 3551 3748 } 3552 3749 3553 private com.google.protobuf.RepeatedFieldBuilder< 3750 private com.google.protobuf.RepeatedFieldBuilderV3< 3554 3751 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> serviceBuilder_; 3555 3752 … … 3557 3754 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3558 3755 */ 3559 @Override 3560 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() { 3756 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() { 3561 3757 if (serviceBuilder_ == null) { 3562 3758 return java.util.Collections.unmodifiableList(service_); … … 3568 3764 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3569 3765 */ 3570 @Override 3571 public int getServiceCount() { 3766 public int getServiceCount() { 3572 3767 if (serviceBuilder_ == null) { 3573 3768 return service_.size(); … … 3579 3774 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3580 3775 */ 3581 @Override 3582 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { 3776 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { 3583 3777 if (serviceBuilder_ == null) { 3584 3778 return service_.get(index); … … 3730 3924 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3731 3925 */ 3732 @Override 3733 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder( 3926 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder( 3734 3927 int index) { 3735 3928 if (serviceBuilder_ == null) { … … 3741 3934 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3742 3935 */ 3743 @Override 3744 public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 3936 public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 3745 3937 getServiceOrBuilderList() { 3746 3938 if (serviceBuilder_ != null) { … … 3768 3960 * <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code> 3769 3961 */ 3770 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder> 3962 public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder> 3771 3963 getServiceBuilderList() { 3772 3964 return getServiceFieldBuilder().getBuilderList(); 3773 3965 } 3774 private com.google.protobuf.RepeatedFieldBuilder< 3775 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 3966 private com.google.protobuf.RepeatedFieldBuilderV3< 3967 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> 3776 3968 getServiceFieldBuilder() { 3777 3969 if (serviceBuilder_ == null) { 3778 serviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 3970 serviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 3971 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>( 3779 3972 service_, 3780 3973 ((bitField0_ & 0x00000080) == 0x00000080), … … 3790 3983 private void ensureExtensionIsMutable() { 3791 3984 if (!((bitField0_ & 0x00000100) == 0x00000100)) { 3792 extension_ = new java.util.ArrayList<>(extension_); 3985 extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(extension_); 3793 3986 bitField0_ |= 0x00000100; 3794 3987 } 3795 3988 } 3796 3989 3797 private com.google.protobuf.RepeatedFieldBuilder< 3990 private com.google.protobuf.RepeatedFieldBuilderV3< 3798 3991 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_; 3799 3992 … … 3801 3994 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 3802 3995 */ 3803 @Override 3804 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 3996 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 3805 3997 if (extensionBuilder_ == null) { 3806 3998 return java.util.Collections.unmodifiableList(extension_); … … 3812 4004 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 3813 4005 */ 3814 @Override 3815 public int getExtensionCount() { 4006 public int getExtensionCount() { 3816 4007 if (extensionBuilder_ == null) { 3817 4008 return extension_.size(); … … 3823 4014 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 3824 4015 */ 3825 @Override 3826 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 4016 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 3827 4017 if (extensionBuilder_ == null) { 3828 4018 return extension_.get(index); … … 3974 4164 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 3975 4165 */ 3976 @Override 3977 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 4166 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 3978 4167 int index) { 3979 4168 if (extensionBuilder_ == null) { … … 3985 4174 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 3986 4175 */ 3987 @Override 3988 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4176 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 3989 4177 getExtensionOrBuilderList() { 3990 4178 if (extensionBuilder_ != null) { … … 4012 4200 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code> 4013 4201 */ 4014 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 4202 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 4015 4203 getExtensionBuilderList() { 4016 4204 return getExtensionFieldBuilder().getBuilderList(); 4017 4205 } 4018 private com.google.protobuf.RepeatedFieldBuilder< 4019 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4206 private com.google.protobuf.RepeatedFieldBuilderV3< 4207 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4020 4208 getExtensionFieldBuilder() { 4021 4209 if (extensionBuilder_ == null) { 4022 extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 4210 extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 4211 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>( 4023 4212 extension_, 4024 4213 ((bitField0_ & 0x00000100) == 0x00000100), … … 4030 4219 } 4031 4220 4032 private com.google.protobuf.DescriptorProtos.FileOptions options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();4033 private com.google.protobuf.SingleFieldBuilder< 4221 private com.google.protobuf.DescriptorProtos.FileOptions options_ = null; 4222 private com.google.protobuf.SingleFieldBuilderV3< 4034 4223 com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder> optionsBuilder_; 4035 4224 /** 4036 4225 * <code>optional .google.protobuf.FileOptions options = 8;</code> 4037 4226 */ 4038 @Override 4039 public boolean hasOptions() { 4227 public boolean hasOptions() { 4040 4228 return ((bitField0_ & 0x00000200) == 0x00000200); 4041 4229 } … … 4043 4231 * <code>optional .google.protobuf.FileOptions options = 8;</code> 4044 4232 */ 4045 @Override 4046 public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { 4233 public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { 4047 4234 if (optionsBuilder_ == null) { 4048 return options_; 4235 return options_ == null ? com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_; 4049 4236 } else { 4050 4237 return optionsBuilder_.getMessage(); … … 4087 4274 if (optionsBuilder_ == null) { 4088 4275 if (((bitField0_ & 0x00000200) == 0x00000200) && 4276 options_ != null && 4089 4277 options_ != com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) { 4090 4278 options_ = … … 4105 4293 public Builder clearOptions() { 4106 4294 if (optionsBuilder_ == null) { 4107 options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();4295 options_ = null; 4108 4296 onChanged(); 4109 4297 } else { … … 4124 4312 * <code>optional .google.protobuf.FileOptions options = 8;</code> 4125 4313 */ 4126 @Override 4127 public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() { 4314 public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() { 4128 4315 if (optionsBuilder_ != null) { 4129 4316 return optionsBuilder_.getMessageOrBuilder(); 4130 4317 } else { 4131 return options_; 4318 return options_ == null ? 4319 com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_; 4132 4320 } 4133 4321 } … … 4135 4323 * <code>optional .google.protobuf.FileOptions options = 8;</code> 4136 4324 */ 4137 private com.google.protobuf.SingleFieldBuilder< 4138 com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder> 4325 private com.google.protobuf.SingleFieldBuilderV3< 4326 com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder> 4139 4327 getOptionsFieldBuilder() { 4140 4328 if (optionsBuilder_ == null) { 4141 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 4329 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 4330 com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>( 4142 4331 getOptions(), 4143 4332 getParentForChildren(), … … 4148 4337 } 4149 4338 4150 private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();4151 private com.google.protobuf.SingleFieldBuilder< 4339 private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_ = null; 4340 private com.google.protobuf.SingleFieldBuilderV3< 4152 4341 com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder> sourceCodeInfoBuilder_; 4153 4342 /** 4154 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4155 *4156 4343 * <pre> 4157 4344 * This field contains optional information about the original source code. 4158 * You may safely remove this entire field w hithout harming runtime4345 * You may safely remove this entire field without harming runtime 4159 4346 * functionality of the descriptors -- the information is needed only by 4160 4347 * development tools. 4161 4348 * </pre> 4162 */ 4163 @Override 4164 public boolean hasSourceCodeInfo() { 4349 * 4350 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4351 */ 4352 public boolean hasSourceCodeInfo() { 4165 4353 return ((bitField0_ & 0x00000400) == 0x00000400); 4166 4354 } 4167 4355 /** 4168 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4169 *4170 4356 * <pre> 4171 4357 * This field contains optional information about the original source code. 4172 * You may safely remove this entire field w hithout harming runtime4358 * You may safely remove this entire field without harming runtime 4173 4359 * functionality of the descriptors -- the information is needed only by 4174 4360 * development tools. 4175 4361 * </pre> 4176 */ 4177 @Override 4178 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { 4362 * 4363 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4364 */ 4365 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { 4179 4366 if (sourceCodeInfoBuilder_ == null) { 4180 return sourceCodeInfo_; 4367 return sourceCodeInfo_ == null ? com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_; 4181 4368 } else { 4182 4369 return sourceCodeInfoBuilder_.getMessage(); … … 4184 4371 } 4185 4372 /** 4186 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4187 *4188 4373 * <pre> 4189 4374 * This field contains optional information about the original source code. 4190 * You may safely remove this entire field w hithout harming runtime4375 * You may safely remove this entire field without harming runtime 4191 4376 * functionality of the descriptors -- the information is needed only by 4192 4377 * development tools. 4193 4378 * </pre> 4379 * 4380 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4194 4381 */ 4195 4382 public Builder setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { … … 4207 4394 } 4208 4395 /** 4209 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4210 *4211 4396 * <pre> 4212 4397 * This field contains optional information about the original source code. 4213 * You may safely remove this entire field w hithout harming runtime4398 * You may safely remove this entire field without harming runtime 4214 4399 * functionality of the descriptors -- the information is needed only by 4215 4400 * development tools. 4216 4401 * </pre> 4402 * 4403 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4217 4404 */ 4218 4405 public Builder setSourceCodeInfo( … … 4228 4415 } 4229 4416 /** 4230 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4231 *4232 4417 * <pre> 4233 4418 * This field contains optional information about the original source code. 4234 * You may safely remove this entire field w hithout harming runtime4419 * You may safely remove this entire field without harming runtime 4235 4420 * functionality of the descriptors -- the information is needed only by 4236 4421 * development tools. 4237 4422 * </pre> 4423 * 4424 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4238 4425 */ 4239 4426 public Builder mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { 4240 4427 if (sourceCodeInfoBuilder_ == null) { 4241 4428 if (((bitField0_ & 0x00000400) == 0x00000400) && 4429 sourceCodeInfo_ != null && 4242 4430 sourceCodeInfo_ != com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) { 4243 4431 sourceCodeInfo_ = … … 4254 4442 } 4255 4443 /** 4256 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4257 *4258 4444 * <pre> 4259 4445 * This field contains optional information about the original source code. 4260 * You may safely remove this entire field w hithout harming runtime4446 * You may safely remove this entire field without harming runtime 4261 4447 * functionality of the descriptors -- the information is needed only by 4262 4448 * development tools. 4263 4449 * </pre> 4450 * 4451 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4264 4452 */ 4265 4453 public Builder clearSourceCodeInfo() { 4266 4454 if (sourceCodeInfoBuilder_ == null) { 4267 sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();4455 sourceCodeInfo_ = null; 4268 4456 onChanged(); 4269 4457 } else { … … 4274 4462 } 4275 4463 /** 4276 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4277 *4278 4464 * <pre> 4279 4465 * This field contains optional information about the original source code. 4280 * You may safely remove this entire field w hithout harming runtime4466 * You may safely remove this entire field without harming runtime 4281 4467 * functionality of the descriptors -- the information is needed only by 4282 4468 * development tools. 4283 4469 * </pre> 4470 * 4471 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4284 4472 */ 4285 4473 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder() { … … 4289 4477 } 4290 4478 /** 4291 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>4292 *4293 4479 * <pre> 4294 4480 * This field contains optional information about the original source code. 4295 * You may safely remove this entire field w hithout harming runtime4481 * You may safely remove this entire field without harming runtime 4296 4482 * functionality of the descriptors -- the information is needed only by 4297 4483 * development tools. 4298 4484 * </pre> 4299 */ 4300 @Override 4301 public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() { 4485 * 4486 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4487 */ 4488 public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() { 4302 4489 if (sourceCodeInfoBuilder_ != null) { 4303 4490 return sourceCodeInfoBuilder_.getMessageOrBuilder(); 4304 4491 } else { 4305 return sourceCodeInfo_; 4306 } 4307 } 4308 /** 4309 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4310 * 4492 return sourceCodeInfo_ == null ? 4493 com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_; 4494 } 4495 } 4496 /** 4311 4497 * <pre> 4312 4498 * This field contains optional information about the original source code. 4313 * You may safely remove this entire field w hithout harming runtime4499 * You may safely remove this entire field without harming runtime 4314 4500 * functionality of the descriptors -- the information is needed only by 4315 4501 * development tools. 4316 4502 * </pre> 4317 */ 4318 private com.google.protobuf.SingleFieldBuilder< 4319 com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder> 4503 * 4504 * <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code> 4505 */ 4506 private com.google.protobuf.SingleFieldBuilderV3< 4507 com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder> 4320 4508 getSourceCodeInfoFieldBuilder() { 4321 4509 if (sourceCodeInfoBuilder_ == null) { 4322 sourceCodeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 4510 sourceCodeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 4511 com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>( 4323 4512 getSourceCodeInfo(), 4324 4513 getParentForChildren(), … … 4329 4518 } 4330 4519 4520 private java.lang.Object syntax_ = ""; 4521 /** 4522 * <pre> 4523 * The syntax of the proto file. 4524 * The supported values are "proto2" and "proto3". 4525 * </pre> 4526 * 4527 * <code>optional string syntax = 12;</code> 4528 */ 4529 public boolean hasSyntax() { 4530 return ((bitField0_ & 0x00000800) == 0x00000800); 4531 } 4532 /** 4533 * <pre> 4534 * The syntax of the proto file. 4535 * The supported values are "proto2" and "proto3". 4536 * </pre> 4537 * 4538 * <code>optional string syntax = 12;</code> 4539 */ 4540 public java.lang.String getSyntax() { 4541 java.lang.Object ref = syntax_; 4542 if (!(ref instanceof java.lang.String)) { 4543 com.google.protobuf.ByteString bs = 4544 (com.google.protobuf.ByteString) ref; 4545 java.lang.String s = bs.toStringUtf8(); 4546 if (bs.isValidUtf8()) { 4547 syntax_ = s; 4548 } 4549 return s; 4550 } else { 4551 return (java.lang.String) ref; 4552 } 4553 } 4554 /** 4555 * <pre> 4556 * The syntax of the proto file. 4557 * The supported values are "proto2" and "proto3". 4558 * </pre> 4559 * 4560 * <code>optional string syntax = 12;</code> 4561 */ 4562 public com.google.protobuf.ByteString 4563 getSyntaxBytes() { 4564 java.lang.Object ref = syntax_; 4565 if (ref instanceof String) { 4566 com.google.protobuf.ByteString b = 4567 com.google.protobuf.ByteString.copyFromUtf8( 4568 (java.lang.String) ref); 4569 syntax_ = b; 4570 return b; 4571 } else { 4572 return (com.google.protobuf.ByteString) ref; 4573 } 4574 } 4575 /** 4576 * <pre> 4577 * The syntax of the proto file. 4578 * The supported values are "proto2" and "proto3". 4579 * </pre> 4580 * 4581 * <code>optional string syntax = 12;</code> 4582 */ 4583 public Builder setSyntax( 4584 java.lang.String value) { 4585 if (value == null) { 4586 throw new NullPointerException(); 4587 } 4588 bitField0_ |= 0x00000800; 4589 syntax_ = value; 4590 onChanged(); 4591 return this; 4592 } 4593 /** 4594 * <pre> 4595 * The syntax of the proto file. 4596 * The supported values are "proto2" and "proto3". 4597 * </pre> 4598 * 4599 * <code>optional string syntax = 12;</code> 4600 */ 4601 public Builder clearSyntax() { 4602 bitField0_ = (bitField0_ & ~0x00000800); 4603 syntax_ = getDefaultInstance().getSyntax(); 4604 onChanged(); 4605 return this; 4606 } 4607 /** 4608 * <pre> 4609 * The syntax of the proto file. 4610 * The supported values are "proto2" and "proto3". 4611 * </pre> 4612 * 4613 * <code>optional string syntax = 12;</code> 4614 */ 4615 public Builder setSyntaxBytes( 4616 com.google.protobuf.ByteString value) { 4617 if (value == null) { 4618 throw new NullPointerException(); 4619 } 4620 bitField0_ |= 0x00000800; 4621 syntax_ = value; 4622 onChanged(); 4623 return this; 4624 } 4625 public final Builder setUnknownFields( 4626 final com.google.protobuf.UnknownFieldSet unknownFields) { 4627 return super.setUnknownFields(unknownFields); 4628 } 4629 4630 public final Builder mergeUnknownFields( 4631 final com.google.protobuf.UnknownFieldSet unknownFields) { 4632 return super.mergeUnknownFields(unknownFields); 4633 } 4634 4635 4331 4636 // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorProto) 4332 4637 } 4333 4638 4639 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) 4640 private static final com.google.protobuf.DescriptorProtos.FileDescriptorProto DEFAULT_INSTANCE; 4334 4641 static { 4335 defaultInstance = new FileDescriptorProto(true); 4336 defaultInstance.initFields(); 4337 } 4338 4339 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) 4642 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.FileDescriptorProto(); 4643 } 4644 4645 public static com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstance() { 4646 return DEFAULT_INSTANCE; 4647 } 4648 4649 @java.lang.Deprecated public static final com.google.protobuf.Parser<FileDescriptorProto> 4650 PARSER = new com.google.protobuf.AbstractParser<FileDescriptorProto>() { 4651 public FileDescriptorProto parsePartialFrom( 4652 com.google.protobuf.CodedInputStream input, 4653 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4654 throws com.google.protobuf.InvalidProtocolBufferException { 4655 return new FileDescriptorProto(input, extensionRegistry); 4656 } 4657 }; 4658 4659 public static com.google.protobuf.Parser<FileDescriptorProto> parser() { 4660 return PARSER; 4661 } 4662 4663 @java.lang.Override 4664 public com.google.protobuf.Parser<FileDescriptorProto> getParserForType() { 4665 return PARSER; 4666 } 4667 4668 public com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() { 4669 return DEFAULT_INSTANCE; 4670 } 4671 4340 4672 } 4341 4673 … … 4361 4693 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 4362 4694 */ 4363 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 4695 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 4364 4696 getFieldList(); 4365 4697 /** … … 4374 4706 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 4375 4707 */ 4376 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4708 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4377 4709 getFieldOrBuilderList(); 4378 4710 /** … … 4385 4717 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 4386 4718 */ 4387 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 4719 java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> 4388 4720 getExtensionList(); 4389 4721 /** … … 4398 4730 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 4399 4731 */ 4400 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4732 java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 4401 4733 getExtensionOrBuilderList(); 4402 4734 /** … … 4409 4741 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 4410 4742 */ 4411 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> 4743 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> 4412 4744 getNestedTypeList(); 4413 4745 /** … … 4422 4754 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 4423 4755 */ 4424 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 4756 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 4425 4757 getNestedTypeOrBuilderList(); 4426 4758 /** … … 4433 4765 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 4434 4766 */ 4435 java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> 4767 java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> 4436 4768 getEnumTypeList(); 4437 4769 /** … … 4446 4778 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 4447 4779 */ 4448 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 4780 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 4449 4781 getEnumTypeOrBuilderList(); 4450 4782 /** … … 4457 4789 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 4458 4790 */ 4459 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> 4791 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> 4460 4792 getExtensionRangeList(); 4461 4793 /** … … 4470 4802 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 4471 4803 */ 4472 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 4804 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 4473 4805 getExtensionRangeOrBuilderList(); 4474 4806 /** … … 4481 4813 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4482 4814 */ 4483 java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> 4815 java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> 4484 4816 getOneofDeclList(); 4485 4817 /** … … 4494 4826 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 4495 4827 */ 4496 java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 4828 java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 4497 4829 getOneofDeclOrBuilderList(); 4498 4830 /** … … 4514 4846 */ 4515 4847 com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder(); 4848 4849 /** 4850 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 4851 */ 4852 java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> 4853 getReservedRangeList(); 4854 /** 4855 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 4856 */ 4857 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index); 4858 /** 4859 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 4860 */ 4861 int getReservedRangeCount(); 4862 /** 4863 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 4864 */ 4865 java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> 4866 getReservedRangeOrBuilderList(); 4867 /** 4868 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 4869 */ 4870 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder( 4871 int index); 4872 4873 /** 4874 * <pre> 4875 * Reserved field names, which may not be used by fields in the same message. 4876 * A given name may only be reserved once. 4877 * </pre> 4878 * 4879 * <code>repeated string reserved_name = 10;</code> 4880 */ 4881 java.util.List<java.lang.String> 4882 getReservedNameList(); 4883 /** 4884 * <pre> 4885 * Reserved field names, which may not be used by fields in the same message. 4886 * A given name may only be reserved once. 4887 * </pre> 4888 * 4889 * <code>repeated string reserved_name = 10;</code> 4890 */ 4891 int getReservedNameCount(); 4892 /** 4893 * <pre> 4894 * Reserved field names, which may not be used by fields in the same message. 4895 * A given name may only be reserved once. 4896 * </pre> 4897 * 4898 * <code>repeated string reserved_name = 10;</code> 4899 */ 4900 java.lang.String getReservedName(int index); 4901 /** 4902 * <pre> 4903 * Reserved field names, which may not be used by fields in the same message. 4904 * A given name may only be reserved once. 4905 * </pre> 4906 * 4907 * <code>repeated string reserved_name = 10;</code> 4908 */ 4909 com.google.protobuf.ByteString 4910 getReservedNameBytes(int index); 4516 4911 } 4517 4912 /** 4518 * Protobuf type {@code google.protobuf.DescriptorProto}4519 *4520 4913 * <pre> 4521 4914 * Describes a message type. 4522 4915 * </pre> 4916 * 4917 * Protobuf type {@code google.protobuf.DescriptorProto} 4523 4918 */ 4524 public static final class DescriptorProto extends 4525 com.google.protobuf.GeneratedMessage implements 4919 public static final class DescriptorProto extends 4920 com.google.protobuf.GeneratedMessageV3 implements 4526 4921 // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto) 4527 4922 DescriptorProtoOrBuilder { 4923 private static final long serialVersionUID = 0L; 4528 4924 // Use DescriptorProto.newBuilder() to construct. 4529 private DescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 4925 private DescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 4530 4926 super(builder); 4531 this.unknownFields = builder.getUnknownFields(); 4532 } 4533 private DescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 4534 4535 private static final DescriptorProto defaultInstance; 4536 public static DescriptorProto getDefaultInstance() { 4537 return defaultInstance; 4538 } 4539 4540 @Override 4541 public DescriptorProto getDefaultInstanceForType() { 4542 return defaultInstance; 4543 } 4544 4545 private final com.google.protobuf.UnknownFieldSet unknownFields; 4927 } 4928 private DescriptorProto() { 4929 name_ = ""; 4930 field_ = java.util.Collections.emptyList(); 4931 extension_ = java.util.Collections.emptyList(); 4932 nestedType_ = java.util.Collections.emptyList(); 4933 enumType_ = java.util.Collections.emptyList(); 4934 extensionRange_ = java.util.Collections.emptyList(); 4935 oneofDecl_ = java.util.Collections.emptyList(); 4936 reservedRange_ = java.util.Collections.emptyList(); 4937 reservedName_ = com.google.protobuf.LazyStringArrayList.EMPTY; 4938 } 4939 4546 4940 @java.lang.Override 4547 4941 public final com.google.protobuf.UnknownFieldSet 4548 4942 getUnknownFields() { 4549 4943 return this.unknownFields; 4550 4944 } … … 4553 4947 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4554 4948 throws com.google.protobuf.InvalidProtocolBufferException { 4555 initFields();4949 this(); 4556 4950 int mutable_bitField0_ = 0; 4557 4951 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 4566 4960 break; 4567 4961 default: { 4568 if (!parseUnknownField( input, unknownFields,4569 4962 if (!parseUnknownField( 4963 input, unknownFields, extensionRegistry, tag)) { 4570 4964 done = true; 4571 4965 } … … 4580 4974 case 18: { 4581 4975 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 4582 field_ = new java.util.ArrayList<>(); 4976 field_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(); 4583 4977 mutable_bitField0_ |= 0x00000002; 4584 4978 } 4585 field_.add(input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 4979 field_.add( 4980 input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 4586 4981 break; 4587 4982 } 4588 4983 case 26: { 4589 4984 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 4590 nestedType_ = new java.util.ArrayList<>(); 4985 nestedType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(); 4591 4986 mutable_bitField0_ |= 0x00000008; 4592 4987 } 4593 nestedType_.add(input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry)); 4988 nestedType_.add( 4989 input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry)); 4594 4990 break; 4595 4991 } 4596 4992 case 34: { 4597 4993 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 4598 enumType_ = new java.util.ArrayList<>(); 4994 enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(); 4599 4995 mutable_bitField0_ |= 0x00000010; 4600 4996 } 4601 enumType_.add(input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry)); 4997 enumType_.add( 4998 input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.PARSER, extensionRegistry)); 4602 4999 break; 4603 5000 } 4604 5001 case 42: { 4605 5002 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 4606 extensionRange_ = new java.util.ArrayList<>(); 5003 extensionRange_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange>(); 4607 5004 mutable_bitField0_ |= 0x00000020; 4608 5005 } 4609 extensionRange_.add(input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.PARSER, extensionRegistry)); 5006 extensionRange_.add( 5007 input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.PARSER, extensionRegistry)); 4610 5008 break; 4611 5009 } 4612 5010 case 50: { 4613 5011 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 4614 extension_ = new java.util.ArrayList<>(); 5012 extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(); 4615 5013 mutable_bitField0_ |= 0x00000004; 4616 5014 } 4617 extension_.add(input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 5015 extension_.add( 5016 input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.PARSER, extensionRegistry)); 4618 5017 break; 4619 5018 } … … 4633 5032 case 66: { 4634 5033 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 4635 oneofDecl_ = new java.util.ArrayList<>(); 5034 oneofDecl_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.OneofDescriptorProto>(); 4636 5035 mutable_bitField0_ |= 0x00000040; 4637 5036 } 4638 oneofDecl_.add(input.readMessage(com.google.protobuf.DescriptorProtos.OneofDescriptorProto.PARSER, extensionRegistry)); 5037 oneofDecl_.add( 5038 input.readMessage(com.google.protobuf.DescriptorProtos.OneofDescriptorProto.PARSER, extensionRegistry)); 5039 break; 5040 } 5041 case 74: { 5042 if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { 5043 reservedRange_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange>(); 5044 mutable_bitField0_ |= 0x00000100; 5045 } 5046 reservedRange_.add( 5047 input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.PARSER, extensionRegistry)); 5048 break; 5049 } 5050 case 82: { 5051 com.google.protobuf.ByteString bs = input.readBytes(); 5052 if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { 5053 reservedName_ = new com.google.protobuf.LazyStringArrayList(); 5054 mutable_bitField0_ |= 0x00000200; 5055 } 5056 reservedName_.add(bs); 4639 5057 break; 4640 5058 } … … 4645 5063 } catch (java.io.IOException e) { 4646 5064 throw new com.google.protobuf.InvalidProtocolBufferException( 4647 e .getMessage()).setUnfinishedMessage(this);5065 e).setUnfinishedMessage(this); 4648 5066 } finally { 4649 5067 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { … … 4665 5083 oneofDecl_ = java.util.Collections.unmodifiableList(oneofDecl_); 4666 5084 } 5085 if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { 5086 reservedRange_ = java.util.Collections.unmodifiableList(reservedRange_); 5087 } 5088 if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { 5089 reservedName_ = reservedName_.getUnmodifiableView(); 5090 } 4667 5091 this.unknownFields = unknownFields.build(); 4668 5092 makeExtensionsImmutable(); … … 4674 5098 } 4675 5099 4676 @Override 4677 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 5100 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 4678 5101 internalGetFieldAccessorTable() { 4679 5102 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable … … 4682 5105 } 4683 5106 4684 public static com.google.protobuf.Parser<DescriptorProto> PARSER =4685 new com.google.protobuf.AbstractParser<DescriptorProto>() {4686 @Override4687 public DescriptorProto parsePartialFrom(4688 com.google.protobuf.CodedInputStream input,4689 com.google.protobuf.ExtensionRegistryLite extensionRegistry)4690 throws com.google.protobuf.InvalidProtocolBufferException {4691 return new DescriptorProto(input, extensionRegistry);4692 }4693 };4694 4695 @java.lang.Override4696 public com.google.protobuf.Parser<DescriptorProto> getParserForType() {4697 return PARSER;4698 }4699 4700 5107 public interface ExtensionRangeOrBuilder extends 4701 5108 // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ExtensionRange) … … 4719 5126 */ 4720 5127 int getEnd(); 5128 5129 /** 5130 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5131 */ 5132 boolean hasOptions(); 5133 /** 5134 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5135 */ 5136 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions(); 5137 /** 5138 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5139 */ 5140 com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder(); 4721 5141 } 4722 5142 /** 4723 5143 * Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange} 4724 5144 */ 4725 public static final class ExtensionRange extends 4726 com.google.protobuf.GeneratedMessage implements 5145 public static final class ExtensionRange extends 5146 com.google.protobuf.GeneratedMessageV3 implements 4727 5147 // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ExtensionRange) 4728 5148 ExtensionRangeOrBuilder { 5149 private static final long serialVersionUID = 0L; 4729 5150 // Use ExtensionRange.newBuilder() to construct. 4730 private ExtensionRange(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 5151 private ExtensionRange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 4731 5152 super(builder); 4732 this.unknownFields = builder.getUnknownFields(); 4733 } 4734 private ExtensionRange(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 4735 4736 private static final ExtensionRange defaultInstance; 4737 public static ExtensionRange getDefaultInstance() { 4738 return defaultInstance; 4739 } 4740 4741 @Override 4742 public ExtensionRange getDefaultInstanceForType() { 4743 return defaultInstance; 4744 } 4745 4746 private final com.google.protobuf.UnknownFieldSet unknownFields; 5153 } 5154 private ExtensionRange() { 5155 start_ = 0; 5156 end_ = 0; 5157 } 5158 4747 5159 @java.lang.Override 4748 5160 public final com.google.protobuf.UnknownFieldSet 4749 5161 getUnknownFields() { 4750 5162 return this.unknownFields; 4751 5163 } … … 4754 5166 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4755 5167 throws com.google.protobuf.InvalidProtocolBufferException { 4756 initFields();5168 this(); 4757 5169 int mutable_bitField0_ = 0; 4758 5170 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 4767 5179 break; 4768 5180 default: { 4769 if (!parseUnknownField(input, unknownFields, 4770 extensionRegistry, tag)) { 5181 if (!parseUnknownField( 5182 input, unknownFields, extensionRegistry, tag)) { 5183 done = true; 5184 } 5185 break; 5186 } 5187 case 8: { 5188 bitField0_ |= 0x00000001; 5189 start_ = input.readInt32(); 5190 break; 5191 } 5192 case 16: { 5193 bitField0_ |= 0x00000002; 5194 end_ = input.readInt32(); 5195 break; 5196 } 5197 case 26: { 5198 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder subBuilder = null; 5199 if (((bitField0_ & 0x00000004) == 0x00000004)) { 5200 subBuilder = options_.toBuilder(); 5201 } 5202 options_ = input.readMessage(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.PARSER, extensionRegistry); 5203 if (subBuilder != null) { 5204 subBuilder.mergeFrom(options_); 5205 options_ = subBuilder.buildPartial(); 5206 } 5207 bitField0_ |= 0x00000004; 5208 break; 5209 } 5210 } 5211 } 5212 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5213 throw e.setUnfinishedMessage(this); 5214 } catch (java.io.IOException e) { 5215 throw new com.google.protobuf.InvalidProtocolBufferException( 5216 e).setUnfinishedMessage(this); 5217 } finally { 5218 this.unknownFields = unknownFields.build(); 5219 makeExtensionsImmutable(); 5220 } 5221 } 5222 public static final com.google.protobuf.Descriptors.Descriptor 5223 getDescriptor() { 5224 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 5225 } 5226 5227 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5228 internalGetFieldAccessorTable() { 5229 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable 5230 .ensureFieldAccessorsInitialized( 5231 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class); 5232 } 5233 5234 private int bitField0_; 5235 public static final int START_FIELD_NUMBER = 1; 5236 private int start_; 5237 /** 5238 * <code>optional int32 start = 1;</code> 5239 */ 5240 public boolean hasStart() { 5241 return ((bitField0_ & 0x00000001) == 0x00000001); 5242 } 5243 /** 5244 * <code>optional int32 start = 1;</code> 5245 */ 5246 public int getStart() { 5247 return start_; 5248 } 5249 5250 public static final int END_FIELD_NUMBER = 2; 5251 private int end_; 5252 /** 5253 * <code>optional int32 end = 2;</code> 5254 */ 5255 public boolean hasEnd() { 5256 return ((bitField0_ & 0x00000002) == 0x00000002); 5257 } 5258 /** 5259 * <code>optional int32 end = 2;</code> 5260 */ 5261 public int getEnd() { 5262 return end_; 5263 } 5264 5265 public static final int OPTIONS_FIELD_NUMBER = 3; 5266 private com.google.protobuf.DescriptorProtos.ExtensionRangeOptions options_; 5267 /** 5268 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5269 */ 5270 public boolean hasOptions() { 5271 return ((bitField0_ & 0x00000004) == 0x00000004); 5272 } 5273 /** 5274 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5275 */ 5276 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() { 5277 return options_ == null ? com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_; 5278 } 5279 /** 5280 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5281 */ 5282 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder() { 5283 return options_ == null ? com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_; 5284 } 5285 5286 private byte memoizedIsInitialized = -1; 5287 public final boolean isInitialized() { 5288 byte isInitialized = memoizedIsInitialized; 5289 if (isInitialized == 1) return true; 5290 if (isInitialized == 0) return false; 5291 5292 if (hasOptions()) { 5293 if (!getOptions().isInitialized()) { 5294 memoizedIsInitialized = 0; 5295 return false; 5296 } 5297 } 5298 memoizedIsInitialized = 1; 5299 return true; 5300 } 5301 5302 public void writeTo(com.google.protobuf.CodedOutputStream output) 5303 throws java.io.IOException { 5304 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5305 output.writeInt32(1, start_); 5306 } 5307 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5308 output.writeInt32(2, end_); 5309 } 5310 if (((bitField0_ & 0x00000004) == 0x00000004)) { 5311 output.writeMessage(3, getOptions()); 5312 } 5313 unknownFields.writeTo(output); 5314 } 5315 5316 public int getSerializedSize() { 5317 int size = memoizedSize; 5318 if (size != -1) return size; 5319 5320 size = 0; 5321 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5322 size += com.google.protobuf.CodedOutputStream 5323 .computeInt32Size(1, start_); 5324 } 5325 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5326 size += com.google.protobuf.CodedOutputStream 5327 .computeInt32Size(2, end_); 5328 } 5329 if (((bitField0_ & 0x00000004) == 0x00000004)) { 5330 size += com.google.protobuf.CodedOutputStream 5331 .computeMessageSize(3, getOptions()); 5332 } 5333 size += unknownFields.getSerializedSize(); 5334 memoizedSize = size; 5335 return size; 5336 } 5337 5338 @java.lang.Override 5339 public boolean equals(final java.lang.Object obj) { 5340 if (obj == this) { 5341 return true; 5342 } 5343 if (!(obj instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)) { 5344 return super.equals(obj); 5345 } 5346 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other = (com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) obj; 5347 5348 boolean result = true; 5349 result = result && (hasStart() == other.hasStart()); 5350 if (hasStart()) { 5351 result = result && (getStart() 5352 == other.getStart()); 5353 } 5354 result = result && (hasEnd() == other.hasEnd()); 5355 if (hasEnd()) { 5356 result = result && (getEnd() 5357 == other.getEnd()); 5358 } 5359 result = result && (hasOptions() == other.hasOptions()); 5360 if (hasOptions()) { 5361 result = result && getOptions() 5362 .equals(other.getOptions()); 5363 } 5364 result = result && unknownFields.equals(other.unknownFields); 5365 return result; 5366 } 5367 5368 @java.lang.Override 5369 public int hashCode() { 5370 if (memoizedHashCode != 0) { 5371 return memoizedHashCode; 5372 } 5373 int hash = 41; 5374 hash = (19 * hash) + getDescriptor().hashCode(); 5375 if (hasStart()) { 5376 hash = (37 * hash) + START_FIELD_NUMBER; 5377 hash = (53 * hash) + getStart(); 5378 } 5379 if (hasEnd()) { 5380 hash = (37 * hash) + END_FIELD_NUMBER; 5381 hash = (53 * hash) + getEnd(); 5382 } 5383 if (hasOptions()) { 5384 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 5385 hash = (53 * hash) + getOptions().hashCode(); 5386 } 5387 hash = (29 * hash) + unknownFields.hashCode(); 5388 memoizedHashCode = hash; 5389 return hash; 5390 } 5391 5392 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5393 java.nio.ByteBuffer data) 5394 throws com.google.protobuf.InvalidProtocolBufferException { 5395 return PARSER.parseFrom(data); 5396 } 5397 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5398 java.nio.ByteBuffer data, 5399 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5400 throws com.google.protobuf.InvalidProtocolBufferException { 5401 return PARSER.parseFrom(data, extensionRegistry); 5402 } 5403 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5404 com.google.protobuf.ByteString data) 5405 throws com.google.protobuf.InvalidProtocolBufferException { 5406 return PARSER.parseFrom(data); 5407 } 5408 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5409 com.google.protobuf.ByteString data, 5410 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5411 throws com.google.protobuf.InvalidProtocolBufferException { 5412 return PARSER.parseFrom(data, extensionRegistry); 5413 } 5414 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(byte[] data) 5415 throws com.google.protobuf.InvalidProtocolBufferException { 5416 return PARSER.parseFrom(data); 5417 } 5418 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5419 byte[] data, 5420 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5421 throws com.google.protobuf.InvalidProtocolBufferException { 5422 return PARSER.parseFrom(data, extensionRegistry); 5423 } 5424 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(java.io.InputStream input) 5425 throws java.io.IOException { 5426 return com.google.protobuf.GeneratedMessageV3 5427 .parseWithIOException(PARSER, input); 5428 } 5429 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5430 java.io.InputStream input, 5431 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5432 throws java.io.IOException { 5433 return com.google.protobuf.GeneratedMessageV3 5434 .parseWithIOException(PARSER, input, extensionRegistry); 5435 } 5436 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input) 5437 throws java.io.IOException { 5438 return com.google.protobuf.GeneratedMessageV3 5439 .parseDelimitedWithIOException(PARSER, input); 5440 } 5441 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom( 5442 java.io.InputStream input, 5443 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5444 throws java.io.IOException { 5445 return com.google.protobuf.GeneratedMessageV3 5446 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 5447 } 5448 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5449 com.google.protobuf.CodedInputStream input) 5450 throws java.io.IOException { 5451 return com.google.protobuf.GeneratedMessageV3 5452 .parseWithIOException(PARSER, input); 5453 } 5454 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 5455 com.google.protobuf.CodedInputStream input, 5456 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5457 throws java.io.IOException { 5458 return com.google.protobuf.GeneratedMessageV3 5459 .parseWithIOException(PARSER, input, extensionRegistry); 5460 } 5461 5462 public Builder newBuilderForType() { return newBuilder(); } 5463 public static Builder newBuilder() { 5464 return DEFAULT_INSTANCE.toBuilder(); 5465 } 5466 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) { 5467 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 5468 } 5469 public Builder toBuilder() { 5470 return this == DEFAULT_INSTANCE 5471 ? new Builder() : new Builder().mergeFrom(this); 5472 } 5473 5474 @java.lang.Override 5475 protected Builder newBuilderForType( 5476 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5477 Builder builder = new Builder(parent); 5478 return builder; 5479 } 5480 /** 5481 * Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange} 5482 */ 5483 public static final class Builder extends 5484 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 5485 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ExtensionRange) 5486 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder { 5487 public static final com.google.protobuf.Descriptors.Descriptor 5488 getDescriptor() { 5489 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 5490 } 5491 5492 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5493 internalGetFieldAccessorTable() { 5494 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable 5495 .ensureFieldAccessorsInitialized( 5496 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class); 5497 } 5498 5499 // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder() 5500 private Builder() { 5501 maybeForceBuilderInitialization(); 5502 } 5503 5504 private Builder( 5505 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5506 super(parent); 5507 maybeForceBuilderInitialization(); 5508 } 5509 private void maybeForceBuilderInitialization() { 5510 if (com.google.protobuf.GeneratedMessageV3 5511 .alwaysUseFieldBuilders) { 5512 getOptionsFieldBuilder(); 5513 } 5514 } 5515 public Builder clear() { 5516 super.clear(); 5517 start_ = 0; 5518 bitField0_ = (bitField0_ & ~0x00000001); 5519 end_ = 0; 5520 bitField0_ = (bitField0_ & ~0x00000002); 5521 if (optionsBuilder_ == null) { 5522 options_ = null; 5523 } else { 5524 optionsBuilder_.clear(); 5525 } 5526 bitField0_ = (bitField0_ & ~0x00000004); 5527 return this; 5528 } 5529 5530 public com.google.protobuf.Descriptors.Descriptor 5531 getDescriptorForType() { 5532 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 5533 } 5534 5535 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() { 5536 return com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance(); 5537 } 5538 5539 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange build() { 5540 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = buildPartial(); 5541 if (!result.isInitialized()) { 5542 throw newUninitializedMessageException(result); 5543 } 5544 return result; 5545 } 5546 5547 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange buildPartial() { 5548 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(this); 5549 int from_bitField0_ = bitField0_; 5550 int to_bitField0_ = 0; 5551 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 5552 to_bitField0_ |= 0x00000001; 5553 } 5554 result.start_ = start_; 5555 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 5556 to_bitField0_ |= 0x00000002; 5557 } 5558 result.end_ = end_; 5559 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 5560 to_bitField0_ |= 0x00000004; 5561 } 5562 if (optionsBuilder_ == null) { 5563 result.options_ = options_; 5564 } else { 5565 result.options_ = optionsBuilder_.build(); 5566 } 5567 result.bitField0_ = to_bitField0_; 5568 onBuilt(); 5569 return result; 5570 } 5571 5572 public Builder clone() { 5573 return (Builder) super.clone(); 5574 } 5575 public Builder setField( 5576 com.google.protobuf.Descriptors.FieldDescriptor field, 5577 java.lang.Object value) { 5578 return (Builder) super.setField(field, value); 5579 } 5580 public Builder clearField( 5581 com.google.protobuf.Descriptors.FieldDescriptor field) { 5582 return (Builder) super.clearField(field); 5583 } 5584 public Builder clearOneof( 5585 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 5586 return (Builder) super.clearOneof(oneof); 5587 } 5588 public Builder setRepeatedField( 5589 com.google.protobuf.Descriptors.FieldDescriptor field, 5590 int index, java.lang.Object value) { 5591 return (Builder) super.setRepeatedField(field, index, value); 5592 } 5593 public Builder addRepeatedField( 5594 com.google.protobuf.Descriptors.FieldDescriptor field, 5595 java.lang.Object value) { 5596 return (Builder) super.addRepeatedField(field, value); 5597 } 5598 public Builder mergeFrom(com.google.protobuf.Message other) { 5599 if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) { 5600 return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)other); 5601 } else { 5602 super.mergeFrom(other); 5603 return this; 5604 } 5605 } 5606 5607 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other) { 5608 if (other == com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance()) return this; 5609 if (other.hasStart()) { 5610 setStart(other.getStart()); 5611 } 5612 if (other.hasEnd()) { 5613 setEnd(other.getEnd()); 5614 } 5615 if (other.hasOptions()) { 5616 mergeOptions(other.getOptions()); 5617 } 5618 this.mergeUnknownFields(other.unknownFields); 5619 onChanged(); 5620 return this; 5621 } 5622 5623 public final boolean isInitialized() { 5624 if (hasOptions()) { 5625 if (!getOptions().isInitialized()) { 5626 return false; 5627 } 5628 } 5629 return true; 5630 } 5631 5632 public Builder mergeFrom( 5633 com.google.protobuf.CodedInputStream input, 5634 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5635 throws java.io.IOException { 5636 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parsedMessage = null; 5637 try { 5638 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 5639 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5640 parsedMessage = (com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) e.getUnfinishedMessage(); 5641 throw e.unwrapIOException(); 5642 } finally { 5643 if (parsedMessage != null) { 5644 mergeFrom(parsedMessage); 5645 } 5646 } 5647 return this; 5648 } 5649 private int bitField0_; 5650 5651 private int start_ ; 5652 /** 5653 * <code>optional int32 start = 1;</code> 5654 */ 5655 public boolean hasStart() { 5656 return ((bitField0_ & 0x00000001) == 0x00000001); 5657 } 5658 /** 5659 * <code>optional int32 start = 1;</code> 5660 */ 5661 public int getStart() { 5662 return start_; 5663 } 5664 /** 5665 * <code>optional int32 start = 1;</code> 5666 */ 5667 public Builder setStart(int value) { 5668 bitField0_ |= 0x00000001; 5669 start_ = value; 5670 onChanged(); 5671 return this; 5672 } 5673 /** 5674 * <code>optional int32 start = 1;</code> 5675 */ 5676 public Builder clearStart() { 5677 bitField0_ = (bitField0_ & ~0x00000001); 5678 start_ = 0; 5679 onChanged(); 5680 return this; 5681 } 5682 5683 private int end_ ; 5684 /** 5685 * <code>optional int32 end = 2;</code> 5686 */ 5687 public boolean hasEnd() { 5688 return ((bitField0_ & 0x00000002) == 0x00000002); 5689 } 5690 /** 5691 * <code>optional int32 end = 2;</code> 5692 */ 5693 public int getEnd() { 5694 return end_; 5695 } 5696 /** 5697 * <code>optional int32 end = 2;</code> 5698 */ 5699 public Builder setEnd(int value) { 5700 bitField0_ |= 0x00000002; 5701 end_ = value; 5702 onChanged(); 5703 return this; 5704 } 5705 /** 5706 * <code>optional int32 end = 2;</code> 5707 */ 5708 public Builder clearEnd() { 5709 bitField0_ = (bitField0_ & ~0x00000002); 5710 end_ = 0; 5711 onChanged(); 5712 return this; 5713 } 5714 5715 private com.google.protobuf.DescriptorProtos.ExtensionRangeOptions options_ = null; 5716 private com.google.protobuf.SingleFieldBuilderV3< 5717 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder> optionsBuilder_; 5718 /** 5719 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5720 */ 5721 public boolean hasOptions() { 5722 return ((bitField0_ & 0x00000004) == 0x00000004); 5723 } 5724 /** 5725 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5726 */ 5727 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() { 5728 if (optionsBuilder_ == null) { 5729 return options_ == null ? com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_; 5730 } else { 5731 return optionsBuilder_.getMessage(); 5732 } 5733 } 5734 /** 5735 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5736 */ 5737 public Builder setOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) { 5738 if (optionsBuilder_ == null) { 5739 if (value == null) { 5740 throw new NullPointerException(); 5741 } 5742 options_ = value; 5743 onChanged(); 5744 } else { 5745 optionsBuilder_.setMessage(value); 5746 } 5747 bitField0_ |= 0x00000004; 5748 return this; 5749 } 5750 /** 5751 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5752 */ 5753 public Builder setOptions( 5754 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) { 5755 if (optionsBuilder_ == null) { 5756 options_ = builderForValue.build(); 5757 onChanged(); 5758 } else { 5759 optionsBuilder_.setMessage(builderForValue.build()); 5760 } 5761 bitField0_ |= 0x00000004; 5762 return this; 5763 } 5764 /** 5765 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5766 */ 5767 public Builder mergeOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) { 5768 if (optionsBuilder_ == null) { 5769 if (((bitField0_ & 0x00000004) == 0x00000004) && 5770 options_ != null && 5771 options_ != com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance()) { 5772 options_ = 5773 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder(options_).mergeFrom(value).buildPartial(); 5774 } else { 5775 options_ = value; 5776 } 5777 onChanged(); 5778 } else { 5779 optionsBuilder_.mergeFrom(value); 5780 } 5781 bitField0_ |= 0x00000004; 5782 return this; 5783 } 5784 /** 5785 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5786 */ 5787 public Builder clearOptions() { 5788 if (optionsBuilder_ == null) { 5789 options_ = null; 5790 onChanged(); 5791 } else { 5792 optionsBuilder_.clear(); 5793 } 5794 bitField0_ = (bitField0_ & ~0x00000004); 5795 return this; 5796 } 5797 /** 5798 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5799 */ 5800 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder getOptionsBuilder() { 5801 bitField0_ |= 0x00000004; 5802 onChanged(); 5803 return getOptionsFieldBuilder().getBuilder(); 5804 } 5805 /** 5806 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5807 */ 5808 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder() { 5809 if (optionsBuilder_ != null) { 5810 return optionsBuilder_.getMessageOrBuilder(); 5811 } else { 5812 return options_ == null ? 5813 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_; 5814 } 5815 } 5816 /** 5817 * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code> 5818 */ 5819 private com.google.protobuf.SingleFieldBuilderV3< 5820 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder> 5821 getOptionsFieldBuilder() { 5822 if (optionsBuilder_ == null) { 5823 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 5824 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder, com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder>( 5825 getOptions(), 5826 getParentForChildren(), 5827 isClean()); 5828 options_ = null; 5829 } 5830 return optionsBuilder_; 5831 } 5832 public final Builder setUnknownFields( 5833 final com.google.protobuf.UnknownFieldSet unknownFields) { 5834 return super.setUnknownFields(unknownFields); 5835 } 5836 5837 public final Builder mergeUnknownFields( 5838 final com.google.protobuf.UnknownFieldSet unknownFields) { 5839 return super.mergeUnknownFields(unknownFields); 5840 } 5841 5842 5843 // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ExtensionRange) 5844 } 5845 5846 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) 5847 private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange DEFAULT_INSTANCE; 5848 static { 5849 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(); 5850 } 5851 5852 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstance() { 5853 return DEFAULT_INSTANCE; 5854 } 5855 5856 @java.lang.Deprecated public static final com.google.protobuf.Parser<ExtensionRange> 5857 PARSER = new com.google.protobuf.AbstractParser<ExtensionRange>() { 5858 public ExtensionRange parsePartialFrom( 5859 com.google.protobuf.CodedInputStream input, 5860 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5861 throws com.google.protobuf.InvalidProtocolBufferException { 5862 return new ExtensionRange(input, extensionRegistry); 5863 } 5864 }; 5865 5866 public static com.google.protobuf.Parser<ExtensionRange> parser() { 5867 return PARSER; 5868 } 5869 5870 @java.lang.Override 5871 public com.google.protobuf.Parser<ExtensionRange> getParserForType() { 5872 return PARSER; 5873 } 5874 5875 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() { 5876 return DEFAULT_INSTANCE; 5877 } 5878 5879 } 5880 5881 public interface ReservedRangeOrBuilder extends 5882 // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ReservedRange) 5883 com.google.protobuf.MessageOrBuilder { 5884 5885 /** 5886 * <pre> 5887 * Inclusive. 5888 * </pre> 5889 * 5890 * <code>optional int32 start = 1;</code> 5891 */ 5892 boolean hasStart(); 5893 /** 5894 * <pre> 5895 * Inclusive. 5896 * </pre> 5897 * 5898 * <code>optional int32 start = 1;</code> 5899 */ 5900 int getStart(); 5901 5902 /** 5903 * <pre> 5904 * Exclusive. 5905 * </pre> 5906 * 5907 * <code>optional int32 end = 2;</code> 5908 */ 5909 boolean hasEnd(); 5910 /** 5911 * <pre> 5912 * Exclusive. 5913 * </pre> 5914 * 5915 * <code>optional int32 end = 2;</code> 5916 */ 5917 int getEnd(); 5918 } 5919 /** 5920 * <pre> 5921 * Range of reserved tag numbers. Reserved tag numbers may not be used by 5922 * fields or extension ranges in the same message. Reserved ranges may 5923 * not overlap. 5924 * </pre> 5925 * 5926 * Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange} 5927 */ 5928 public static final class ReservedRange extends 5929 com.google.protobuf.GeneratedMessageV3 implements 5930 // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ReservedRange) 5931 ReservedRangeOrBuilder { 5932 private static final long serialVersionUID = 0L; 5933 // Use ReservedRange.newBuilder() to construct. 5934 private ReservedRange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 5935 super(builder); 5936 } 5937 private ReservedRange() { 5938 start_ = 0; 5939 end_ = 0; 5940 } 5941 5942 @java.lang.Override 5943 public final com.google.protobuf.UnknownFieldSet 5944 getUnknownFields() { 5945 return this.unknownFields; 5946 } 5947 private ReservedRange( 5948 com.google.protobuf.CodedInputStream input, 5949 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5950 throws com.google.protobuf.InvalidProtocolBufferException { 5951 this(); 5952 int mutable_bitField0_ = 0; 5953 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 5954 com.google.protobuf.UnknownFieldSet.newBuilder(); 5955 try { 5956 boolean done = false; 5957 while (!done) { 5958 int tag = input.readTag(); 5959 switch (tag) { 5960 case 0: 5961 done = true; 5962 break; 5963 default: { 5964 if (!parseUnknownField( 5965 input, unknownFields, extensionRegistry, tag)) { 4771 5966 done = true; 4772 5967 } … … 4789 5984 } catch (java.io.IOException e) { 4790 5985 throw new com.google.protobuf.InvalidProtocolBufferException( 4791 e .getMessage()).setUnfinishedMessage(this);5986 e).setUnfinishedMessage(this); 4792 5987 } finally { 4793 5988 this.unknownFields = unknownFields.build(); … … 4797 5992 public static final com.google.protobuf.Descriptors.Descriptor 4798 5993 getDescriptor() { 4799 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 4800 } 4801 4802 @Override 4803 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 5994 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor; 5995 } 5996 5997 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 4804 5998 internalGetFieldAccessorTable() { 4805 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ ExtensionRange_fieldAccessorTable5999 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable 4806 6000 .ensureFieldAccessorsInitialized( 4807 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class); 4808 } 4809 4810 public static com.google.protobuf.Parser<ExtensionRange> PARSER = 4811 new com.google.protobuf.AbstractParser<ExtensionRange>() { 4812 @Override 4813 public ExtensionRange parsePartialFrom( 4814 com.google.protobuf.CodedInputStream input, 4815 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4816 throws com.google.protobuf.InvalidProtocolBufferException { 4817 return new ExtensionRange(input, extensionRegistry); 4818 } 4819 }; 4820 4821 @java.lang.Override 4822 public com.google.protobuf.Parser<ExtensionRange> getParserForType() { 4823 return PARSER; 6001 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder.class); 4824 6002 } 4825 6003 … … 4828 6006 private int start_; 4829 6007 /** 6008 * <pre> 6009 * Inclusive. 6010 * </pre> 6011 * 4830 6012 * <code>optional int32 start = 1;</code> 4831 6013 */ 4832 @Override 4833 public boolean hasStart() { 6014 public boolean hasStart() { 4834 6015 return ((bitField0_ & 0x00000001) == 0x00000001); 4835 6016 } 4836 6017 /** 6018 * <pre> 6019 * Inclusive. 6020 * </pre> 6021 * 4837 6022 * <code>optional int32 start = 1;</code> 4838 6023 */ 4839 @Override 4840 public int getStart() { 6024 public int getStart() { 4841 6025 return start_; 4842 6026 } … … 4845 6029 private int end_; 4846 6030 /** 6031 * <pre> 6032 * Exclusive. 6033 * </pre> 6034 * 4847 6035 * <code>optional int32 end = 2;</code> 4848 6036 */ 4849 @Override 4850 public boolean hasEnd() { 6037 public boolean hasEnd() { 4851 6038 return ((bitField0_ & 0x00000002) == 0x00000002); 4852 6039 } 4853 6040 /** 6041 * <pre> 6042 * Exclusive. 6043 * </pre> 6044 * 4854 6045 * <code>optional int32 end = 2;</code> 4855 6046 */ 4856 @Override 4857 public int getEnd() { 6047 public int getEnd() { 4858 6048 return end_; 4859 6049 } 4860 6050 4861 private void initFields() {4862 start_ = 0;4863 end_ = 0;4864 }4865 6051 private byte memoizedIsInitialized = -1; 4866 @Override 4867 public final boolean isInitialized() { 6052 public final boolean isInitialized() { 4868 6053 byte isInitialized = memoizedIsInitialized; 4869 6054 if (isInitialized == 1) return true; … … 4874 6059 } 4875 6060 4876 @Override 4877 public void writeTo(com.google.protobuf.CodedOutputStream output) 6061 public void writeTo(com.google.protobuf.CodedOutputStream output) 4878 6062 throws java.io.IOException { 4879 getSerializedSize();4880 6063 if (((bitField0_ & 0x00000001) == 0x00000001)) { 4881 6064 output.writeInt32(1, start_); … … 4884 6067 output.writeInt32(2, end_); 4885 6068 } 4886 getUnknownFields().writeTo(output); 4887 } 4888 4889 private int memoizedSerializedSize = -1; 4890 @Override 4891 public int getSerializedSize() { 4892 int size = memoizedSerializedSize; 6069 unknownFields.writeTo(output); 6070 } 6071 6072 public int getSerializedSize() { 6073 int size = memoizedSize; 4893 6074 if (size != -1) return size; 4894 6075 … … 4902 6083 .computeInt32Size(2, end_); 4903 6084 } 4904 size += getUnknownFields().getSerializedSize();4905 memoizedS erializedSize = size;6085 size += unknownFields.getSerializedSize(); 6086 memoizedSize = size; 4906 6087 return size; 4907 6088 } 4908 6089 4909 private static final long serialVersionUID = 0L;4910 6090 @java.lang.Override 4911 protected java.lang.Object writeReplace() 4912 throws java.io.ObjectStreamException { 4913 return super.writeReplace(); 4914 } 4915 4916 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 6091 public boolean equals(final java.lang.Object obj) { 6092 if (obj == this) { 6093 return true; 6094 } 6095 if (!(obj instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange)) { 6096 return super.equals(obj); 6097 } 6098 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange other = (com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) obj; 6099 6100 boolean result = true; 6101 result = result && (hasStart() == other.hasStart()); 6102 if (hasStart()) { 6103 result = result && (getStart() 6104 == other.getStart()); 6105 } 6106 result = result && (hasEnd() == other.hasEnd()); 6107 if (hasEnd()) { 6108 result = result && (getEnd() 6109 == other.getEnd()); 6110 } 6111 result = result && unknownFields.equals(other.unknownFields); 6112 return result; 6113 } 6114 6115 @java.lang.Override 6116 public int hashCode() { 6117 if (memoizedHashCode != 0) { 6118 return memoizedHashCode; 6119 } 6120 int hash = 41; 6121 hash = (19 * hash) + getDescriptor().hashCode(); 6122 if (hasStart()) { 6123 hash = (37 * hash) + START_FIELD_NUMBER; 6124 hash = (53 * hash) + getStart(); 6125 } 6126 if (hasEnd()) { 6127 hash = (37 * hash) + END_FIELD_NUMBER; 6128 hash = (53 * hash) + getEnd(); 6129 } 6130 hash = (29 * hash) + unknownFields.hashCode(); 6131 memoizedHashCode = hash; 6132 return hash; 6133 } 6134 6135 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 6136 java.nio.ByteBuffer data) 6137 throws com.google.protobuf.InvalidProtocolBufferException { 6138 return PARSER.parseFrom(data); 6139 } 6140 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 6141 java.nio.ByteBuffer data, 6142 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6143 throws com.google.protobuf.InvalidProtocolBufferException { 6144 return PARSER.parseFrom(data, extensionRegistry); 6145 } 6146 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4917 6147 com.google.protobuf.ByteString data) 4918 6148 throws com.google.protobuf.InvalidProtocolBufferException { 4919 6149 return PARSER.parseFrom(data); 4920 6150 } 4921 public static com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange parseFrom(6151 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4922 6152 com.google.protobuf.ByteString data, 4923 6153 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 4925 6155 return PARSER.parseFrom(data, extensionRegistry); 4926 6156 } 4927 public static com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange parseFrom(byte[] data)6157 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(byte[] data) 4928 6158 throws com.google.protobuf.InvalidProtocolBufferException { 4929 6159 return PARSER.parseFrom(data); 4930 6160 } 4931 public static com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange parseFrom(6161 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4932 6162 byte[] data, 4933 6163 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 4935 6165 return PARSER.parseFrom(data, extensionRegistry); 4936 6166 } 4937 public static com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange parseFrom(java.io.InputStream input)6167 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(java.io.InputStream input) 4938 6168 throws java.io.IOException { 4939 return PARSER.parseFrom(input); 4940 } 4941 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 6169 return com.google.protobuf.GeneratedMessageV3 6170 .parseWithIOException(PARSER, input); 6171 } 6172 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4942 6173 java.io.InputStream input, 4943 6174 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4944 6175 throws java.io.IOException { 4945 return PARSER.parseFrom(input, extensionRegistry); 4946 } 4947 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input) 6176 return com.google.protobuf.GeneratedMessageV3 6177 .parseWithIOException(PARSER, input, extensionRegistry); 6178 } 6179 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(java.io.InputStream input) 4948 6180 throws java.io.IOException { 4949 return PARSER.parseDelimitedFrom(input); 4950 } 4951 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom( 6181 return com.google.protobuf.GeneratedMessageV3 6182 .parseDelimitedWithIOException(PARSER, input); 6183 } 6184 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom( 4952 6185 java.io.InputStream input, 4953 6186 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4954 6187 throws java.io.IOException { 4955 return PARSER.parseDelimitedFrom(input, extensionRegistry); 4956 } 4957 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 6188 return com.google.protobuf.GeneratedMessageV3 6189 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 6190 } 6191 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4958 6192 com.google.protobuf.CodedInputStream input) 4959 6193 throws java.io.IOException { 4960 return PARSER.parseFrom(input); 4961 } 4962 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( 6194 return com.google.protobuf.GeneratedMessageV3 6195 .parseWithIOException(PARSER, input); 6196 } 6197 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( 4963 6198 com.google.protobuf.CodedInputStream input, 4964 6199 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4965 6200 throws java.io.IOException { 4966 return PARSER.parseFrom(input, extensionRegistry); 4967 } 4968 4969 public static Builder newBuilder() { return Builder.create(); } 4970 @Override 4971 public Builder newBuilderForType() { return newBuilder(); } 4972 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) { 4973 return newBuilder().mergeFrom(prototype); 4974 } 4975 @Override 4976 public Builder toBuilder() { return newBuilder(this); } 6201 return com.google.protobuf.GeneratedMessageV3 6202 .parseWithIOException(PARSER, input, extensionRegistry); 6203 } 6204 6205 public Builder newBuilderForType() { return newBuilder(); } 6206 public static Builder newBuilder() { 6207 return DEFAULT_INSTANCE.toBuilder(); 6208 } 6209 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange prototype) { 6210 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 6211 } 6212 public Builder toBuilder() { 6213 return this == DEFAULT_INSTANCE 6214 ? new Builder() : new Builder().mergeFrom(this); 6215 } 4977 6216 4978 6217 @java.lang.Override 4979 6218 protected Builder newBuilderForType( 4980 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 6219 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 4981 6220 Builder builder = new Builder(parent); 4982 6221 return builder; 4983 6222 } 4984 6223 /** 4985 * Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange} 6224 * <pre> 6225 * Range of reserved tag numbers. Reserved tag numbers may not be used by 6226 * fields or extension ranges in the same message. Reserved ranges may 6227 * not overlap. 6228 * </pre> 6229 * 6230 * Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange} 4986 6231 */ 4987 6232 public static final class Builder extends 4988 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 4989 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto. ExtensionRange)4990 com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRangeOrBuilder {6233 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 6234 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ReservedRange) 6235 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder { 4991 6236 public static final com.google.protobuf.Descriptors.Descriptor 4992 6237 getDescriptor() { 4993 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 4994 } 4995 4996 @Override 4997 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 6238 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor; 6239 } 6240 6241 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 4998 6242 internalGetFieldAccessorTable() { 4999 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ ExtensionRange_fieldAccessorTable6243 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable 5000 6244 .ensureFieldAccessorsInitialized( 5001 com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class);5002 } 5003 5004 // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange.newBuilder()6245 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder.class); 6246 } 6247 6248 // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.newBuilder() 5005 6249 private Builder() { 5006 6250 maybeForceBuilderInitialization(); … … 5008 6252 5009 6253 private Builder( 5010 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 6254 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5011 6255 super(parent); 5012 6256 maybeForceBuilderInitialization(); 5013 6257 } 5014 6258 private void maybeForceBuilderInitialization() { 5015 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 6259 if (com.google.protobuf.GeneratedMessageV3 6260 .alwaysUseFieldBuilders) { 5016 6261 } 5017 6262 } 5018 private static Builder create() { 5019 return new Builder(); 5020 } 5021 5022 @Override 5023 public Builder clear() { 6263 public Builder clear() { 5024 6264 super.clear(); 5025 6265 start_ = 0; … … 5030 6270 } 5031 6271 5032 @Override 5033 public Builder clone() { 5034 return create().mergeFrom(buildPartial()); 5035 } 5036 5037 @Override 5038 public com.google.protobuf.Descriptors.Descriptor 6272 public com.google.protobuf.Descriptors.Descriptor 5039 6273 getDescriptorForType() { 5040 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 5041 } 5042 5043 @Override 5044 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() { 5045 return com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance(); 5046 } 5047 5048 @Override 5049 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange build() { 5050 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = buildPartial(); 6274 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor; 6275 } 6276 6277 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstanceForType() { 6278 return com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance(); 6279 } 6280 6281 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange build() { 6282 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange result = buildPartial(); 5051 6283 if (!result.isInitialized()) { 5052 6284 throw newUninitializedMessageException(result); … … 5055 6287 } 5056 6288 5057 @Override 5058 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange buildPartial() { 5059 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(this); 6289 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange buildPartial() { 6290 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange result = new com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange(this); 5060 6291 int from_bitField0_ = bitField0_; 5061 6292 int to_bitField0_ = 0; … … 5073 6304 } 5074 6305 5075 @Override 5076 public Builder mergeFrom(com.google.protobuf.Message other) { 5077 if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) { 5078 return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)other); 6306 public Builder clone() { 6307 return (Builder) super.clone(); 6308 } 6309 public Builder setField( 6310 com.google.protobuf.Descriptors.FieldDescriptor field, 6311 java.lang.Object value) { 6312 return (Builder) super.setField(field, value); 6313 } 6314 public Builder clearField( 6315 com.google.protobuf.Descriptors.FieldDescriptor field) { 6316 return (Builder) super.clearField(field); 6317 } 6318 public Builder clearOneof( 6319 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 6320 return (Builder) super.clearOneof(oneof); 6321 } 6322 public Builder setRepeatedField( 6323 com.google.protobuf.Descriptors.FieldDescriptor field, 6324 int index, java.lang.Object value) { 6325 return (Builder) super.setRepeatedField(field, index, value); 6326 } 6327 public Builder addRepeatedField( 6328 com.google.protobuf.Descriptors.FieldDescriptor field, 6329 java.lang.Object value) { 6330 return (Builder) super.addRepeatedField(field, value); 6331 } 6332 public Builder mergeFrom(com.google.protobuf.Message other) { 6333 if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) { 6334 return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange)other); 5079 6335 } else { 5080 6336 super.mergeFrom(other); … … 5083 6339 } 5084 6340 5085 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange other) {5086 if (other == com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange.getDefaultInstance()) return this;6341 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange other) { 6342 if (other == com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance()) return this; 5087 6343 if (other.hasStart()) { 5088 6344 setStart(other.getStart()); … … 5091 6347 setEnd(other.getEnd()); 5092 6348 } 5093 this.mergeUnknownFields(other.getUnknownFields()); 6349 this.mergeUnknownFields(other.unknownFields); 6350 onChanged(); 5094 6351 return this; 5095 6352 } 5096 6353 5097 @Override 5098 public final boolean isInitialized() { 6354 public final boolean isInitialized() { 5099 6355 return true; 5100 6356 } 5101 6357 5102 @Override 5103 public Builder mergeFrom( 6358 public Builder mergeFrom( 5104 6359 com.google.protobuf.CodedInputStream input, 5105 6360 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5106 6361 throws java.io.IOException { 5107 com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange parsedMessage = null;6362 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parsedMessage = null; 5108 6363 try { 5109 6364 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 5110 6365 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5111 parsedMessage = (com.google.protobuf.DescriptorProtos.DescriptorProto. ExtensionRange) e.getUnfinishedMessage();5112 throw e; 6366 parsedMessage = (com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) e.getUnfinishedMessage(); 6367 throw e.unwrapIOException(); 5113 6368 } finally { 5114 6369 if (parsedMessage != null) { … … 5122 6377 private int start_ ; 5123 6378 /** 6379 * <pre> 6380 * Inclusive. 6381 * </pre> 6382 * 5124 6383 * <code>optional int32 start = 1;</code> 5125 6384 */ 5126 @Override 5127 public boolean hasStart() { 6385 public boolean hasStart() { 5128 6386 return ((bitField0_ & 0x00000001) == 0x00000001); 5129 6387 } 5130 6388 /** 6389 * <pre> 6390 * Inclusive. 6391 * </pre> 6392 * 5131 6393 * <code>optional int32 start = 1;</code> 5132 6394 */ 5133 @Override 5134 public int getStart() { 6395 public int getStart() { 5135 6396 return start_; 5136 6397 } 5137 6398 /** 6399 * <pre> 6400 * Inclusive. 6401 * </pre> 6402 * 5138 6403 * <code>optional int32 start = 1;</code> 5139 6404 */ … … 5145 6410 } 5146 6411 /** 6412 * <pre> 6413 * Inclusive. 6414 * </pre> 6415 * 5147 6416 * <code>optional int32 start = 1;</code> 5148 6417 */ … … 5156 6425 private int end_ ; 5157 6426 /** 6427 * <pre> 6428 * Exclusive. 6429 * </pre> 6430 * 5158 6431 * <code>optional int32 end = 2;</code> 5159 6432 */ 5160 @Override 5161 public boolean hasEnd() { 6433 public boolean hasEnd() { 5162 6434 return ((bitField0_ & 0x00000002) == 0x00000002); 5163 6435 } 5164 6436 /** 6437 * <pre> 6438 * Exclusive. 6439 * </pre> 6440 * 5165 6441 * <code>optional int32 end = 2;</code> 5166 6442 */ 5167 @Override 5168 public int getEnd() { 6443 public int getEnd() { 5169 6444 return end_; 5170 6445 } 5171 6446 /** 6447 * <pre> 6448 * Exclusive. 6449 * </pre> 6450 * 5172 6451 * <code>optional int32 end = 2;</code> 5173 6452 */ … … 5179 6458 } 5180 6459 /** 6460 * <pre> 6461 * Exclusive. 6462 * </pre> 6463 * 5181 6464 * <code>optional int32 end = 2;</code> 5182 6465 */ … … 5187 6470 return this; 5188 6471 } 5189 5190 // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ExtensionRange) 5191 } 5192 6472 public final Builder setUnknownFields( 6473 final com.google.protobuf.UnknownFieldSet unknownFields) { 6474 return super.setUnknownFields(unknownFields); 6475 } 6476 6477 public final Builder mergeUnknownFields( 6478 final com.google.protobuf.UnknownFieldSet unknownFields) { 6479 return super.mergeUnknownFields(unknownFields); 6480 } 6481 6482 6483 // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ReservedRange) 6484 } 6485 6486 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) 6487 private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange DEFAULT_INSTANCE; 5193 6488 static { 5194 defaultInstance = new ExtensionRange(true); 5195 defaultInstance.initFields(); 5196 } 5197 5198 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) 6489 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange(); 6490 } 6491 6492 public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstance() { 6493 return DEFAULT_INSTANCE; 6494 } 6495 6496 @java.lang.Deprecated public static final com.google.protobuf.Parser<ReservedRange> 6497 PARSER = new com.google.protobuf.AbstractParser<ReservedRange>() { 6498 public ReservedRange parsePartialFrom( 6499 com.google.protobuf.CodedInputStream input, 6500 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6501 throws com.google.protobuf.InvalidProtocolBufferException { 6502 return new ReservedRange(input, extensionRegistry); 6503 } 6504 }; 6505 6506 public static com.google.protobuf.Parser<ReservedRange> parser() { 6507 return PARSER; 6508 } 6509 6510 @java.lang.Override 6511 public com.google.protobuf.Parser<ReservedRange> getParserForType() { 6512 return PARSER; 6513 } 6514 6515 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstanceForType() { 6516 return DEFAULT_INSTANCE; 6517 } 6518 5199 6519 } 5200 6520 5201 6521 private int bitField0_; 5202 6522 public static final int NAME_FIELD_NUMBER = 1; 5203 private java.lang.Object name_; 6523 private volatile java.lang.Object name_; 5204 6524 /** 5205 6525 * <code>optional string name = 1;</code> 5206 6526 */ 5207 @Override 5208 public boolean hasName() { 6527 public boolean hasName() { 5209 6528 return ((bitField0_ & 0x00000001) == 0x00000001); 5210 6529 } … … 5212 6531 * <code>optional string name = 1;</code> 5213 6532 */ 5214 @Override 5215 public java.lang.String getName() { 6533 public java.lang.String getName() { 5216 6534 java.lang.Object ref = name_; 5217 6535 if (ref instanceof java.lang.String) { 5218 6536 return (java.lang.String) ref; 5219 6537 } else { 5220 com.google.protobuf.ByteString bs = 6538 com.google.protobuf.ByteString bs = 5221 6539 (com.google.protobuf.ByteString) ref; 5222 6540 java.lang.String s = bs.toStringUtf8(); … … 5230 6548 * <code>optional string name = 1;</code> 5231 6549 */ 5232 @Override 5233 public com.google.protobuf.ByteString 6550 public com.google.protobuf.ByteString 5234 6551 getNameBytes() { 5235 6552 java.lang.Object ref = name_; 5236 6553 if (ref instanceof java.lang.String) { 5237 com.google.protobuf.ByteString b = 6554 com.google.protobuf.ByteString b = 5238 6555 com.google.protobuf.ByteString.copyFromUtf8( 5239 6556 (java.lang.String) ref); … … 5250 6567 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 5251 6568 */ 5252 @Override 5253 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() { 6569 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() { 5254 6570 return field_; 5255 6571 } … … 5257 6573 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 5258 6574 */ 5259 @Override 5260 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6575 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 5261 6576 getFieldOrBuilderList() { 5262 6577 return field_; … … 5265 6580 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 5266 6581 */ 5267 @Override 5268 public int getFieldCount() { 6582 public int getFieldCount() { 5269 6583 return field_.size(); 5270 6584 } … … 5272 6586 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 5273 6587 */ 5274 @Override 5275 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { 6588 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { 5276 6589 return field_.get(index); 5277 6590 } … … 5279 6592 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 5280 6593 */ 5281 @Override 5282 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder( 6594 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder( 5283 6595 int index) { 5284 6596 return field_.get(index); … … 5290 6602 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 5291 6603 */ 5292 @Override 5293 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 6604 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 5294 6605 return extension_; 5295 6606 } … … 5297 6608 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 5298 6609 */ 5299 @Override 5300 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6610 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 5301 6611 getExtensionOrBuilderList() { 5302 6612 return extension_; … … 5305 6615 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 5306 6616 */ 5307 @Override 5308 public int getExtensionCount() { 6617 public int getExtensionCount() { 5309 6618 return extension_.size(); 5310 6619 } … … 5312 6621 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 5313 6622 */ 5314 @Override 5315 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 6623 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 5316 6624 return extension_.get(index); 5317 6625 } … … 5319 6627 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 5320 6628 */ 5321 @Override 5322 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 6629 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 5323 6630 int index) { 5324 6631 return extension_.get(index); … … 5330 6637 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 5331 6638 */ 5332 @Override 5333 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() { 6639 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() { 5334 6640 return nestedType_; 5335 6641 } … … 5337 6643 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 5338 6644 */ 5339 @Override 5340 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 6645 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 5341 6646 getNestedTypeOrBuilderList() { 5342 6647 return nestedType_; … … 5345 6650 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 5346 6651 */ 5347 @Override 5348 public int getNestedTypeCount() { 6652 public int getNestedTypeCount() { 5349 6653 return nestedType_.size(); 5350 6654 } … … 5352 6656 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 5353 6657 */ 5354 @Override 5355 public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { 6658 public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { 5356 6659 return nestedType_.get(index); 5357 6660 } … … 5359 6662 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 5360 6663 */ 5361 @Override 5362 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder( 6664 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder( 5363 6665 int index) { 5364 6666 return nestedType_.get(index); … … 5370 6672 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 5371 6673 */ 5372 @Override 5373 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 6674 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 5374 6675 return enumType_; 5375 6676 } … … 5377 6678 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 5378 6679 */ 5379 @Override 5380 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 6680 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 5381 6681 getEnumTypeOrBuilderList() { 5382 6682 return enumType_; … … 5385 6685 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 5386 6686 */ 5387 @Override 5388 public int getEnumTypeCount() { 6687 public int getEnumTypeCount() { 5389 6688 return enumType_.size(); 5390 6689 } … … 5392 6691 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 5393 6692 */ 5394 @Override 5395 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 6693 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 5396 6694 return enumType_.get(index); 5397 6695 } … … 5399 6697 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 5400 6698 */ 5401 @Override 5402 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 6699 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 5403 6700 int index) { 5404 6701 return enumType_.get(index); … … 5410 6707 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 5411 6708 */ 5412 @Override 5413 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() { 6709 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() { 5414 6710 return extensionRange_; 5415 6711 } … … 5417 6713 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 5418 6714 */ 5419 @Override 5420 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 6715 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 5421 6716 getExtensionRangeOrBuilderList() { 5422 6717 return extensionRange_; … … 5425 6720 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 5426 6721 */ 5427 @Override 5428 public int getExtensionRangeCount() { 6722 public int getExtensionRangeCount() { 5429 6723 return extensionRange_.size(); 5430 6724 } … … 5432 6726 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 5433 6727 */ 5434 @Override 5435 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { 6728 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { 5436 6729 return extensionRange_.get(index); 5437 6730 } … … 5439 6732 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 5440 6733 */ 5441 @Override 5442 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder( 6734 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder( 5443 6735 int index) { 5444 6736 return extensionRange_.get(index); … … 5450 6742 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5451 6743 */ 5452 @Override 5453 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 6744 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 5454 6745 return oneofDecl_; 5455 6746 } … … 5457 6748 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5458 6749 */ 5459 @Override 5460 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 6750 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 5461 6751 getOneofDeclOrBuilderList() { 5462 6752 return oneofDecl_; … … 5465 6755 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5466 6756 */ 5467 @Override 5468 public int getOneofDeclCount() { 6757 public int getOneofDeclCount() { 5469 6758 return oneofDecl_.size(); 5470 6759 } … … 5472 6761 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5473 6762 */ 5474 @Override 5475 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 6763 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 5476 6764 return oneofDecl_.get(index); 5477 6765 } … … 5479 6767 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 5480 6768 */ 5481 @Override 5482 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 6769 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 5483 6770 int index) { 5484 6771 return oneofDecl_.get(index); … … 5490 6777 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 5491 6778 */ 5492 @Override 5493 public boolean hasOptions() { 6779 public boolean hasOptions() { 5494 6780 return ((bitField0_ & 0x00000002) == 0x00000002); 5495 6781 } … … 5497 6783 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 5498 6784 */ 5499 @Override 5500 public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { 5501 return options_; 6785 public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { 6786 return options_ == null ? com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_; 5502 6787 } 5503 6788 /** 5504 6789 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 5505 6790 */ 5506 @Override 5507 public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() { 5508 return options_; 5509 } 5510 5511 private void initFields() { 5512 name_ = ""; 5513 field_ = java.util.Collections.emptyList(); 5514 extension_ = java.util.Collections.emptyList(); 5515 nestedType_ = java.util.Collections.emptyList(); 5516 enumType_ = java.util.Collections.emptyList(); 5517 extensionRange_ = java.util.Collections.emptyList(); 5518 oneofDecl_ = java.util.Collections.emptyList(); 5519 options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance(); 5520 } 6791 public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() { 6792 return options_ == null ? com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_; 6793 } 6794 6795 public static final int RESERVED_RANGE_FIELD_NUMBER = 9; 6796 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> reservedRange_; 6797 /** 6798 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 6799 */ 6800 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList() { 6801 return reservedRange_; 6802 } 6803 /** 6804 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 6805 */ 6806 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> 6807 getReservedRangeOrBuilderList() { 6808 return reservedRange_; 6809 } 6810 /** 6811 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 6812 */ 6813 public int getReservedRangeCount() { 6814 return reservedRange_.size(); 6815 } 6816 /** 6817 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 6818 */ 6819 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) { 6820 return reservedRange_.get(index); 6821 } 6822 /** 6823 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 6824 */ 6825 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder( 6826 int index) { 6827 return reservedRange_.get(index); 6828 } 6829 6830 public static final int RESERVED_NAME_FIELD_NUMBER = 10; 6831 private com.google.protobuf.LazyStringList reservedName_; 6832 /** 6833 * <pre> 6834 * Reserved field names, which may not be used by fields in the same message. 6835 * A given name may only be reserved once. 6836 * </pre> 6837 * 6838 * <code>repeated string reserved_name = 10;</code> 6839 */ 6840 public com.google.protobuf.ProtocolStringList 6841 getReservedNameList() { 6842 return reservedName_; 6843 } 6844 /** 6845 * <pre> 6846 * Reserved field names, which may not be used by fields in the same message. 6847 * A given name may only be reserved once. 6848 * </pre> 6849 * 6850 * <code>repeated string reserved_name = 10;</code> 6851 */ 6852 public int getReservedNameCount() { 6853 return reservedName_.size(); 6854 } 6855 /** 6856 * <pre> 6857 * Reserved field names, which may not be used by fields in the same message. 6858 * A given name may only be reserved once. 6859 * </pre> 6860 * 6861 * <code>repeated string reserved_name = 10;</code> 6862 */ 6863 public java.lang.String getReservedName(int index) { 6864 return reservedName_.get(index); 6865 } 6866 /** 6867 * <pre> 6868 * Reserved field names, which may not be used by fields in the same message. 6869 * A given name may only be reserved once. 6870 * </pre> 6871 * 6872 * <code>repeated string reserved_name = 10;</code> 6873 */ 6874 public com.google.protobuf.ByteString 6875 getReservedNameBytes(int index) { 6876 return reservedName_.getByteString(index); 6877 } 6878 5521 6879 private byte memoizedIsInitialized = -1; 5522 @Override 5523 public final boolean isInitialized() { 6880 public final boolean isInitialized() { 5524 6881 byte isInitialized = memoizedIsInitialized; 5525 6882 if (isInitialized == 1) return true; … … 5550 6907 } 5551 6908 } 6909 for (int i = 0; i < getExtensionRangeCount(); i++) { 6910 if (!getExtensionRange(i).isInitialized()) { 6911 memoizedIsInitialized = 0; 6912 return false; 6913 } 6914 } 6915 for (int i = 0; i < getOneofDeclCount(); i++) { 6916 if (!getOneofDecl(i).isInitialized()) { 6917 memoizedIsInitialized = 0; 6918 return false; 6919 } 6920 } 5552 6921 if (hasOptions()) { 5553 6922 if (!getOptions().isInitialized()) { … … 5560 6929 } 5561 6930 5562 @Override 5563 public void writeTo(com.google.protobuf.CodedOutputStream output) 6931 public void writeTo(com.google.protobuf.CodedOutputStream output) 5564 6932 throws java.io.IOException { 5565 getSerializedSize();5566 6933 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5567 output.writeBytes(1, getNameBytes());6934 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 5568 6935 } 5569 6936 for (int i = 0; i < field_.size(); i++) { … … 5583 6950 } 5584 6951 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5585 output.writeMessage(7, options_);6952 output.writeMessage(7, getOptions()); 5586 6953 } 5587 6954 for (int i = 0; i < oneofDecl_.size(); i++) { 5588 6955 output.writeMessage(8, oneofDecl_.get(i)); 5589 6956 } 5590 getUnknownFields().writeTo(output); 5591 } 5592 5593 private int memoizedSerializedSize = -1; 5594 @Override 5595 public int getSerializedSize() { 5596 int size = memoizedSerializedSize; 6957 for (int i = 0; i < reservedRange_.size(); i++) { 6958 output.writeMessage(9, reservedRange_.get(i)); 6959 } 6960 for (int i = 0; i < reservedName_.size(); i++) { 6961 com.google.protobuf.GeneratedMessageV3.writeString(output, 10, reservedName_.getRaw(i)); 6962 } 6963 unknownFields.writeTo(output); 6964 } 6965 6966 public int getSerializedSize() { 6967 int size = memoizedSize; 5597 6968 if (size != -1) return size; 5598 6969 5599 6970 size = 0; 5600 6971 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5601 size += com.google.protobuf.CodedOutputStream 5602 .computeBytesSize(1, getNameBytes()); 6972 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 5603 6973 } 5604 6974 for (int i = 0; i < field_.size(); i++) { … … 5624 6994 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5625 6995 size += com.google.protobuf.CodedOutputStream 5626 .computeMessageSize(7, options_);6996 .computeMessageSize(7, getOptions()); 5627 6997 } 5628 6998 for (int i = 0; i < oneofDecl_.size(); i++) { … … 5630 7000 .computeMessageSize(8, oneofDecl_.get(i)); 5631 7001 } 5632 size += getUnknownFields().getSerializedSize(); 5633 memoizedSerializedSize = size; 7002 for (int i = 0; i < reservedRange_.size(); i++) { 7003 size += com.google.protobuf.CodedOutputStream 7004 .computeMessageSize(9, reservedRange_.get(i)); 7005 } 7006 { 7007 int dataSize = 0; 7008 for (int i = 0; i < reservedName_.size(); i++) { 7009 dataSize += computeStringSizeNoTag(reservedName_.getRaw(i)); 7010 } 7011 size += dataSize; 7012 size += 1 * getReservedNameList().size(); 7013 } 7014 size += unknownFields.getSerializedSize(); 7015 memoizedSize = size; 5634 7016 return size; 5635 7017 } 5636 7018 5637 private static final long serialVersionUID = 0L;5638 7019 @java.lang.Override 5639 protected java.lang.Object writeReplace() 5640 throws java.io.ObjectStreamException { 5641 return super.writeReplace(); 5642 } 5643 7020 public boolean equals(final java.lang.Object obj) { 7021 if (obj == this) { 7022 return true; 7023 } 7024 if (!(obj instanceof com.google.protobuf.DescriptorProtos.DescriptorProto)) { 7025 return super.equals(obj); 7026 } 7027 com.google.protobuf.DescriptorProtos.DescriptorProto other = (com.google.protobuf.DescriptorProtos.DescriptorProto) obj; 7028 7029 boolean result = true; 7030 result = result && (hasName() == other.hasName()); 7031 if (hasName()) { 7032 result = result && getName() 7033 .equals(other.getName()); 7034 } 7035 result = result && getFieldList() 7036 .equals(other.getFieldList()); 7037 result = result && getExtensionList() 7038 .equals(other.getExtensionList()); 7039 result = result && getNestedTypeList() 7040 .equals(other.getNestedTypeList()); 7041 result = result && getEnumTypeList() 7042 .equals(other.getEnumTypeList()); 7043 result = result && getExtensionRangeList() 7044 .equals(other.getExtensionRangeList()); 7045 result = result && getOneofDeclList() 7046 .equals(other.getOneofDeclList()); 7047 result = result && (hasOptions() == other.hasOptions()); 7048 if (hasOptions()) { 7049 result = result && getOptions() 7050 .equals(other.getOptions()); 7051 } 7052 result = result && getReservedRangeList() 7053 .equals(other.getReservedRangeList()); 7054 result = result && getReservedNameList() 7055 .equals(other.getReservedNameList()); 7056 result = result && unknownFields.equals(other.unknownFields); 7057 return result; 7058 } 7059 7060 @java.lang.Override 7061 public int hashCode() { 7062 if (memoizedHashCode != 0) { 7063 return memoizedHashCode; 7064 } 7065 int hash = 41; 7066 hash = (19 * hash) + getDescriptor().hashCode(); 7067 if (hasName()) { 7068 hash = (37 * hash) + NAME_FIELD_NUMBER; 7069 hash = (53 * hash) + getName().hashCode(); 7070 } 7071 if (getFieldCount() > 0) { 7072 hash = (37 * hash) + FIELD_FIELD_NUMBER; 7073 hash = (53 * hash) + getFieldList().hashCode(); 7074 } 7075 if (getExtensionCount() > 0) { 7076 hash = (37 * hash) + EXTENSION_FIELD_NUMBER; 7077 hash = (53 * hash) + getExtensionList().hashCode(); 7078 } 7079 if (getNestedTypeCount() > 0) { 7080 hash = (37 * hash) + NESTED_TYPE_FIELD_NUMBER; 7081 hash = (53 * hash) + getNestedTypeList().hashCode(); 7082 } 7083 if (getEnumTypeCount() > 0) { 7084 hash = (37 * hash) + ENUM_TYPE_FIELD_NUMBER; 7085 hash = (53 * hash) + getEnumTypeList().hashCode(); 7086 } 7087 if (getExtensionRangeCount() > 0) { 7088 hash = (37 * hash) + EXTENSION_RANGE_FIELD_NUMBER; 7089 hash = (53 * hash) + getExtensionRangeList().hashCode(); 7090 } 7091 if (getOneofDeclCount() > 0) { 7092 hash = (37 * hash) + ONEOF_DECL_FIELD_NUMBER; 7093 hash = (53 * hash) + getOneofDeclList().hashCode(); 7094 } 7095 if (hasOptions()) { 7096 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 7097 hash = (53 * hash) + getOptions().hashCode(); 7098 } 7099 if (getReservedRangeCount() > 0) { 7100 hash = (37 * hash) + RESERVED_RANGE_FIELD_NUMBER; 7101 hash = (53 * hash) + getReservedRangeList().hashCode(); 7102 } 7103 if (getReservedNameCount() > 0) { 7104 hash = (37 * hash) + RESERVED_NAME_FIELD_NUMBER; 7105 hash = (53 * hash) + getReservedNameList().hashCode(); 7106 } 7107 hash = (29 * hash) + unknownFields.hashCode(); 7108 memoizedHashCode = hash; 7109 return hash; 7110 } 7111 7112 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( 7113 java.nio.ByteBuffer data) 7114 throws com.google.protobuf.InvalidProtocolBufferException { 7115 return PARSER.parseFrom(data); 7116 } 7117 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( 7118 java.nio.ByteBuffer data, 7119 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7120 throws com.google.protobuf.InvalidProtocolBufferException { 7121 return PARSER.parseFrom(data, extensionRegistry); 7122 } 5644 7123 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( 5645 7124 com.google.protobuf.ByteString data) … … 5665 7144 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input) 5666 7145 throws java.io.IOException { 5667 return PARSER.parseFrom(input); 7146 return com.google.protobuf.GeneratedMessageV3 7147 .parseWithIOException(PARSER, input); 5668 7148 } 5669 7149 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( … … 5671 7151 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5672 7152 throws java.io.IOException { 5673 return PARSER.parseFrom(input, extensionRegistry); 7153 return com.google.protobuf.GeneratedMessageV3 7154 .parseWithIOException(PARSER, input, extensionRegistry); 5674 7155 } 5675 7156 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input) 5676 7157 throws java.io.IOException { 5677 return PARSER.parseDelimitedFrom(input); 7158 return com.google.protobuf.GeneratedMessageV3 7159 .parseDelimitedWithIOException(PARSER, input); 5678 7160 } 5679 7161 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom( … … 5681 7163 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5682 7164 throws java.io.IOException { 5683 return PARSER.parseDelimitedFrom(input, extensionRegistry); 7165 return com.google.protobuf.GeneratedMessageV3 7166 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 5684 7167 } 5685 7168 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( 5686 7169 com.google.protobuf.CodedInputStream input) 5687 7170 throws java.io.IOException { 5688 return PARSER.parseFrom(input); 7171 return com.google.protobuf.GeneratedMessageV3 7172 .parseWithIOException(PARSER, input); 5689 7173 } 5690 7174 public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( … … 5692 7176 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5693 7177 throws java.io.IOException { 5694 return PARSER.parseFrom(input, extensionRegistry); 5695 } 5696 5697 public static Builder newBuilder() { return Builder.create(); } 5698 @Override 5699 public Builder newBuilderForType() { return newBuilder(); } 7178 return com.google.protobuf.GeneratedMessageV3 7179 .parseWithIOException(PARSER, input, extensionRegistry); 7180 } 7181 7182 public Builder newBuilderForType() { return newBuilder(); } 7183 public static Builder newBuilder() { 7184 return DEFAULT_INSTANCE.toBuilder(); 7185 } 5700 7186 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto prototype) { 5701 return newBuilder().mergeFrom(prototype); 5702 } 5703 @Override 5704 public Builder toBuilder() { return newBuilder(this); } 7187 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 7188 } 7189 public Builder toBuilder() { 7190 return this == DEFAULT_INSTANCE 7191 ? new Builder() : new Builder().mergeFrom(this); 7192 } 5705 7193 5706 7194 @java.lang.Override 5707 7195 protected Builder newBuilderForType( 5708 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 7196 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5709 7197 Builder builder = new Builder(parent); 5710 7198 return builder; 5711 7199 } 5712 7200 /** 5713 * Protobuf type {@code google.protobuf.DescriptorProto}5714 *5715 7201 * <pre> 5716 7202 * Describes a message type. 5717 7203 * </pre> 7204 * 7205 * Protobuf type {@code google.protobuf.DescriptorProto} 5718 7206 */ 5719 7207 public static final class Builder extends 5720 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 7208 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 5721 7209 // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto) 5722 7210 com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder { … … 5726 7214 } 5727 7215 5728 @Override 5729 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 7216 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5730 7217 internalGetFieldAccessorTable() { 5731 7218 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable … … 5740 7227 5741 7228 private Builder( 5742 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 7229 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5743 7230 super(parent); 5744 7231 maybeForceBuilderInitialization(); 5745 7232 } 5746 7233 private void maybeForceBuilderInitialization() { 5747 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 7234 if (com.google.protobuf.GeneratedMessageV3 7235 .alwaysUseFieldBuilders) { 5748 7236 getFieldFieldBuilder(); 5749 7237 getExtensionFieldBuilder(); … … 5753 7241 getOneofDeclFieldBuilder(); 5754 7242 getOptionsFieldBuilder(); 5755 } 5756 } 5757 private static Builder create() { 5758 return new Builder(); 5759 } 5760 5761 @Override 5762 public Builder clear() { 7243 getReservedRangeFieldBuilder(); 7244 } 7245 } 7246 public Builder clear() { 5763 7247 super.clear(); 5764 7248 name_ = ""; … … 5801 7285 } 5802 7286 if (optionsBuilder_ == null) { 5803 options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();7287 options_ = null; 5804 7288 } else { 5805 7289 optionsBuilder_.clear(); 5806 7290 } 5807 7291 bitField0_ = (bitField0_ & ~0x00000080); 5808 return this; 5809 } 5810 5811 @Override 5812 public Builder clone() { 5813 return create().mergeFrom(buildPartial()); 5814 } 5815 5816 @Override 5817 public com.google.protobuf.Descriptors.Descriptor 7292 if (reservedRangeBuilder_ == null) { 7293 reservedRange_ = java.util.Collections.emptyList(); 7294 bitField0_ = (bitField0_ & ~0x00000100); 7295 } else { 7296 reservedRangeBuilder_.clear(); 7297 } 7298 reservedName_ = com.google.protobuf.LazyStringArrayList.EMPTY; 7299 bitField0_ = (bitField0_ & ~0x00000200); 7300 return this; 7301 } 7302 7303 public com.google.protobuf.Descriptors.Descriptor 5818 7304 getDescriptorForType() { 5819 7305 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor; 5820 7306 } 5821 7307 5822 @Override 5823 public com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() { 7308 public com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() { 5824 7309 return com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance(); 5825 7310 } 5826 7311 5827 @Override 5828 public com.google.protobuf.DescriptorProtos.DescriptorProto build() { 7312 public com.google.protobuf.DescriptorProtos.DescriptorProto build() { 5829 7313 com.google.protobuf.DescriptorProtos.DescriptorProto result = buildPartial(); 5830 7314 if (!result.isInitialized()) { … … 5834 7318 } 5835 7319 5836 @Override 5837 public com.google.protobuf.DescriptorProtos.DescriptorProto buildPartial() { 7320 public com.google.protobuf.DescriptorProtos.DescriptorProto buildPartial() { 5838 7321 com.google.protobuf.DescriptorProtos.DescriptorProto result = new com.google.protobuf.DescriptorProtos.DescriptorProto(this); 5839 7322 int from_bitField0_ = bitField0_; … … 5905 7388 result.options_ = optionsBuilder_.build(); 5906 7389 } 7390 if (reservedRangeBuilder_ == null) { 7391 if (((bitField0_ & 0x00000100) == 0x00000100)) { 7392 reservedRange_ = java.util.Collections.unmodifiableList(reservedRange_); 7393 bitField0_ = (bitField0_ & ~0x00000100); 7394 } 7395 result.reservedRange_ = reservedRange_; 7396 } else { 7397 result.reservedRange_ = reservedRangeBuilder_.build(); 7398 } 7399 if (((bitField0_ & 0x00000200) == 0x00000200)) { 7400 reservedName_ = reservedName_.getUnmodifiableView(); 7401 bitField0_ = (bitField0_ & ~0x00000200); 7402 } 7403 result.reservedName_ = reservedName_; 5907 7404 result.bitField0_ = to_bitField0_; 5908 7405 onBuilt(); … … 5910 7407 } 5911 7408 5912 @Override 5913 public Builder mergeFrom(com.google.protobuf.Message other) { 7409 public Builder clone() { 7410 return (Builder) super.clone(); 7411 } 7412 public Builder setField( 7413 com.google.protobuf.Descriptors.FieldDescriptor field, 7414 java.lang.Object value) { 7415 return (Builder) super.setField(field, value); 7416 } 7417 public Builder clearField( 7418 com.google.protobuf.Descriptors.FieldDescriptor field) { 7419 return (Builder) super.clearField(field); 7420 } 7421 public Builder clearOneof( 7422 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 7423 return (Builder) super.clearOneof(oneof); 7424 } 7425 public Builder setRepeatedField( 7426 com.google.protobuf.Descriptors.FieldDescriptor field, 7427 int index, java.lang.Object value) { 7428 return (Builder) super.setRepeatedField(field, index, value); 7429 } 7430 public Builder addRepeatedField( 7431 com.google.protobuf.Descriptors.FieldDescriptor field, 7432 java.lang.Object value) { 7433 return (Builder) super.addRepeatedField(field, value); 7434 } 7435 public Builder mergeFrom(com.google.protobuf.Message other) { 5914 7436 if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto) { 5915 7437 return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto)other); … … 5945 7467 field_ = other.field_; 5946 7468 bitField0_ = (bitField0_ & ~0x00000002); 5947 fieldBuilder_ = 5948 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7469 fieldBuilder_ = 7470 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 5949 7471 getFieldFieldBuilder() : null; 5950 7472 } else { … … 5971 7493 extension_ = other.extension_; 5972 7494 bitField0_ = (bitField0_ & ~0x00000004); 5973 extensionBuilder_ = 5974 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7495 extensionBuilder_ = 7496 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 5975 7497 getExtensionFieldBuilder() : null; 5976 7498 } else { … … 5997 7519 nestedType_ = other.nestedType_; 5998 7520 bitField0_ = (bitField0_ & ~0x00000008); 5999 nestedTypeBuilder_ = 6000 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7521 nestedTypeBuilder_ = 7522 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 6001 7523 getNestedTypeFieldBuilder() : null; 6002 7524 } else { … … 6023 7545 enumType_ = other.enumType_; 6024 7546 bitField0_ = (bitField0_ & ~0x00000010); 6025 enumTypeBuilder_ = 6026 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7547 enumTypeBuilder_ = 7548 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 6027 7549 getEnumTypeFieldBuilder() : null; 6028 7550 } else { … … 6049 7571 extensionRange_ = other.extensionRange_; 6050 7572 bitField0_ = (bitField0_ & ~0x00000020); 6051 extensionRangeBuilder_ = 6052 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7573 extensionRangeBuilder_ = 7574 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 6053 7575 getExtensionRangeFieldBuilder() : null; 6054 7576 } else { … … 6075 7597 oneofDecl_ = other.oneofDecl_; 6076 7598 bitField0_ = (bitField0_ & ~0x00000040); 6077 oneofDeclBuilder_ = 6078 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 7599 oneofDeclBuilder_ = 7600 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 6079 7601 getOneofDeclFieldBuilder() : null; 6080 7602 } else { … … 6086 7608 mergeOptions(other.getOptions()); 6087 7609 } 6088 this.mergeUnknownFields(other.getUnknownFields()); 6089 return this; 6090 } 6091 6092 @Override 6093 public final boolean isInitialized() { 7610 if (reservedRangeBuilder_ == null) { 7611 if (!other.reservedRange_.isEmpty()) { 7612 if (reservedRange_.isEmpty()) { 7613 reservedRange_ = other.reservedRange_; 7614 bitField0_ = (bitField0_ & ~0x00000100); 7615 } else { 7616 ensureReservedRangeIsMutable(); 7617 reservedRange_.addAll(other.reservedRange_); 7618 } 7619 onChanged(); 7620 } 7621 } else { 7622 if (!other.reservedRange_.isEmpty()) { 7623 if (reservedRangeBuilder_.isEmpty()) { 7624 reservedRangeBuilder_.dispose(); 7625 reservedRangeBuilder_ = null; 7626 reservedRange_ = other.reservedRange_; 7627 bitField0_ = (bitField0_ & ~0x00000100); 7628 reservedRangeBuilder_ = 7629 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 7630 getReservedRangeFieldBuilder() : null; 7631 } else { 7632 reservedRangeBuilder_.addAllMessages(other.reservedRange_); 7633 } 7634 } 7635 } 7636 if (!other.reservedName_.isEmpty()) { 7637 if (reservedName_.isEmpty()) { 7638 reservedName_ = other.reservedName_; 7639 bitField0_ = (bitField0_ & ~0x00000200); 7640 } else { 7641 ensureReservedNameIsMutable(); 7642 reservedName_.addAll(other.reservedName_); 7643 } 7644 onChanged(); 7645 } 7646 this.mergeUnknownFields(other.unknownFields); 7647 onChanged(); 7648 return this; 7649 } 7650 7651 public final boolean isInitialized() { 6094 7652 for (int i = 0; i < getFieldCount(); i++) { 6095 7653 if (!getField(i).isInitialized()) { 6096 6097 7654 return false; 6098 7655 } … … 6100 7657 for (int i = 0; i < getExtensionCount(); i++) { 6101 7658 if (!getExtension(i).isInitialized()) { 6102 6103 7659 return false; 6104 7660 } … … 6106 7662 for (int i = 0; i < getNestedTypeCount(); i++) { 6107 7663 if (!getNestedType(i).isInitialized()) { 6108 6109 7664 return false; 6110 7665 } … … 6112 7667 for (int i = 0; i < getEnumTypeCount(); i++) { 6113 7668 if (!getEnumType(i).isInitialized()) { 6114 6115 7669 return false; 6116 7670 } 6117 7671 } 7672 for (int i = 0; i < getExtensionRangeCount(); i++) { 7673 if (!getExtensionRange(i).isInitialized()) { 7674 return false; 7675 } 7676 } 7677 for (int i = 0; i < getOneofDeclCount(); i++) { 7678 if (!getOneofDecl(i).isInitialized()) { 7679 return false; 7680 } 7681 } 6118 7682 if (hasOptions()) { 6119 7683 if (!getOptions().isInitialized()) { 6120 6121 7684 return false; 6122 7685 } … … 6125 7688 } 6126 7689 6127 @Override 6128 public Builder mergeFrom( 7690 public Builder mergeFrom( 6129 7691 com.google.protobuf.CodedInputStream input, 6130 7692 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 6135 7697 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 6136 7698 parsedMessage = (com.google.protobuf.DescriptorProtos.DescriptorProto) e.getUnfinishedMessage(); 6137 throw e; 7699 throw e.unwrapIOException(); 6138 7700 } finally { 6139 7701 if (parsedMessage != null) { … … 6149 7711 * <code>optional string name = 1;</code> 6150 7712 */ 6151 @Override 6152 public boolean hasName() { 7713 public boolean hasName() { 6153 7714 return ((bitField0_ & 0x00000001) == 0x00000001); 6154 7715 } … … 6156 7717 * <code>optional string name = 1;</code> 6157 7718 */ 6158 @Override 6159 public java.lang.String getName() { 7719 public java.lang.String getName() { 6160 7720 java.lang.Object ref = name_; 6161 7721 if (!(ref instanceof java.lang.String)) { … … 6174 7734 * <code>optional string name = 1;</code> 6175 7735 */ 6176 @Override 6177 public com.google.protobuf.ByteString 7736 public com.google.protobuf.ByteString 6178 7737 getNameBytes() { 6179 7738 java.lang.Object ref = name_; 6180 7739 if (ref instanceof String) { 6181 com.google.protobuf.ByteString b = 7740 com.google.protobuf.ByteString b = 6182 7741 com.google.protobuf.ByteString.copyFromUtf8( 6183 7742 (java.lang.String) ref); … … 6228 7787 private void ensureFieldIsMutable() { 6229 7788 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 6230 field_ = new java.util.ArrayList<>(field_); 7789 field_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(field_); 6231 7790 bitField0_ |= 0x00000002; 6232 7791 } 6233 7792 } 6234 7793 6235 private com.google.protobuf.RepeatedFieldBuilder< 7794 private com.google.protobuf.RepeatedFieldBuilderV3< 6236 7795 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> fieldBuilder_; 6237 7796 … … 6239 7798 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6240 7799 */ 6241 @Override 6242 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() { 7800 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() { 6243 7801 if (fieldBuilder_ == null) { 6244 7802 return java.util.Collections.unmodifiableList(field_); … … 6250 7808 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6251 7809 */ 6252 @Override 6253 public int getFieldCount() { 7810 public int getFieldCount() { 6254 7811 if (fieldBuilder_ == null) { 6255 7812 return field_.size(); … … 6261 7818 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6262 7819 */ 6263 @Override 6264 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { 7820 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { 6265 7821 if (fieldBuilder_ == null) { 6266 7822 return field_.get(index); … … 6412 7968 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6413 7969 */ 6414 @Override 6415 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder( 7970 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder( 6416 7971 int index) { 6417 7972 if (fieldBuilder_ == null) { … … 6423 7978 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6424 7979 */ 6425 @Override 6426 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 7980 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6427 7981 getFieldOrBuilderList() { 6428 7982 if (fieldBuilder_ != null) { … … 6450 8004 * <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code> 6451 8005 */ 6452 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 8006 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 6453 8007 getFieldBuilderList() { 6454 8008 return getFieldFieldBuilder().getBuilderList(); 6455 8009 } 6456 private com.google.protobuf.RepeatedFieldBuilder< 6457 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 8010 private com.google.protobuf.RepeatedFieldBuilderV3< 8011 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6458 8012 getFieldFieldBuilder() { 6459 8013 if (fieldBuilder_ == null) { 6460 fieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 8014 fieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 8015 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>( 6461 8016 field_, 6462 8017 ((bitField0_ & 0x00000002) == 0x00000002), … … 6472 8027 private void ensureExtensionIsMutable() { 6473 8028 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 6474 extension_ = new java.util.ArrayList<>(extension_); 8029 extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(extension_); 6475 8030 bitField0_ |= 0x00000004; 6476 8031 } 6477 8032 } 6478 8033 6479 private com.google.protobuf.RepeatedFieldBuilder< 8034 private com.google.protobuf.RepeatedFieldBuilderV3< 6480 8035 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_; 6481 8036 … … 6483 8038 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6484 8039 */ 6485 @Override 6486 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 8040 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() { 6487 8041 if (extensionBuilder_ == null) { 6488 8042 return java.util.Collections.unmodifiableList(extension_); … … 6494 8048 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6495 8049 */ 6496 @Override 6497 public int getExtensionCount() { 8050 public int getExtensionCount() { 6498 8051 if (extensionBuilder_ == null) { 6499 8052 return extension_.size(); … … 6505 8058 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6506 8059 */ 6507 @Override 6508 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 8060 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { 6509 8061 if (extensionBuilder_ == null) { 6510 8062 return extension_.get(index); … … 6656 8208 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6657 8209 */ 6658 @Override 6659 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 8210 public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( 6660 8211 int index) { 6661 8212 if (extensionBuilder_ == null) { … … 6667 8218 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6668 8219 */ 6669 @Override 6670 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 8220 public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6671 8221 getExtensionOrBuilderList() { 6672 8222 if (extensionBuilder_ != null) { … … 6694 8244 * <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code> 6695 8245 */ 6696 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 8246 public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder> 6697 8247 getExtensionBuilderList() { 6698 8248 return getExtensionFieldBuilder().getBuilderList(); 6699 8249 } 6700 private com.google.protobuf.RepeatedFieldBuilder< 6701 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 8250 private com.google.protobuf.RepeatedFieldBuilderV3< 8251 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> 6702 8252 getExtensionFieldBuilder() { 6703 8253 if (extensionBuilder_ == null) { 6704 extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 8254 extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 8255 com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>( 6705 8256 extension_, 6706 8257 ((bitField0_ & 0x00000004) == 0x00000004), … … 6716 8267 private void ensureNestedTypeIsMutable() { 6717 8268 if (!((bitField0_ & 0x00000008) == 0x00000008)) { 6718 nestedType_ = new java.util.ArrayList<>(nestedType_); 8269 nestedType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(nestedType_); 6719 8270 bitField0_ |= 0x00000008; 6720 8271 } 6721 8272 } 6722 8273 6723 private com.google.protobuf.RepeatedFieldBuilder< 8274 private com.google.protobuf.RepeatedFieldBuilderV3< 6724 8275 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> nestedTypeBuilder_; 6725 8276 … … 6727 8278 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6728 8279 */ 6729 @Override 6730 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() { 8280 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() { 6731 8281 if (nestedTypeBuilder_ == null) { 6732 8282 return java.util.Collections.unmodifiableList(nestedType_); … … 6738 8288 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6739 8289 */ 6740 @Override 6741 public int getNestedTypeCount() { 8290 public int getNestedTypeCount() { 6742 8291 if (nestedTypeBuilder_ == null) { 6743 8292 return nestedType_.size(); … … 6749 8298 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6750 8299 */ 6751 @Override 6752 public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { 8300 public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { 6753 8301 if (nestedTypeBuilder_ == null) { 6754 8302 return nestedType_.get(index); … … 6900 8448 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6901 8449 */ 6902 @Override 6903 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder( 8450 public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder( 6904 8451 int index) { 6905 8452 if (nestedTypeBuilder_ == null) { … … 6911 8458 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6912 8459 */ 6913 @Override 6914 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 8460 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 6915 8461 getNestedTypeOrBuilderList() { 6916 8462 if (nestedTypeBuilder_ != null) { … … 6938 8484 * <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code> 6939 8485 */ 6940 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder> 8486 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder> 6941 8487 getNestedTypeBuilderList() { 6942 8488 return getNestedTypeFieldBuilder().getBuilderList(); 6943 8489 } 6944 private com.google.protobuf.RepeatedFieldBuilder< 6945 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 8490 private com.google.protobuf.RepeatedFieldBuilderV3< 8491 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 6946 8492 getNestedTypeFieldBuilder() { 6947 8493 if (nestedTypeBuilder_ == null) { 6948 nestedTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 8494 nestedTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 8495 com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>( 6949 8496 nestedType_, 6950 8497 ((bitField0_ & 0x00000008) == 0x00000008), … … 6960 8507 private void ensureEnumTypeIsMutable() { 6961 8508 if (!((bitField0_ & 0x00000010) == 0x00000010)) { 6962 enumType_ = new java.util.ArrayList<>(enumType_); 8509 enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(enumType_); 6963 8510 bitField0_ |= 0x00000010; 6964 8511 } 6965 8512 } 6966 8513 6967 private com.google.protobuf.RepeatedFieldBuilder< 8514 private com.google.protobuf.RepeatedFieldBuilderV3< 6968 8515 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_; 6969 8516 … … 6971 8518 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 6972 8519 */ 6973 @Override 6974 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 8520 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() { 6975 8521 if (enumTypeBuilder_ == null) { 6976 8522 return java.util.Collections.unmodifiableList(enumType_); … … 6982 8528 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 6983 8529 */ 6984 @Override 6985 public int getEnumTypeCount() { 8530 public int getEnumTypeCount() { 6986 8531 if (enumTypeBuilder_ == null) { 6987 8532 return enumType_.size(); … … 6993 8538 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 6994 8539 */ 6995 @Override 6996 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 8540 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { 6997 8541 if (enumTypeBuilder_ == null) { 6998 8542 return enumType_.get(index); … … 7144 8688 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 7145 8689 */ 7146 @Override 7147 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 8690 public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( 7148 8691 int index) { 7149 8692 if (enumTypeBuilder_ == null) { … … 7155 8698 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 7156 8699 */ 7157 @Override 7158 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 8700 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 7159 8701 getEnumTypeOrBuilderList() { 7160 8702 if (enumTypeBuilder_ != null) { … … 7182 8724 * <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code> 7183 8725 */ 7184 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder> 8726 public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder> 7185 8727 getEnumTypeBuilderList() { 7186 8728 return getEnumTypeFieldBuilder().getBuilderList(); 7187 8729 } 7188 private com.google.protobuf.RepeatedFieldBuilder< 7189 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 8730 private com.google.protobuf.RepeatedFieldBuilderV3< 8731 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> 7190 8732 getEnumTypeFieldBuilder() { 7191 8733 if (enumTypeBuilder_ == null) { 7192 enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 8734 enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 8735 com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>( 7193 8736 enumType_, 7194 8737 ((bitField0_ & 0x00000010) == 0x00000010), … … 7204 8747 private void ensureExtensionRangeIsMutable() { 7205 8748 if (!((bitField0_ & 0x00000020) == 0x00000020)) { 7206 extensionRange_ = new java.util.ArrayList<>(extensionRange_); 8749 extensionRange_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange>(extensionRange_); 7207 8750 bitField0_ |= 0x00000020; 7208 8751 } 7209 8752 } 7210 8753 7211 private com.google.protobuf.RepeatedFieldBuilder< 8754 private com.google.protobuf.RepeatedFieldBuilderV3< 7212 8755 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> extensionRangeBuilder_; 7213 8756 … … 7215 8758 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7216 8759 */ 7217 @Override 7218 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() { 8760 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() { 7219 8761 if (extensionRangeBuilder_ == null) { 7220 8762 return java.util.Collections.unmodifiableList(extensionRange_); … … 7226 8768 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7227 8769 */ 7228 @Override 7229 public int getExtensionRangeCount() { 8770 public int getExtensionRangeCount() { 7230 8771 if (extensionRangeBuilder_ == null) { 7231 8772 return extensionRange_.size(); … … 7237 8778 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7238 8779 */ 7239 @Override 7240 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { 8780 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { 7241 8781 if (extensionRangeBuilder_ == null) { 7242 8782 return extensionRange_.get(index); … … 7388 8928 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7389 8929 */ 7390 @Override 7391 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder( 8930 public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder( 7392 8931 int index) { 7393 8932 if (extensionRangeBuilder_ == null) { … … 7399 8938 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7400 8939 */ 7401 @Override 7402 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 8940 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 7403 8941 getExtensionRangeOrBuilderList() { 7404 8942 if (extensionRangeBuilder_ != null) { … … 7426 8964 * <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code> 7427 8965 */ 7428 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder> 8966 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder> 7429 8967 getExtensionRangeBuilderList() { 7430 8968 return getExtensionRangeFieldBuilder().getBuilderList(); 7431 8969 } 7432 private com.google.protobuf.RepeatedFieldBuilder< 7433 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 8970 private com.google.protobuf.RepeatedFieldBuilderV3< 8971 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> 7434 8972 getExtensionRangeFieldBuilder() { 7435 8973 if (extensionRangeBuilder_ == null) { 7436 extensionRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 8974 extensionRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 8975 com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>( 7437 8976 extensionRange_, 7438 8977 ((bitField0_ & 0x00000020) == 0x00000020), … … 7448 8987 private void ensureOneofDeclIsMutable() { 7449 8988 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 7450 oneofDecl_ = new java.util.ArrayList<>(oneofDecl_); 8989 oneofDecl_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.OneofDescriptorProto>(oneofDecl_); 7451 8990 bitField0_ |= 0x00000040; 7452 8991 } 7453 8992 } 7454 8993 7455 private com.google.protobuf.RepeatedFieldBuilder< 8994 private com.google.protobuf.RepeatedFieldBuilderV3< 7456 8995 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> oneofDeclBuilder_; 7457 8996 … … 7459 8998 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7460 8999 */ 7461 @Override 7462 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 9000 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto> getOneofDeclList() { 7463 9001 if (oneofDeclBuilder_ == null) { 7464 9002 return java.util.Collections.unmodifiableList(oneofDecl_); … … 7470 9008 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7471 9009 */ 7472 @Override 7473 public int getOneofDeclCount() { 9010 public int getOneofDeclCount() { 7474 9011 if (oneofDeclBuilder_ == null) { 7475 9012 return oneofDecl_.size(); … … 7481 9018 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7482 9019 */ 7483 @Override 7484 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 9020 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { 7485 9021 if (oneofDeclBuilder_ == null) { 7486 9022 return oneofDecl_.get(index); … … 7632 9168 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7633 9169 */ 7634 @Override 7635 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 9170 public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( 7636 9171 int index) { 7637 9172 if (oneofDeclBuilder_ == null) { … … 7643 9178 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7644 9179 */ 7645 @Override 7646 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 9180 public java.util.List<? extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 7647 9181 getOneofDeclOrBuilderList() { 7648 9182 if (oneofDeclBuilder_ != null) { … … 7670 9204 * <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 7671 9205 */ 7672 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder> 9206 public java.util.List<com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder> 7673 9207 getOneofDeclBuilderList() { 7674 9208 return getOneofDeclFieldBuilder().getBuilderList(); 7675 9209 } 7676 private com.google.protobuf.RepeatedFieldBuilder< 7677 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 9210 private com.google.protobuf.RepeatedFieldBuilderV3< 9211 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder> 7678 9212 getOneofDeclFieldBuilder() { 7679 9213 if (oneofDeclBuilder_ == null) { 7680 oneofDeclBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 9214 oneofDeclBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 9215 com.google.protobuf.DescriptorProtos.OneofDescriptorProto, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>( 7681 9216 oneofDecl_, 7682 9217 ((bitField0_ & 0x00000040) == 0x00000040), … … 7688 9223 } 7689 9224 7690 private com.google.protobuf.DescriptorProtos.MessageOptions options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();7691 private com.google.protobuf.SingleFieldBuilder< 9225 private com.google.protobuf.DescriptorProtos.MessageOptions options_ = null; 9226 private com.google.protobuf.SingleFieldBuilderV3< 7692 9227 com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder> optionsBuilder_; 7693 9228 /** 7694 9229 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 7695 9230 */ 7696 @Override 7697 public boolean hasOptions() { 9231 public boolean hasOptions() { 7698 9232 return ((bitField0_ & 0x00000080) == 0x00000080); 7699 9233 } … … 7701 9235 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 7702 9236 */ 7703 @Override 7704 public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { 9237 public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { 7705 9238 if (optionsBuilder_ == null) { 7706 return options_; 9239 return options_ == null ? com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_; 7707 9240 } else { 7708 9241 return optionsBuilder_.getMessage(); … … 7745 9278 if (optionsBuilder_ == null) { 7746 9279 if (((bitField0_ & 0x00000080) == 0x00000080) && 9280 options_ != null && 7747 9281 options_ != com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) { 7748 9282 options_ = … … 7763 9297 public Builder clearOptions() { 7764 9298 if (optionsBuilder_ == null) { 7765 options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();9299 options_ = null; 7766 9300 onChanged(); 7767 9301 } else { … … 7782 9316 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 7783 9317 */ 7784 @Override 7785 public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() { 9318 public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() { 7786 9319 if (optionsBuilder_ != null) { 7787 9320 return optionsBuilder_.getMessageOrBuilder(); 7788 9321 } else { 7789 return options_; 9322 return options_ == null ? 9323 com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_; 7790 9324 } 7791 9325 } … … 7793 9327 * <code>optional .google.protobuf.MessageOptions options = 7;</code> 7794 9328 */ 7795 private com.google.protobuf.SingleFieldBuilder< 7796 com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder> 9329 private com.google.protobuf.SingleFieldBuilderV3< 9330 com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder> 7797 9331 getOptionsFieldBuilder() { 7798 9332 if (optionsBuilder_ == null) { 7799 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 9333 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 9334 com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>( 7800 9335 getOptions(), 7801 9336 getParentForChildren(), … … 7806 9341 } 7807 9342 9343 private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> reservedRange_ = 9344 java.util.Collections.emptyList(); 9345 private void ensureReservedRangeIsMutable() { 9346 if (!((bitField0_ & 0x00000100) == 0x00000100)) { 9347 reservedRange_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange>(reservedRange_); 9348 bitField0_ |= 0x00000100; 9349 } 9350 } 9351 9352 private com.google.protobuf.RepeatedFieldBuilderV3< 9353 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> reservedRangeBuilder_; 9354 9355 /** 9356 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9357 */ 9358 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList() { 9359 if (reservedRangeBuilder_ == null) { 9360 return java.util.Collections.unmodifiableList(reservedRange_); 9361 } else { 9362 return reservedRangeBuilder_.getMessageList(); 9363 } 9364 } 9365 /** 9366 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9367 */ 9368 public int getReservedRangeCount() { 9369 if (reservedRangeBuilder_ == null) { 9370 return reservedRange_.size(); 9371 } else { 9372 return reservedRangeBuilder_.getCount(); 9373 } 9374 } 9375 /** 9376 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9377 */ 9378 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) { 9379 if (reservedRangeBuilder_ == null) { 9380 return reservedRange_.get(index); 9381 } else { 9382 return reservedRangeBuilder_.getMessage(index); 9383 } 9384 } 9385 /** 9386 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9387 */ 9388 public Builder setReservedRange( 9389 int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { 9390 if (reservedRangeBuilder_ == null) { 9391 if (value == null) { 9392 throw new NullPointerException(); 9393 } 9394 ensureReservedRangeIsMutable(); 9395 reservedRange_.set(index, value); 9396 onChanged(); 9397 } else { 9398 reservedRangeBuilder_.setMessage(index, value); 9399 } 9400 return this; 9401 } 9402 /** 9403 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9404 */ 9405 public Builder setReservedRange( 9406 int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { 9407 if (reservedRangeBuilder_ == null) { 9408 ensureReservedRangeIsMutable(); 9409 reservedRange_.set(index, builderForValue.build()); 9410 onChanged(); 9411 } else { 9412 reservedRangeBuilder_.setMessage(index, builderForValue.build()); 9413 } 9414 return this; 9415 } 9416 /** 9417 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9418 */ 9419 public Builder addReservedRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { 9420 if (reservedRangeBuilder_ == null) { 9421 if (value == null) { 9422 throw new NullPointerException(); 9423 } 9424 ensureReservedRangeIsMutable(); 9425 reservedRange_.add(value); 9426 onChanged(); 9427 } else { 9428 reservedRangeBuilder_.addMessage(value); 9429 } 9430 return this; 9431 } 9432 /** 9433 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9434 */ 9435 public Builder addReservedRange( 9436 int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { 9437 if (reservedRangeBuilder_ == null) { 9438 if (value == null) { 9439 throw new NullPointerException(); 9440 } 9441 ensureReservedRangeIsMutable(); 9442 reservedRange_.add(index, value); 9443 onChanged(); 9444 } else { 9445 reservedRangeBuilder_.addMessage(index, value); 9446 } 9447 return this; 9448 } 9449 /** 9450 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9451 */ 9452 public Builder addReservedRange( 9453 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { 9454 if (reservedRangeBuilder_ == null) { 9455 ensureReservedRangeIsMutable(); 9456 reservedRange_.add(builderForValue.build()); 9457 onChanged(); 9458 } else { 9459 reservedRangeBuilder_.addMessage(builderForValue.build()); 9460 } 9461 return this; 9462 } 9463 /** 9464 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9465 */ 9466 public Builder addReservedRange( 9467 int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { 9468 if (reservedRangeBuilder_ == null) { 9469 ensureReservedRangeIsMutable(); 9470 reservedRange_.add(index, builderForValue.build()); 9471 onChanged(); 9472 } else { 9473 reservedRangeBuilder_.addMessage(index, builderForValue.build()); 9474 } 9475 return this; 9476 } 9477 /** 9478 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9479 */ 9480 public Builder addAllReservedRange( 9481 java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> values) { 9482 if (reservedRangeBuilder_ == null) { 9483 ensureReservedRangeIsMutable(); 9484 com.google.protobuf.AbstractMessageLite.Builder.addAll( 9485 values, reservedRange_); 9486 onChanged(); 9487 } else { 9488 reservedRangeBuilder_.addAllMessages(values); 9489 } 9490 return this; 9491 } 9492 /** 9493 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9494 */ 9495 public Builder clearReservedRange() { 9496 if (reservedRangeBuilder_ == null) { 9497 reservedRange_ = java.util.Collections.emptyList(); 9498 bitField0_ = (bitField0_ & ~0x00000100); 9499 onChanged(); 9500 } else { 9501 reservedRangeBuilder_.clear(); 9502 } 9503 return this; 9504 } 9505 /** 9506 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9507 */ 9508 public Builder removeReservedRange(int index) { 9509 if (reservedRangeBuilder_ == null) { 9510 ensureReservedRangeIsMutable(); 9511 reservedRange_.remove(index); 9512 onChanged(); 9513 } else { 9514 reservedRangeBuilder_.remove(index); 9515 } 9516 return this; 9517 } 9518 /** 9519 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9520 */ 9521 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder getReservedRangeBuilder( 9522 int index) { 9523 return getReservedRangeFieldBuilder().getBuilder(index); 9524 } 9525 /** 9526 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9527 */ 9528 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder( 9529 int index) { 9530 if (reservedRangeBuilder_ == null) { 9531 return reservedRange_.get(index); } else { 9532 return reservedRangeBuilder_.getMessageOrBuilder(index); 9533 } 9534 } 9535 /** 9536 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9537 */ 9538 public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> 9539 getReservedRangeOrBuilderList() { 9540 if (reservedRangeBuilder_ != null) { 9541 return reservedRangeBuilder_.getMessageOrBuilderList(); 9542 } else { 9543 return java.util.Collections.unmodifiableList(reservedRange_); 9544 } 9545 } 9546 /** 9547 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9548 */ 9549 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder() { 9550 return getReservedRangeFieldBuilder().addBuilder( 9551 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance()); 9552 } 9553 /** 9554 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9555 */ 9556 public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder( 9557 int index) { 9558 return getReservedRangeFieldBuilder().addBuilder( 9559 index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.getDefaultInstance()); 9560 } 9561 /** 9562 * <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code> 9563 */ 9564 public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder> 9565 getReservedRangeBuilderList() { 9566 return getReservedRangeFieldBuilder().getBuilderList(); 9567 } 9568 private com.google.protobuf.RepeatedFieldBuilderV3< 9569 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> 9570 getReservedRangeFieldBuilder() { 9571 if (reservedRangeBuilder_ == null) { 9572 reservedRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 9573 com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>( 9574 reservedRange_, 9575 ((bitField0_ & 0x00000100) == 0x00000100), 9576 getParentForChildren(), 9577 isClean()); 9578 reservedRange_ = null; 9579 } 9580 return reservedRangeBuilder_; 9581 } 9582 9583 private com.google.protobuf.LazyStringList reservedName_ = com.google.protobuf.LazyStringArrayList.EMPTY; 9584 private void ensureReservedNameIsMutable() { 9585 if (!((bitField0_ & 0x00000200) == 0x00000200)) { 9586 reservedName_ = new com.google.protobuf.LazyStringArrayList(reservedName_); 9587 bitField0_ |= 0x00000200; 9588 } 9589 } 9590 /** 9591 * <pre> 9592 * Reserved field names, which may not be used by fields in the same message. 9593 * A given name may only be reserved once. 9594 * </pre> 9595 * 9596 * <code>repeated string reserved_name = 10;</code> 9597 */ 9598 public com.google.protobuf.ProtocolStringList 9599 getReservedNameList() { 9600 return reservedName_.getUnmodifiableView(); 9601 } 9602 /** 9603 * <pre> 9604 * Reserved field names, which may not be used by fields in the same message. 9605 * A given name may only be reserved once. 9606 * </pre> 9607 * 9608 * <code>repeated string reserved_name = 10;</code> 9609 */ 9610 public int getReservedNameCount() { 9611 return reservedName_.size(); 9612 } 9613 /** 9614 * <pre> 9615 * Reserved field names, which may not be used by fields in the same message. 9616 * A given name may only be reserved once. 9617 * </pre> 9618 * 9619 * <code>repeated string reserved_name = 10;</code> 9620 */ 9621 public java.lang.String getReservedName(int index) { 9622 return reservedName_.get(index); 9623 } 9624 /** 9625 * <pre> 9626 * Reserved field names, which may not be used by fields in the same message. 9627 * A given name may only be reserved once. 9628 * </pre> 9629 * 9630 * <code>repeated string reserved_name = 10;</code> 9631 */ 9632 public com.google.protobuf.ByteString 9633 getReservedNameBytes(int index) { 9634 return reservedName_.getByteString(index); 9635 } 9636 /** 9637 * <pre> 9638 * Reserved field names, which may not be used by fields in the same message. 9639 * A given name may only be reserved once. 9640 * </pre> 9641 * 9642 * <code>repeated string reserved_name = 10;</code> 9643 */ 9644 public Builder setReservedName( 9645 int index, java.lang.String value) { 9646 if (value == null) { 9647 throw new NullPointerException(); 9648 } 9649 ensureReservedNameIsMutable(); 9650 reservedName_.set(index, value); 9651 onChanged(); 9652 return this; 9653 } 9654 /** 9655 * <pre> 9656 * Reserved field names, which may not be used by fields in the same message. 9657 * A given name may only be reserved once. 9658 * </pre> 9659 * 9660 * <code>repeated string reserved_name = 10;</code> 9661 */ 9662 public Builder addReservedName( 9663 java.lang.String value) { 9664 if (value == null) { 9665 throw new NullPointerException(); 9666 } 9667 ensureReservedNameIsMutable(); 9668 reservedName_.add(value); 9669 onChanged(); 9670 return this; 9671 } 9672 /** 9673 * <pre> 9674 * Reserved field names, which may not be used by fields in the same message. 9675 * A given name may only be reserved once. 9676 * </pre> 9677 * 9678 * <code>repeated string reserved_name = 10;</code> 9679 */ 9680 public Builder addAllReservedName( 9681 java.lang.Iterable<java.lang.String> values) { 9682 ensureReservedNameIsMutable(); 9683 com.google.protobuf.AbstractMessageLite.Builder.addAll( 9684 values, reservedName_); 9685 onChanged(); 9686 return this; 9687 } 9688 /** 9689 * <pre> 9690 * Reserved field names, which may not be used by fields in the same message. 9691 * A given name may only be reserved once. 9692 * </pre> 9693 * 9694 * <code>repeated string reserved_name = 10;</code> 9695 */ 9696 public Builder clearReservedName() { 9697 reservedName_ = com.google.protobuf.LazyStringArrayList.EMPTY; 9698 bitField0_ = (bitField0_ & ~0x00000200); 9699 onChanged(); 9700 return this; 9701 } 9702 /** 9703 * <pre> 9704 * Reserved field names, which may not be used by fields in the same message. 9705 * A given name may only be reserved once. 9706 * </pre> 9707 * 9708 * <code>repeated string reserved_name = 10;</code> 9709 */ 9710 public Builder addReservedNameBytes( 9711 com.google.protobuf.ByteString value) { 9712 if (value == null) { 9713 throw new NullPointerException(); 9714 } 9715 ensureReservedNameIsMutable(); 9716 reservedName_.add(value); 9717 onChanged(); 9718 return this; 9719 } 9720 public final Builder setUnknownFields( 9721 final com.google.protobuf.UnknownFieldSet unknownFields) { 9722 return super.setUnknownFields(unknownFields); 9723 } 9724 9725 public final Builder mergeUnknownFields( 9726 final com.google.protobuf.UnknownFieldSet unknownFields) { 9727 return super.mergeUnknownFields(unknownFields); 9728 } 9729 9730 7808 9731 // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto) 7809 9732 } 7810 9733 9734 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) 9735 private static final com.google.protobuf.DescriptorProtos.DescriptorProto DEFAULT_INSTANCE; 7811 9736 static { 7812 defaultInstance = new DescriptorProto(true); 7813 defaultInstance.initFields(); 7814 } 7815 7816 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) 9737 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.DescriptorProto(); 9738 } 9739 9740 public static com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstance() { 9741 return DEFAULT_INSTANCE; 9742 } 9743 9744 @java.lang.Deprecated public static final com.google.protobuf.Parser<DescriptorProto> 9745 PARSER = new com.google.protobuf.AbstractParser<DescriptorProto>() { 9746 public DescriptorProto parsePartialFrom( 9747 com.google.protobuf.CodedInputStream input, 9748 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9749 throws com.google.protobuf.InvalidProtocolBufferException { 9750 return new DescriptorProto(input, extensionRegistry); 9751 } 9752 }; 9753 9754 public static com.google.protobuf.Parser<DescriptorProto> parser() { 9755 return PARSER; 9756 } 9757 9758 @java.lang.Override 9759 public com.google.protobuf.Parser<DescriptorProto> getParserForType() { 9760 return PARSER; 9761 } 9762 9763 public com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() { 9764 return DEFAULT_INSTANCE; 9765 } 9766 7817 9767 } 7818 9768 7819 public interface FieldDescriptorProtoOrBuilder extends 7820 // @@protoc_insertion_point(interface_extends:google.protobuf.FieldDescriptorProto) 7821 com.google.protobuf.MessageOrBuilder { 7822 7823 /** 7824 * <code>optional string name = 1;</code> 7825 */ 7826 boolean hasName(); 7827 /** 7828 * <code>optional string name = 1;</code> 7829 */ 7830 java.lang.String getName(); 7831 /** 7832 * <code>optional string name = 1;</code> 7833 */ 7834 com.google.protobuf.ByteString 7835 getNameBytes(); 7836 7837 /** 7838 * <code>optional int32 number = 3;</code> 7839 */ 7840 boolean hasNumber(); 7841 /** 7842 * <code>optional int32 number = 3;</code> 7843 */ 7844 int getNumber(); 7845 7846 /** 7847 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 7848 */ 7849 boolean hasLabel(); 7850 /** 7851 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 7852 */ 7853 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel(); 7854 7855 /** 7856 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 9769 public interface ExtensionRangeOptionsOrBuilder extends 9770 // @@protoc_insertion_point(interface_extends:google.protobuf.ExtensionRangeOptions) 9771 com.google.protobuf.GeneratedMessageV3. 9772 ExtendableMessageOrBuilder<ExtensionRangeOptions> { 9773 9774 /** 9775 * <pre> 9776 * The parser stores options it doesn't recognize here. See above. 9777 * </pre> 7857 9778 * 9779 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9780 */ 9781 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 9782 getUninterpretedOptionList(); 9783 /** 7858 9784 * <pre> 7859 * If type_name is set, this need not be set. If both this and type_name 7860 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9785 * The parser stores options it doesn't recognize here. See above. 7861 9786 * </pre> 7862 */7863 boolean hasType();7864 /**7865 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>7866 9787 * 9788 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9789 */ 9790 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 9791 /** 7867 9792 * <pre> 7868 * If type_name is set, this need not be set. If both this and type_name 7869 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9793 * The parser stores options it doesn't recognize here. See above. 7870 9794 * </pre> 7871 */7872 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType();7873 7874 /**7875 * <code>optional string type_name = 6;</code>7876 9795 * 9796 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9797 */ 9798 int getUninterpretedOptionCount(); 9799 /** 7877 9800 * <pre> 7878 * For message and enum types, this is the name of the type. If the name 7879 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 7880 * rules are used to find the type (i.e. first the nested types within this 7881 * message are searched, then within the parent, on up to the root 7882 * namespace). 9801 * The parser stores options it doesn't recognize here. See above. 7883 9802 * </pre> 7884 */7885 boolean hasTypeName();7886 /**7887 * <code>optional string type_name = 6;</code>7888 9803 * 9804 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9805 */ 9806 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 9807 getUninterpretedOptionOrBuilderList(); 9808 /** 7889 9809 * <pre> 7890 * For message and enum types, this is the name of the type. If the name 7891 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 7892 * rules are used to find the type (i.e. first the nested types within this 7893 * message are searched, then within the parent, on up to the root 7894 * namespace). 9810 * The parser stores options it doesn't recognize here. See above. 7895 9811 * </pre> 7896 */7897 java.lang.String getTypeName();7898 /**7899 * <code>optional string type_name = 6;</code>7900 9812 * 7901 * <pre> 7902 * For message and enum types, this is the name of the type. If the name 7903 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 7904 * rules are used to find the type (i.e. first the nested types within this 7905 * message are searched, then within the parent, on up to the root 7906 * namespace). 7907 * </pre> 7908 */ 7909 com.google.protobuf.ByteString 7910 getTypeNameBytes(); 7911 7912 /** 7913 * <code>optional string extendee = 2;</code> 7914 * 7915 * <pre> 7916 * For extensions, this is the name of the type being extended. It is 7917 * resolved in the same manner as type_name. 7918 * </pre> 7919 */ 7920 boolean hasExtendee(); 7921 /** 7922 * <code>optional string extendee = 2;</code> 7923 * 7924 * <pre> 7925 * For extensions, this is the name of the type being extended. It is 7926 * resolved in the same manner as type_name. 7927 * </pre> 7928 */ 7929 java.lang.String getExtendee(); 7930 /** 7931 * <code>optional string extendee = 2;</code> 7932 * 7933 * <pre> 7934 * For extensions, this is the name of the type being extended. It is 7935 * resolved in the same manner as type_name. 7936 * </pre> 7937 */ 7938 com.google.protobuf.ByteString 7939 getExtendeeBytes(); 7940 7941 /** 7942 * <code>optional string default_value = 7;</code> 7943 * 7944 * <pre> 7945 * For numeric types, contains the original text representation of the value. 7946 * For booleans, "true" or "false". 7947 * For strings, contains the default text contents (not escaped in any way). 7948 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 7949 * TODO(kenton): Base-64 encode? 7950 * </pre> 7951 */ 7952 boolean hasDefaultValue(); 7953 /** 7954 * <code>optional string default_value = 7;</code> 7955 * 7956 * <pre> 7957 * For numeric types, contains the original text representation of the value. 7958 * For booleans, "true" or "false". 7959 * For strings, contains the default text contents (not escaped in any way). 7960 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 7961 * TODO(kenton): Base-64 encode? 7962 * </pre> 7963 */ 7964 java.lang.String getDefaultValue(); 7965 /** 7966 * <code>optional string default_value = 7;</code> 7967 * 7968 * <pre> 7969 * For numeric types, contains the original text representation of the value. 7970 * For booleans, "true" or "false". 7971 * For strings, contains the default text contents (not escaped in any way). 7972 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 7973 * TODO(kenton): Base-64 encode? 7974 * </pre> 7975 */ 7976 com.google.protobuf.ByteString 7977 getDefaultValueBytes(); 7978 7979 /** 7980 * <code>optional int32 oneof_index = 9;</code> 7981 * 7982 * <pre> 7983 * If set, gives the index of a oneof in the containing type's oneof_decl 7984 * list. This field is a member of that oneof. Extensions of a oneof should 7985 * not set this since the oneof to which they belong will be inferred based 7986 * on the extension range containing the extension's field number. 7987 * </pre> 7988 */ 7989 boolean hasOneofIndex(); 7990 /** 7991 * <code>optional int32 oneof_index = 9;</code> 7992 * 7993 * <pre> 7994 * If set, gives the index of a oneof in the containing type's oneof_decl 7995 * list. This field is a member of that oneof. Extensions of a oneof should 7996 * not set this since the oneof to which they belong will be inferred based 7997 * on the extension range containing the extension's field number. 7998 * </pre> 7999 */ 8000 int getOneofIndex(); 8001 8002 /** 8003 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8004 */ 8005 boolean hasOptions(); 8006 /** 8007 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8008 */ 8009 com.google.protobuf.DescriptorProtos.FieldOptions getOptions(); 8010 /** 8011 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8012 */ 8013 com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder(); 9813 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9814 */ 9815 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 9816 int index); 8014 9817 } 8015 9818 /** 8016 * Protobuf type {@code google.protobuf.FieldDescriptorProto} 8017 * 8018 * <pre> 8019 * Describes a field within a message. 8020 * </pre> 9819 * Protobuf type {@code google.protobuf.ExtensionRangeOptions} 8021 9820 */ 8022 public static final class FieldDescriptorProto extends 8023 com.google.protobuf.GeneratedMessage implements 8024 // @@protoc_insertion_point(message_implements:google.protobuf.FieldDescriptorProto) 8025 FieldDescriptorProtoOrBuilder { 8026 // Use FieldDescriptorProto.newBuilder() to construct. 8027 private FieldDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 9821 public static final class ExtensionRangeOptions extends 9822 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 9823 ExtensionRangeOptions> implements 9824 // @@protoc_insertion_point(message_implements:google.protobuf.ExtensionRangeOptions) 9825 ExtensionRangeOptionsOrBuilder { 9826 private static final long serialVersionUID = 0L; 9827 // Use ExtensionRangeOptions.newBuilder() to construct. 9828 private ExtensionRangeOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, ?> builder) { 8028 9829 super(builder); 8029 this.unknownFields = builder.getUnknownFields(); 8030 } 8031 private FieldDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 8032 8033 private static final FieldDescriptorProto defaultInstance; 8034 public static FieldDescriptorProto getDefaultInstance() { 8035 return defaultInstance; 8036 } 8037 8038 @Override 8039 public FieldDescriptorProto getDefaultInstanceForType() { 8040 return defaultInstance; 8041 } 8042 8043 private final com.google.protobuf.UnknownFieldSet unknownFields; 9830 } 9831 private ExtensionRangeOptions() { 9832 uninterpretedOption_ = java.util.Collections.emptyList(); 9833 } 9834 8044 9835 @java.lang.Override 8045 9836 public final com.google.protobuf.UnknownFieldSet 8046 9837 getUnknownFields() { 8047 9838 return this.unknownFields; 8048 9839 } 8049 private FieldDescriptorProto(9840 private ExtensionRangeOptions( 8050 9841 com.google.protobuf.CodedInputStream input, 8051 9842 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8052 9843 throws com.google.protobuf.InvalidProtocolBufferException { 8053 initFields();9844 this(); 8054 9845 int mutable_bitField0_ = 0; 8055 9846 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 8064 9855 break; 8065 9856 default: { 8066 if (!parseUnknownField(input, unknownFields, 8067 extensionRegistry, tag)) { 9857 if (!parseUnknownField( 9858 input, unknownFields, extensionRegistry, tag)) { 9859 done = true; 9860 } 9861 break; 9862 } 9863 case 7994: { 9864 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 9865 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 9866 mutable_bitField0_ |= 0x00000001; 9867 } 9868 uninterpretedOption_.add( 9869 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 9870 break; 9871 } 9872 } 9873 } 9874 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9875 throw e.setUnfinishedMessage(this); 9876 } catch (java.io.IOException e) { 9877 throw new com.google.protobuf.InvalidProtocolBufferException( 9878 e).setUnfinishedMessage(this); 9879 } finally { 9880 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 9881 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 9882 } 9883 this.unknownFields = unknownFields.build(); 9884 makeExtensionsImmutable(); 9885 } 9886 } 9887 public static final com.google.protobuf.Descriptors.Descriptor 9888 getDescriptor() { 9889 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor; 9890 } 9891 9892 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 9893 internalGetFieldAccessorTable() { 9894 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable 9895 .ensureFieldAccessorsInitialized( 9896 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.class, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder.class); 9897 } 9898 9899 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 9900 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 9901 /** 9902 * <pre> 9903 * The parser stores options it doesn't recognize here. See above. 9904 * </pre> 9905 * 9906 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9907 */ 9908 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 9909 return uninterpretedOption_; 9910 } 9911 /** 9912 * <pre> 9913 * The parser stores options it doesn't recognize here. See above. 9914 * </pre> 9915 * 9916 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9917 */ 9918 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 9919 getUninterpretedOptionOrBuilderList() { 9920 return uninterpretedOption_; 9921 } 9922 /** 9923 * <pre> 9924 * The parser stores options it doesn't recognize here. See above. 9925 * </pre> 9926 * 9927 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9928 */ 9929 public int getUninterpretedOptionCount() { 9930 return uninterpretedOption_.size(); 9931 } 9932 /** 9933 * <pre> 9934 * The parser stores options it doesn't recognize here. See above. 9935 * </pre> 9936 * 9937 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9938 */ 9939 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 9940 return uninterpretedOption_.get(index); 9941 } 9942 /** 9943 * <pre> 9944 * The parser stores options it doesn't recognize here. See above. 9945 * </pre> 9946 * 9947 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 9948 */ 9949 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 9950 int index) { 9951 return uninterpretedOption_.get(index); 9952 } 9953 9954 private byte memoizedIsInitialized = -1; 9955 public final boolean isInitialized() { 9956 byte isInitialized = memoizedIsInitialized; 9957 if (isInitialized == 1) return true; 9958 if (isInitialized == 0) return false; 9959 9960 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 9961 if (!getUninterpretedOption(i).isInitialized()) { 9962 memoizedIsInitialized = 0; 9963 return false; 9964 } 9965 } 9966 if (!extensionsAreInitialized()) { 9967 memoizedIsInitialized = 0; 9968 return false; 9969 } 9970 memoizedIsInitialized = 1; 9971 return true; 9972 } 9973 9974 public void writeTo(com.google.protobuf.CodedOutputStream output) 9975 throws java.io.IOException { 9976 com.google.protobuf.GeneratedMessageV3 9977 .ExtendableMessage<com.google.protobuf.DescriptorProtos.ExtensionRangeOptions>.ExtensionWriter 9978 extensionWriter = newExtensionWriter(); 9979 for (int i = 0; i < uninterpretedOption_.size(); i++) { 9980 output.writeMessage(999, uninterpretedOption_.get(i)); 9981 } 9982 extensionWriter.writeUntil(536870912, output); 9983 unknownFields.writeTo(output); 9984 } 9985 9986 public int getSerializedSize() { 9987 int size = memoizedSize; 9988 if (size != -1) return size; 9989 9990 size = 0; 9991 for (int i = 0; i < uninterpretedOption_.size(); i++) { 9992 size += com.google.protobuf.CodedOutputStream 9993 .computeMessageSize(999, uninterpretedOption_.get(i)); 9994 } 9995 size += extensionsSerializedSize(); 9996 size += unknownFields.getSerializedSize(); 9997 memoizedSize = size; 9998 return size; 9999 } 10000 10001 @java.lang.Override 10002 public boolean equals(final java.lang.Object obj) { 10003 if (obj == this) { 10004 return true; 10005 } 10006 if (!(obj instanceof com.google.protobuf.DescriptorProtos.ExtensionRangeOptions)) { 10007 return super.equals(obj); 10008 } 10009 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions other = (com.google.protobuf.DescriptorProtos.ExtensionRangeOptions) obj; 10010 10011 boolean result = true; 10012 result = result && getUninterpretedOptionList() 10013 .equals(other.getUninterpretedOptionList()); 10014 result = result && unknownFields.equals(other.unknownFields); 10015 result = result && 10016 getExtensionFields().equals(other.getExtensionFields()); 10017 return result; 10018 } 10019 10020 @java.lang.Override 10021 public int hashCode() { 10022 if (memoizedHashCode != 0) { 10023 return memoizedHashCode; 10024 } 10025 int hash = 41; 10026 hash = (19 * hash) + getDescriptor().hashCode(); 10027 if (getUninterpretedOptionCount() > 0) { 10028 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 10029 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 10030 } 10031 hash = hashFields(hash, getExtensionFields()); 10032 hash = (29 * hash) + unknownFields.hashCode(); 10033 memoizedHashCode = hash; 10034 return hash; 10035 } 10036 10037 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10038 java.nio.ByteBuffer data) 10039 throws com.google.protobuf.InvalidProtocolBufferException { 10040 return PARSER.parseFrom(data); 10041 } 10042 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10043 java.nio.ByteBuffer data, 10044 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10045 throws com.google.protobuf.InvalidProtocolBufferException { 10046 return PARSER.parseFrom(data, extensionRegistry); 10047 } 10048 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10049 com.google.protobuf.ByteString data) 10050 throws com.google.protobuf.InvalidProtocolBufferException { 10051 return PARSER.parseFrom(data); 10052 } 10053 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10054 com.google.protobuf.ByteString data, 10055 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10056 throws com.google.protobuf.InvalidProtocolBufferException { 10057 return PARSER.parseFrom(data, extensionRegistry); 10058 } 10059 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(byte[] data) 10060 throws com.google.protobuf.InvalidProtocolBufferException { 10061 return PARSER.parseFrom(data); 10062 } 10063 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10064 byte[] data, 10065 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10066 throws com.google.protobuf.InvalidProtocolBufferException { 10067 return PARSER.parseFrom(data, extensionRegistry); 10068 } 10069 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(java.io.InputStream input) 10070 throws java.io.IOException { 10071 return com.google.protobuf.GeneratedMessageV3 10072 .parseWithIOException(PARSER, input); 10073 } 10074 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10075 java.io.InputStream input, 10076 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10077 throws java.io.IOException { 10078 return com.google.protobuf.GeneratedMessageV3 10079 .parseWithIOException(PARSER, input, extensionRegistry); 10080 } 10081 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom(java.io.InputStream input) 10082 throws java.io.IOException { 10083 return com.google.protobuf.GeneratedMessageV3 10084 .parseDelimitedWithIOException(PARSER, input); 10085 } 10086 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom( 10087 java.io.InputStream input, 10088 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10089 throws java.io.IOException { 10090 return com.google.protobuf.GeneratedMessageV3 10091 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 10092 } 10093 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10094 com.google.protobuf.CodedInputStream input) 10095 throws java.io.IOException { 10096 return com.google.protobuf.GeneratedMessageV3 10097 .parseWithIOException(PARSER, input); 10098 } 10099 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom( 10100 com.google.protobuf.CodedInputStream input, 10101 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10102 throws java.io.IOException { 10103 return com.google.protobuf.GeneratedMessageV3 10104 .parseWithIOException(PARSER, input, extensionRegistry); 10105 } 10106 10107 public Builder newBuilderForType() { return newBuilder(); } 10108 public static Builder newBuilder() { 10109 return DEFAULT_INSTANCE.toBuilder(); 10110 } 10111 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions prototype) { 10112 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 10113 } 10114 public Builder toBuilder() { 10115 return this == DEFAULT_INSTANCE 10116 ? new Builder() : new Builder().mergeFrom(this); 10117 } 10118 10119 @java.lang.Override 10120 protected Builder newBuilderForType( 10121 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10122 Builder builder = new Builder(parent); 10123 return builder; 10124 } 10125 /** 10126 * Protobuf type {@code google.protobuf.ExtensionRangeOptions} 10127 */ 10128 public static final class Builder extends 10129 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 10130 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, Builder> implements 10131 // @@protoc_insertion_point(builder_implements:google.protobuf.ExtensionRangeOptions) 10132 com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder { 10133 public static final com.google.protobuf.Descriptors.Descriptor 10134 getDescriptor() { 10135 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor; 10136 } 10137 10138 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10139 internalGetFieldAccessorTable() { 10140 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable 10141 .ensureFieldAccessorsInitialized( 10142 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.class, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder.class); 10143 } 10144 10145 // Construct using com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder() 10146 private Builder() { 10147 maybeForceBuilderInitialization(); 10148 } 10149 10150 private Builder( 10151 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10152 super(parent); 10153 maybeForceBuilderInitialization(); 10154 } 10155 private void maybeForceBuilderInitialization() { 10156 if (com.google.protobuf.GeneratedMessageV3 10157 .alwaysUseFieldBuilders) { 10158 getUninterpretedOptionFieldBuilder(); 10159 } 10160 } 10161 public Builder clear() { 10162 super.clear(); 10163 if (uninterpretedOptionBuilder_ == null) { 10164 uninterpretedOption_ = java.util.Collections.emptyList(); 10165 bitField0_ = (bitField0_ & ~0x00000001); 10166 } else { 10167 uninterpretedOptionBuilder_.clear(); 10168 } 10169 return this; 10170 } 10171 10172 public com.google.protobuf.Descriptors.Descriptor 10173 getDescriptorForType() { 10174 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ExtensionRangeOptions_descriptor; 10175 } 10176 10177 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstanceForType() { 10178 return com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance(); 10179 } 10180 10181 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions build() { 10182 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions result = buildPartial(); 10183 if (!result.isInitialized()) { 10184 throw newUninitializedMessageException(result); 10185 } 10186 return result; 10187 } 10188 10189 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions buildPartial() { 10190 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions result = new com.google.protobuf.DescriptorProtos.ExtensionRangeOptions(this); 10191 int from_bitField0_ = bitField0_; 10192 if (uninterpretedOptionBuilder_ == null) { 10193 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10194 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 10195 bitField0_ = (bitField0_ & ~0x00000001); 10196 } 10197 result.uninterpretedOption_ = uninterpretedOption_; 10198 } else { 10199 result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); 10200 } 10201 onBuilt(); 10202 return result; 10203 } 10204 10205 public Builder clone() { 10206 return (Builder) super.clone(); 10207 } 10208 public Builder setField( 10209 com.google.protobuf.Descriptors.FieldDescriptor field, 10210 java.lang.Object value) { 10211 return (Builder) super.setField(field, value); 10212 } 10213 public Builder clearField( 10214 com.google.protobuf.Descriptors.FieldDescriptor field) { 10215 return (Builder) super.clearField(field); 10216 } 10217 public Builder clearOneof( 10218 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 10219 return (Builder) super.clearOneof(oneof); 10220 } 10221 public Builder setRepeatedField( 10222 com.google.protobuf.Descriptors.FieldDescriptor field, 10223 int index, java.lang.Object value) { 10224 return (Builder) super.setRepeatedField(field, index, value); 10225 } 10226 public Builder addRepeatedField( 10227 com.google.protobuf.Descriptors.FieldDescriptor field, 10228 java.lang.Object value) { 10229 return (Builder) super.addRepeatedField(field, value); 10230 } 10231 public <Type> Builder setExtension( 10232 com.google.protobuf.GeneratedMessage.GeneratedExtension< 10233 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, Type> extension, 10234 Type value) { 10235 return (Builder) super.setExtension(extension, value); 10236 } 10237 public <Type> Builder setExtension( 10238 com.google.protobuf.GeneratedMessage.GeneratedExtension< 10239 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, java.util.List<Type>> extension, 10240 int index, Type value) { 10241 return (Builder) super.setExtension(extension, index, value); 10242 } 10243 public <Type> Builder addExtension( 10244 com.google.protobuf.GeneratedMessage.GeneratedExtension< 10245 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, java.util.List<Type>> extension, 10246 Type value) { 10247 return (Builder) super.addExtension(extension, value); 10248 } 10249 public <Type> Builder clearExtension( 10250 com.google.protobuf.GeneratedMessage.GeneratedExtension< 10251 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, ?> extension) { 10252 return (Builder) super.clearExtension(extension); 10253 } 10254 public Builder mergeFrom(com.google.protobuf.Message other) { 10255 if (other instanceof com.google.protobuf.DescriptorProtos.ExtensionRangeOptions) { 10256 return mergeFrom((com.google.protobuf.DescriptorProtos.ExtensionRangeOptions)other); 10257 } else { 10258 super.mergeFrom(other); 10259 return this; 10260 } 10261 } 10262 10263 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions other) { 10264 if (other == com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance()) return this; 10265 if (uninterpretedOptionBuilder_ == null) { 10266 if (!other.uninterpretedOption_.isEmpty()) { 10267 if (uninterpretedOption_.isEmpty()) { 10268 uninterpretedOption_ = other.uninterpretedOption_; 10269 bitField0_ = (bitField0_ & ~0x00000001); 10270 } else { 10271 ensureUninterpretedOptionIsMutable(); 10272 uninterpretedOption_.addAll(other.uninterpretedOption_); 10273 } 10274 onChanged(); 10275 } 10276 } else { 10277 if (!other.uninterpretedOption_.isEmpty()) { 10278 if (uninterpretedOptionBuilder_.isEmpty()) { 10279 uninterpretedOptionBuilder_.dispose(); 10280 uninterpretedOptionBuilder_ = null; 10281 uninterpretedOption_ = other.uninterpretedOption_; 10282 bitField0_ = (bitField0_ & ~0x00000001); 10283 uninterpretedOptionBuilder_ = 10284 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 10285 getUninterpretedOptionFieldBuilder() : null; 10286 } else { 10287 uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_); 10288 } 10289 } 10290 } 10291 this.mergeExtensionFields(other); 10292 this.mergeUnknownFields(other.unknownFields); 10293 onChanged(); 10294 return this; 10295 } 10296 10297 public final boolean isInitialized() { 10298 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 10299 if (!getUninterpretedOption(i).isInitialized()) { 10300 return false; 10301 } 10302 } 10303 if (!extensionsAreInitialized()) { 10304 return false; 10305 } 10306 return true; 10307 } 10308 10309 public Builder mergeFrom( 10310 com.google.protobuf.CodedInputStream input, 10311 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10312 throws java.io.IOException { 10313 com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parsedMessage = null; 10314 try { 10315 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 10316 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10317 parsedMessage = (com.google.protobuf.DescriptorProtos.ExtensionRangeOptions) e.getUnfinishedMessage(); 10318 throw e.unwrapIOException(); 10319 } finally { 10320 if (parsedMessage != null) { 10321 mergeFrom(parsedMessage); 10322 } 10323 } 10324 return this; 10325 } 10326 private int bitField0_; 10327 10328 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 10329 java.util.Collections.emptyList(); 10330 private void ensureUninterpretedOptionIsMutable() { 10331 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 10332 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 10333 bitField0_ |= 0x00000001; 10334 } 10335 } 10336 10337 private com.google.protobuf.RepeatedFieldBuilderV3< 10338 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 10339 10340 /** 10341 * <pre> 10342 * The parser stores options it doesn't recognize here. See above. 10343 * </pre> 10344 * 10345 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10346 */ 10347 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 10348 if (uninterpretedOptionBuilder_ == null) { 10349 return java.util.Collections.unmodifiableList(uninterpretedOption_); 10350 } else { 10351 return uninterpretedOptionBuilder_.getMessageList(); 10352 } 10353 } 10354 /** 10355 * <pre> 10356 * The parser stores options it doesn't recognize here. See above. 10357 * </pre> 10358 * 10359 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10360 */ 10361 public int getUninterpretedOptionCount() { 10362 if (uninterpretedOptionBuilder_ == null) { 10363 return uninterpretedOption_.size(); 10364 } else { 10365 return uninterpretedOptionBuilder_.getCount(); 10366 } 10367 } 10368 /** 10369 * <pre> 10370 * The parser stores options it doesn't recognize here. See above. 10371 * </pre> 10372 * 10373 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10374 */ 10375 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 10376 if (uninterpretedOptionBuilder_ == null) { 10377 return uninterpretedOption_.get(index); 10378 } else { 10379 return uninterpretedOptionBuilder_.getMessage(index); 10380 } 10381 } 10382 /** 10383 * <pre> 10384 * The parser stores options it doesn't recognize here. See above. 10385 * </pre> 10386 * 10387 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10388 */ 10389 public Builder setUninterpretedOption( 10390 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 10391 if (uninterpretedOptionBuilder_ == null) { 10392 if (value == null) { 10393 throw new NullPointerException(); 10394 } 10395 ensureUninterpretedOptionIsMutable(); 10396 uninterpretedOption_.set(index, value); 10397 onChanged(); 10398 } else { 10399 uninterpretedOptionBuilder_.setMessage(index, value); 10400 } 10401 return this; 10402 } 10403 /** 10404 * <pre> 10405 * The parser stores options it doesn't recognize here. See above. 10406 * </pre> 10407 * 10408 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10409 */ 10410 public Builder setUninterpretedOption( 10411 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 10412 if (uninterpretedOptionBuilder_ == null) { 10413 ensureUninterpretedOptionIsMutable(); 10414 uninterpretedOption_.set(index, builderForValue.build()); 10415 onChanged(); 10416 } else { 10417 uninterpretedOptionBuilder_.setMessage(index, builderForValue.build()); 10418 } 10419 return this; 10420 } 10421 /** 10422 * <pre> 10423 * The parser stores options it doesn't recognize here. See above. 10424 * </pre> 10425 * 10426 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10427 */ 10428 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 10429 if (uninterpretedOptionBuilder_ == null) { 10430 if (value == null) { 10431 throw new NullPointerException(); 10432 } 10433 ensureUninterpretedOptionIsMutable(); 10434 uninterpretedOption_.add(value); 10435 onChanged(); 10436 } else { 10437 uninterpretedOptionBuilder_.addMessage(value); 10438 } 10439 return this; 10440 } 10441 /** 10442 * <pre> 10443 * The parser stores options it doesn't recognize here. See above. 10444 * </pre> 10445 * 10446 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10447 */ 10448 public Builder addUninterpretedOption( 10449 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 10450 if (uninterpretedOptionBuilder_ == null) { 10451 if (value == null) { 10452 throw new NullPointerException(); 10453 } 10454 ensureUninterpretedOptionIsMutable(); 10455 uninterpretedOption_.add(index, value); 10456 onChanged(); 10457 } else { 10458 uninterpretedOptionBuilder_.addMessage(index, value); 10459 } 10460 return this; 10461 } 10462 /** 10463 * <pre> 10464 * The parser stores options it doesn't recognize here. See above. 10465 * </pre> 10466 * 10467 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10468 */ 10469 public Builder addUninterpretedOption( 10470 com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 10471 if (uninterpretedOptionBuilder_ == null) { 10472 ensureUninterpretedOptionIsMutable(); 10473 uninterpretedOption_.add(builderForValue.build()); 10474 onChanged(); 10475 } else { 10476 uninterpretedOptionBuilder_.addMessage(builderForValue.build()); 10477 } 10478 return this; 10479 } 10480 /** 10481 * <pre> 10482 * The parser stores options it doesn't recognize here. See above. 10483 * </pre> 10484 * 10485 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10486 */ 10487 public Builder addUninterpretedOption( 10488 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 10489 if (uninterpretedOptionBuilder_ == null) { 10490 ensureUninterpretedOptionIsMutable(); 10491 uninterpretedOption_.add(index, builderForValue.build()); 10492 onChanged(); 10493 } else { 10494 uninterpretedOptionBuilder_.addMessage(index, builderForValue.build()); 10495 } 10496 return this; 10497 } 10498 /** 10499 * <pre> 10500 * The parser stores options it doesn't recognize here. See above. 10501 * </pre> 10502 * 10503 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10504 */ 10505 public Builder addAllUninterpretedOption( 10506 java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) { 10507 if (uninterpretedOptionBuilder_ == null) { 10508 ensureUninterpretedOptionIsMutable(); 10509 com.google.protobuf.AbstractMessageLite.Builder.addAll( 10510 values, uninterpretedOption_); 10511 onChanged(); 10512 } else { 10513 uninterpretedOptionBuilder_.addAllMessages(values); 10514 } 10515 return this; 10516 } 10517 /** 10518 * <pre> 10519 * The parser stores options it doesn't recognize here. See above. 10520 * </pre> 10521 * 10522 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10523 */ 10524 public Builder clearUninterpretedOption() { 10525 if (uninterpretedOptionBuilder_ == null) { 10526 uninterpretedOption_ = java.util.Collections.emptyList(); 10527 bitField0_ = (bitField0_ & ~0x00000001); 10528 onChanged(); 10529 } else { 10530 uninterpretedOptionBuilder_.clear(); 10531 } 10532 return this; 10533 } 10534 /** 10535 * <pre> 10536 * The parser stores options it doesn't recognize here. See above. 10537 * </pre> 10538 * 10539 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10540 */ 10541 public Builder removeUninterpretedOption(int index) { 10542 if (uninterpretedOptionBuilder_ == null) { 10543 ensureUninterpretedOptionIsMutable(); 10544 uninterpretedOption_.remove(index); 10545 onChanged(); 10546 } else { 10547 uninterpretedOptionBuilder_.remove(index); 10548 } 10549 return this; 10550 } 10551 /** 10552 * <pre> 10553 * The parser stores options it doesn't recognize here. See above. 10554 * </pre> 10555 * 10556 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10557 */ 10558 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( 10559 int index) { 10560 return getUninterpretedOptionFieldBuilder().getBuilder(index); 10561 } 10562 /** 10563 * <pre> 10564 * The parser stores options it doesn't recognize here. See above. 10565 * </pre> 10566 * 10567 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10568 */ 10569 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 10570 int index) { 10571 if (uninterpretedOptionBuilder_ == null) { 10572 return uninterpretedOption_.get(index); } else { 10573 return uninterpretedOptionBuilder_.getMessageOrBuilder(index); 10574 } 10575 } 10576 /** 10577 * <pre> 10578 * The parser stores options it doesn't recognize here. See above. 10579 * </pre> 10580 * 10581 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10582 */ 10583 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 10584 getUninterpretedOptionOrBuilderList() { 10585 if (uninterpretedOptionBuilder_ != null) { 10586 return uninterpretedOptionBuilder_.getMessageOrBuilderList(); 10587 } else { 10588 return java.util.Collections.unmodifiableList(uninterpretedOption_); 10589 } 10590 } 10591 /** 10592 * <pre> 10593 * The parser stores options it doesn't recognize here. See above. 10594 * </pre> 10595 * 10596 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10597 */ 10598 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { 10599 return getUninterpretedOptionFieldBuilder().addBuilder( 10600 com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance()); 10601 } 10602 /** 10603 * <pre> 10604 * The parser stores options it doesn't recognize here. See above. 10605 * </pre> 10606 * 10607 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10608 */ 10609 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( 10610 int index) { 10611 return getUninterpretedOptionFieldBuilder().addBuilder( 10612 index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance()); 10613 } 10614 /** 10615 * <pre> 10616 * The parser stores options it doesn't recognize here. See above. 10617 * </pre> 10618 * 10619 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 10620 */ 10621 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 10622 getUninterpretedOptionBuilderList() { 10623 return getUninterpretedOptionFieldBuilder().getBuilderList(); 10624 } 10625 private com.google.protobuf.RepeatedFieldBuilderV3< 10626 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 10627 getUninterpretedOptionFieldBuilder() { 10628 if (uninterpretedOptionBuilder_ == null) { 10629 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 10630 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 10631 uninterpretedOption_, 10632 ((bitField0_ & 0x00000001) == 0x00000001), 10633 getParentForChildren(), 10634 isClean()); 10635 uninterpretedOption_ = null; 10636 } 10637 return uninterpretedOptionBuilder_; 10638 } 10639 public final Builder setUnknownFields( 10640 final com.google.protobuf.UnknownFieldSet unknownFields) { 10641 return super.setUnknownFields(unknownFields); 10642 } 10643 10644 public final Builder mergeUnknownFields( 10645 final com.google.protobuf.UnknownFieldSet unknownFields) { 10646 return super.mergeUnknownFields(unknownFields); 10647 } 10648 10649 10650 // @@protoc_insertion_point(builder_scope:google.protobuf.ExtensionRangeOptions) 10651 } 10652 10653 // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) 10654 private static final com.google.protobuf.DescriptorProtos.ExtensionRangeOptions DEFAULT_INSTANCE; 10655 static { 10656 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.ExtensionRangeOptions(); 10657 } 10658 10659 public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstance() { 10660 return DEFAULT_INSTANCE; 10661 } 10662 10663 @java.lang.Deprecated public static final com.google.protobuf.Parser<ExtensionRangeOptions> 10664 PARSER = new com.google.protobuf.AbstractParser<ExtensionRangeOptions>() { 10665 public ExtensionRangeOptions parsePartialFrom( 10666 com.google.protobuf.CodedInputStream input, 10667 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10668 throws com.google.protobuf.InvalidProtocolBufferException { 10669 return new ExtensionRangeOptions(input, extensionRegistry); 10670 } 10671 }; 10672 10673 public static com.google.protobuf.Parser<ExtensionRangeOptions> parser() { 10674 return PARSER; 10675 } 10676 10677 @java.lang.Override 10678 public com.google.protobuf.Parser<ExtensionRangeOptions> getParserForType() { 10679 return PARSER; 10680 } 10681 10682 public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstanceForType() { 10683 return DEFAULT_INSTANCE; 10684 } 10685 10686 } 10687 10688 public interface FieldDescriptorProtoOrBuilder extends 10689 // @@protoc_insertion_point(interface_extends:google.protobuf.FieldDescriptorProto) 10690 com.google.protobuf.MessageOrBuilder { 10691 10692 /** 10693 * <code>optional string name = 1;</code> 10694 */ 10695 boolean hasName(); 10696 /** 10697 * <code>optional string name = 1;</code> 10698 */ 10699 java.lang.String getName(); 10700 /** 10701 * <code>optional string name = 1;</code> 10702 */ 10703 com.google.protobuf.ByteString 10704 getNameBytes(); 10705 10706 /** 10707 * <code>optional int32 number = 3;</code> 10708 */ 10709 boolean hasNumber(); 10710 /** 10711 * <code>optional int32 number = 3;</code> 10712 */ 10713 int getNumber(); 10714 10715 /** 10716 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 10717 */ 10718 boolean hasLabel(); 10719 /** 10720 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 10721 */ 10722 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel(); 10723 10724 /** 10725 * <pre> 10726 * If type_name is set, this need not be set. If both this and type_name 10727 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 10728 * </pre> 10729 * 10730 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 10731 */ 10732 boolean hasType(); 10733 /** 10734 * <pre> 10735 * If type_name is set, this need not be set. If both this and type_name 10736 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 10737 * </pre> 10738 * 10739 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 10740 */ 10741 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType(); 10742 10743 /** 10744 * <pre> 10745 * For message and enum types, this is the name of the type. If the name 10746 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 10747 * rules are used to find the type (i.e. first the nested types within this 10748 * message are searched, then within the parent, on up to the root 10749 * namespace). 10750 * </pre> 10751 * 10752 * <code>optional string type_name = 6;</code> 10753 */ 10754 boolean hasTypeName(); 10755 /** 10756 * <pre> 10757 * For message and enum types, this is the name of the type. If the name 10758 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 10759 * rules are used to find the type (i.e. first the nested types within this 10760 * message are searched, then within the parent, on up to the root 10761 * namespace). 10762 * </pre> 10763 * 10764 * <code>optional string type_name = 6;</code> 10765 */ 10766 java.lang.String getTypeName(); 10767 /** 10768 * <pre> 10769 * For message and enum types, this is the name of the type. If the name 10770 * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 10771 * rules are used to find the type (i.e. first the nested types within this 10772 * message are searched, then within the parent, on up to the root 10773 * namespace). 10774 * </pre> 10775 * 10776 * <code>optional string type_name = 6;</code> 10777 */ 10778 com.google.protobuf.ByteString 10779 getTypeNameBytes(); 10780 10781 /** 10782 * <pre> 10783 * For extensions, this is the name of the type being extended. It is 10784 * resolved in the same manner as type_name. 10785 * </pre> 10786 * 10787 * <code>optional string extendee = 2;</code> 10788 */ 10789 boolean hasExtendee(); 10790 /** 10791 * <pre> 10792 * For extensions, this is the name of the type being extended. It is 10793 * resolved in the same manner as type_name. 10794 * </pre> 10795 * 10796 * <code>optional string extendee = 2;</code> 10797 */ 10798 java.lang.String getExtendee(); 10799 /** 10800 * <pre> 10801 * For extensions, this is the name of the type being extended. It is 10802 * resolved in the same manner as type_name. 10803 * </pre> 10804 * 10805 * <code>optional string extendee = 2;</code> 10806 */ 10807 com.google.protobuf.ByteString 10808 getExtendeeBytes(); 10809 10810 /** 10811 * <pre> 10812 * For numeric types, contains the original text representation of the value. 10813 * For booleans, "true" or "false". 10814 * For strings, contains the default text contents (not escaped in any way). 10815 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 10816 * TODO(kenton): Base-64 encode? 10817 * </pre> 10818 * 10819 * <code>optional string default_value = 7;</code> 10820 */ 10821 boolean hasDefaultValue(); 10822 /** 10823 * <pre> 10824 * For numeric types, contains the original text representation of the value. 10825 * For booleans, "true" or "false". 10826 * For strings, contains the default text contents (not escaped in any way). 10827 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 10828 * TODO(kenton): Base-64 encode? 10829 * </pre> 10830 * 10831 * <code>optional string default_value = 7;</code> 10832 */ 10833 java.lang.String getDefaultValue(); 10834 /** 10835 * <pre> 10836 * For numeric types, contains the original text representation of the value. 10837 * For booleans, "true" or "false". 10838 * For strings, contains the default text contents (not escaped in any way). 10839 * For bytes, contains the C escaped value. All bytes >= 128 are escaped. 10840 * TODO(kenton): Base-64 encode? 10841 * </pre> 10842 * 10843 * <code>optional string default_value = 7;</code> 10844 */ 10845 com.google.protobuf.ByteString 10846 getDefaultValueBytes(); 10847 10848 /** 10849 * <pre> 10850 * If set, gives the index of a oneof in the containing type's oneof_decl 10851 * list. This field is a member of that oneof. 10852 * </pre> 10853 * 10854 * <code>optional int32 oneof_index = 9;</code> 10855 */ 10856 boolean hasOneofIndex(); 10857 /** 10858 * <pre> 10859 * If set, gives the index of a oneof in the containing type's oneof_decl 10860 * list. This field is a member of that oneof. 10861 * </pre> 10862 * 10863 * <code>optional int32 oneof_index = 9;</code> 10864 */ 10865 int getOneofIndex(); 10866 10867 /** 10868 * <pre> 10869 * JSON name of this field. The value is set by protocol compiler. If the 10870 * user has set a "json_name" option on this field, that option's value 10871 * will be used. Otherwise, it's deduced from the field's name by converting 10872 * it to camelCase. 10873 * </pre> 10874 * 10875 * <code>optional string json_name = 10;</code> 10876 */ 10877 boolean hasJsonName(); 10878 /** 10879 * <pre> 10880 * JSON name of this field. The value is set by protocol compiler. If the 10881 * user has set a "json_name" option on this field, that option's value 10882 * will be used. Otherwise, it's deduced from the field's name by converting 10883 * it to camelCase. 10884 * </pre> 10885 * 10886 * <code>optional string json_name = 10;</code> 10887 */ 10888 java.lang.String getJsonName(); 10889 /** 10890 * <pre> 10891 * JSON name of this field. The value is set by protocol compiler. If the 10892 * user has set a "json_name" option on this field, that option's value 10893 * will be used. Otherwise, it's deduced from the field's name by converting 10894 * it to camelCase. 10895 * </pre> 10896 * 10897 * <code>optional string json_name = 10;</code> 10898 */ 10899 com.google.protobuf.ByteString 10900 getJsonNameBytes(); 10901 10902 /** 10903 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10904 */ 10905 boolean hasOptions(); 10906 /** 10907 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10908 */ 10909 com.google.protobuf.DescriptorProtos.FieldOptions getOptions(); 10910 /** 10911 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10912 */ 10913 com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder(); 10914 } 10915 /** 10916 * <pre> 10917 * Describes a field within a message. 10918 * </pre> 10919 * 10920 * Protobuf type {@code google.protobuf.FieldDescriptorProto} 10921 */ 10922 public static final class FieldDescriptorProto extends 10923 com.google.protobuf.GeneratedMessageV3 implements 10924 // @@protoc_insertion_point(message_implements:google.protobuf.FieldDescriptorProto) 10925 FieldDescriptorProtoOrBuilder { 10926 private static final long serialVersionUID = 0L; 10927 // Use FieldDescriptorProto.newBuilder() to construct. 10928 private FieldDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 10929 super(builder); 10930 } 10931 private FieldDescriptorProto() { 10932 name_ = ""; 10933 number_ = 0; 10934 label_ = 1; 10935 type_ = 1; 10936 typeName_ = ""; 10937 extendee_ = ""; 10938 defaultValue_ = ""; 10939 oneofIndex_ = 0; 10940 jsonName_ = ""; 10941 } 10942 10943 @java.lang.Override 10944 public final com.google.protobuf.UnknownFieldSet 10945 getUnknownFields() { 10946 return this.unknownFields; 10947 } 10948 private FieldDescriptorProto( 10949 com.google.protobuf.CodedInputStream input, 10950 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10951 throws com.google.protobuf.InvalidProtocolBufferException { 10952 this(); 10953 int mutable_bitField0_ = 0; 10954 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 10955 com.google.protobuf.UnknownFieldSet.newBuilder(); 10956 try { 10957 boolean done = false; 10958 while (!done) { 10959 int tag = input.readTag(); 10960 switch (tag) { 10961 case 0: 10962 done = true; 10963 break; 10964 default: { 10965 if (!parseUnknownField( 10966 input, unknownFields, extensionRegistry, tag)) { 8068 10967 done = true; 8069 10968 } … … 8094 10993 } else { 8095 10994 bitField0_ |= 0x00000004; 8096 label_ = value;10995 label_ = rawValue; 8097 10996 } 8098 10997 break; … … 8105 11004 } else { 8106 11005 bitField0_ |= 0x00000008; 8107 type_ = value;11006 type_ = rawValue; 8108 11007 } 8109 11008 break; … … 8123 11022 case 66: { 8124 11023 com.google.protobuf.DescriptorProtos.FieldOptions.Builder subBuilder = null; 8125 if (((bitField0_ & 0x00000 100) == 0x00000100)) {11024 if (((bitField0_ & 0x00000200) == 0x00000200)) { 8126 11025 subBuilder = options_.toBuilder(); 8127 11026 } … … 8131 11030 options_ = subBuilder.buildPartial(); 8132 11031 } 8133 bitField0_ |= 0x00000 100;11032 bitField0_ |= 0x00000200; 8134 11033 break; 8135 11034 } … … 8139 11038 break; 8140 11039 } 11040 case 82: { 11041 com.google.protobuf.ByteString bs = input.readBytes(); 11042 bitField0_ |= 0x00000100; 11043 jsonName_ = bs; 11044 break; 11045 } 8141 11046 } 8142 11047 } … … 8145 11050 } catch (java.io.IOException e) { 8146 11051 throw new com.google.protobuf.InvalidProtocolBufferException( 8147 e .getMessage()).setUnfinishedMessage(this);11052 e).setUnfinishedMessage(this); 8148 11053 } finally { 8149 11054 this.unknownFields = unknownFields.build(); … … 8156 11061 } 8157 11062 8158 @Override 8159 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 11063 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 8160 11064 internalGetFieldAccessorTable() { 8161 11065 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable … … 8164 11068 } 8165 11069 8166 public static com.google.protobuf.Parser<FieldDescriptorProto> PARSER =8167 new com.google.protobuf.AbstractParser<FieldDescriptorProto>() {8168 @Override8169 public FieldDescriptorProto parsePartialFrom(8170 com.google.protobuf.CodedInputStream input,8171 com.google.protobuf.ExtensionRegistryLite extensionRegistry)8172 throws com.google.protobuf.InvalidProtocolBufferException {8173 return new FieldDescriptorProto(input, extensionRegistry);8174 }8175 };8176 8177 @java.lang.Override8178 public com.google.protobuf.Parser<FieldDescriptorProto> getParserForType() {8179 return PARSER;8180 }8181 8182 11070 /** 8183 11071 * Protobuf enum {@code google.protobuf.FieldDescriptorProto.Type} … … 8186 11074 implements com.google.protobuf.ProtocolMessageEnum { 8187 11075 /** 8188 * <code>TYPE_DOUBLE = 1;</code>8189 *8190 11076 * <pre> 8191 11077 * 0 is reserved for errors. 8192 11078 * Order is weird for historical reasons. 8193 11079 * </pre> 8194 */ 8195 TYPE_DOUBLE(0, 1), 11080 * 11081 * <code>TYPE_DOUBLE = 1;</code> 11082 */ 11083 TYPE_DOUBLE(1), 8196 11084 /** 8197 11085 * <code>TYPE_FLOAT = 2;</code> 8198 11086 */ 8199 TYPE_FLOAT(1, 2), 8200 /** 8201 * <code>TYPE_INT64 = 3;</code> 8202 * 11087 TYPE_FLOAT(2), 11088 /** 8203 11089 * <pre> 8204 11090 * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if 8205 11091 * negative values are likely. 8206 11092 * </pre> 8207 */ 8208 TYPE_INT64(2, 3), 11093 * 11094 * <code>TYPE_INT64 = 3;</code> 11095 */ 11096 TYPE_INT64(3), 8209 11097 /** 8210 11098 * <code>TYPE_UINT64 = 4;</code> 8211 11099 */ 8212 TYPE_UINT64(3, 4), 8213 /** 8214 * <code>TYPE_INT32 = 5;</code> 8215 * 11100 TYPE_UINT64(4), 11101 /** 8216 11102 * <pre> 8217 11103 * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if 8218 11104 * negative values are likely. 8219 11105 * </pre> 8220 */ 8221 TYPE_INT32(4, 5), 11106 * 11107 * <code>TYPE_INT32 = 5;</code> 11108 */ 11109 TYPE_INT32(5), 8222 11110 /** 8223 11111 * <code>TYPE_FIXED64 = 6;</code> 8224 11112 */ 8225 TYPE_FIXED64( 5,6),11113 TYPE_FIXED64(6), 8226 11114 /** 8227 11115 * <code>TYPE_FIXED32 = 7;</code> 8228 11116 */ 8229 TYPE_FIXED32( 6,7),11117 TYPE_FIXED32(7), 8230 11118 /** 8231 11119 * <code>TYPE_BOOL = 8;</code> 8232 11120 */ 8233 TYPE_BOOL( 7,8),11121 TYPE_BOOL(8), 8234 11122 /** 8235 11123 * <code>TYPE_STRING = 9;</code> 8236 11124 */ 8237 TYPE_STRING(8, 9), 8238 /** 11125 TYPE_STRING(9), 11126 /** 11127 * <pre> 11128 * Tag-delimited aggregate. 11129 * Group type is deprecated and not supported in proto3. However, Proto3 11130 * implementations should still be able to parse the group wire format and 11131 * treat group fields as unknown fields. 11132 * </pre> 11133 * 8239 11134 * <code>TYPE_GROUP = 10;</code> 8240 * 8241 * <pre>8242 * Tag-delimited aggregate.8243 * < /pre>8244 * /8245 TYPE_GROUP(9, 10),8246 /**11135 */ 11136 TYPE_GROUP(10), 11137 /** 11138 * <pre> 11139 * Length-delimited aggregate. 11140 * </pre> 11141 * 8247 11142 * <code>TYPE_MESSAGE = 11;</code> 8248 * 8249 * <pre>8250 * Length-delimited aggregate.8251 * < /pre>8252 * /8253 TYPE_MESSAGE(10, 11),8254 /**11143 */ 11144 TYPE_MESSAGE(11), 11145 /** 11146 * <pre> 11147 * New in version 2. 11148 * </pre> 11149 * 8255 11150 * <code>TYPE_BYTES = 12;</code> 8256 * 8257 * <pre> 8258 * New in version 2. 8259 * </pre> 8260 */ 8261 TYPE_BYTES(11, 12), 11151 */ 11152 TYPE_BYTES(12), 8262 11153 /** 8263 11154 * <code>TYPE_UINT32 = 13;</code> 8264 11155 */ 8265 TYPE_UINT32(1 2, 13),11156 TYPE_UINT32(13), 8266 11157 /** 8267 11158 * <code>TYPE_ENUM = 14;</code> 8268 11159 */ 8269 TYPE_ENUM(1 3, 14),11160 TYPE_ENUM(14), 8270 11161 /** 8271 11162 * <code>TYPE_SFIXED32 = 15;</code> 8272 11163 */ 8273 TYPE_SFIXED32(1 4, 15),11164 TYPE_SFIXED32(15), 8274 11165 /** 8275 11166 * <code>TYPE_SFIXED64 = 16;</code> 8276 11167 */ 8277 TYPE_SFIXED64(15, 16), 8278 /** 11168 TYPE_SFIXED64(16), 11169 /** 11170 * <pre> 11171 * Uses ZigZag encoding. 11172 * </pre> 11173 * 8279 11174 * <code>TYPE_SINT32 = 17;</code> 8280 * 11175 */ 11176 TYPE_SINT32(17), 11177 /** 8281 11178 * <pre> 8282 11179 * Uses ZigZag encoding. 8283 11180 * </pre> 8284 */ 8285 TYPE_SINT32(16, 17), 8286 /** 11181 * 8287 11182 * <code>TYPE_SINT64 = 18;</code> 8288 * 8289 * <pre> 8290 * Uses ZigZag encoding. 8291 * </pre> 8292 */ 8293 TYPE_SINT64(17, 18), 11183 */ 11184 TYPE_SINT64(18), 8294 11185 ; 8295 11186 8296 11187 /** 8297 * <code>TYPE_DOUBLE = 1;</code>8298 *8299 11188 * <pre> 8300 11189 * 0 is reserved for errors. 8301 11190 * Order is weird for historical reasons. 8302 11191 * </pre> 11192 * 11193 * <code>TYPE_DOUBLE = 1;</code> 8303 11194 */ 8304 11195 public static final int TYPE_DOUBLE_VALUE = 1; … … 8308 11199 public static final int TYPE_FLOAT_VALUE = 2; 8309 11200 /** 8310 * <code>TYPE_INT64 = 3;</code>8311 *8312 11201 * <pre> 8313 11202 * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if 8314 11203 * negative values are likely. 8315 11204 * </pre> 11205 * 11206 * <code>TYPE_INT64 = 3;</code> 8316 11207 */ 8317 11208 public static final int TYPE_INT64_VALUE = 3; … … 8321 11212 public static final int TYPE_UINT64_VALUE = 4; 8322 11213 /** 8323 * <code>TYPE_INT32 = 5;</code>8324 *8325 11214 * <pre> 8326 11215 * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if 8327 11216 * negative values are likely. 8328 11217 * </pre> 11218 * 11219 * <code>TYPE_INT32 = 5;</code> 8329 11220 */ 8330 11221 public static final int TYPE_INT32_VALUE = 5; … … 8346 11237 public static final int TYPE_STRING_VALUE = 9; 8347 11238 /** 11239 * <pre> 11240 * Tag-delimited aggregate. 11241 * Group type is deprecated and not supported in proto3. However, Proto3 11242 * implementations should still be able to parse the group wire format and 11243 * treat group fields as unknown fields. 11244 * </pre> 11245 * 8348 11246 * <code>TYPE_GROUP = 10;</code> 8349 *8350 * <pre>8351 * Tag-delimited aggregate.8352 * </pre>8353 11247 */ 8354 11248 public static final int TYPE_GROUP_VALUE = 10; 8355 11249 /** 11250 * <pre> 11251 * Length-delimited aggregate. 11252 * </pre> 11253 * 8356 11254 * <code>TYPE_MESSAGE = 11;</code> 8357 *8358 * <pre>8359 * Length-delimited aggregate.8360 * </pre>8361 11255 */ 8362 11256 public static final int TYPE_MESSAGE_VALUE = 11; 8363 11257 /** 11258 * <pre> 11259 * New in version 2. 11260 * </pre> 11261 * 8364 11262 * <code>TYPE_BYTES = 12;</code> 8365 *8366 * <pre>8367 * New in version 2.8368 * </pre>8369 11263 */ 8370 11264 public static final int TYPE_BYTES_VALUE = 12; … … 8386 11280 public static final int TYPE_SFIXED64_VALUE = 16; 8387 11281 /** 11282 * <pre> 11283 * Uses ZigZag encoding. 11284 * </pre> 11285 * 8388 11286 * <code>TYPE_SINT32 = 17;</code> 8389 * 11287 */ 11288 public static final int TYPE_SINT32_VALUE = 17; 11289 /** 8390 11290 * <pre> 8391 11291 * Uses ZigZag encoding. 8392 11292 * </pre> 8393 */ 8394 public static final int TYPE_SINT32_VALUE = 17; 8395 /** 11293 * 8396 11294 * <code>TYPE_SINT64 = 18;</code> 8397 *8398 * <pre>8399 * Uses ZigZag encoding.8400 * </pre>8401 11295 */ 8402 11296 public static final int TYPE_SINT64_VALUE = 18; 8403 11297 8404 11298 8405 @Override 8406 public final int getNumber() { return value; } 8407 11299 public final int getNumber() { 11300 return value; 11301 } 11302 11303 /** 11304 * @deprecated Use {@link #forNumber(int)} instead. 11305 */ 11306 @java.lang.Deprecated 8408 11307 public static Type valueOf(int value) { 11308 return forNumber(value); 11309 } 11310 11311 public static Type forNumber(int value) { 8409 11312 switch (value) { 8410 11313 case 1: return TYPE_DOUBLE; … … 8434 11337 return internalValueMap; 8435 11338 } 8436 private static com.google.protobuf.Internal.EnumLiteMap< Type>8437 internalValueMap = 11339 private static final com.google.protobuf.Internal.EnumLiteMap< 11340 Type> internalValueMap = 8438 11341 new com.google.protobuf.Internal.EnumLiteMap<Type>() { 8439 @Override 8440 public Type findValueByNumber(int number) { 8441 return Type.valueOf(number); 11342 public Type findValueByNumber(int number) { 11343 return Type.forNumber(number); 8442 11344 } 8443 11345 }; 8444 11346 8445 @Override 8446 public final com.google.protobuf.Descriptors.EnumValueDescriptor 11347 public final com.google.protobuf.Descriptors.EnumValueDescriptor 8447 11348 getValueDescriptor() { 8448 return getDescriptor().getValues().get(index); 8449 } 8450 @Override 8451 public final com.google.protobuf.Descriptors.EnumDescriptor 11349 return getDescriptor().getValues().get(ordinal()); 11350 } 11351 public final com.google.protobuf.Descriptors.EnumDescriptor 8452 11352 getDescriptorForType() { 8453 11353 return getDescriptor(); … … 8469 11369 } 8470 11370 8471 private final int index;8472 11371 private final int value; 8473 11372 8474 private Type(int index, int value) { 8475 this.index = index; 11373 private Type(int value) { 8476 11374 this.value = value; 8477 11375 } … … 8486 11384 implements com.google.protobuf.ProtocolMessageEnum { 8487 11385 /** 11386 * <pre> 11387 * 0 is reserved for errors 11388 * </pre> 11389 * 8488 11390 * <code>LABEL_OPTIONAL = 1;</code> 8489 * 11391 */ 11392 LABEL_OPTIONAL(1), 11393 /** 11394 * <code>LABEL_REQUIRED = 2;</code> 11395 */ 11396 LABEL_REQUIRED(2), 11397 /** 11398 * <code>LABEL_REPEATED = 3;</code> 11399 */ 11400 LABEL_REPEATED(3), 11401 ; 11402 11403 /** 8490 11404 * <pre> 8491 11405 * 0 is reserved for errors 8492 11406 * </pre> 8493 */ 8494 LABEL_OPTIONAL(0, 1), 11407 * 11408 * <code>LABEL_OPTIONAL = 1;</code> 11409 */ 11410 public static final int LABEL_OPTIONAL_VALUE = 1; 8495 11411 /** 8496 11412 * <code>LABEL_REQUIRED = 2;</code> 8497 11413 */ 8498 LABEL_REQUIRED (1, 2),11414 public static final int LABEL_REQUIRED_VALUE = 2; 8499 11415 /** 8500 11416 * <code>LABEL_REPEATED = 3;</code> 8501 *8502 * <pre>8503 * TODO(sanjay): Should we add LABEL_MAP?8504 * </pre>8505 */8506 LABEL_REPEATED(2, 3),8507 ;8508 8509 /**8510 * <code>LABEL_OPTIONAL = 1;</code>8511 *8512 * <pre>8513 * 0 is reserved for errors8514 * </pre>8515 */8516 public static final int LABEL_OPTIONAL_VALUE = 1;8517 /**8518 * <code>LABEL_REQUIRED = 2;</code>8519 */8520 public static final int LABEL_REQUIRED_VALUE = 2;8521 /**8522 * <code>LABEL_REPEATED = 3;</code>8523 *8524 * <pre>8525 * TODO(sanjay): Should we add LABEL_MAP?8526 * </pre>8527 11417 */ 8528 11418 public static final int LABEL_REPEATED_VALUE = 3; 8529 11419 8530 11420 8531 @Override 8532 public final int getNumber() { return value; } 8533 11421 public final int getNumber() { 11422 return value; 11423 } 11424 11425 /** 11426 * @deprecated Use {@link #forNumber(int)} instead. 11427 */ 11428 @java.lang.Deprecated 8534 11429 public static Label valueOf(int value) { 11430 return forNumber(value); 11431 } 11432 11433 public static Label forNumber(int value) { 8535 11434 switch (value) { 8536 11435 case 1: return LABEL_OPTIONAL; … … 8545 11444 return internalValueMap; 8546 11445 } 8547 private static com.google.protobuf.Internal.EnumLiteMap< Label>8548 internalValueMap = 11446 private static final com.google.protobuf.Internal.EnumLiteMap< 11447 Label> internalValueMap = 8549 11448 new com.google.protobuf.Internal.EnumLiteMap<Label>() { 8550 @Override 8551 public Label findValueByNumber(int number) { 8552 return Label.valueOf(number); 11449 public Label findValueByNumber(int number) { 11450 return Label.forNumber(number); 8553 11451 } 8554 11452 }; 8555 11453 8556 @Override 8557 public final com.google.protobuf.Descriptors.EnumValueDescriptor 11454 public final com.google.protobuf.Descriptors.EnumValueDescriptor 8558 11455 getValueDescriptor() { 8559 return getDescriptor().getValues().get(index); 8560 } 8561 @Override 8562 public final com.google.protobuf.Descriptors.EnumDescriptor 11456 return getDescriptor().getValues().get(ordinal()); 11457 } 11458 public final com.google.protobuf.Descriptors.EnumDescriptor 8563 11459 getDescriptorForType() { 8564 11460 return getDescriptor(); … … 8580 11476 } 8581 11477 8582 private final int index;8583 11478 private final int value; 8584 11479 8585 private Label(int index, int value) { 8586 this.index = index; 11480 private Label(int value) { 8587 11481 this.value = value; 8588 11482 } … … 8593 11487 private int bitField0_; 8594 11488 public static final int NAME_FIELD_NUMBER = 1; 8595 private java.lang.Object name_; 11489 private volatile java.lang.Object name_; 8596 11490 /** 8597 11491 * <code>optional string name = 1;</code> 8598 11492 */ 8599 @Override 8600 public boolean hasName() { 11493 public boolean hasName() { 8601 11494 return ((bitField0_ & 0x00000001) == 0x00000001); 8602 11495 } … … 8604 11497 * <code>optional string name = 1;</code> 8605 11498 */ 8606 @Override 8607 public java.lang.String getName() { 11499 public java.lang.String getName() { 8608 11500 java.lang.Object ref = name_; 8609 11501 if (ref instanceof java.lang.String) { 8610 11502 return (java.lang.String) ref; 8611 11503 } else { 8612 com.google.protobuf.ByteString bs = 11504 com.google.protobuf.ByteString bs = 8613 11505 (com.google.protobuf.ByteString) ref; 8614 11506 java.lang.String s = bs.toStringUtf8(); … … 8622 11514 * <code>optional string name = 1;</code> 8623 11515 */ 8624 @Override 8625 public com.google.protobuf.ByteString 11516 public com.google.protobuf.ByteString 8626 11517 getNameBytes() { 8627 11518 java.lang.Object ref = name_; 8628 11519 if (ref instanceof java.lang.String) { 8629 com.google.protobuf.ByteString b = 11520 com.google.protobuf.ByteString b = 8630 11521 com.google.protobuf.ByteString.copyFromUtf8( 8631 11522 (java.lang.String) ref); … … 8642 11533 * <code>optional int32 number = 3;</code> 8643 11534 */ 8644 @Override 8645 public boolean hasNumber() { 11535 public boolean hasNumber() { 8646 11536 return ((bitField0_ & 0x00000002) == 0x00000002); 8647 11537 } … … 8649 11539 * <code>optional int32 number = 3;</code> 8650 11540 */ 8651 @Override 8652 public int getNumber() { 11541 public int getNumber() { 8653 11542 return number_; 8654 11543 } 8655 11544 8656 11545 public static final int LABEL_FIELD_NUMBER = 4; 8657 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Labellabel_;11546 private int label_; 8658 11547 /** 8659 11548 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 8660 11549 */ 8661 @Override 8662 public boolean hasLabel() { 11550 public boolean hasLabel() { 8663 11551 return ((bitField0_ & 0x00000004) == 0x00000004); 8664 11552 } … … 8666 11554 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 8667 11555 */ 8668 @Override8669 publiccom.google.protobuf.DescriptorProtos.FieldDescriptorProto.LabelgetLabel() {8670 return label_;11556 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() { 11557 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(label_); 11558 return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL : result; 8671 11559 } 8672 11560 8673 11561 public static final int TYPE_FIELD_NUMBER = 5; 8674 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_; 8675 /** 8676 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 8677 * 11562 private int type_; 11563 /** 8678 11564 * <pre> 8679 11565 * If type_name is set, this need not be set. If both this and type_name 8680 11566 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8681 11567 * </pre> 8682 */ 8683 @Override 8684 public boolean hasType() { 11568 * 11569 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 11570 */ 11571 public boolean hasType() { 8685 11572 return ((bitField0_ & 0x00000008) == 0x00000008); 8686 11573 } 8687 11574 /** 8688 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>8689 *8690 11575 * <pre> 8691 11576 * If type_name is set, this need not be set. If both this and type_name 8692 11577 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 8693 11578 * </pre> 8694 */ 8695 @Override 8696 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() { 8697 return type_; 11579 * 11580 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 11581 */ 11582 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() { 11583 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(type_); 11584 return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE : result; 8698 11585 } 8699 11586 8700 11587 public static final int TYPE_NAME_FIELD_NUMBER = 6; 8701 private java.lang.Object typeName_; 8702 /** 8703 * <code>optional string type_name = 6;</code> 8704 * 11588 private volatile java.lang.Object typeName_; 11589 /** 8705 11590 * <pre> 8706 11591 * For message and enum types, this is the name of the type. If the name … … 8710 11595 * namespace). 8711 11596 * </pre> 8712 */ 8713 @Override 8714 public boolean hasTypeName() { 11597 * 11598 * <code>optional string type_name = 6;</code> 11599 */ 11600 public boolean hasTypeName() { 8715 11601 return ((bitField0_ & 0x00000010) == 0x00000010); 8716 11602 } 8717 11603 /** 8718 * <code>optional string type_name = 6;</code>8719 *8720 11604 * <pre> 8721 11605 * For message and enum types, this is the name of the type. If the name … … 8725 11609 * namespace). 8726 11610 * </pre> 8727 */ 8728 @Override 8729 public java.lang.String getTypeName() { 11611 * 11612 * <code>optional string type_name = 6;</code> 11613 */ 11614 public java.lang.String getTypeName() { 8730 11615 java.lang.Object ref = typeName_; 8731 11616 if (ref instanceof java.lang.String) { 8732 11617 return (java.lang.String) ref; 8733 11618 } else { 8734 com.google.protobuf.ByteString bs = 11619 com.google.protobuf.ByteString bs = 8735 11620 (com.google.protobuf.ByteString) ref; 8736 11621 java.lang.String s = bs.toStringUtf8(); … … 8742 11627 } 8743 11628 /** 8744 * <code>optional string type_name = 6;</code>8745 *8746 11629 * <pre> 8747 11630 * For message and enum types, this is the name of the type. If the name … … 8751 11634 * namespace). 8752 11635 * </pre> 8753 */ 8754 @Override 8755 public com.google.protobuf.ByteString 11636 * 11637 * <code>optional string type_name = 6;</code> 11638 */ 11639 public com.google.protobuf.ByteString 8756 11640 getTypeNameBytes() { 8757 11641 java.lang.Object ref = typeName_; 8758 11642 if (ref instanceof java.lang.String) { 8759 com.google.protobuf.ByteString b = 11643 com.google.protobuf.ByteString b = 8760 11644 com.google.protobuf.ByteString.copyFromUtf8( 8761 11645 (java.lang.String) ref); … … 8768 11652 8769 11653 public static final int EXTENDEE_FIELD_NUMBER = 2; 8770 private java.lang.Object extendee_; 8771 /** 8772 * <code>optional string extendee = 2;</code> 8773 * 11654 private volatile java.lang.Object extendee_; 11655 /** 8774 11656 * <pre> 8775 11657 * For extensions, this is the name of the type being extended. It is 8776 11658 * resolved in the same manner as type_name. 8777 11659 * </pre> 8778 */ 8779 @Override 8780 public boolean hasExtendee() { 11660 * 11661 * <code>optional string extendee = 2;</code> 11662 */ 11663 public boolean hasExtendee() { 8781 11664 return ((bitField0_ & 0x00000020) == 0x00000020); 8782 11665 } 8783 11666 /** 8784 * <code>optional string extendee = 2;</code>8785 *8786 11667 * <pre> 8787 11668 * For extensions, this is the name of the type being extended. It is 8788 11669 * resolved in the same manner as type_name. 8789 11670 * </pre> 8790 */ 8791 @Override 8792 public java.lang.String getExtendee() { 11671 * 11672 * <code>optional string extendee = 2;</code> 11673 */ 11674 public java.lang.String getExtendee() { 8793 11675 java.lang.Object ref = extendee_; 8794 11676 if (ref instanceof java.lang.String) { 8795 11677 return (java.lang.String) ref; 8796 11678 } else { 8797 com.google.protobuf.ByteString bs = 11679 com.google.protobuf.ByteString bs = 8798 11680 (com.google.protobuf.ByteString) ref; 8799 11681 java.lang.String s = bs.toStringUtf8(); … … 8805 11687 } 8806 11688 /** 8807 * <code>optional string extendee = 2;</code>8808 *8809 11689 * <pre> 8810 11690 * For extensions, this is the name of the type being extended. It is 8811 11691 * resolved in the same manner as type_name. 8812 11692 * </pre> 8813 */ 8814 @Override 8815 public com.google.protobuf.ByteString 11693 * 11694 * <code>optional string extendee = 2;</code> 11695 */ 11696 public com.google.protobuf.ByteString 8816 11697 getExtendeeBytes() { 8817 11698 java.lang.Object ref = extendee_; 8818 11699 if (ref instanceof java.lang.String) { 8819 com.google.protobuf.ByteString b = 11700 com.google.protobuf.ByteString b = 8820 11701 com.google.protobuf.ByteString.copyFromUtf8( 8821 11702 (java.lang.String) ref); … … 8828 11709 8829 11710 public static final int DEFAULT_VALUE_FIELD_NUMBER = 7; 8830 private java.lang.Object defaultValue_; 8831 /** 8832 * <code>optional string default_value = 7;</code> 8833 * 11711 private volatile java.lang.Object defaultValue_; 11712 /** 8834 11713 * <pre> 8835 11714 * For numeric types, contains the original text representation of the value. … … 8839 11718 * TODO(kenton): Base-64 encode? 8840 11719 * </pre> 8841 */ 8842 @Override 8843 public boolean hasDefaultValue() { 11720 * 11721 * <code>optional string default_value = 7;</code> 11722 */ 11723 public boolean hasDefaultValue() { 8844 11724 return ((bitField0_ & 0x00000040) == 0x00000040); 8845 11725 } 8846 11726 /** 8847 * <code>optional string default_value = 7;</code>8848 *8849 11727 * <pre> 8850 11728 * For numeric types, contains the original text representation of the value. … … 8854 11732 * TODO(kenton): Base-64 encode? 8855 11733 * </pre> 8856 */ 8857 @Override 8858 public java.lang.String getDefaultValue() { 11734 * 11735 * <code>optional string default_value = 7;</code> 11736 */ 11737 public java.lang.String getDefaultValue() { 8859 11738 java.lang.Object ref = defaultValue_; 8860 11739 if (ref instanceof java.lang.String) { 8861 11740 return (java.lang.String) ref; 8862 11741 } else { 8863 com.google.protobuf.ByteString bs = 11742 com.google.protobuf.ByteString bs = 8864 11743 (com.google.protobuf.ByteString) ref; 8865 11744 java.lang.String s = bs.toStringUtf8(); … … 8871 11750 } 8872 11751 /** 8873 * <code>optional string default_value = 7;</code>8874 *8875 11752 * <pre> 8876 11753 * For numeric types, contains the original text representation of the value. … … 8880 11757 * TODO(kenton): Base-64 encode? 8881 11758 * </pre> 8882 */ 8883 @Override 8884 public com.google.protobuf.ByteString 11759 * 11760 * <code>optional string default_value = 7;</code> 11761 */ 11762 public com.google.protobuf.ByteString 8885 11763 getDefaultValueBytes() { 8886 11764 java.lang.Object ref = defaultValue_; 8887 11765 if (ref instanceof java.lang.String) { 8888 com.google.protobuf.ByteString b = 11766 com.google.protobuf.ByteString b = 8889 11767 com.google.protobuf.ByteString.copyFromUtf8( 8890 11768 (java.lang.String) ref); … … 8899 11777 private int oneofIndex_; 8900 11778 /** 8901 * <code>optional int32 oneof_index = 9;</code>8902 *8903 11779 * <pre> 8904 11780 * If set, gives the index of a oneof in the containing type's oneof_decl 8905 * list. This field is a member of that oneof. Extensions of a oneof should 8906 * not set this since the oneof to which they belong will be inferred based 8907 * on the extension range containing the extension's field number. 11781 * list. This field is a member of that oneof. 8908 11782 * </pre> 8909 */ 8910 @Override 8911 public boolean hasOneofIndex() { 11783 * 11784 * <code>optional int32 oneof_index = 9;</code> 11785 */ 11786 public boolean hasOneofIndex() { 8912 11787 return ((bitField0_ & 0x00000080) == 0x00000080); 8913 11788 } 8914 11789 /** 8915 * <code>optional int32 oneof_index = 9;</code>8916 *8917 11790 * <pre> 8918 11791 * If set, gives the index of a oneof in the containing type's oneof_decl 8919 * list. This field is a member of that oneof. Extensions of a oneof should 8920 * not set this since the oneof to which they belong will be inferred based 8921 * on the extension range containing the extension's field number. 11792 * list. This field is a member of that oneof. 8922 11793 * </pre> 8923 */ 8924 @Override 8925 public int getOneofIndex() { 11794 * 11795 * <code>optional int32 oneof_index = 9;</code> 11796 */ 11797 public int getOneofIndex() { 8926 11798 return oneofIndex_; 11799 } 11800 11801 public static final int JSON_NAME_FIELD_NUMBER = 10; 11802 private volatile java.lang.Object jsonName_; 11803 /** 11804 * <pre> 11805 * JSON name of this field. The value is set by protocol compiler. If the 11806 * user has set a "json_name" option on this field, that option's value 11807 * will be used. Otherwise, it's deduced from the field's name by converting 11808 * it to camelCase. 11809 * </pre> 11810 * 11811 * <code>optional string json_name = 10;</code> 11812 */ 11813 public boolean hasJsonName() { 11814 return ((bitField0_ & 0x00000100) == 0x00000100); 11815 } 11816 /** 11817 * <pre> 11818 * JSON name of this field. The value is set by protocol compiler. If the 11819 * user has set a "json_name" option on this field, that option's value 11820 * will be used. Otherwise, it's deduced from the field's name by converting 11821 * it to camelCase. 11822 * </pre> 11823 * 11824 * <code>optional string json_name = 10;</code> 11825 */ 11826 public java.lang.String getJsonName() { 11827 java.lang.Object ref = jsonName_; 11828 if (ref instanceof java.lang.String) { 11829 return (java.lang.String) ref; 11830 } else { 11831 com.google.protobuf.ByteString bs = 11832 (com.google.protobuf.ByteString) ref; 11833 java.lang.String s = bs.toStringUtf8(); 11834 if (bs.isValidUtf8()) { 11835 jsonName_ = s; 11836 } 11837 return s; 11838 } 11839 } 11840 /** 11841 * <pre> 11842 * JSON name of this field. The value is set by protocol compiler. If the 11843 * user has set a "json_name" option on this field, that option's value 11844 * will be used. Otherwise, it's deduced from the field's name by converting 11845 * it to camelCase. 11846 * </pre> 11847 * 11848 * <code>optional string json_name = 10;</code> 11849 */ 11850 public com.google.protobuf.ByteString 11851 getJsonNameBytes() { 11852 java.lang.Object ref = jsonName_; 11853 if (ref instanceof java.lang.String) { 11854 com.google.protobuf.ByteString b = 11855 com.google.protobuf.ByteString.copyFromUtf8( 11856 (java.lang.String) ref); 11857 jsonName_ = b; 11858 return b; 11859 } else { 11860 return (com.google.protobuf.ByteString) ref; 11861 } 8927 11862 } 8928 11863 … … 8932 11867 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8933 11868 */ 8934 @Override 8935 public boolean hasOptions() { 8936 return ((bitField0_ & 0x00000100) == 0x00000100); 11869 public boolean hasOptions() { 11870 return ((bitField0_ & 0x00000200) == 0x00000200); 8937 11871 } 8938 11872 /** 8939 11873 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8940 11874 */ 8941 @Override 8942 public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() { 8943 return options_; 11875 public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() { 11876 return options_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_; 8944 11877 } 8945 11878 /** 8946 11879 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 8947 11880 */ 8948 @Override 8949 public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() { 8950 return options_; 8951 } 8952 8953 private void initFields() { 8954 name_ = ""; 8955 number_ = 0; 8956 label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL; 8957 type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE; 8958 typeName_ = ""; 8959 extendee_ = ""; 8960 defaultValue_ = ""; 8961 oneofIndex_ = 0; 8962 options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); 8963 } 11881 public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() { 11882 return options_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_; 11883 } 11884 8964 11885 private byte memoizedIsInitialized = -1; 8965 @Override 8966 public final boolean isInitialized() { 11886 public final boolean isInitialized() { 8967 11887 byte isInitialized = memoizedIsInitialized; 8968 11888 if (isInitialized == 1) return true; … … 8979 11899 } 8980 11900 8981 @Override 8982 public void writeTo(com.google.protobuf.CodedOutputStream output) 11901 public void writeTo(com.google.protobuf.CodedOutputStream output) 8983 11902 throws java.io.IOException { 8984 getSerializedSize();8985 11903 if (((bitField0_ & 0x00000001) == 0x00000001)) { 8986 output.writeBytes(1, getNameBytes());11904 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 8987 11905 } 8988 11906 if (((bitField0_ & 0x00000020) == 0x00000020)) { 8989 output.writeBytes(2, getExtendeeBytes());11907 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, extendee_); 8990 11908 } 8991 11909 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 8993 11911 } 8994 11912 if (((bitField0_ & 0x00000004) == 0x00000004)) { 8995 output.writeEnum(4, label_ .getNumber());11913 output.writeEnum(4, label_); 8996 11914 } 8997 11915 if (((bitField0_ & 0x00000008) == 0x00000008)) { 8998 output.writeEnum(5, type_ .getNumber());11916 output.writeEnum(5, type_); 8999 11917 } 9000 11918 if (((bitField0_ & 0x00000010) == 0x00000010)) { 9001 output.writeBytes(6, getTypeNameBytes());11919 com.google.protobuf.GeneratedMessageV3.writeString(output, 6, typeName_); 9002 11920 } 9003 11921 if (((bitField0_ & 0x00000040) == 0x00000040)) { 9004 output.writeBytes(7, getDefaultValueBytes());9005 } 9006 if (((bitField0_ & 0x00000 100) == 0x00000100)) {9007 output.writeMessage(8, options_);11922 com.google.protobuf.GeneratedMessageV3.writeString(output, 7, defaultValue_); 11923 } 11924 if (((bitField0_ & 0x00000200) == 0x00000200)) { 11925 output.writeMessage(8, getOptions()); 9008 11926 } 9009 11927 if (((bitField0_ & 0x00000080) == 0x00000080)) { 9010 11928 output.writeInt32(9, oneofIndex_); 9011 11929 } 9012 getUnknownFields().writeTo(output); 9013 } 9014 9015 private int memoizedSerializedSize = -1; 9016 @Override 9017 public int getSerializedSize() { 9018 int size = memoizedSerializedSize; 11930 if (((bitField0_ & 0x00000100) == 0x00000100)) { 11931 com.google.protobuf.GeneratedMessageV3.writeString(output, 10, jsonName_); 11932 } 11933 unknownFields.writeTo(output); 11934 } 11935 11936 public int getSerializedSize() { 11937 int size = memoizedSize; 9019 11938 if (size != -1) return size; 9020 11939 9021 11940 size = 0; 9022 11941 if (((bitField0_ & 0x00000001) == 0x00000001)) { 9023 size += com.google.protobuf.CodedOutputStream 9024 .computeBytesSize(1, getNameBytes()); 11942 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 9025 11943 } 9026 11944 if (((bitField0_ & 0x00000020) == 0x00000020)) { 9027 size += com.google.protobuf.CodedOutputStream 9028 .computeBytesSize(2, getExtendeeBytes()); 11945 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, extendee_); 9029 11946 } 9030 11947 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 9034 11951 if (((bitField0_ & 0x00000004) == 0x00000004)) { 9035 11952 size += com.google.protobuf.CodedOutputStream 9036 .computeEnumSize(4, label_ .getNumber());11953 .computeEnumSize(4, label_); 9037 11954 } 9038 11955 if (((bitField0_ & 0x00000008) == 0x00000008)) { 9039 11956 size += com.google.protobuf.CodedOutputStream 9040 .computeEnumSize(5, type_ .getNumber());11957 .computeEnumSize(5, type_); 9041 11958 } 9042 11959 if (((bitField0_ & 0x00000010) == 0x00000010)) { 11960 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, typeName_); 11961 } 11962 if (((bitField0_ & 0x00000040) == 0x00000040)) { 11963 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, defaultValue_); 11964 } 11965 if (((bitField0_ & 0x00000200) == 0x00000200)) { 9043 11966 size += com.google.protobuf.CodedOutputStream 9044 .computeBytesSize(6, getTypeNameBytes()); 9045 } 9046 if (((bitField0_ & 0x00000040) == 0x00000040)) { 9047 size += com.google.protobuf.CodedOutputStream 9048 .computeBytesSize(7, getDefaultValueBytes()); 9049 } 9050 if (((bitField0_ & 0x00000100) == 0x00000100)) { 9051 size += com.google.protobuf.CodedOutputStream 9052 .computeMessageSize(8, options_); 11967 .computeMessageSize(8, getOptions()); 9053 11968 } 9054 11969 if (((bitField0_ & 0x00000080) == 0x00000080)) { … … 9056 11971 .computeInt32Size(9, oneofIndex_); 9057 11972 } 9058 size += getUnknownFields().getSerializedSize(); 9059 memoizedSerializedSize = size; 11973 if (((bitField0_ & 0x00000100) == 0x00000100)) { 11974 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, jsonName_); 11975 } 11976 size += unknownFields.getSerializedSize(); 11977 memoizedSize = size; 9060 11978 return size; 9061 11979 } 9062 11980 9063 private static final long serialVersionUID = 0L;9064 11981 @java.lang.Override 9065 protected java.lang.Object writeReplace() 9066 throws java.io.ObjectStreamException { 9067 return super.writeReplace(); 9068 } 9069 11982 public boolean equals(final java.lang.Object obj) { 11983 if (obj == this) { 11984 return true; 11985 } 11986 if (!(obj instanceof com.google.protobuf.DescriptorProtos.FieldDescriptorProto)) { 11987 return super.equals(obj); 11988 } 11989 com.google.protobuf.DescriptorProtos.FieldDescriptorProto other = (com.google.protobuf.DescriptorProtos.FieldDescriptorProto) obj; 11990 11991 boolean result = true; 11992 result = result && (hasName() == other.hasName()); 11993 if (hasName()) { 11994 result = result && getName() 11995 .equals(other.getName()); 11996 } 11997 result = result && (hasNumber() == other.hasNumber()); 11998 if (hasNumber()) { 11999 result = result && (getNumber() 12000 == other.getNumber()); 12001 } 12002 result = result && (hasLabel() == other.hasLabel()); 12003 if (hasLabel()) { 12004 result = result && label_ == other.label_; 12005 } 12006 result = result && (hasType() == other.hasType()); 12007 if (hasType()) { 12008 result = result && type_ == other.type_; 12009 } 12010 result = result && (hasTypeName() == other.hasTypeName()); 12011 if (hasTypeName()) { 12012 result = result && getTypeName() 12013 .equals(other.getTypeName()); 12014 } 12015 result = result && (hasExtendee() == other.hasExtendee()); 12016 if (hasExtendee()) { 12017 result = result && getExtendee() 12018 .equals(other.getExtendee()); 12019 } 12020 result = result && (hasDefaultValue() == other.hasDefaultValue()); 12021 if (hasDefaultValue()) { 12022 result = result && getDefaultValue() 12023 .equals(other.getDefaultValue()); 12024 } 12025 result = result && (hasOneofIndex() == other.hasOneofIndex()); 12026 if (hasOneofIndex()) { 12027 result = result && (getOneofIndex() 12028 == other.getOneofIndex()); 12029 } 12030 result = result && (hasJsonName() == other.hasJsonName()); 12031 if (hasJsonName()) { 12032 result = result && getJsonName() 12033 .equals(other.getJsonName()); 12034 } 12035 result = result && (hasOptions() == other.hasOptions()); 12036 if (hasOptions()) { 12037 result = result && getOptions() 12038 .equals(other.getOptions()); 12039 } 12040 result = result && unknownFields.equals(other.unknownFields); 12041 return result; 12042 } 12043 12044 @java.lang.Override 12045 public int hashCode() { 12046 if (memoizedHashCode != 0) { 12047 return memoizedHashCode; 12048 } 12049 int hash = 41; 12050 hash = (19 * hash) + getDescriptor().hashCode(); 12051 if (hasName()) { 12052 hash = (37 * hash) + NAME_FIELD_NUMBER; 12053 hash = (53 * hash) + getName().hashCode(); 12054 } 12055 if (hasNumber()) { 12056 hash = (37 * hash) + NUMBER_FIELD_NUMBER; 12057 hash = (53 * hash) + getNumber(); 12058 } 12059 if (hasLabel()) { 12060 hash = (37 * hash) + LABEL_FIELD_NUMBER; 12061 hash = (53 * hash) + label_; 12062 } 12063 if (hasType()) { 12064 hash = (37 * hash) + TYPE_FIELD_NUMBER; 12065 hash = (53 * hash) + type_; 12066 } 12067 if (hasTypeName()) { 12068 hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; 12069 hash = (53 * hash) + getTypeName().hashCode(); 12070 } 12071 if (hasExtendee()) { 12072 hash = (37 * hash) + EXTENDEE_FIELD_NUMBER; 12073 hash = (53 * hash) + getExtendee().hashCode(); 12074 } 12075 if (hasDefaultValue()) { 12076 hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; 12077 hash = (53 * hash) + getDefaultValue().hashCode(); 12078 } 12079 if (hasOneofIndex()) { 12080 hash = (37 * hash) + ONEOF_INDEX_FIELD_NUMBER; 12081 hash = (53 * hash) + getOneofIndex(); 12082 } 12083 if (hasJsonName()) { 12084 hash = (37 * hash) + JSON_NAME_FIELD_NUMBER; 12085 hash = (53 * hash) + getJsonName().hashCode(); 12086 } 12087 if (hasOptions()) { 12088 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 12089 hash = (53 * hash) + getOptions().hashCode(); 12090 } 12091 hash = (29 * hash) + unknownFields.hashCode(); 12092 memoizedHashCode = hash; 12093 return hash; 12094 } 12095 12096 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( 12097 java.nio.ByteBuffer data) 12098 throws com.google.protobuf.InvalidProtocolBufferException { 12099 return PARSER.parseFrom(data); 12100 } 12101 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( 12102 java.nio.ByteBuffer data, 12103 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12104 throws com.google.protobuf.InvalidProtocolBufferException { 12105 return PARSER.parseFrom(data, extensionRegistry); 12106 } 9070 12107 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( 9071 12108 com.google.protobuf.ByteString data) … … 9091 12128 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(java.io.InputStream input) 9092 12129 throws java.io.IOException { 9093 return PARSER.parseFrom(input); 12130 return com.google.protobuf.GeneratedMessageV3 12131 .parseWithIOException(PARSER, input); 9094 12132 } 9095 12133 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( … … 9097 12135 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9098 12136 throws java.io.IOException { 9099 return PARSER.parseFrom(input, extensionRegistry); 12137 return com.google.protobuf.GeneratedMessageV3 12138 .parseWithIOException(PARSER, input, extensionRegistry); 9100 12139 } 9101 12140 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(java.io.InputStream input) 9102 12141 throws java.io.IOException { 9103 return PARSER.parseDelimitedFrom(input); 12142 return com.google.protobuf.GeneratedMessageV3 12143 .parseDelimitedWithIOException(PARSER, input); 9104 12144 } 9105 12145 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom( … … 9107 12147 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9108 12148 throws java.io.IOException { 9109 return PARSER.parseDelimitedFrom(input, extensionRegistry); 12149 return com.google.protobuf.GeneratedMessageV3 12150 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 9110 12151 } 9111 12152 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( 9112 12153 com.google.protobuf.CodedInputStream input) 9113 12154 throws java.io.IOException { 9114 return PARSER.parseFrom(input); 12155 return com.google.protobuf.GeneratedMessageV3 12156 .parseWithIOException(PARSER, input); 9115 12157 } 9116 12158 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom( … … 9118 12160 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9119 12161 throws java.io.IOException { 9120 return PARSER.parseFrom(input, extensionRegistry); 9121 } 9122 9123 public static Builder newBuilder() { return Builder.create(); } 9124 @Override 9125 public Builder newBuilderForType() { return newBuilder(); } 12162 return com.google.protobuf.GeneratedMessageV3 12163 .parseWithIOException(PARSER, input, extensionRegistry); 12164 } 12165 12166 public Builder newBuilderForType() { return newBuilder(); } 12167 public static Builder newBuilder() { 12168 return DEFAULT_INSTANCE.toBuilder(); 12169 } 9126 12170 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldDescriptorProto prototype) { 9127 return newBuilder().mergeFrom(prototype); 9128 } 9129 @Override 9130 public Builder toBuilder() { return newBuilder(this); } 12171 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 12172 } 12173 public Builder toBuilder() { 12174 return this == DEFAULT_INSTANCE 12175 ? new Builder() : new Builder().mergeFrom(this); 12176 } 9131 12177 9132 12178 @java.lang.Override 9133 12179 protected Builder newBuilderForType( 9134 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 12180 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9135 12181 Builder builder = new Builder(parent); 9136 12182 return builder; 9137 12183 } 9138 12184 /** 9139 * Protobuf type {@code google.protobuf.FieldDescriptorProto}9140 *9141 12185 * <pre> 9142 12186 * Describes a field within a message. 9143 12187 * </pre> 12188 * 12189 * Protobuf type {@code google.protobuf.FieldDescriptorProto} 9144 12190 */ 9145 12191 public static final class Builder extends 9146 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 12192 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 9147 12193 // @@protoc_insertion_point(builder_implements:google.protobuf.FieldDescriptorProto) 9148 12194 com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder { … … 9152 12198 } 9153 12199 9154 @Override 9155 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 12200 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 9156 12201 internalGetFieldAccessorTable() { 9157 12202 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable … … 9166 12211 9167 12212 private Builder( 9168 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 12213 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9169 12214 super(parent); 9170 12215 maybeForceBuilderInitialization(); 9171 12216 } 9172 12217 private void maybeForceBuilderInitialization() { 9173 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 12218 if (com.google.protobuf.GeneratedMessageV3 12219 .alwaysUseFieldBuilders) { 9174 12220 getOptionsFieldBuilder(); 9175 12221 } 9176 12222 } 9177 private static Builder create() { 9178 return new Builder(); 9179 } 9180 9181 @Override 9182 public Builder clear() { 12223 public Builder clear() { 9183 12224 super.clear(); 9184 12225 name_ = ""; … … 9186 12227 number_ = 0; 9187 12228 bitField0_ = (bitField0_ & ~0x00000002); 9188 label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;12229 label_ = 1; 9189 12230 bitField0_ = (bitField0_ & ~0x00000004); 9190 type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;12231 type_ = 1; 9191 12232 bitField0_ = (bitField0_ & ~0x00000008); 9192 12233 typeName_ = ""; … … 9198 12239 oneofIndex_ = 0; 9199 12240 bitField0_ = (bitField0_ & ~0x00000080); 12241 jsonName_ = ""; 12242 bitField0_ = (bitField0_ & ~0x00000100); 9200 12243 if (optionsBuilder_ == null) { 9201 options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();12244 options_ = null; 9202 12245 } else { 9203 12246 optionsBuilder_.clear(); 9204 12247 } 9205 bitField0_ = (bitField0_ & ~0x00000100); 9206 return this; 9207 } 9208 9209 @Override 9210 public Builder clone() { 9211 return create().mergeFrom(buildPartial()); 9212 } 9213 9214 @Override 9215 public com.google.protobuf.Descriptors.Descriptor 12248 bitField0_ = (bitField0_ & ~0x00000200); 12249 return this; 12250 } 12251 12252 public com.google.protobuf.Descriptors.Descriptor 9216 12253 getDescriptorForType() { 9217 12254 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor; 9218 12255 } 9219 12256 9220 @Override 9221 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() { 12257 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() { 9222 12258 return com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance(); 9223 12259 } 9224 12260 9225 @Override 9226 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto build() { 12261 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto build() { 9227 12262 com.google.protobuf.DescriptorProtos.FieldDescriptorProto result = buildPartial(); 9228 12263 if (!result.isInitialized()) { … … 9232 12267 } 9233 12268 9234 @Override 9235 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto buildPartial() { 12269 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto buildPartial() { 9236 12270 com.google.protobuf.DescriptorProtos.FieldDescriptorProto result = new com.google.protobuf.DescriptorProtos.FieldDescriptorProto(this); 9237 12271 int from_bitField0_ = bitField0_; … … 9272 12306 to_bitField0_ |= 0x00000100; 9273 12307 } 12308 result.jsonName_ = jsonName_; 12309 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 12310 to_bitField0_ |= 0x00000200; 12311 } 9274 12312 if (optionsBuilder_ == null) { 9275 12313 result.options_ = options_; … … 9282 12320 } 9283 12321 9284 @Override 9285 public Builder mergeFrom(com.google.protobuf.Message other) { 12322 public Builder clone() { 12323 return (Builder) super.clone(); 12324 } 12325 public Builder setField( 12326 com.google.protobuf.Descriptors.FieldDescriptor field, 12327 java.lang.Object value) { 12328 return (Builder) super.setField(field, value); 12329 } 12330 public Builder clearField( 12331 com.google.protobuf.Descriptors.FieldDescriptor field) { 12332 return (Builder) super.clearField(field); 12333 } 12334 public Builder clearOneof( 12335 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 12336 return (Builder) super.clearOneof(oneof); 12337 } 12338 public Builder setRepeatedField( 12339 com.google.protobuf.Descriptors.FieldDescriptor field, 12340 int index, java.lang.Object value) { 12341 return (Builder) super.setRepeatedField(field, index, value); 12342 } 12343 public Builder addRepeatedField( 12344 com.google.protobuf.Descriptors.FieldDescriptor field, 12345 java.lang.Object value) { 12346 return (Builder) super.addRepeatedField(field, value); 12347 } 12348 public Builder mergeFrom(com.google.protobuf.Message other) { 9286 12349 if (other instanceof com.google.protobuf.DescriptorProtos.FieldDescriptorProto) { 9287 12350 return mergeFrom((com.google.protobuf.DescriptorProtos.FieldDescriptorProto)other); … … 9326 12389 setOneofIndex(other.getOneofIndex()); 9327 12390 } 12391 if (other.hasJsonName()) { 12392 bitField0_ |= 0x00000100; 12393 jsonName_ = other.jsonName_; 12394 onChanged(); 12395 } 9328 12396 if (other.hasOptions()) { 9329 12397 mergeOptions(other.getOptions()); 9330 12398 } 9331 this.mergeUnknownFields(other. getUnknownFields());9332 return this;9333 }9334 9335 @Override 9336 12399 this.mergeUnknownFields(other.unknownFields); 12400 onChanged(); 12401 return this; 12402 } 12403 12404 public final boolean isInitialized() { 9337 12405 if (hasOptions()) { 9338 12406 if (!getOptions().isInitialized()) { 9339 9340 12407 return false; 9341 12408 } … … 9344 12411 } 9345 12412 9346 @Override 9347 public Builder mergeFrom( 12413 public Builder mergeFrom( 9348 12414 com.google.protobuf.CodedInputStream input, 9349 12415 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 9354 12420 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9355 12421 parsedMessage = (com.google.protobuf.DescriptorProtos.FieldDescriptorProto) e.getUnfinishedMessage(); 9356 throw e; 12422 throw e.unwrapIOException(); 9357 12423 } finally { 9358 12424 if (parsedMessage != null) { … … 9368 12434 * <code>optional string name = 1;</code> 9369 12435 */ 9370 @Override 9371 public boolean hasName() { 12436 public boolean hasName() { 9372 12437 return ((bitField0_ & 0x00000001) == 0x00000001); 9373 12438 } … … 9375 12440 * <code>optional string name = 1;</code> 9376 12441 */ 9377 @Override 9378 public java.lang.String getName() { 12442 public java.lang.String getName() { 9379 12443 java.lang.Object ref = name_; 9380 12444 if (!(ref instanceof java.lang.String)) { … … 9393 12457 * <code>optional string name = 1;</code> 9394 12458 */ 9395 @Override 9396 public com.google.protobuf.ByteString 12459 public com.google.protobuf.ByteString 9397 12460 getNameBytes() { 9398 12461 java.lang.Object ref = name_; 9399 12462 if (ref instanceof String) { 9400 com.google.protobuf.ByteString b = 12463 com.google.protobuf.ByteString b = 9401 12464 com.google.protobuf.ByteString.copyFromUtf8( 9402 12465 (java.lang.String) ref); … … 9447 12510 * <code>optional int32 number = 3;</code> 9448 12511 */ 9449 @Override 9450 public boolean hasNumber() { 12512 public boolean hasNumber() { 9451 12513 return ((bitField0_ & 0x00000002) == 0x00000002); 9452 12514 } … … 9454 12516 * <code>optional int32 number = 3;</code> 9455 12517 */ 9456 @Override 9457 public int getNumber() { 12518 public int getNumber() { 9458 12519 return number_; 9459 12520 } … … 9477 12538 } 9478 12539 9479 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Labellabel_ =com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;12540 private int label_ = 1; 9480 12541 /** 9481 12542 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 9482 12543 */ 9483 @Override 9484 public boolean hasLabel() { 12544 public boolean hasLabel() { 9485 12545 return ((bitField0_ & 0x00000004) == 0x00000004); 9486 12546 } … … 9488 12548 * <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code> 9489 12549 */ 9490 @Override9491 publiccom.google.protobuf.DescriptorProtos.FieldDescriptorProto.LabelgetLabel() {9492 return label_;12550 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() { 12551 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(label_); 12552 return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL : result; 9493 12553 } 9494 12554 /** … … 9500 12560 } 9501 12561 bitField0_ |= 0x00000004; 9502 label_ = value; 12562 label_ = value.getNumber(); 9503 12563 onChanged(); 9504 12564 return this; … … 9509 12569 public Builder clearLabel() { 9510 12570 bitField0_ = (bitField0_ & ~0x00000004); 9511 label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;12571 label_ = 1; 9512 12572 onChanged(); 9513 12573 return this; 9514 12574 } 9515 12575 9516 private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE; 9517 /** 9518 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 9519 * 12576 private int type_ = 1; 12577 /** 9520 12578 * <pre> 9521 12579 * If type_name is set, this need not be set. If both this and type_name 9522 12580 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9523 12581 * </pre> 9524 */ 9525 @Override 9526 public boolean hasType() { 12582 * 12583 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 12584 */ 12585 public boolean hasType() { 9527 12586 return ((bitField0_ & 0x00000008) == 0x00000008); 9528 12587 } 9529 12588 /** 9530 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>9531 *9532 12589 * <pre> 9533 12590 * If type_name is set, this need not be set. If both this and type_name 9534 12591 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9535 12592 * </pre> 9536 */ 9537 @Override 9538 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() { 9539 return type_; 9540 } 9541 /** 12593 * 9542 12594 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 9543 * 12595 */ 12596 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() { 12597 com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(type_); 12598 return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE : result; 12599 } 12600 /** 9544 12601 * <pre> 9545 12602 * If type_name is set, this need not be set. If both this and type_name 9546 12603 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9547 12604 * </pre> 12605 * 12606 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 9548 12607 */ 9549 12608 public Builder setType(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value) { … … 9552 12611 } 9553 12612 bitField0_ |= 0x00000008; 9554 type_ = value; 12613 type_ = value.getNumber(); 9555 12614 onChanged(); 9556 12615 return this; 9557 12616 } 9558 12617 /** 9559 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>9560 *9561 12618 * <pre> 9562 12619 * If type_name is set, this need not be set. If both this and type_name 9563 12620 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 9564 12621 * </pre> 12622 * 12623 * <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code> 9565 12624 */ 9566 12625 public Builder clearType() { 9567 12626 bitField0_ = (bitField0_ & ~0x00000008); 9568 type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;12627 type_ = 1; 9569 12628 onChanged(); 9570 12629 return this; … … 9573 12632 private java.lang.Object typeName_ = ""; 9574 12633 /** 9575 * <code>optional string type_name = 6;</code>9576 *9577 12634 * <pre> 9578 12635 * For message and enum types, this is the name of the type. If the name … … 9582 12639 * namespace). 9583 12640 * </pre> 9584 */ 9585 @Override 9586 public boolean hasTypeName() { 12641 * 12642 * <code>optional string type_name = 6;</code> 12643 */ 12644 public boolean hasTypeName() { 9587 12645 return ((bitField0_ & 0x00000010) == 0x00000010); 9588 12646 } 9589 12647 /** 9590 * <code>optional string type_name = 6;</code>9591 *9592 12648 * <pre> 9593 12649 * For message and enum types, this is the name of the type. If the name … … 9597 12653 * namespace). 9598 12654 * </pre> 9599 */ 9600 @Override 9601 public java.lang.String getTypeName() { 12655 * 12656 * <code>optional string type_name = 6;</code> 12657 */ 12658 public java.lang.String getTypeName() { 9602 12659 java.lang.Object ref = typeName_; 9603 12660 if (!(ref instanceof java.lang.String)) { … … 9614 12671 } 9615 12672 /** 9616 * <code>optional string type_name = 6;</code>9617 *9618 12673 * <pre> 9619 12674 * For message and enum types, this is the name of the type. If the name … … 9623 12678 * namespace). 9624 12679 * </pre> 9625 */ 9626 @Override 9627 public com.google.protobuf.ByteString 12680 * 12681 * <code>optional string type_name = 6;</code> 12682 */ 12683 public com.google.protobuf.ByteString 9628 12684 getTypeNameBytes() { 9629 12685 java.lang.Object ref = typeName_; 9630 12686 if (ref instanceof String) { 9631 com.google.protobuf.ByteString b = 12687 com.google.protobuf.ByteString b = 9632 12688 com.google.protobuf.ByteString.copyFromUtf8( 9633 12689 (java.lang.String) ref); … … 9639 12695 } 9640 12696 /** 9641 * <code>optional string type_name = 6;</code>9642 *9643 12697 * <pre> 9644 12698 * For message and enum types, this is the name of the type. If the name … … 9648 12702 * namespace). 9649 12703 * </pre> 12704 * 12705 * <code>optional string type_name = 6;</code> 9650 12706 */ 9651 12707 public Builder setTypeName( … … 9660 12716 } 9661 12717 /** 9662 * <code>optional string type_name = 6;</code>9663 *9664 12718 * <pre> 9665 12719 * For message and enum types, this is the name of the type. If the name … … 9669 12723 * namespace). 9670 12724 * </pre> 12725 * 12726 * <code>optional string type_name = 6;</code> 9671 12727 */ 9672 12728 public Builder clearTypeName() { … … 9677 12733 } 9678 12734 /** 9679 * <code>optional string type_name = 6;</code>9680 *9681 12735 * <pre> 9682 12736 * For message and enum types, this is the name of the type. If the name … … 9686 12740 * namespace). 9687 12741 * </pre> 12742 * 12743 * <code>optional string type_name = 6;</code> 9688 12744 */ 9689 12745 public Builder setTypeNameBytes( … … 9700 12756 private java.lang.Object extendee_ = ""; 9701 12757 /** 9702 * <code>optional string extendee = 2;</code>9703 *9704 12758 * <pre> 9705 12759 * For extensions, this is the name of the type being extended. It is 9706 12760 * resolved in the same manner as type_name. 9707 12761 * </pre> 9708 */ 9709 @Override 9710 public boolean hasExtendee() { 12762 * 12763 * <code>optional string extendee = 2;</code> 12764 */ 12765 public boolean hasExtendee() { 9711 12766 return ((bitField0_ & 0x00000020) == 0x00000020); 9712 12767 } 9713 12768 /** 9714 * <code>optional string extendee = 2;</code>9715 *9716 12769 * <pre> 9717 12770 * For extensions, this is the name of the type being extended. It is 9718 12771 * resolved in the same manner as type_name. 9719 12772 * </pre> 9720 */ 9721 @Override 9722 public java.lang.String getExtendee() { 12773 * 12774 * <code>optional string extendee = 2;</code> 12775 */ 12776 public java.lang.String getExtendee() { 9723 12777 java.lang.Object ref = extendee_; 9724 12778 if (!(ref instanceof java.lang.String)) { … … 9735 12789 } 9736 12790 /** 9737 * <code>optional string extendee = 2;</code>9738 *9739 12791 * <pre> 9740 12792 * For extensions, this is the name of the type being extended. It is 9741 12793 * resolved in the same manner as type_name. 9742 12794 * </pre> 9743 */ 9744 @Override 9745 public com.google.protobuf.ByteString 12795 * 12796 * <code>optional string extendee = 2;</code> 12797 */ 12798 public com.google.protobuf.ByteString 9746 12799 getExtendeeBytes() { 9747 12800 java.lang.Object ref = extendee_; 9748 12801 if (ref instanceof String) { 9749 com.google.protobuf.ByteString b = 12802 com.google.protobuf.ByteString b = 9750 12803 com.google.protobuf.ByteString.copyFromUtf8( 9751 12804 (java.lang.String) ref); … … 9757 12810 } 9758 12811 /** 9759 * <code>optional string extendee = 2;</code>9760 *9761 12812 * <pre> 9762 12813 * For extensions, this is the name of the type being extended. It is 9763 12814 * resolved in the same manner as type_name. 9764 12815 * </pre> 12816 * 12817 * <code>optional string extendee = 2;</code> 9765 12818 */ 9766 12819 public Builder setExtendee( … … 9775 12828 } 9776 12829 /** 9777 * <code>optional string extendee = 2;</code>9778 *9779 12830 * <pre> 9780 12831 * For extensions, this is the name of the type being extended. It is 9781 12832 * resolved in the same manner as type_name. 9782 12833 * </pre> 12834 * 12835 * <code>optional string extendee = 2;</code> 9783 12836 */ 9784 12837 public Builder clearExtendee() { … … 9789 12842 } 9790 12843 /** 9791 * <code>optional string extendee = 2;</code>9792 *9793 12844 * <pre> 9794 12845 * For extensions, this is the name of the type being extended. It is 9795 12846 * resolved in the same manner as type_name. 9796 12847 * </pre> 12848 * 12849 * <code>optional string extendee = 2;</code> 9797 12850 */ 9798 12851 public Builder setExtendeeBytes( … … 9809 12862 private java.lang.Object defaultValue_ = ""; 9810 12863 /** 9811 * <code>optional string default_value = 7;</code>9812 *9813 12864 * <pre> 9814 12865 * For numeric types, contains the original text representation of the value. … … 9818 12869 * TODO(kenton): Base-64 encode? 9819 12870 * </pre> 9820 */ 9821 @Override 9822 public boolean hasDefaultValue() { 12871 * 12872 * <code>optional string default_value = 7;</code> 12873 */ 12874 public boolean hasDefaultValue() { 9823 12875 return ((bitField0_ & 0x00000040) == 0x00000040); 9824 12876 } 9825 12877 /** 9826 * <code>optional string default_value = 7;</code>9827 *9828 12878 * <pre> 9829 12879 * For numeric types, contains the original text representation of the value. … … 9833 12883 * TODO(kenton): Base-64 encode? 9834 12884 * </pre> 9835 */ 9836 @Override 9837 public java.lang.String getDefaultValue() { 12885 * 12886 * <code>optional string default_value = 7;</code> 12887 */ 12888 public java.lang.String getDefaultValue() { 9838 12889 java.lang.Object ref = defaultValue_; 9839 12890 if (!(ref instanceof java.lang.String)) { … … 9850 12901 } 9851 12902 /** 9852 * <code>optional string default_value = 7;</code>9853 *9854 12903 * <pre> 9855 12904 * For numeric types, contains the original text representation of the value. … … 9859 12908 * TODO(kenton): Base-64 encode? 9860 12909 * </pre> 9861 */ 9862 @Override 9863 public com.google.protobuf.ByteString 12910 * 12911 * <code>optional string default_value = 7;</code> 12912 */ 12913 public com.google.protobuf.ByteString 9864 12914 getDefaultValueBytes() { 9865 12915 java.lang.Object ref = defaultValue_; 9866 12916 if (ref instanceof String) { 9867 com.google.protobuf.ByteString b = 12917 com.google.protobuf.ByteString b = 9868 12918 com.google.protobuf.ByteString.copyFromUtf8( 9869 12919 (java.lang.String) ref); … … 9875 12925 } 9876 12926 /** 9877 * <code>optional string default_value = 7;</code>9878 *9879 12927 * <pre> 9880 12928 * For numeric types, contains the original text representation of the value. … … 9884 12932 * TODO(kenton): Base-64 encode? 9885 12933 * </pre> 12934 * 12935 * <code>optional string default_value = 7;</code> 9886 12936 */ 9887 12937 public Builder setDefaultValue( … … 9896 12946 } 9897 12947 /** 9898 * <code>optional string default_value = 7;</code>9899 *9900 12948 * <pre> 9901 12949 * For numeric types, contains the original text representation of the value. … … 9905 12953 * TODO(kenton): Base-64 encode? 9906 12954 * </pre> 12955 * 12956 * <code>optional string default_value = 7;</code> 9907 12957 */ 9908 12958 public Builder clearDefaultValue() { … … 9913 12963 } 9914 12964 /** 9915 * <code>optional string default_value = 7;</code>9916 *9917 12965 * <pre> 9918 12966 * For numeric types, contains the original text representation of the value. … … 9922 12970 * TODO(kenton): Base-64 encode? 9923 12971 * </pre> 12972 * 12973 * <code>optional string default_value = 7;</code> 9924 12974 */ 9925 12975 public Builder setDefaultValueBytes( … … 9936 12986 private int oneofIndex_ ; 9937 12987 /** 12988 * <pre> 12989 * If set, gives the index of a oneof in the containing type's oneof_decl 12990 * list. This field is a member of that oneof. 12991 * </pre> 12992 * 9938 12993 * <code>optional int32 oneof_index = 9;</code> 9939 * 12994 */ 12995 public boolean hasOneofIndex() { 12996 return ((bitField0_ & 0x00000080) == 0x00000080); 12997 } 12998 /** 9940 12999 * <pre> 9941 13000 * If set, gives the index of a oneof in the containing type's oneof_decl 9942 * list. This field is a member of that oneof. Extensions of a oneof should 9943 * not set this since the oneof to which they belong will be inferred based 9944 * on the extension range containing the extension's field number. 9945 * </pre> 9946 */ 9947 @Override 9948 public boolean hasOneofIndex() { 9949 return ((bitField0_ & 0x00000080) == 0x00000080); 9950 } 9951 /** 13001 * list. This field is a member of that oneof. 13002 * </pre> 13003 * 9952 13004 * <code>optional int32 oneof_index = 9;</code> 9953 * 13005 */ 13006 public int getOneofIndex() { 13007 return oneofIndex_; 13008 } 13009 /** 9954 13010 * <pre> 9955 13011 * If set, gives the index of a oneof in the containing type's oneof_decl 9956 * list. This field is a member of that oneof. Extensions of a oneof should 9957 * not set this since the oneof to which they belong will be inferred based 9958 * on the extension range containing the extension's field number. 9959 * </pre> 9960 */ 9961 @Override 9962 public int getOneofIndex() { 9963 return oneofIndex_; 9964 } 9965 /** 13012 * list. This field is a member of that oneof. 13013 * </pre> 13014 * 9966 13015 * <code>optional int32 oneof_index = 9;</code> 9967 *9968 * <pre>9969 * If set, gives the index of a oneof in the containing type's oneof_decl9970 * list. This field is a member of that oneof. Extensions of a oneof should9971 * not set this since the oneof to which they belong will be inferred based9972 * on the extension range containing the extension's field number.9973 * </pre>9974 13016 */ 9975 13017 public Builder setOneofIndex(int value) { … … 9980 13022 } 9981 13023 /** 13024 * <pre> 13025 * If set, gives the index of a oneof in the containing type's oneof_decl 13026 * list. This field is a member of that oneof. 13027 * </pre> 13028 * 9982 13029 * <code>optional int32 oneof_index = 9;</code> 9983 *9984 * <pre>9985 * If set, gives the index of a oneof in the containing type's oneof_decl9986 * list. This field is a member of that oneof. Extensions of a oneof should9987 * not set this since the oneof to which they belong will be inferred based9988 * on the extension range containing the extension's field number.9989 * </pre>9990 13030 */ 9991 13031 public Builder clearOneofIndex() { … … 9996 13036 } 9997 13037 9998 private com.google.protobuf.DescriptorProtos.FieldOptions options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); 9999 private com.google.protobuf.SingleFieldBuilder< 13038 private java.lang.Object jsonName_ = ""; 13039 /** 13040 * <pre> 13041 * JSON name of this field. The value is set by protocol compiler. If the 13042 * user has set a "json_name" option on this field, that option's value 13043 * will be used. Otherwise, it's deduced from the field's name by converting 13044 * it to camelCase. 13045 * </pre> 13046 * 13047 * <code>optional string json_name = 10;</code> 13048 */ 13049 public boolean hasJsonName() { 13050 return ((bitField0_ & 0x00000100) == 0x00000100); 13051 } 13052 /** 13053 * <pre> 13054 * JSON name of this field. The value is set by protocol compiler. If the 13055 * user has set a "json_name" option on this field, that option's value 13056 * will be used. Otherwise, it's deduced from the field's name by converting 13057 * it to camelCase. 13058 * </pre> 13059 * 13060 * <code>optional string json_name = 10;</code> 13061 */ 13062 public java.lang.String getJsonName() { 13063 java.lang.Object ref = jsonName_; 13064 if (!(ref instanceof java.lang.String)) { 13065 com.google.protobuf.ByteString bs = 13066 (com.google.protobuf.ByteString) ref; 13067 java.lang.String s = bs.toStringUtf8(); 13068 if (bs.isValidUtf8()) { 13069 jsonName_ = s; 13070 } 13071 return s; 13072 } else { 13073 return (java.lang.String) ref; 13074 } 13075 } 13076 /** 13077 * <pre> 13078 * JSON name of this field. The value is set by protocol compiler. If the 13079 * user has set a "json_name" option on this field, that option's value 13080 * will be used. Otherwise, it's deduced from the field's name by converting 13081 * it to camelCase. 13082 * </pre> 13083 * 13084 * <code>optional string json_name = 10;</code> 13085 */ 13086 public com.google.protobuf.ByteString 13087 getJsonNameBytes() { 13088 java.lang.Object ref = jsonName_; 13089 if (ref instanceof String) { 13090 com.google.protobuf.ByteString b = 13091 com.google.protobuf.ByteString.copyFromUtf8( 13092 (java.lang.String) ref); 13093 jsonName_ = b; 13094 return b; 13095 } else { 13096 return (com.google.protobuf.ByteString) ref; 13097 } 13098 } 13099 /** 13100 * <pre> 13101 * JSON name of this field. The value is set by protocol compiler. If the 13102 * user has set a "json_name" option on this field, that option's value 13103 * will be used. Otherwise, it's deduced from the field's name by converting 13104 * it to camelCase. 13105 * </pre> 13106 * 13107 * <code>optional string json_name = 10;</code> 13108 */ 13109 public Builder setJsonName( 13110 java.lang.String value) { 13111 if (value == null) { 13112 throw new NullPointerException(); 13113 } 13114 bitField0_ |= 0x00000100; 13115 jsonName_ = value; 13116 onChanged(); 13117 return this; 13118 } 13119 /** 13120 * <pre> 13121 * JSON name of this field. The value is set by protocol compiler. If the 13122 * user has set a "json_name" option on this field, that option's value 13123 * will be used. Otherwise, it's deduced from the field's name by converting 13124 * it to camelCase. 13125 * </pre> 13126 * 13127 * <code>optional string json_name = 10;</code> 13128 */ 13129 public Builder clearJsonName() { 13130 bitField0_ = (bitField0_ & ~0x00000100); 13131 jsonName_ = getDefaultInstance().getJsonName(); 13132 onChanged(); 13133 return this; 13134 } 13135 /** 13136 * <pre> 13137 * JSON name of this field. The value is set by protocol compiler. If the 13138 * user has set a "json_name" option on this field, that option's value 13139 * will be used. Otherwise, it's deduced from the field's name by converting 13140 * it to camelCase. 13141 * </pre> 13142 * 13143 * <code>optional string json_name = 10;</code> 13144 */ 13145 public Builder setJsonNameBytes( 13146 com.google.protobuf.ByteString value) { 13147 if (value == null) { 13148 throw new NullPointerException(); 13149 } 13150 bitField0_ |= 0x00000100; 13151 jsonName_ = value; 13152 onChanged(); 13153 return this; 13154 } 13155 13156 private com.google.protobuf.DescriptorProtos.FieldOptions options_ = null; 13157 private com.google.protobuf.SingleFieldBuilderV3< 10000 13158 com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder> optionsBuilder_; 10001 13159 /** 10002 13160 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10003 13161 */ 10004 @Override 10005 public boolean hasOptions() { 10006 return ((bitField0_ & 0x00000100) == 0x00000100); 13162 public boolean hasOptions() { 13163 return ((bitField0_ & 0x00000200) == 0x00000200); 10007 13164 } 10008 13165 /** 10009 13166 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10010 13167 */ 10011 @Override 10012 public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() { 13168 public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() { 10013 13169 if (optionsBuilder_ == null) { 10014 return options_; 13170 return options_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_; 10015 13171 } else { 10016 13172 return optionsBuilder_.getMessage(); … … 10030 13186 optionsBuilder_.setMessage(value); 10031 13187 } 10032 bitField0_ |= 0x00000 100;13188 bitField0_ |= 0x00000200; 10033 13189 return this; 10034 13190 } … … 10044 13200 optionsBuilder_.setMessage(builderForValue.build()); 10045 13201 } 10046 bitField0_ |= 0x00000 100;13202 bitField0_ |= 0x00000200; 10047 13203 return this; 10048 13204 } … … 10052 13208 public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) { 10053 13209 if (optionsBuilder_ == null) { 10054 if (((bitField0_ & 0x00000100) == 0x00000100) && 13210 if (((bitField0_ & 0x00000200) == 0x00000200) && 13211 options_ != null && 10055 13212 options_ != com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) { 10056 13213 options_ = … … 10063 13220 optionsBuilder_.mergeFrom(value); 10064 13221 } 10065 bitField0_ |= 0x00000 100;13222 bitField0_ |= 0x00000200; 10066 13223 return this; 10067 13224 } … … 10071 13228 public Builder clearOptions() { 10072 13229 if (optionsBuilder_ == null) { 10073 options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();13230 options_ = null; 10074 13231 onChanged(); 10075 13232 } else { 10076 13233 optionsBuilder_.clear(); 10077 13234 } 10078 bitField0_ = (bitField0_ & ~0x00000 100);13235 bitField0_ = (bitField0_ & ~0x00000200); 10079 13236 return this; 10080 13237 } … … 10083 13240 */ 10084 13241 public com.google.protobuf.DescriptorProtos.FieldOptions.Builder getOptionsBuilder() { 10085 bitField0_ |= 0x00000 100;13242 bitField0_ |= 0x00000200; 10086 13243 onChanged(); 10087 13244 return getOptionsFieldBuilder().getBuilder(); … … 10090 13247 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10091 13248 */ 10092 @Override 10093 public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() { 13249 public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() { 10094 13250 if (optionsBuilder_ != null) { 10095 13251 return optionsBuilder_.getMessageOrBuilder(); 10096 13252 } else { 10097 return options_; 13253 return options_ == null ? 13254 com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_; 10098 13255 } 10099 13256 } … … 10101 13258 * <code>optional .google.protobuf.FieldOptions options = 8;</code> 10102 13259 */ 10103 private com.google.protobuf.SingleFieldBuilder< 10104 com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder> 13260 private com.google.protobuf.SingleFieldBuilderV3< 13261 com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder> 10105 13262 getOptionsFieldBuilder() { 10106 13263 if (optionsBuilder_ == null) { 10107 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 13264 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 13265 com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>( 10108 13266 getOptions(), 10109 13267 getParentForChildren(), … … 10113 13271 return optionsBuilder_; 10114 13272 } 13273 public final Builder setUnknownFields( 13274 final com.google.protobuf.UnknownFieldSet unknownFields) { 13275 return super.setUnknownFields(unknownFields); 13276 } 13277 13278 public final Builder mergeUnknownFields( 13279 final com.google.protobuf.UnknownFieldSet unknownFields) { 13280 return super.mergeUnknownFields(unknownFields); 13281 } 13282 10115 13283 10116 13284 // @@protoc_insertion_point(builder_scope:google.protobuf.FieldDescriptorProto) 10117 13285 } 10118 13286 13287 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) 13288 private static final com.google.protobuf.DescriptorProtos.FieldDescriptorProto DEFAULT_INSTANCE; 10119 13289 static { 10120 defaultInstance = new FieldDescriptorProto(true); 10121 defaultInstance.initFields(); 10122 } 10123 10124 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) 13290 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.FieldDescriptorProto(); 13291 } 13292 13293 public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstance() { 13294 return DEFAULT_INSTANCE; 13295 } 13296 13297 @java.lang.Deprecated public static final com.google.protobuf.Parser<FieldDescriptorProto> 13298 PARSER = new com.google.protobuf.AbstractParser<FieldDescriptorProto>() { 13299 public FieldDescriptorProto parsePartialFrom( 13300 com.google.protobuf.CodedInputStream input, 13301 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13302 throws com.google.protobuf.InvalidProtocolBufferException { 13303 return new FieldDescriptorProto(input, extensionRegistry); 13304 } 13305 }; 13306 13307 public static com.google.protobuf.Parser<FieldDescriptorProto> parser() { 13308 return PARSER; 13309 } 13310 13311 @java.lang.Override 13312 public com.google.protobuf.Parser<FieldDescriptorProto> getParserForType() { 13313 return PARSER; 13314 } 13315 13316 public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() { 13317 return DEFAULT_INSTANCE; 13318 } 13319 10125 13320 } 10126 13321 … … 10142 13337 com.google.protobuf.ByteString 10143 13338 getNameBytes(); 13339 13340 /** 13341 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13342 */ 13343 boolean hasOptions(); 13344 /** 13345 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13346 */ 13347 com.google.protobuf.DescriptorProtos.OneofOptions getOptions(); 13348 /** 13349 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13350 */ 13351 com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder(); 10144 13352 } 10145 13353 /** 10146 * Protobuf type {@code google.protobuf.OneofDescriptorProto}10147 *10148 13354 * <pre> 10149 13355 * Describes a oneof. 10150 13356 * </pre> 13357 * 13358 * Protobuf type {@code google.protobuf.OneofDescriptorProto} 10151 13359 */ 10152 public static final class OneofDescriptorProto extends 10153 com.google.protobuf.GeneratedMessage implements 13360 public static final class OneofDescriptorProto extends 13361 com.google.protobuf.GeneratedMessageV3 implements 10154 13362 // @@protoc_insertion_point(message_implements:google.protobuf.OneofDescriptorProto) 10155 13363 OneofDescriptorProtoOrBuilder { 13364 private static final long serialVersionUID = 0L; 10156 13365 // Use OneofDescriptorProto.newBuilder() to construct. 10157 private OneofDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 13366 private OneofDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 10158 13367 super(builder); 10159 this.unknownFields = builder.getUnknownFields(); 10160 } 10161 private OneofDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 10162 10163 private static final OneofDescriptorProto defaultInstance; 10164 public static OneofDescriptorProto getDefaultInstance() { 10165 return defaultInstance; 10166 } 10167 10168 @Override 10169 public OneofDescriptorProto getDefaultInstanceForType() { 10170 return defaultInstance; 10171 } 10172 10173 private final com.google.protobuf.UnknownFieldSet unknownFields; 13368 } 13369 private OneofDescriptorProto() { 13370 name_ = ""; 13371 } 13372 10174 13373 @java.lang.Override 10175 13374 public final com.google.protobuf.UnknownFieldSet 10176 13375 getUnknownFields() { 10177 13376 return this.unknownFields; 10178 13377 } … … 10181 13380 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10182 13381 throws com.google.protobuf.InvalidProtocolBufferException { 10183 initFields();13382 this(); 10184 13383 int mutable_bitField0_ = 0; 10185 13384 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 10194 13393 break; 10195 13394 default: { 10196 if (!parseUnknownField( input, unknownFields,10197 13395 if (!parseUnknownField( 13396 input, unknownFields, extensionRegistry, tag)) { 10198 13397 done = true; 10199 13398 } … … 10206 13405 break; 10207 13406 } 13407 case 18: { 13408 com.google.protobuf.DescriptorProtos.OneofOptions.Builder subBuilder = null; 13409 if (((bitField0_ & 0x00000002) == 0x00000002)) { 13410 subBuilder = options_.toBuilder(); 13411 } 13412 options_ = input.readMessage(com.google.protobuf.DescriptorProtos.OneofOptions.PARSER, extensionRegistry); 13413 if (subBuilder != null) { 13414 subBuilder.mergeFrom(options_); 13415 options_ = subBuilder.buildPartial(); 13416 } 13417 bitField0_ |= 0x00000002; 13418 break; 13419 } 10208 13420 } 10209 13421 } … … 10212 13424 } catch (java.io.IOException e) { 10213 13425 throw new com.google.protobuf.InvalidProtocolBufferException( 10214 e .getMessage()).setUnfinishedMessage(this);13426 e).setUnfinishedMessage(this); 10215 13427 } finally { 10216 13428 this.unknownFields = unknownFields.build(); … … 10223 13435 } 10224 13436 10225 @Override 10226 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 13437 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10227 13438 internalGetFieldAccessorTable() { 10228 13439 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable … … 10231 13442 } 10232 13443 10233 public static com.google.protobuf.Parser<OneofDescriptorProto> PARSER =10234 new com.google.protobuf.AbstractParser<OneofDescriptorProto>() {10235 @Override10236 public OneofDescriptorProto parsePartialFrom(10237 com.google.protobuf.CodedInputStream input,10238 com.google.protobuf.ExtensionRegistryLite extensionRegistry)10239 throws com.google.protobuf.InvalidProtocolBufferException {10240 return new OneofDescriptorProto(input, extensionRegistry);10241 }10242 };10243 10244 @java.lang.Override10245 public com.google.protobuf.Parser<OneofDescriptorProto> getParserForType() {10246 return PARSER;10247 }10248 10249 13444 private int bitField0_; 10250 13445 public static final int NAME_FIELD_NUMBER = 1; 10251 private java.lang.Object name_; 13446 private volatile java.lang.Object name_; 10252 13447 /** 10253 13448 * <code>optional string name = 1;</code> 10254 13449 */ 10255 @Override 10256 public boolean hasName() { 13450 public boolean hasName() { 10257 13451 return ((bitField0_ & 0x00000001) == 0x00000001); 10258 13452 } … … 10260 13454 * <code>optional string name = 1;</code> 10261 13455 */ 10262 @Override 10263 public java.lang.String getName() { 13456 public java.lang.String getName() { 10264 13457 java.lang.Object ref = name_; 10265 13458 if (ref instanceof java.lang.String) { 10266 13459 return (java.lang.String) ref; 10267 13460 } else { 10268 com.google.protobuf.ByteString bs = 13461 com.google.protobuf.ByteString bs = 10269 13462 (com.google.protobuf.ByteString) ref; 10270 13463 java.lang.String s = bs.toStringUtf8(); … … 10278 13471 * <code>optional string name = 1;</code> 10279 13472 */ 10280 @Override 10281 public com.google.protobuf.ByteString 13473 public com.google.protobuf.ByteString 10282 13474 getNameBytes() { 10283 13475 java.lang.Object ref = name_; 10284 13476 if (ref instanceof java.lang.String) { 10285 com.google.protobuf.ByteString b = 13477 com.google.protobuf.ByteString b = 10286 13478 com.google.protobuf.ByteString.copyFromUtf8( 10287 13479 (java.lang.String) ref); … … 10293 13485 } 10294 13486 10295 private void initFields() { 10296 name_ = ""; 10297 } 13487 public static final int OPTIONS_FIELD_NUMBER = 2; 13488 private com.google.protobuf.DescriptorProtos.OneofOptions options_; 13489 /** 13490 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13491 */ 13492 public boolean hasOptions() { 13493 return ((bitField0_ & 0x00000002) == 0x00000002); 13494 } 13495 /** 13496 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13497 */ 13498 public com.google.protobuf.DescriptorProtos.OneofOptions getOptions() { 13499 return options_ == null ? com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_; 13500 } 13501 /** 13502 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13503 */ 13504 public com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder() { 13505 return options_ == null ? com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_; 13506 } 13507 10298 13508 private byte memoizedIsInitialized = -1; 10299 @Override 10300 public final boolean isInitialized() { 13509 public final boolean isInitialized() { 10301 13510 byte isInitialized = memoizedIsInitialized; 10302 13511 if (isInitialized == 1) return true; 10303 13512 if (isInitialized == 0) return false; 10304 13513 13514 if (hasOptions()) { 13515 if (!getOptions().isInitialized()) { 13516 memoizedIsInitialized = 0; 13517 return false; 13518 } 13519 } 10305 13520 memoizedIsInitialized = 1; 10306 13521 return true; 10307 13522 } 10308 13523 10309 @Override 10310 public void writeTo(com.google.protobuf.CodedOutputStream output) 13524 public void writeTo(com.google.protobuf.CodedOutputStream output) 10311 13525 throws java.io.IOException { 10312 getSerializedSize();10313 13526 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10314 output.writeBytes(1, getNameBytes()); 10315 } 10316 getUnknownFields().writeTo(output); 10317 } 10318 10319 private int memoizedSerializedSize = -1; 10320 @Override 10321 public int getSerializedSize() { 10322 int size = memoizedSerializedSize; 13527 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 13528 } 13529 if (((bitField0_ & 0x00000002) == 0x00000002)) { 13530 output.writeMessage(2, getOptions()); 13531 } 13532 unknownFields.writeTo(output); 13533 } 13534 13535 public int getSerializedSize() { 13536 int size = memoizedSize; 10323 13537 if (size != -1) return size; 10324 13538 10325 13539 size = 0; 10326 13540 if (((bitField0_ & 0x00000001) == 0x00000001)) { 13541 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 13542 } 13543 if (((bitField0_ & 0x00000002) == 0x00000002)) { 10327 13544 size += com.google.protobuf.CodedOutputStream 10328 .compute BytesSize(1, getNameBytes());10329 } 10330 size += getUnknownFields().getSerializedSize();10331 memoizedS erializedSize = size;13545 .computeMessageSize(2, getOptions()); 13546 } 13547 size += unknownFields.getSerializedSize(); 13548 memoizedSize = size; 10332 13549 return size; 10333 13550 } 10334 13551 10335 private static final long serialVersionUID = 0L;10336 13552 @java.lang.Override 10337 protected java.lang.Object writeReplace() 10338 throws java.io.ObjectStreamException { 10339 return super.writeReplace(); 10340 } 10341 13553 public boolean equals(final java.lang.Object obj) { 13554 if (obj == this) { 13555 return true; 13556 } 13557 if (!(obj instanceof com.google.protobuf.DescriptorProtos.OneofDescriptorProto)) { 13558 return super.equals(obj); 13559 } 13560 com.google.protobuf.DescriptorProtos.OneofDescriptorProto other = (com.google.protobuf.DescriptorProtos.OneofDescriptorProto) obj; 13561 13562 boolean result = true; 13563 result = result && (hasName() == other.hasName()); 13564 if (hasName()) { 13565 result = result && getName() 13566 .equals(other.getName()); 13567 } 13568 result = result && (hasOptions() == other.hasOptions()); 13569 if (hasOptions()) { 13570 result = result && getOptions() 13571 .equals(other.getOptions()); 13572 } 13573 result = result && unknownFields.equals(other.unknownFields); 13574 return result; 13575 } 13576 13577 @java.lang.Override 13578 public int hashCode() { 13579 if (memoizedHashCode != 0) { 13580 return memoizedHashCode; 13581 } 13582 int hash = 41; 13583 hash = (19 * hash) + getDescriptor().hashCode(); 13584 if (hasName()) { 13585 hash = (37 * hash) + NAME_FIELD_NUMBER; 13586 hash = (53 * hash) + getName().hashCode(); 13587 } 13588 if (hasOptions()) { 13589 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 13590 hash = (53 * hash) + getOptions().hashCode(); 13591 } 13592 hash = (29 * hash) + unknownFields.hashCode(); 13593 memoizedHashCode = hash; 13594 return hash; 13595 } 13596 13597 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 13598 java.nio.ByteBuffer data) 13599 throws com.google.protobuf.InvalidProtocolBufferException { 13600 return PARSER.parseFrom(data); 13601 } 13602 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 13603 java.nio.ByteBuffer data, 13604 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13605 throws com.google.protobuf.InvalidProtocolBufferException { 13606 return PARSER.parseFrom(data, extensionRegistry); 13607 } 10342 13608 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10343 13609 com.google.protobuf.ByteString data) … … 10363 13629 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input) 10364 13630 throws java.io.IOException { 10365 return PARSER.parseFrom(input); 13631 return com.google.protobuf.GeneratedMessageV3 13632 .parseWithIOException(PARSER, input); 10366 13633 } 10367 13634 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( … … 10369 13636 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10370 13637 throws java.io.IOException { 10371 return PARSER.parseFrom(input, extensionRegistry); 13638 return com.google.protobuf.GeneratedMessageV3 13639 .parseWithIOException(PARSER, input, extensionRegistry); 10372 13640 } 10373 13641 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input) 10374 13642 throws java.io.IOException { 10375 return PARSER.parseDelimitedFrom(input); 13643 return com.google.protobuf.GeneratedMessageV3 13644 .parseDelimitedWithIOException(PARSER, input); 10376 13645 } 10377 13646 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom( … … 10379 13648 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10380 13649 throws java.io.IOException { 10381 return PARSER.parseDelimitedFrom(input, extensionRegistry); 13650 return com.google.protobuf.GeneratedMessageV3 13651 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 10382 13652 } 10383 13653 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( 10384 13654 com.google.protobuf.CodedInputStream input) 10385 13655 throws java.io.IOException { 10386 return PARSER.parseFrom(input); 13656 return com.google.protobuf.GeneratedMessageV3 13657 .parseWithIOException(PARSER, input); 10387 13658 } 10388 13659 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom( … … 10390 13661 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10391 13662 throws java.io.IOException { 10392 return PARSER.parseFrom(input, extensionRegistry); 10393 } 10394 10395 public static Builder newBuilder() { return Builder.create(); } 10396 @Override 10397 public Builder newBuilderForType() { return newBuilder(); } 13663 return com.google.protobuf.GeneratedMessageV3 13664 .parseWithIOException(PARSER, input, extensionRegistry); 13665 } 13666 13667 public Builder newBuilderForType() { return newBuilder(); } 13668 public static Builder newBuilder() { 13669 return DEFAULT_INSTANCE.toBuilder(); 13670 } 10398 13671 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.OneofDescriptorProto prototype) { 10399 return newBuilder().mergeFrom(prototype); 10400 } 10401 @Override 10402 public Builder toBuilder() { return newBuilder(this); } 13672 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 13673 } 13674 public Builder toBuilder() { 13675 return this == DEFAULT_INSTANCE 13676 ? new Builder() : new Builder().mergeFrom(this); 13677 } 10403 13678 10404 13679 @java.lang.Override 10405 13680 protected Builder newBuilderForType( 10406 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 13681 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10407 13682 Builder builder = new Builder(parent); 10408 13683 return builder; 10409 13684 } 10410 13685 /** 10411 * Protobuf type {@code google.protobuf.OneofDescriptorProto}10412 *10413 13686 * <pre> 10414 13687 * Describes a oneof. 10415 13688 * </pre> 13689 * 13690 * Protobuf type {@code google.protobuf.OneofDescriptorProto} 10416 13691 */ 10417 13692 public static final class Builder extends 10418 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 13693 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 10419 13694 // @@protoc_insertion_point(builder_implements:google.protobuf.OneofDescriptorProto) 10420 13695 com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder { … … 10424 13699 } 10425 13700 10426 @Override 10427 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 13701 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10428 13702 internalGetFieldAccessorTable() { 10429 13703 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable … … 10438 13712 10439 13713 private Builder( 10440 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 13714 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10441 13715 super(parent); 10442 13716 maybeForceBuilderInitialization(); 10443 13717 } 10444 13718 private void maybeForceBuilderInitialization() { 10445 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 10446 } 10447 } 10448 private static Builder create() { 10449 return new Builder(); 10450 } 10451 10452 @Override 10453 public Builder clear() { 13719 if (com.google.protobuf.GeneratedMessageV3 13720 .alwaysUseFieldBuilders) { 13721 getOptionsFieldBuilder(); 13722 } 13723 } 13724 public Builder clear() { 10454 13725 super.clear(); 10455 13726 name_ = ""; 10456 13727 bitField0_ = (bitField0_ & ~0x00000001); 10457 return this;10458 }10459 10460 @Override10461 public Builder clone() { 10462 return create().mergeFrom(buildPartial());10463 }10464 10465 @Override 10466 13728 if (optionsBuilder_ == null) { 13729 options_ = null; 13730 } else { 13731 optionsBuilder_.clear(); 13732 } 13733 bitField0_ = (bitField0_ & ~0x00000002); 13734 return this; 13735 } 13736 13737 public com.google.protobuf.Descriptors.Descriptor 10467 13738 getDescriptorForType() { 10468 13739 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofDescriptorProto_descriptor; 10469 13740 } 10470 13741 10471 @Override 10472 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() { 13742 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() { 10473 13743 return com.google.protobuf.DescriptorProtos.OneofDescriptorProto.getDefaultInstance(); 10474 13744 } 10475 13745 10476 @Override 10477 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto build() { 13746 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto build() { 10478 13747 com.google.protobuf.DescriptorProtos.OneofDescriptorProto result = buildPartial(); 10479 13748 if (!result.isInitialized()) { … … 10483 13752 } 10484 13753 10485 @Override 10486 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto buildPartial() { 13754 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto buildPartial() { 10487 13755 com.google.protobuf.DescriptorProtos.OneofDescriptorProto result = new com.google.protobuf.DescriptorProtos.OneofDescriptorProto(this); 10488 13756 int from_bitField0_ = bitField0_; … … 10492 13760 } 10493 13761 result.name_ = name_; 13762 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 13763 to_bitField0_ |= 0x00000002; 13764 } 13765 if (optionsBuilder_ == null) { 13766 result.options_ = options_; 13767 } else { 13768 result.options_ = optionsBuilder_.build(); 13769 } 10494 13770 result.bitField0_ = to_bitField0_; 10495 13771 onBuilt(); … … 10497 13773 } 10498 13774 10499 @Override 10500 public Builder mergeFrom(com.google.protobuf.Message other) { 13775 public Builder clone() { 13776 return (Builder) super.clone(); 13777 } 13778 public Builder setField( 13779 com.google.protobuf.Descriptors.FieldDescriptor field, 13780 java.lang.Object value) { 13781 return (Builder) super.setField(field, value); 13782 } 13783 public Builder clearField( 13784 com.google.protobuf.Descriptors.FieldDescriptor field) { 13785 return (Builder) super.clearField(field); 13786 } 13787 public Builder clearOneof( 13788 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 13789 return (Builder) super.clearOneof(oneof); 13790 } 13791 public Builder setRepeatedField( 13792 com.google.protobuf.Descriptors.FieldDescriptor field, 13793 int index, java.lang.Object value) { 13794 return (Builder) super.setRepeatedField(field, index, value); 13795 } 13796 public Builder addRepeatedField( 13797 com.google.protobuf.Descriptors.FieldDescriptor field, 13798 java.lang.Object value) { 13799 return (Builder) super.addRepeatedField(field, value); 13800 } 13801 public Builder mergeFrom(com.google.protobuf.Message other) { 10501 13802 if (other instanceof com.google.protobuf.DescriptorProtos.OneofDescriptorProto) { 10502 13803 return mergeFrom((com.google.protobuf.DescriptorProtos.OneofDescriptorProto)other); … … 10514 13815 onChanged(); 10515 13816 } 10516 this.mergeUnknownFields(other.getUnknownFields()); 10517 return this; 10518 } 10519 10520 @Override 10521 public final boolean isInitialized() { 13817 if (other.hasOptions()) { 13818 mergeOptions(other.getOptions()); 13819 } 13820 this.mergeUnknownFields(other.unknownFields); 13821 onChanged(); 13822 return this; 13823 } 13824 13825 public final boolean isInitialized() { 13826 if (hasOptions()) { 13827 if (!getOptions().isInitialized()) { 13828 return false; 13829 } 13830 } 10522 13831 return true; 10523 13832 } 10524 13833 10525 @Override 10526 public Builder mergeFrom( 13834 public Builder mergeFrom( 10527 13835 com.google.protobuf.CodedInputStream input, 10528 13836 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 10533 13841 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10534 13842 parsedMessage = (com.google.protobuf.DescriptorProtos.OneofDescriptorProto) e.getUnfinishedMessage(); 10535 throw e; 13843 throw e.unwrapIOException(); 10536 13844 } finally { 10537 13845 if (parsedMessage != null) { … … 10547 13855 * <code>optional string name = 1;</code> 10548 13856 */ 10549 @Override 10550 public boolean hasName() { 13857 public boolean hasName() { 10551 13858 return ((bitField0_ & 0x00000001) == 0x00000001); 10552 13859 } … … 10554 13861 * <code>optional string name = 1;</code> 10555 13862 */ 10556 @Override 10557 public java.lang.String getName() { 13863 public java.lang.String getName() { 10558 13864 java.lang.Object ref = name_; 10559 13865 if (!(ref instanceof java.lang.String)) { … … 10572 13878 * <code>optional string name = 1;</code> 10573 13879 */ 10574 @Override 10575 public com.google.protobuf.ByteString 13880 public com.google.protobuf.ByteString 10576 13881 getNameBytes() { 10577 13882 java.lang.Object ref = name_; 10578 13883 if (ref instanceof String) { 10579 com.google.protobuf.ByteString b = 13884 com.google.protobuf.ByteString b = 10580 13885 com.google.protobuf.ByteString.copyFromUtf8( 10581 13886 (java.lang.String) ref); … … 10622 13927 } 10623 13928 13929 private com.google.protobuf.DescriptorProtos.OneofOptions options_ = null; 13930 private com.google.protobuf.SingleFieldBuilderV3< 13931 com.google.protobuf.DescriptorProtos.OneofOptions, com.google.protobuf.DescriptorProtos.OneofOptions.Builder, com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder> optionsBuilder_; 13932 /** 13933 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13934 */ 13935 public boolean hasOptions() { 13936 return ((bitField0_ & 0x00000002) == 0x00000002); 13937 } 13938 /** 13939 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13940 */ 13941 public com.google.protobuf.DescriptorProtos.OneofOptions getOptions() { 13942 if (optionsBuilder_ == null) { 13943 return options_ == null ? com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_; 13944 } else { 13945 return optionsBuilder_.getMessage(); 13946 } 13947 } 13948 /** 13949 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13950 */ 13951 public Builder setOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) { 13952 if (optionsBuilder_ == null) { 13953 if (value == null) { 13954 throw new NullPointerException(); 13955 } 13956 options_ = value; 13957 onChanged(); 13958 } else { 13959 optionsBuilder_.setMessage(value); 13960 } 13961 bitField0_ |= 0x00000002; 13962 return this; 13963 } 13964 /** 13965 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13966 */ 13967 public Builder setOptions( 13968 com.google.protobuf.DescriptorProtos.OneofOptions.Builder builderForValue) { 13969 if (optionsBuilder_ == null) { 13970 options_ = builderForValue.build(); 13971 onChanged(); 13972 } else { 13973 optionsBuilder_.setMessage(builderForValue.build()); 13974 } 13975 bitField0_ |= 0x00000002; 13976 return this; 13977 } 13978 /** 13979 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 13980 */ 13981 public Builder mergeOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) { 13982 if (optionsBuilder_ == null) { 13983 if (((bitField0_ & 0x00000002) == 0x00000002) && 13984 options_ != null && 13985 options_ != com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance()) { 13986 options_ = 13987 com.google.protobuf.DescriptorProtos.OneofOptions.newBuilder(options_).mergeFrom(value).buildPartial(); 13988 } else { 13989 options_ = value; 13990 } 13991 onChanged(); 13992 } else { 13993 optionsBuilder_.mergeFrom(value); 13994 } 13995 bitField0_ |= 0x00000002; 13996 return this; 13997 } 13998 /** 13999 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 14000 */ 14001 public Builder clearOptions() { 14002 if (optionsBuilder_ == null) { 14003 options_ = null; 14004 onChanged(); 14005 } else { 14006 optionsBuilder_.clear(); 14007 } 14008 bitField0_ = (bitField0_ & ~0x00000002); 14009 return this; 14010 } 14011 /** 14012 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 14013 */ 14014 public com.google.protobuf.DescriptorProtos.OneofOptions.Builder getOptionsBuilder() { 14015 bitField0_ |= 0x00000002; 14016 onChanged(); 14017 return getOptionsFieldBuilder().getBuilder(); 14018 } 14019 /** 14020 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 14021 */ 14022 public com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder() { 14023 if (optionsBuilder_ != null) { 14024 return optionsBuilder_.getMessageOrBuilder(); 14025 } else { 14026 return options_ == null ? 14027 com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_; 14028 } 14029 } 14030 /** 14031 * <code>optional .google.protobuf.OneofOptions options = 2;</code> 14032 */ 14033 private com.google.protobuf.SingleFieldBuilderV3< 14034 com.google.protobuf.DescriptorProtos.OneofOptions, com.google.protobuf.DescriptorProtos.OneofOptions.Builder, com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder> 14035 getOptionsFieldBuilder() { 14036 if (optionsBuilder_ == null) { 14037 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 14038 com.google.protobuf.DescriptorProtos.OneofOptions, com.google.protobuf.DescriptorProtos.OneofOptions.Builder, com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder>( 14039 getOptions(), 14040 getParentForChildren(), 14041 isClean()); 14042 options_ = null; 14043 } 14044 return optionsBuilder_; 14045 } 14046 public final Builder setUnknownFields( 14047 final com.google.protobuf.UnknownFieldSet unknownFields) { 14048 return super.setUnknownFields(unknownFields); 14049 } 14050 14051 public final Builder mergeUnknownFields( 14052 final com.google.protobuf.UnknownFieldSet unknownFields) { 14053 return super.mergeUnknownFields(unknownFields); 14054 } 14055 14056 10624 14057 // @@protoc_insertion_point(builder_scope:google.protobuf.OneofDescriptorProto) 10625 14058 } 10626 14059 14060 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 14061 private static final com.google.protobuf.DescriptorProtos.OneofDescriptorProto DEFAULT_INSTANCE; 10627 14062 static { 10628 defaultInstance = new OneofDescriptorProto(true); 10629 defaultInstance.initFields(); 10630 } 10631 10632 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 14063 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.OneofDescriptorProto(); 14064 } 14065 14066 public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstance() { 14067 return DEFAULT_INSTANCE; 14068 } 14069 14070 @java.lang.Deprecated public static final com.google.protobuf.Parser<OneofDescriptorProto> 14071 PARSER = new com.google.protobuf.AbstractParser<OneofDescriptorProto>() { 14072 public OneofDescriptorProto parsePartialFrom( 14073 com.google.protobuf.CodedInputStream input, 14074 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14075 throws com.google.protobuf.InvalidProtocolBufferException { 14076 return new OneofDescriptorProto(input, extensionRegistry); 14077 } 14078 }; 14079 14080 public static com.google.protobuf.Parser<OneofDescriptorProto> parser() { 14081 return PARSER; 14082 } 14083 14084 @java.lang.Override 14085 public com.google.protobuf.Parser<OneofDescriptorProto> getParserForType() { 14086 return PARSER; 14087 } 14088 14089 public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstanceForType() { 14090 return DEFAULT_INSTANCE; 14091 } 14092 10633 14093 } 10634 14094 … … 10654 14114 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10655 14115 */ 10656 java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> 14116 java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> 10657 14117 getValueList(); 10658 14118 /** … … 10667 14127 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10668 14128 */ 10669 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 14129 java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 10670 14130 getValueOrBuilderList(); 10671 14131 /** … … 10689 14149 } 10690 14150 /** 10691 * Protobuf type {@code google.protobuf.EnumDescriptorProto}10692 *10693 14151 * <pre> 10694 14152 * Describes an enum type. 10695 14153 * </pre> 14154 * 14155 * Protobuf type {@code google.protobuf.EnumDescriptorProto} 10696 14156 */ 10697 public static final class EnumDescriptorProto extends 10698 com.google.protobuf.GeneratedMessage implements 14157 public static final class EnumDescriptorProto extends 14158 com.google.protobuf.GeneratedMessageV3 implements 10699 14159 // @@protoc_insertion_point(message_implements:google.protobuf.EnumDescriptorProto) 10700 14160 EnumDescriptorProtoOrBuilder { 14161 private static final long serialVersionUID = 0L; 10701 14162 // Use EnumDescriptorProto.newBuilder() to construct. 10702 private EnumDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 14163 private EnumDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 10703 14164 super(builder); 10704 this.unknownFields = builder.getUnknownFields(); 10705 } 10706 private EnumDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 10707 10708 private static final EnumDescriptorProto defaultInstance; 10709 public static EnumDescriptorProto getDefaultInstance() { 10710 return defaultInstance; 10711 } 10712 10713 @Override 10714 public EnumDescriptorProto getDefaultInstanceForType() { 10715 return defaultInstance; 10716 } 10717 10718 private final com.google.protobuf.UnknownFieldSet unknownFields; 14165 } 14166 private EnumDescriptorProto() { 14167 name_ = ""; 14168 value_ = java.util.Collections.emptyList(); 14169 } 14170 10719 14171 @java.lang.Override 10720 14172 public final com.google.protobuf.UnknownFieldSet 10721 14173 getUnknownFields() { 10722 14174 return this.unknownFields; 10723 14175 } … … 10726 14178 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10727 14179 throws com.google.protobuf.InvalidProtocolBufferException { 10728 initFields();14180 this(); 10729 14181 int mutable_bitField0_ = 0; 10730 14182 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 10739 14191 break; 10740 14192 default: { 10741 if (!parseUnknownField( input, unknownFields,10742 14193 if (!parseUnknownField( 14194 input, unknownFields, extensionRegistry, tag)) { 10743 14195 done = true; 10744 14196 } … … 10753 14205 case 18: { 10754 14206 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 10755 value_ = new java.util.ArrayList<>(); 14207 value_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto>(); 10756 14208 mutable_bitField0_ |= 0x00000002; 10757 14209 } 10758 value_.add(input.readMessage(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.PARSER, extensionRegistry)); 14210 value_.add( 14211 input.readMessage(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.PARSER, extensionRegistry)); 10759 14212 break; 10760 14213 } … … 10778 14231 } catch (java.io.IOException e) { 10779 14232 throw new com.google.protobuf.InvalidProtocolBufferException( 10780 e .getMessage()).setUnfinishedMessage(this);14233 e).setUnfinishedMessage(this); 10781 14234 } finally { 10782 14235 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { … … 10792 14245 } 10793 14246 10794 @Override 10795 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 14247 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10796 14248 internalGetFieldAccessorTable() { 10797 14249 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable … … 10800 14252 } 10801 14253 10802 public static com.google.protobuf.Parser<EnumDescriptorProto> PARSER =10803 new com.google.protobuf.AbstractParser<EnumDescriptorProto>() {10804 @Override10805 public EnumDescriptorProto parsePartialFrom(10806 com.google.protobuf.CodedInputStream input,10807 com.google.protobuf.ExtensionRegistryLite extensionRegistry)10808 throws com.google.protobuf.InvalidProtocolBufferException {10809 return new EnumDescriptorProto(input, extensionRegistry);10810 }10811 };10812 10813 @java.lang.Override10814 public com.google.protobuf.Parser<EnumDescriptorProto> getParserForType() {10815 return PARSER;10816 }10817 10818 14254 private int bitField0_; 10819 14255 public static final int NAME_FIELD_NUMBER = 1; 10820 private java.lang.Object name_; 14256 private volatile java.lang.Object name_; 10821 14257 /** 10822 14258 * <code>optional string name = 1;</code> 10823 14259 */ 10824 @Override 10825 public boolean hasName() { 14260 public boolean hasName() { 10826 14261 return ((bitField0_ & 0x00000001) == 0x00000001); 10827 14262 } … … 10829 14264 * <code>optional string name = 1;</code> 10830 14265 */ 10831 @Override 10832 public java.lang.String getName() { 14266 public java.lang.String getName() { 10833 14267 java.lang.Object ref = name_; 10834 14268 if (ref instanceof java.lang.String) { 10835 14269 return (java.lang.String) ref; 10836 14270 } else { 10837 com.google.protobuf.ByteString bs = 14271 com.google.protobuf.ByteString bs = 10838 14272 (com.google.protobuf.ByteString) ref; 10839 14273 java.lang.String s = bs.toStringUtf8(); … … 10847 14281 * <code>optional string name = 1;</code> 10848 14282 */ 10849 @Override 10850 public com.google.protobuf.ByteString 14283 public com.google.protobuf.ByteString 10851 14284 getNameBytes() { 10852 14285 java.lang.Object ref = name_; 10853 14286 if (ref instanceof java.lang.String) { 10854 com.google.protobuf.ByteString b = 14287 com.google.protobuf.ByteString b = 10855 14288 com.google.protobuf.ByteString.copyFromUtf8( 10856 14289 (java.lang.String) ref); … … 10867 14300 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10868 14301 */ 10869 @Override 10870 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() { 14302 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() { 10871 14303 return value_; 10872 14304 } … … 10874 14306 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10875 14307 */ 10876 @Override 10877 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 14308 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 10878 14309 getValueOrBuilderList() { 10879 14310 return value_; … … 10882 14313 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10883 14314 */ 10884 @Override 10885 public int getValueCount() { 14315 public int getValueCount() { 10886 14316 return value_.size(); 10887 14317 } … … 10889 14319 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10890 14320 */ 10891 @Override 10892 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) { 14321 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) { 10893 14322 return value_.get(index); 10894 14323 } … … 10896 14325 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 10897 14326 */ 10898 @Override 10899 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder( 14327 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder( 10900 14328 int index) { 10901 14329 return value_.get(index); … … 10907 14335 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 10908 14336 */ 10909 @Override 10910 public boolean hasOptions() { 14337 public boolean hasOptions() { 10911 14338 return ((bitField0_ & 0x00000002) == 0x00000002); 10912 14339 } … … 10914 14341 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 10915 14342 */ 10916 @Override 10917 public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() { 10918 return options_; 14343 public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() { 14344 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_; 10919 14345 } 10920 14346 /** 10921 14347 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 10922 14348 */ 10923 @Override 10924 public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() { 10925 return options_; 10926 } 10927 10928 private void initFields() { 10929 name_ = ""; 10930 value_ = java.util.Collections.emptyList(); 10931 options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance(); 10932 } 14349 public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() { 14350 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_; 14351 } 14352 10933 14353 private byte memoizedIsInitialized = -1; 10934 @Override 10935 public final boolean isInitialized() { 14354 public final boolean isInitialized() { 10936 14355 byte isInitialized = memoizedIsInitialized; 10937 14356 if (isInitialized == 1) return true; … … 10954 14373 } 10955 14374 10956 @Override 10957 public void writeTo(com.google.protobuf.CodedOutputStream output) 14375 public void writeTo(com.google.protobuf.CodedOutputStream output) 10958 14376 throws java.io.IOException { 10959 getSerializedSize();10960 14377 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10961 output.writeBytes(1, getNameBytes());14378 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 10962 14379 } 10963 14380 for (int i = 0; i < value_.size(); i++) { … … 10965 14382 } 10966 14383 if (((bitField0_ & 0x00000002) == 0x00000002)) { 10967 output.writeMessage(3, options_); 10968 } 10969 getUnknownFields().writeTo(output); 10970 } 10971 10972 private int memoizedSerializedSize = -1; 10973 @Override 10974 public int getSerializedSize() { 10975 int size = memoizedSerializedSize; 14384 output.writeMessage(3, getOptions()); 14385 } 14386 unknownFields.writeTo(output); 14387 } 14388 14389 public int getSerializedSize() { 14390 int size = memoizedSize; 10976 14391 if (size != -1) return size; 10977 14392 10978 14393 size = 0; 10979 14394 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10980 size += com.google.protobuf.CodedOutputStream 10981 .computeBytesSize(1, getNameBytes()); 14395 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 10982 14396 } 10983 14397 for (int i = 0; i < value_.size(); i++) { … … 10987 14401 if (((bitField0_ & 0x00000002) == 0x00000002)) { 10988 14402 size += com.google.protobuf.CodedOutputStream 10989 .computeMessageSize(3, options_);10990 } 10991 size += getUnknownFields().getSerializedSize();10992 memoizedS erializedSize = size;14403 .computeMessageSize(3, getOptions()); 14404 } 14405 size += unknownFields.getSerializedSize(); 14406 memoizedSize = size; 10993 14407 return size; 10994 14408 } 10995 14409 10996 private static final long serialVersionUID = 0L;10997 14410 @java.lang.Override 10998 protected java.lang.Object writeReplace() 10999 throws java.io.ObjectStreamException { 11000 return super.writeReplace(); 11001 } 11002 14411 public boolean equals(final java.lang.Object obj) { 14412 if (obj == this) { 14413 return true; 14414 } 14415 if (!(obj instanceof com.google.protobuf.DescriptorProtos.EnumDescriptorProto)) { 14416 return super.equals(obj); 14417 } 14418 com.google.protobuf.DescriptorProtos.EnumDescriptorProto other = (com.google.protobuf.DescriptorProtos.EnumDescriptorProto) obj; 14419 14420 boolean result = true; 14421 result = result && (hasName() == other.hasName()); 14422 if (hasName()) { 14423 result = result && getName() 14424 .equals(other.getName()); 14425 } 14426 result = result && getValueList() 14427 .equals(other.getValueList()); 14428 result = result && (hasOptions() == other.hasOptions()); 14429 if (hasOptions()) { 14430 result = result && getOptions() 14431 .equals(other.getOptions()); 14432 } 14433 result = result && unknownFields.equals(other.unknownFields); 14434 return result; 14435 } 14436 14437 @java.lang.Override 14438 public int hashCode() { 14439 if (memoizedHashCode != 0) { 14440 return memoizedHashCode; 14441 } 14442 int hash = 41; 14443 hash = (19 * hash) + getDescriptor().hashCode(); 14444 if (hasName()) { 14445 hash = (37 * hash) + NAME_FIELD_NUMBER; 14446 hash = (53 * hash) + getName().hashCode(); 14447 } 14448 if (getValueCount() > 0) { 14449 hash = (37 * hash) + VALUE_FIELD_NUMBER; 14450 hash = (53 * hash) + getValueList().hashCode(); 14451 } 14452 if (hasOptions()) { 14453 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 14454 hash = (53 * hash) + getOptions().hashCode(); 14455 } 14456 hash = (29 * hash) + unknownFields.hashCode(); 14457 memoizedHashCode = hash; 14458 return hash; 14459 } 14460 14461 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( 14462 java.nio.ByteBuffer data) 14463 throws com.google.protobuf.InvalidProtocolBufferException { 14464 return PARSER.parseFrom(data); 14465 } 14466 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( 14467 java.nio.ByteBuffer data, 14468 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14469 throws com.google.protobuf.InvalidProtocolBufferException { 14470 return PARSER.parseFrom(data, extensionRegistry); 14471 } 11003 14472 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( 11004 14473 com.google.protobuf.ByteString data) … … 11024 14493 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(java.io.InputStream input) 11025 14494 throws java.io.IOException { 11026 return PARSER.parseFrom(input); 14495 return com.google.protobuf.GeneratedMessageV3 14496 .parseWithIOException(PARSER, input); 11027 14497 } 11028 14498 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( … … 11030 14500 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11031 14501 throws java.io.IOException { 11032 return PARSER.parseFrom(input, extensionRegistry); 14502 return com.google.protobuf.GeneratedMessageV3 14503 .parseWithIOException(PARSER, input, extensionRegistry); 11033 14504 } 11034 14505 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(java.io.InputStream input) 11035 14506 throws java.io.IOException { 11036 return PARSER.parseDelimitedFrom(input); 14507 return com.google.protobuf.GeneratedMessageV3 14508 .parseDelimitedWithIOException(PARSER, input); 11037 14509 } 11038 14510 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom( … … 11040 14512 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11041 14513 throws java.io.IOException { 11042 return PARSER.parseDelimitedFrom(input, extensionRegistry); 14514 return com.google.protobuf.GeneratedMessageV3 14515 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 11043 14516 } 11044 14517 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( 11045 14518 com.google.protobuf.CodedInputStream input) 11046 14519 throws java.io.IOException { 11047 return PARSER.parseFrom(input); 14520 return com.google.protobuf.GeneratedMessageV3 14521 .parseWithIOException(PARSER, input); 11048 14522 } 11049 14523 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom( … … 11051 14525 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11052 14526 throws java.io.IOException { 11053 return PARSER.parseFrom(input, extensionRegistry); 11054 } 11055 11056 public static Builder newBuilder() { return Builder.create(); } 11057 @Override 11058 public Builder newBuilderForType() { return newBuilder(); } 14527 return com.google.protobuf.GeneratedMessageV3 14528 .parseWithIOException(PARSER, input, extensionRegistry); 14529 } 14530 14531 public Builder newBuilderForType() { return newBuilder(); } 14532 public static Builder newBuilder() { 14533 return DEFAULT_INSTANCE.toBuilder(); 14534 } 11059 14535 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumDescriptorProto prototype) { 11060 return newBuilder().mergeFrom(prototype); 11061 } 11062 @Override 11063 public Builder toBuilder() { return newBuilder(this); } 14536 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 14537 } 14538 public Builder toBuilder() { 14539 return this == DEFAULT_INSTANCE 14540 ? new Builder() : new Builder().mergeFrom(this); 14541 } 11064 14542 11065 14543 @java.lang.Override 11066 14544 protected Builder newBuilderForType( 11067 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 14545 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11068 14546 Builder builder = new Builder(parent); 11069 14547 return builder; 11070 14548 } 11071 14549 /** 11072 * Protobuf type {@code google.protobuf.EnumDescriptorProto}11073 *11074 14550 * <pre> 11075 14551 * Describes an enum type. 11076 14552 * </pre> 14553 * 14554 * Protobuf type {@code google.protobuf.EnumDescriptorProto} 11077 14555 */ 11078 14556 public static final class Builder extends 11079 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 14557 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 11080 14558 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumDescriptorProto) 11081 14559 com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder { … … 11085 14563 } 11086 14564 11087 @Override 11088 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 14565 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 11089 14566 internalGetFieldAccessorTable() { 11090 14567 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable … … 11099 14576 11100 14577 private Builder( 11101 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 14578 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11102 14579 super(parent); 11103 14580 maybeForceBuilderInitialization(); 11104 14581 } 11105 14582 private void maybeForceBuilderInitialization() { 11106 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 14583 if (com.google.protobuf.GeneratedMessageV3 14584 .alwaysUseFieldBuilders) { 11107 14585 getValueFieldBuilder(); 11108 14586 getOptionsFieldBuilder(); 11109 14587 } 11110 14588 } 11111 private static Builder create() { 11112 return new Builder(); 11113 } 11114 11115 @Override 11116 public Builder clear() { 14589 public Builder clear() { 11117 14590 super.clear(); 11118 14591 name_ = ""; … … 11125 14598 } 11126 14599 if (optionsBuilder_ == null) { 11127 options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();14600 options_ = null; 11128 14601 } else { 11129 14602 optionsBuilder_.clear(); … … 11133 14606 } 11134 14607 11135 @Override 11136 public Builder clone() { 11137 return create().mergeFrom(buildPartial()); 11138 } 11139 11140 @Override 11141 public com.google.protobuf.Descriptors.Descriptor 14608 public com.google.protobuf.Descriptors.Descriptor 11142 14609 getDescriptorForType() { 11143 14610 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor; 11144 14611 } 11145 14612 11146 @Override 11147 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() { 14613 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() { 11148 14614 return com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance(); 11149 14615 } 11150 14616 11151 @Override 11152 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto build() { 14617 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto build() { 11153 14618 com.google.protobuf.DescriptorProtos.EnumDescriptorProto result = buildPartial(); 11154 14619 if (!result.isInitialized()) { … … 11158 14623 } 11159 14624 11160 @Override 11161 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto buildPartial() { 14625 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto buildPartial() { 11162 14626 com.google.protobuf.DescriptorProtos.EnumDescriptorProto result = new com.google.protobuf.DescriptorProtos.EnumDescriptorProto(this); 11163 14627 int from_bitField0_ = bitField0_; … … 11189 14653 } 11190 14654 11191 @Override 11192 public Builder mergeFrom(com.google.protobuf.Message other) { 14655 public Builder clone() { 14656 return (Builder) super.clone(); 14657 } 14658 public Builder setField( 14659 com.google.protobuf.Descriptors.FieldDescriptor field, 14660 java.lang.Object value) { 14661 return (Builder) super.setField(field, value); 14662 } 14663 public Builder clearField( 14664 com.google.protobuf.Descriptors.FieldDescriptor field) { 14665 return (Builder) super.clearField(field); 14666 } 14667 public Builder clearOneof( 14668 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 14669 return (Builder) super.clearOneof(oneof); 14670 } 14671 public Builder setRepeatedField( 14672 com.google.protobuf.Descriptors.FieldDescriptor field, 14673 int index, java.lang.Object value) { 14674 return (Builder) super.setRepeatedField(field, index, value); 14675 } 14676 public Builder addRepeatedField( 14677 com.google.protobuf.Descriptors.FieldDescriptor field, 14678 java.lang.Object value) { 14679 return (Builder) super.addRepeatedField(field, value); 14680 } 14681 public Builder mergeFrom(com.google.protobuf.Message other) { 11193 14682 if (other instanceof com.google.protobuf.DescriptorProtos.EnumDescriptorProto) { 11194 14683 return mergeFrom((com.google.protobuf.DescriptorProtos.EnumDescriptorProto)other); … … 11224 14713 value_ = other.value_; 11225 14714 bitField0_ = (bitField0_ & ~0x00000002); 11226 valueBuilder_ = 11227 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 14715 valueBuilder_ = 14716 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 11228 14717 getValueFieldBuilder() : null; 11229 14718 } else { … … 11235 14724 mergeOptions(other.getOptions()); 11236 14725 } 11237 this.mergeUnknownFields(other. getUnknownFields());11238 return this;11239 }11240 11241 @Override 11242 14726 this.mergeUnknownFields(other.unknownFields); 14727 onChanged(); 14728 return this; 14729 } 14730 14731 public final boolean isInitialized() { 11243 14732 for (int i = 0; i < getValueCount(); i++) { 11244 14733 if (!getValue(i).isInitialized()) { 11245 11246 14734 return false; 11247 14735 } … … 11249 14737 if (hasOptions()) { 11250 14738 if (!getOptions().isInitialized()) { 11251 11252 14739 return false; 11253 14740 } … … 11256 14743 } 11257 14744 11258 @Override 11259 public Builder mergeFrom( 14745 public Builder mergeFrom( 11260 14746 com.google.protobuf.CodedInputStream input, 11261 14747 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 11266 14752 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 11267 14753 parsedMessage = (com.google.protobuf.DescriptorProtos.EnumDescriptorProto) e.getUnfinishedMessage(); 11268 throw e; 14754 throw e.unwrapIOException(); 11269 14755 } finally { 11270 14756 if (parsedMessage != null) { … … 11280 14766 * <code>optional string name = 1;</code> 11281 14767 */ 11282 @Override 11283 public boolean hasName() { 14768 public boolean hasName() { 11284 14769 return ((bitField0_ & 0x00000001) == 0x00000001); 11285 14770 } … … 11287 14772 * <code>optional string name = 1;</code> 11288 14773 */ 11289 @Override 11290 public java.lang.String getName() { 14774 public java.lang.String getName() { 11291 14775 java.lang.Object ref = name_; 11292 14776 if (!(ref instanceof java.lang.String)) { … … 11305 14789 * <code>optional string name = 1;</code> 11306 14790 */ 11307 @Override 11308 public com.google.protobuf.ByteString 14791 public com.google.protobuf.ByteString 11309 14792 getNameBytes() { 11310 14793 java.lang.Object ref = name_; 11311 14794 if (ref instanceof String) { 11312 com.google.protobuf.ByteString b = 14795 com.google.protobuf.ByteString b = 11313 14796 com.google.protobuf.ByteString.copyFromUtf8( 11314 14797 (java.lang.String) ref); … … 11359 14842 private void ensureValueIsMutable() { 11360 14843 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 11361 value_ = new java.util.ArrayList<>(value_); 14844 value_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto>(value_); 11362 14845 bitField0_ |= 0x00000002; 11363 14846 } 11364 14847 } 11365 14848 11366 private com.google.protobuf.RepeatedFieldBuilder< 14849 private com.google.protobuf.RepeatedFieldBuilderV3< 11367 14850 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> valueBuilder_; 11368 14851 … … 11370 14853 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11371 14854 */ 11372 @Override 11373 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() { 14855 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() { 11374 14856 if (valueBuilder_ == null) { 11375 14857 return java.util.Collections.unmodifiableList(value_); … … 11381 14863 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11382 14864 */ 11383 @Override 11384 public int getValueCount() { 14865 public int getValueCount() { 11385 14866 if (valueBuilder_ == null) { 11386 14867 return value_.size(); … … 11392 14873 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11393 14874 */ 11394 @Override 11395 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) { 14875 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) { 11396 14876 if (valueBuilder_ == null) { 11397 14877 return value_.get(index); … … 11543 15023 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11544 15024 */ 11545 @Override 11546 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder( 15025 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder( 11547 15026 int index) { 11548 15027 if (valueBuilder_ == null) { … … 11554 15033 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11555 15034 */ 11556 @Override 11557 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 15035 public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 11558 15036 getValueOrBuilderList() { 11559 15037 if (valueBuilder_ != null) { … … 11581 15059 * <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code> 11582 15060 */ 11583 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder> 15061 public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder> 11584 15062 getValueBuilderList() { 11585 15063 return getValueFieldBuilder().getBuilderList(); 11586 15064 } 11587 private com.google.protobuf.RepeatedFieldBuilder< 11588 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 15065 private com.google.protobuf.RepeatedFieldBuilderV3< 15066 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> 11589 15067 getValueFieldBuilder() { 11590 15068 if (valueBuilder_ == null) { 11591 valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 15069 valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 15070 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>( 11592 15071 value_, 11593 15072 ((bitField0_ & 0x00000002) == 0x00000002), … … 11599 15078 } 11600 15079 11601 private com.google.protobuf.DescriptorProtos.EnumOptions options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();11602 private com.google.protobuf.SingleFieldBuilder< 15080 private com.google.protobuf.DescriptorProtos.EnumOptions options_ = null; 15081 private com.google.protobuf.SingleFieldBuilderV3< 11603 15082 com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder> optionsBuilder_; 11604 15083 /** 11605 15084 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 11606 15085 */ 11607 @Override 11608 public boolean hasOptions() { 15086 public boolean hasOptions() { 11609 15087 return ((bitField0_ & 0x00000004) == 0x00000004); 11610 15088 } … … 11612 15090 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 11613 15091 */ 11614 @Override 11615 public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() { 15092 public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() { 11616 15093 if (optionsBuilder_ == null) { 11617 return options_; 15094 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_; 11618 15095 } else { 11619 15096 return optionsBuilder_.getMessage(); … … 11656 15133 if (optionsBuilder_ == null) { 11657 15134 if (((bitField0_ & 0x00000004) == 0x00000004) && 15135 options_ != null && 11658 15136 options_ != com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) { 11659 15137 options_ = … … 11674 15152 public Builder clearOptions() { 11675 15153 if (optionsBuilder_ == null) { 11676 options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();15154 options_ = null; 11677 15155 onChanged(); 11678 15156 } else { … … 11693 15171 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 11694 15172 */ 11695 @Override 11696 public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() { 15173 public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() { 11697 15174 if (optionsBuilder_ != null) { 11698 15175 return optionsBuilder_.getMessageOrBuilder(); 11699 15176 } else { 11700 return options_; 15177 return options_ == null ? 15178 com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_; 11701 15179 } 11702 15180 } … … 11704 15182 * <code>optional .google.protobuf.EnumOptions options = 3;</code> 11705 15183 */ 11706 private com.google.protobuf.SingleFieldBuilder< 11707 com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder> 15184 private com.google.protobuf.SingleFieldBuilderV3< 15185 com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder> 11708 15186 getOptionsFieldBuilder() { 11709 15187 if (optionsBuilder_ == null) { 11710 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 15188 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 15189 com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>( 11711 15190 getOptions(), 11712 15191 getParentForChildren(), … … 11716 15195 return optionsBuilder_; 11717 15196 } 15197 public final Builder setUnknownFields( 15198 final com.google.protobuf.UnknownFieldSet unknownFields) { 15199 return super.setUnknownFields(unknownFields); 15200 } 15201 15202 public final Builder mergeUnknownFields( 15203 final com.google.protobuf.UnknownFieldSet unknownFields) { 15204 return super.mergeUnknownFields(unknownFields); 15205 } 15206 11718 15207 11719 15208 // @@protoc_insertion_point(builder_scope:google.protobuf.EnumDescriptorProto) 11720 15209 } 11721 15210 15211 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) 15212 private static final com.google.protobuf.DescriptorProtos.EnumDescriptorProto DEFAULT_INSTANCE; 11722 15213 static { 11723 defaultInstance = new EnumDescriptorProto(true); 11724 defaultInstance.initFields(); 11725 } 11726 11727 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) 15214 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.EnumDescriptorProto(); 15215 } 15216 15217 public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstance() { 15218 return DEFAULT_INSTANCE; 15219 } 15220 15221 @java.lang.Deprecated public static final com.google.protobuf.Parser<EnumDescriptorProto> 15222 PARSER = new com.google.protobuf.AbstractParser<EnumDescriptorProto>() { 15223 public EnumDescriptorProto parsePartialFrom( 15224 com.google.protobuf.CodedInputStream input, 15225 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15226 throws com.google.protobuf.InvalidProtocolBufferException { 15227 return new EnumDescriptorProto(input, extensionRegistry); 15228 } 15229 }; 15230 15231 public static com.google.protobuf.Parser<EnumDescriptorProto> parser() { 15232 return PARSER; 15233 } 15234 15235 @java.lang.Override 15236 public com.google.protobuf.Parser<EnumDescriptorProto> getParserForType() { 15237 return PARSER; 15238 } 15239 15240 public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() { 15241 return DEFAULT_INSTANCE; 15242 } 15243 11728 15244 } 11729 15245 … … 11769 15285 } 11770 15286 /** 11771 * Protobuf type {@code google.protobuf.EnumValueDescriptorProto}11772 *11773 15287 * <pre> 11774 15288 * Describes a value within an enum. 11775 15289 * </pre> 15290 * 15291 * Protobuf type {@code google.protobuf.EnumValueDescriptorProto} 11776 15292 */ 11777 public static final class EnumValueDescriptorProto extends 11778 com.google.protobuf.GeneratedMessage implements 15293 public static final class EnumValueDescriptorProto extends 15294 com.google.protobuf.GeneratedMessageV3 implements 11779 15295 // @@protoc_insertion_point(message_implements:google.protobuf.EnumValueDescriptorProto) 11780 15296 EnumValueDescriptorProtoOrBuilder { 15297 private static final long serialVersionUID = 0L; 11781 15298 // Use EnumValueDescriptorProto.newBuilder() to construct. 11782 private EnumValueDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 15299 private EnumValueDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 11783 15300 super(builder); 11784 this.unknownFields = builder.getUnknownFields(); 11785 } 11786 private EnumValueDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 11787 11788 private static final EnumValueDescriptorProto defaultInstance; 11789 public static EnumValueDescriptorProto getDefaultInstance() { 11790 return defaultInstance; 11791 } 11792 11793 @Override 11794 public EnumValueDescriptorProto getDefaultInstanceForType() { 11795 return defaultInstance; 11796 } 11797 11798 private final com.google.protobuf.UnknownFieldSet unknownFields; 15301 } 15302 private EnumValueDescriptorProto() { 15303 name_ = ""; 15304 number_ = 0; 15305 } 15306 11799 15307 @java.lang.Override 11800 15308 public final com.google.protobuf.UnknownFieldSet 11801 15309 getUnknownFields() { 11802 15310 return this.unknownFields; 11803 15311 } … … 11806 15314 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11807 15315 throws com.google.protobuf.InvalidProtocolBufferException { 11808 initFields();15316 this(); 11809 15317 int mutable_bitField0_ = 0; 11810 15318 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 11819 15327 break; 11820 15328 default: { 11821 if (!parseUnknownField( input, unknownFields,11822 15329 if (!parseUnknownField( 15330 input, unknownFields, extensionRegistry, tag)) { 11823 15331 done = true; 11824 15332 } … … 11855 15363 } catch (java.io.IOException e) { 11856 15364 throw new com.google.protobuf.InvalidProtocolBufferException( 11857 e .getMessage()).setUnfinishedMessage(this);15365 e).setUnfinishedMessage(this); 11858 15366 } finally { 11859 15367 this.unknownFields = unknownFields.build(); … … 11866 15374 } 11867 15375 11868 @Override 11869 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 15376 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 11870 15377 internalGetFieldAccessorTable() { 11871 15378 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable … … 11874 15381 } 11875 15382 11876 public static com.google.protobuf.Parser<EnumValueDescriptorProto> PARSER =11877 new com.google.protobuf.AbstractParser<EnumValueDescriptorProto>() {11878 @Override11879 public EnumValueDescriptorProto parsePartialFrom(11880 com.google.protobuf.CodedInputStream input,11881 com.google.protobuf.ExtensionRegistryLite extensionRegistry)11882 throws com.google.protobuf.InvalidProtocolBufferException {11883 return new EnumValueDescriptorProto(input, extensionRegistry);11884 }11885 };11886 11887 @java.lang.Override11888 public com.google.protobuf.Parser<EnumValueDescriptorProto> getParserForType() {11889 return PARSER;11890 }11891 11892 15383 private int bitField0_; 11893 15384 public static final int NAME_FIELD_NUMBER = 1; 11894 private java.lang.Object name_; 15385 private volatile java.lang.Object name_; 11895 15386 /** 11896 15387 * <code>optional string name = 1;</code> 11897 15388 */ 11898 @Override 11899 public boolean hasName() { 15389 public boolean hasName() { 11900 15390 return ((bitField0_ & 0x00000001) == 0x00000001); 11901 15391 } … … 11903 15393 * <code>optional string name = 1;</code> 11904 15394 */ 11905 @Override 11906 public java.lang.String getName() { 15395 public java.lang.String getName() { 11907 15396 java.lang.Object ref = name_; 11908 15397 if (ref instanceof java.lang.String) { 11909 15398 return (java.lang.String) ref; 11910 15399 } else { 11911 com.google.protobuf.ByteString bs = 15400 com.google.protobuf.ByteString bs = 11912 15401 (com.google.protobuf.ByteString) ref; 11913 15402 java.lang.String s = bs.toStringUtf8(); … … 11921 15410 * <code>optional string name = 1;</code> 11922 15411 */ 11923 @Override 11924 public com.google.protobuf.ByteString 15412 public com.google.protobuf.ByteString 11925 15413 getNameBytes() { 11926 15414 java.lang.Object ref = name_; 11927 15415 if (ref instanceof java.lang.String) { 11928 com.google.protobuf.ByteString b = 15416 com.google.protobuf.ByteString b = 11929 15417 com.google.protobuf.ByteString.copyFromUtf8( 11930 15418 (java.lang.String) ref); … … 11941 15429 * <code>optional int32 number = 2;</code> 11942 15430 */ 11943 @Override 11944 public boolean hasNumber() { 15431 public boolean hasNumber() { 11945 15432 return ((bitField0_ & 0x00000002) == 0x00000002); 11946 15433 } … … 11948 15435 * <code>optional int32 number = 2;</code> 11949 15436 */ 11950 @Override 11951 public int getNumber() { 15437 public int getNumber() { 11952 15438 return number_; 11953 15439 } … … 11958 15444 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 11959 15445 */ 11960 @Override 11961 public boolean hasOptions() { 15446 public boolean hasOptions() { 11962 15447 return ((bitField0_ & 0x00000004) == 0x00000004); 11963 15448 } … … 11965 15450 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 11966 15451 */ 11967 @Override 11968 public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() { 11969 return options_; 15452 public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() { 15453 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_; 11970 15454 } 11971 15455 /** 11972 15456 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 11973 15457 */ 11974 @Override 11975 public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() { 11976 return options_; 11977 } 11978 11979 private void initFields() { 11980 name_ = ""; 11981 number_ = 0; 11982 options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance(); 11983 } 15458 public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() { 15459 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_; 15460 } 15461 11984 15462 private byte memoizedIsInitialized = -1; 11985 @Override 11986 public final boolean isInitialized() { 15463 public final boolean isInitialized() { 11987 15464 byte isInitialized = memoizedIsInitialized; 11988 15465 if (isInitialized == 1) return true; … … 11999 15476 } 12000 15477 12001 @Override 12002 public void writeTo(com.google.protobuf.CodedOutputStream output) 15478 public void writeTo(com.google.protobuf.CodedOutputStream output) 12003 15479 throws java.io.IOException { 12004 getSerializedSize();12005 15480 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12006 output.writeBytes(1, getNameBytes());15481 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 12007 15482 } 12008 15483 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 12010 15485 } 12011 15486 if (((bitField0_ & 0x00000004) == 0x00000004)) { 12012 output.writeMessage(3, options_); 12013 } 12014 getUnknownFields().writeTo(output); 12015 } 12016 12017 private int memoizedSerializedSize = -1; 12018 @Override 12019 public int getSerializedSize() { 12020 int size = memoizedSerializedSize; 15487 output.writeMessage(3, getOptions()); 15488 } 15489 unknownFields.writeTo(output); 15490 } 15491 15492 public int getSerializedSize() { 15493 int size = memoizedSize; 12021 15494 if (size != -1) return size; 12022 15495 12023 15496 size = 0; 12024 15497 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12025 size += com.google.protobuf.CodedOutputStream 12026 .computeBytesSize(1, getNameBytes()); 15498 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 12027 15499 } 12028 15500 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 12032 15504 if (((bitField0_ & 0x00000004) == 0x00000004)) { 12033 15505 size += com.google.protobuf.CodedOutputStream 12034 .computeMessageSize(3, options_);12035 } 12036 size += getUnknownFields().getSerializedSize();12037 memoizedS erializedSize = size;15506 .computeMessageSize(3, getOptions()); 15507 } 15508 size += unknownFields.getSerializedSize(); 15509 memoizedSize = size; 12038 15510 return size; 12039 15511 } 12040 15512 12041 private static final long serialVersionUID = 0L;12042 15513 @java.lang.Override 12043 protected java.lang.Object writeReplace() 12044 throws java.io.ObjectStreamException { 12045 return super.writeReplace(); 12046 } 12047 15514 public boolean equals(final java.lang.Object obj) { 15515 if (obj == this) { 15516 return true; 15517 } 15518 if (!(obj instanceof com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto)) { 15519 return super.equals(obj); 15520 } 15521 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto other = (com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) obj; 15522 15523 boolean result = true; 15524 result = result && (hasName() == other.hasName()); 15525 if (hasName()) { 15526 result = result && getName() 15527 .equals(other.getName()); 15528 } 15529 result = result && (hasNumber() == other.hasNumber()); 15530 if (hasNumber()) { 15531 result = result && (getNumber() 15532 == other.getNumber()); 15533 } 15534 result = result && (hasOptions() == other.hasOptions()); 15535 if (hasOptions()) { 15536 result = result && getOptions() 15537 .equals(other.getOptions()); 15538 } 15539 result = result && unknownFields.equals(other.unknownFields); 15540 return result; 15541 } 15542 15543 @java.lang.Override 15544 public int hashCode() { 15545 if (memoizedHashCode != 0) { 15546 return memoizedHashCode; 15547 } 15548 int hash = 41; 15549 hash = (19 * hash) + getDescriptor().hashCode(); 15550 if (hasName()) { 15551 hash = (37 * hash) + NAME_FIELD_NUMBER; 15552 hash = (53 * hash) + getName().hashCode(); 15553 } 15554 if (hasNumber()) { 15555 hash = (37 * hash) + NUMBER_FIELD_NUMBER; 15556 hash = (53 * hash) + getNumber(); 15557 } 15558 if (hasOptions()) { 15559 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 15560 hash = (53 * hash) + getOptions().hashCode(); 15561 } 15562 hash = (29 * hash) + unknownFields.hashCode(); 15563 memoizedHashCode = hash; 15564 return hash; 15565 } 15566 15567 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( 15568 java.nio.ByteBuffer data) 15569 throws com.google.protobuf.InvalidProtocolBufferException { 15570 return PARSER.parseFrom(data); 15571 } 15572 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( 15573 java.nio.ByteBuffer data, 15574 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15575 throws com.google.protobuf.InvalidProtocolBufferException { 15576 return PARSER.parseFrom(data, extensionRegistry); 15577 } 12048 15578 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( 12049 15579 com.google.protobuf.ByteString data) … … 12069 15599 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input) 12070 15600 throws java.io.IOException { 12071 return PARSER.parseFrom(input); 15601 return com.google.protobuf.GeneratedMessageV3 15602 .parseWithIOException(PARSER, input); 12072 15603 } 12073 15604 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( … … 12075 15606 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12076 15607 throws java.io.IOException { 12077 return PARSER.parseFrom(input, extensionRegistry); 15608 return com.google.protobuf.GeneratedMessageV3 15609 .parseWithIOException(PARSER, input, extensionRegistry); 12078 15610 } 12079 15611 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input) 12080 15612 throws java.io.IOException { 12081 return PARSER.parseDelimitedFrom(input); 15613 return com.google.protobuf.GeneratedMessageV3 15614 .parseDelimitedWithIOException(PARSER, input); 12082 15615 } 12083 15616 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom( … … 12085 15618 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12086 15619 throws java.io.IOException { 12087 return PARSER.parseDelimitedFrom(input, extensionRegistry); 15620 return com.google.protobuf.GeneratedMessageV3 15621 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 12088 15622 } 12089 15623 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( 12090 15624 com.google.protobuf.CodedInputStream input) 12091 15625 throws java.io.IOException { 12092 return PARSER.parseFrom(input); 15626 return com.google.protobuf.GeneratedMessageV3 15627 .parseWithIOException(PARSER, input); 12093 15628 } 12094 15629 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom( … … 12096 15631 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12097 15632 throws java.io.IOException { 12098 return PARSER.parseFrom(input, extensionRegistry); 12099 } 12100 12101 public static Builder newBuilder() { return Builder.create(); } 12102 @Override 12103 public Builder newBuilderForType() { return newBuilder(); } 15633 return com.google.protobuf.GeneratedMessageV3 15634 .parseWithIOException(PARSER, input, extensionRegistry); 15635 } 15636 15637 public Builder newBuilderForType() { return newBuilder(); } 15638 public static Builder newBuilder() { 15639 return DEFAULT_INSTANCE.toBuilder(); 15640 } 12104 15641 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto prototype) { 12105 return newBuilder().mergeFrom(prototype); 12106 } 12107 @Override 12108 public Builder toBuilder() { return newBuilder(this); } 15642 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 15643 } 15644 public Builder toBuilder() { 15645 return this == DEFAULT_INSTANCE 15646 ? new Builder() : new Builder().mergeFrom(this); 15647 } 12109 15648 12110 15649 @java.lang.Override 12111 15650 protected Builder newBuilderForType( 12112 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 15651 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12113 15652 Builder builder = new Builder(parent); 12114 15653 return builder; 12115 15654 } 12116 15655 /** 12117 * Protobuf type {@code google.protobuf.EnumValueDescriptorProto}12118 *12119 15656 * <pre> 12120 15657 * Describes a value within an enum. 12121 15658 * </pre> 15659 * 15660 * Protobuf type {@code google.protobuf.EnumValueDescriptorProto} 12122 15661 */ 12123 15662 public static final class Builder extends 12124 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 15663 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 12125 15664 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumValueDescriptorProto) 12126 15665 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder { … … 12130 15669 } 12131 15670 12132 @Override 12133 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 15671 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12134 15672 internalGetFieldAccessorTable() { 12135 15673 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable … … 12144 15682 12145 15683 private Builder( 12146 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 15684 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12147 15685 super(parent); 12148 15686 maybeForceBuilderInitialization(); 12149 15687 } 12150 15688 private void maybeForceBuilderInitialization() { 12151 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 15689 if (com.google.protobuf.GeneratedMessageV3 15690 .alwaysUseFieldBuilders) { 12152 15691 getOptionsFieldBuilder(); 12153 15692 } 12154 15693 } 12155 private static Builder create() { 12156 return new Builder(); 12157 } 12158 12159 @Override 12160 public Builder clear() { 15694 public Builder clear() { 12161 15695 super.clear(); 12162 15696 name_ = ""; … … 12165 15699 bitField0_ = (bitField0_ & ~0x00000002); 12166 15700 if (optionsBuilder_ == null) { 12167 options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();15701 options_ = null; 12168 15702 } else { 12169 15703 optionsBuilder_.clear(); … … 12173 15707 } 12174 15708 12175 @Override 12176 public Builder clone() { 12177 return create().mergeFrom(buildPartial()); 12178 } 12179 12180 @Override 12181 public com.google.protobuf.Descriptors.Descriptor 15709 public com.google.protobuf.Descriptors.Descriptor 12182 15710 getDescriptorForType() { 12183 15711 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor; 12184 15712 } 12185 15713 12186 @Override 12187 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() { 15714 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() { 12188 15715 return com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance(); 12189 15716 } 12190 15717 12191 @Override 12192 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto build() { 15718 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto build() { 12193 15719 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = buildPartial(); 12194 15720 if (!result.isInitialized()) { … … 12198 15724 } 12199 15725 12200 @Override 12201 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto buildPartial() { 15726 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto buildPartial() { 12202 15727 com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = new com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto(this); 12203 15728 int from_bitField0_ = bitField0_; … … 12224 15749 } 12225 15750 12226 @Override 12227 public Builder mergeFrom(com.google.protobuf.Message other) { 15751 public Builder clone() { 15752 return (Builder) super.clone(); 15753 } 15754 public Builder setField( 15755 com.google.protobuf.Descriptors.FieldDescriptor field, 15756 java.lang.Object value) { 15757 return (Builder) super.setField(field, value); 15758 } 15759 public Builder clearField( 15760 com.google.protobuf.Descriptors.FieldDescriptor field) { 15761 return (Builder) super.clearField(field); 15762 } 15763 public Builder clearOneof( 15764 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 15765 return (Builder) super.clearOneof(oneof); 15766 } 15767 public Builder setRepeatedField( 15768 com.google.protobuf.Descriptors.FieldDescriptor field, 15769 int index, java.lang.Object value) { 15770 return (Builder) super.setRepeatedField(field, index, value); 15771 } 15772 public Builder addRepeatedField( 15773 com.google.protobuf.Descriptors.FieldDescriptor field, 15774 java.lang.Object value) { 15775 return (Builder) super.addRepeatedField(field, value); 15776 } 15777 public Builder mergeFrom(com.google.protobuf.Message other) { 12228 15778 if (other instanceof com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) { 12229 15779 return mergeFrom((com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto)other); … … 12247 15797 mergeOptions(other.getOptions()); 12248 15798 } 12249 this.mergeUnknownFields(other. getUnknownFields());12250 return this;12251 }12252 12253 @Override 12254 15799 this.mergeUnknownFields(other.unknownFields); 15800 onChanged(); 15801 return this; 15802 } 15803 15804 public final boolean isInitialized() { 12255 15805 if (hasOptions()) { 12256 15806 if (!getOptions().isInitialized()) { 12257 12258 15807 return false; 12259 15808 } … … 12262 15811 } 12263 15812 12264 @Override 12265 public Builder mergeFrom( 15813 public Builder mergeFrom( 12266 15814 com.google.protobuf.CodedInputStream input, 12267 15815 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 12272 15820 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12273 15821 parsedMessage = (com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) e.getUnfinishedMessage(); 12274 throw e; 15822 throw e.unwrapIOException(); 12275 15823 } finally { 12276 15824 if (parsedMessage != null) { … … 12286 15834 * <code>optional string name = 1;</code> 12287 15835 */ 12288 @Override 12289 public boolean hasName() { 15836 public boolean hasName() { 12290 15837 return ((bitField0_ & 0x00000001) == 0x00000001); 12291 15838 } … … 12293 15840 * <code>optional string name = 1;</code> 12294 15841 */ 12295 @Override 12296 public java.lang.String getName() { 15842 public java.lang.String getName() { 12297 15843 java.lang.Object ref = name_; 12298 15844 if (!(ref instanceof java.lang.String)) { … … 12311 15857 * <code>optional string name = 1;</code> 12312 15858 */ 12313 @Override 12314 public com.google.protobuf.ByteString 15859 public com.google.protobuf.ByteString 12315 15860 getNameBytes() { 12316 15861 java.lang.Object ref = name_; 12317 15862 if (ref instanceof String) { 12318 com.google.protobuf.ByteString b = 15863 com.google.protobuf.ByteString b = 12319 15864 com.google.protobuf.ByteString.copyFromUtf8( 12320 15865 (java.lang.String) ref); … … 12365 15910 * <code>optional int32 number = 2;</code> 12366 15911 */ 12367 @Override 12368 public boolean hasNumber() { 15912 public boolean hasNumber() { 12369 15913 return ((bitField0_ & 0x00000002) == 0x00000002); 12370 15914 } … … 12372 15916 * <code>optional int32 number = 2;</code> 12373 15917 */ 12374 @Override 12375 public int getNumber() { 15918 public int getNumber() { 12376 15919 return number_; 12377 15920 } … … 12395 15938 } 12396 15939 12397 private com.google.protobuf.DescriptorProtos.EnumValueOptions options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();12398 private com.google.protobuf.SingleFieldBuilder< 15940 private com.google.protobuf.DescriptorProtos.EnumValueOptions options_ = null; 15941 private com.google.protobuf.SingleFieldBuilderV3< 12399 15942 com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder> optionsBuilder_; 12400 15943 /** 12401 15944 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 12402 15945 */ 12403 @Override 12404 public boolean hasOptions() { 15946 public boolean hasOptions() { 12405 15947 return ((bitField0_ & 0x00000004) == 0x00000004); 12406 15948 } … … 12408 15950 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 12409 15951 */ 12410 @Override 12411 public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() { 15952 public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() { 12412 15953 if (optionsBuilder_ == null) { 12413 return options_; 15954 return options_ == null ? com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_; 12414 15955 } else { 12415 15956 return optionsBuilder_.getMessage(); … … 12452 15993 if (optionsBuilder_ == null) { 12453 15994 if (((bitField0_ & 0x00000004) == 0x00000004) && 15995 options_ != null && 12454 15996 options_ != com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) { 12455 15997 options_ = … … 12470 16012 public Builder clearOptions() { 12471 16013 if (optionsBuilder_ == null) { 12472 options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();16014 options_ = null; 12473 16015 onChanged(); 12474 16016 } else { … … 12489 16031 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 12490 16032 */ 12491 @Override 12492 public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() { 16033 public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() { 12493 16034 if (optionsBuilder_ != null) { 12494 16035 return optionsBuilder_.getMessageOrBuilder(); 12495 16036 } else { 12496 return options_; 16037 return options_ == null ? 16038 com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_; 12497 16039 } 12498 16040 } … … 12500 16042 * <code>optional .google.protobuf.EnumValueOptions options = 3;</code> 12501 16043 */ 12502 private com.google.protobuf.SingleFieldBuilder< 12503 com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder> 16044 private com.google.protobuf.SingleFieldBuilderV3< 16045 com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder> 12504 16046 getOptionsFieldBuilder() { 12505 16047 if (optionsBuilder_ == null) { 12506 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 16048 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 16049 com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>( 12507 16050 getOptions(), 12508 16051 getParentForChildren(), … … 12512 16055 return optionsBuilder_; 12513 16056 } 16057 public final Builder setUnknownFields( 16058 final com.google.protobuf.UnknownFieldSet unknownFields) { 16059 return super.setUnknownFields(unknownFields); 16060 } 16061 16062 public final Builder mergeUnknownFields( 16063 final com.google.protobuf.UnknownFieldSet unknownFields) { 16064 return super.mergeUnknownFields(unknownFields); 16065 } 16066 12514 16067 12515 16068 // @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueDescriptorProto) 12516 16069 } 12517 16070 16071 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) 16072 private static final com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto DEFAULT_INSTANCE; 12518 16073 static { 12519 defaultInstance = new EnumValueDescriptorProto(true); 12520 defaultInstance.initFields(); 12521 } 12522 12523 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) 16074 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto(); 16075 } 16076 16077 public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstance() { 16078 return DEFAULT_INSTANCE; 16079 } 16080 16081 @java.lang.Deprecated public static final com.google.protobuf.Parser<EnumValueDescriptorProto> 16082 PARSER = new com.google.protobuf.AbstractParser<EnumValueDescriptorProto>() { 16083 public EnumValueDescriptorProto parsePartialFrom( 16084 com.google.protobuf.CodedInputStream input, 16085 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16086 throws com.google.protobuf.InvalidProtocolBufferException { 16087 return new EnumValueDescriptorProto(input, extensionRegistry); 16088 } 16089 }; 16090 16091 public static com.google.protobuf.Parser<EnumValueDescriptorProto> parser() { 16092 return PARSER; 16093 } 16094 16095 @java.lang.Override 16096 public com.google.protobuf.Parser<EnumValueDescriptorProto> getParserForType() { 16097 return PARSER; 16098 } 16099 16100 public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() { 16101 return DEFAULT_INSTANCE; 16102 } 16103 12524 16104 } 12525 16105 … … 12545 16125 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12546 16126 */ 12547 java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> 16127 java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> 12548 16128 getMethodList(); 12549 16129 /** … … 12558 16138 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12559 16139 */ 12560 java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 16140 java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 12561 16141 getMethodOrBuilderList(); 12562 16142 /** … … 12580 16160 } 12581 16161 /** 12582 * Protobuf type {@code google.protobuf.ServiceDescriptorProto}12583 *12584 16162 * <pre> 12585 16163 * Describes a service. 12586 16164 * </pre> 16165 * 16166 * Protobuf type {@code google.protobuf.ServiceDescriptorProto} 12587 16167 */ 12588 public static final class ServiceDescriptorProto extends 12589 com.google.protobuf.GeneratedMessage implements 16168 public static final class ServiceDescriptorProto extends 16169 com.google.protobuf.GeneratedMessageV3 implements 12590 16170 // @@protoc_insertion_point(message_implements:google.protobuf.ServiceDescriptorProto) 12591 16171 ServiceDescriptorProtoOrBuilder { 16172 private static final long serialVersionUID = 0L; 12592 16173 // Use ServiceDescriptorProto.newBuilder() to construct. 12593 private ServiceDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 16174 private ServiceDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 12594 16175 super(builder); 12595 this.unknownFields = builder.getUnknownFields(); 12596 } 12597 private ServiceDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 12598 12599 private static final ServiceDescriptorProto defaultInstance; 12600 public static ServiceDescriptorProto getDefaultInstance() { 12601 return defaultInstance; 12602 } 12603 12604 @Override 12605 public ServiceDescriptorProto getDefaultInstanceForType() { 12606 return defaultInstance; 12607 } 12608 12609 private final com.google.protobuf.UnknownFieldSet unknownFields; 16176 } 16177 private ServiceDescriptorProto() { 16178 name_ = ""; 16179 method_ = java.util.Collections.emptyList(); 16180 } 16181 12610 16182 @java.lang.Override 12611 16183 public final com.google.protobuf.UnknownFieldSet 12612 16184 getUnknownFields() { 12613 16185 return this.unknownFields; 12614 16186 } … … 12617 16189 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12618 16190 throws com.google.protobuf.InvalidProtocolBufferException { 12619 initFields();16191 this(); 12620 16192 int mutable_bitField0_ = 0; 12621 16193 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 12630 16202 break; 12631 16203 default: { 12632 if (!parseUnknownField( input, unknownFields,12633 16204 if (!parseUnknownField( 16205 input, unknownFields, extensionRegistry, tag)) { 12634 16206 done = true; 12635 16207 } … … 12644 16216 case 18: { 12645 16217 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 12646 method_ = new java.util.ArrayList<>(); 16218 method_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.MethodDescriptorProto>(); 12647 16219 mutable_bitField0_ |= 0x00000002; 12648 16220 } 12649 method_.add(input.readMessage(com.google.protobuf.DescriptorProtos.MethodDescriptorProto.PARSER, extensionRegistry)); 16221 method_.add( 16222 input.readMessage(com.google.protobuf.DescriptorProtos.MethodDescriptorProto.PARSER, extensionRegistry)); 12650 16223 break; 12651 16224 } … … 12669 16242 } catch (java.io.IOException e) { 12670 16243 throw new com.google.protobuf.InvalidProtocolBufferException( 12671 e .getMessage()).setUnfinishedMessage(this);16244 e).setUnfinishedMessage(this); 12672 16245 } finally { 12673 16246 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { … … 12683 16256 } 12684 16257 12685 @Override 12686 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 16258 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12687 16259 internalGetFieldAccessorTable() { 12688 16260 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable … … 12691 16263 } 12692 16264 12693 public static com.google.protobuf.Parser<ServiceDescriptorProto> PARSER =12694 new com.google.protobuf.AbstractParser<ServiceDescriptorProto>() {12695 @Override12696 public ServiceDescriptorProto parsePartialFrom(12697 com.google.protobuf.CodedInputStream input,12698 com.google.protobuf.ExtensionRegistryLite extensionRegistry)12699 throws com.google.protobuf.InvalidProtocolBufferException {12700 return new ServiceDescriptorProto(input, extensionRegistry);12701 }12702 };12703 12704 @java.lang.Override12705 public com.google.protobuf.Parser<ServiceDescriptorProto> getParserForType() {12706 return PARSER;12707 }12708 12709 16265 private int bitField0_; 12710 16266 public static final int NAME_FIELD_NUMBER = 1; 12711 private java.lang.Object name_; 16267 private volatile java.lang.Object name_; 12712 16268 /** 12713 16269 * <code>optional string name = 1;</code> 12714 16270 */ 12715 @Override 12716 public boolean hasName() { 16271 public boolean hasName() { 12717 16272 return ((bitField0_ & 0x00000001) == 0x00000001); 12718 16273 } … … 12720 16275 * <code>optional string name = 1;</code> 12721 16276 */ 12722 @Override 12723 public java.lang.String getName() { 16277 public java.lang.String getName() { 12724 16278 java.lang.Object ref = name_; 12725 16279 if (ref instanceof java.lang.String) { 12726 16280 return (java.lang.String) ref; 12727 16281 } else { 12728 com.google.protobuf.ByteString bs = 16282 com.google.protobuf.ByteString bs = 12729 16283 (com.google.protobuf.ByteString) ref; 12730 16284 java.lang.String s = bs.toStringUtf8(); … … 12738 16292 * <code>optional string name = 1;</code> 12739 16293 */ 12740 @Override 12741 public com.google.protobuf.ByteString 16294 public com.google.protobuf.ByteString 12742 16295 getNameBytes() { 12743 16296 java.lang.Object ref = name_; 12744 16297 if (ref instanceof java.lang.String) { 12745 com.google.protobuf.ByteString b = 16298 com.google.protobuf.ByteString b = 12746 16299 com.google.protobuf.ByteString.copyFromUtf8( 12747 16300 (java.lang.String) ref); … … 12758 16311 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12759 16312 */ 12760 @Override 12761 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() { 16313 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() { 12762 16314 return method_; 12763 16315 } … … 12765 16317 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12766 16318 */ 12767 @Override 12768 public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 16319 public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 12769 16320 getMethodOrBuilderList() { 12770 16321 return method_; … … 12773 16324 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12774 16325 */ 12775 @Override 12776 public int getMethodCount() { 16326 public int getMethodCount() { 12777 16327 return method_.size(); 12778 16328 } … … 12780 16330 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12781 16331 */ 12782 @Override 12783 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) { 16332 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) { 12784 16333 return method_.get(index); 12785 16334 } … … 12787 16336 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 12788 16337 */ 12789 @Override 12790 public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder( 16338 public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder( 12791 16339 int index) { 12792 16340 return method_.get(index); … … 12798 16346 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 12799 16347 */ 12800 @Override 12801 public boolean hasOptions() { 16348 public boolean hasOptions() { 12802 16349 return ((bitField0_ & 0x00000002) == 0x00000002); 12803 16350 } … … 12805 16352 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 12806 16353 */ 12807 @Override 12808 public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() { 12809 return options_; 16354 public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() { 16355 return options_ == null ? com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_; 12810 16356 } 12811 16357 /** 12812 16358 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 12813 16359 */ 12814 @Override 12815 public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() { 12816 return options_; 12817 } 12818 12819 private void initFields() { 12820 name_ = ""; 12821 method_ = java.util.Collections.emptyList(); 12822 options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance(); 12823 } 16360 public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() { 16361 return options_ == null ? com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_; 16362 } 16363 12824 16364 private byte memoizedIsInitialized = -1; 12825 @Override 12826 public final boolean isInitialized() { 16365 public final boolean isInitialized() { 12827 16366 byte isInitialized = memoizedIsInitialized; 12828 16367 if (isInitialized == 1) return true; … … 12845 16384 } 12846 16385 12847 @Override 12848 public void writeTo(com.google.protobuf.CodedOutputStream output) 16386 public void writeTo(com.google.protobuf.CodedOutputStream output) 12849 16387 throws java.io.IOException { 12850 getSerializedSize();12851 16388 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12852 output.writeBytes(1, getNameBytes());16389 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 12853 16390 } 12854 16391 for (int i = 0; i < method_.size(); i++) { … … 12856 16393 } 12857 16394 if (((bitField0_ & 0x00000002) == 0x00000002)) { 12858 output.writeMessage(3, options_); 12859 } 12860 getUnknownFields().writeTo(output); 12861 } 12862 12863 private int memoizedSerializedSize = -1; 12864 @Override 12865 public int getSerializedSize() { 12866 int size = memoizedSerializedSize; 16395 output.writeMessage(3, getOptions()); 16396 } 16397 unknownFields.writeTo(output); 16398 } 16399 16400 public int getSerializedSize() { 16401 int size = memoizedSize; 12867 16402 if (size != -1) return size; 12868 16403 12869 16404 size = 0; 12870 16405 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12871 size += com.google.protobuf.CodedOutputStream 12872 .computeBytesSize(1, getNameBytes()); 16406 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 12873 16407 } 12874 16408 for (int i = 0; i < method_.size(); i++) { … … 12878 16412 if (((bitField0_ & 0x00000002) == 0x00000002)) { 12879 16413 size += com.google.protobuf.CodedOutputStream 12880 .computeMessageSize(3, options_);12881 } 12882 size += getUnknownFields().getSerializedSize();12883 memoizedS erializedSize = size;16414 .computeMessageSize(3, getOptions()); 16415 } 16416 size += unknownFields.getSerializedSize(); 16417 memoizedSize = size; 12884 16418 return size; 12885 16419 } 12886 16420 12887 private static final long serialVersionUID = 0L;12888 16421 @java.lang.Override 12889 protected java.lang.Object writeReplace() 12890 throws java.io.ObjectStreamException { 12891 return super.writeReplace(); 12892 } 12893 16422 public boolean equals(final java.lang.Object obj) { 16423 if (obj == this) { 16424 return true; 16425 } 16426 if (!(obj instanceof com.google.protobuf.DescriptorProtos.ServiceDescriptorProto)) { 16427 return super.equals(obj); 16428 } 16429 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto other = (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) obj; 16430 16431 boolean result = true; 16432 result = result && (hasName() == other.hasName()); 16433 if (hasName()) { 16434 result = result && getName() 16435 .equals(other.getName()); 16436 } 16437 result = result && getMethodList() 16438 .equals(other.getMethodList()); 16439 result = result && (hasOptions() == other.hasOptions()); 16440 if (hasOptions()) { 16441 result = result && getOptions() 16442 .equals(other.getOptions()); 16443 } 16444 result = result && unknownFields.equals(other.unknownFields); 16445 return result; 16446 } 16447 16448 @java.lang.Override 16449 public int hashCode() { 16450 if (memoizedHashCode != 0) { 16451 return memoizedHashCode; 16452 } 16453 int hash = 41; 16454 hash = (19 * hash) + getDescriptor().hashCode(); 16455 if (hasName()) { 16456 hash = (37 * hash) + NAME_FIELD_NUMBER; 16457 hash = (53 * hash) + getName().hashCode(); 16458 } 16459 if (getMethodCount() > 0) { 16460 hash = (37 * hash) + METHOD_FIELD_NUMBER; 16461 hash = (53 * hash) + getMethodList().hashCode(); 16462 } 16463 if (hasOptions()) { 16464 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 16465 hash = (53 * hash) + getOptions().hashCode(); 16466 } 16467 hash = (29 * hash) + unknownFields.hashCode(); 16468 memoizedHashCode = hash; 16469 return hash; 16470 } 16471 16472 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( 16473 java.nio.ByteBuffer data) 16474 throws com.google.protobuf.InvalidProtocolBufferException { 16475 return PARSER.parseFrom(data); 16476 } 16477 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( 16478 java.nio.ByteBuffer data, 16479 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16480 throws com.google.protobuf.InvalidProtocolBufferException { 16481 return PARSER.parseFrom(data, extensionRegistry); 16482 } 12894 16483 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( 12895 16484 com.google.protobuf.ByteString data) … … 12915 16504 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input) 12916 16505 throws java.io.IOException { 12917 return PARSER.parseFrom(input); 16506 return com.google.protobuf.GeneratedMessageV3 16507 .parseWithIOException(PARSER, input); 12918 16508 } 12919 16509 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( … … 12921 16511 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12922 16512 throws java.io.IOException { 12923 return PARSER.parseFrom(input, extensionRegistry); 16513 return com.google.protobuf.GeneratedMessageV3 16514 .parseWithIOException(PARSER, input, extensionRegistry); 12924 16515 } 12925 16516 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input) 12926 16517 throws java.io.IOException { 12927 return PARSER.parseDelimitedFrom(input); 16518 return com.google.protobuf.GeneratedMessageV3 16519 .parseDelimitedWithIOException(PARSER, input); 12928 16520 } 12929 16521 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom( … … 12931 16523 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12932 16524 throws java.io.IOException { 12933 return PARSER.parseDelimitedFrom(input, extensionRegistry); 16525 return com.google.protobuf.GeneratedMessageV3 16526 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 12934 16527 } 12935 16528 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( 12936 16529 com.google.protobuf.CodedInputStream input) 12937 16530 throws java.io.IOException { 12938 return PARSER.parseFrom(input); 16531 return com.google.protobuf.GeneratedMessageV3 16532 .parseWithIOException(PARSER, input); 12939 16533 } 12940 16534 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom( … … 12942 16536 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12943 16537 throws java.io.IOException { 12944 return PARSER.parseFrom(input, extensionRegistry); 12945 } 12946 12947 public static Builder newBuilder() { return Builder.create(); } 12948 @Override 12949 public Builder newBuilderForType() { return newBuilder(); } 16538 return com.google.protobuf.GeneratedMessageV3 16539 .parseWithIOException(PARSER, input, extensionRegistry); 16540 } 16541 16542 public Builder newBuilderForType() { return newBuilder(); } 16543 public static Builder newBuilder() { 16544 return DEFAULT_INSTANCE.toBuilder(); 16545 } 12950 16546 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto prototype) { 12951 return newBuilder().mergeFrom(prototype); 12952 } 12953 @Override 12954 public Builder toBuilder() { return newBuilder(this); } 16547 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 16548 } 16549 public Builder toBuilder() { 16550 return this == DEFAULT_INSTANCE 16551 ? new Builder() : new Builder().mergeFrom(this); 16552 } 12955 16553 12956 16554 @java.lang.Override 12957 16555 protected Builder newBuilderForType( 12958 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 16556 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12959 16557 Builder builder = new Builder(parent); 12960 16558 return builder; 12961 16559 } 12962 16560 /** 12963 * Protobuf type {@code google.protobuf.ServiceDescriptorProto}12964 *12965 16561 * <pre> 12966 16562 * Describes a service. 12967 16563 * </pre> 16564 * 16565 * Protobuf type {@code google.protobuf.ServiceDescriptorProto} 12968 16566 */ 12969 16567 public static final class Builder extends 12970 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 16568 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 12971 16569 // @@protoc_insertion_point(builder_implements:google.protobuf.ServiceDescriptorProto) 12972 16570 com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder { … … 12976 16574 } 12977 16575 12978 @Override 12979 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 16576 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12980 16577 internalGetFieldAccessorTable() { 12981 16578 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable … … 12990 16587 12991 16588 private Builder( 12992 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 16589 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12993 16590 super(parent); 12994 16591 maybeForceBuilderInitialization(); 12995 16592 } 12996 16593 private void maybeForceBuilderInitialization() { 12997 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 16594 if (com.google.protobuf.GeneratedMessageV3 16595 .alwaysUseFieldBuilders) { 12998 16596 getMethodFieldBuilder(); 12999 16597 getOptionsFieldBuilder(); 13000 16598 } 13001 16599 } 13002 private static Builder create() { 13003 return new Builder(); 13004 } 13005 13006 @Override 13007 public Builder clear() { 16600 public Builder clear() { 13008 16601 super.clear(); 13009 16602 name_ = ""; … … 13016 16609 } 13017 16610 if (optionsBuilder_ == null) { 13018 options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();16611 options_ = null; 13019 16612 } else { 13020 16613 optionsBuilder_.clear(); … … 13024 16617 } 13025 16618 13026 @Override 13027 public Builder clone() { 13028 return create().mergeFrom(buildPartial()); 13029 } 13030 13031 @Override 13032 public com.google.protobuf.Descriptors.Descriptor 16619 public com.google.protobuf.Descriptors.Descriptor 13033 16620 getDescriptorForType() { 13034 16621 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor; 13035 16622 } 13036 16623 13037 @Override 13038 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() { 16624 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() { 13039 16625 return com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance(); 13040 16626 } 13041 16627 13042 @Override 13043 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto build() { 16628 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto build() { 13044 16629 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = buildPartial(); 13045 16630 if (!result.isInitialized()) { … … 13049 16634 } 13050 16635 13051 @Override 13052 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto buildPartial() { 16636 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto buildPartial() { 13053 16637 com.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = new com.google.protobuf.DescriptorProtos.ServiceDescriptorProto(this); 13054 16638 int from_bitField0_ = bitField0_; … … 13080 16664 } 13081 16665 13082 @Override 13083 public Builder mergeFrom(com.google.protobuf.Message other) { 16666 public Builder clone() { 16667 return (Builder) super.clone(); 16668 } 16669 public Builder setField( 16670 com.google.protobuf.Descriptors.FieldDescriptor field, 16671 java.lang.Object value) { 16672 return (Builder) super.setField(field, value); 16673 } 16674 public Builder clearField( 16675 com.google.protobuf.Descriptors.FieldDescriptor field) { 16676 return (Builder) super.clearField(field); 16677 } 16678 public Builder clearOneof( 16679 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 16680 return (Builder) super.clearOneof(oneof); 16681 } 16682 public Builder setRepeatedField( 16683 com.google.protobuf.Descriptors.FieldDescriptor field, 16684 int index, java.lang.Object value) { 16685 return (Builder) super.setRepeatedField(field, index, value); 16686 } 16687 public Builder addRepeatedField( 16688 com.google.protobuf.Descriptors.FieldDescriptor field, 16689 java.lang.Object value) { 16690 return (Builder) super.addRepeatedField(field, value); 16691 } 16692 public Builder mergeFrom(com.google.protobuf.Message other) { 13084 16693 if (other instanceof com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) { 13085 16694 return mergeFrom((com.google.protobuf.DescriptorProtos.ServiceDescriptorProto)other); … … 13115 16724 method_ = other.method_; 13116 16725 bitField0_ = (bitField0_ & ~0x00000002); 13117 methodBuilder_ = 13118 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 16726 methodBuilder_ = 16727 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 13119 16728 getMethodFieldBuilder() : null; 13120 16729 } else { … … 13126 16735 mergeOptions(other.getOptions()); 13127 16736 } 13128 this.mergeUnknownFields(other. getUnknownFields());13129 return this;13130 }13131 13132 @Override 13133 16737 this.mergeUnknownFields(other.unknownFields); 16738 onChanged(); 16739 return this; 16740 } 16741 16742 public final boolean isInitialized() { 13134 16743 for (int i = 0; i < getMethodCount(); i++) { 13135 16744 if (!getMethod(i).isInitialized()) { 13136 13137 16745 return false; 13138 16746 } … … 13140 16748 if (hasOptions()) { 13141 16749 if (!getOptions().isInitialized()) { 13142 13143 16750 return false; 13144 16751 } … … 13147 16754 } 13148 16755 13149 @Override 13150 public Builder mergeFrom( 16756 public Builder mergeFrom( 13151 16757 com.google.protobuf.CodedInputStream input, 13152 16758 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 13157 16763 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 13158 16764 parsedMessage = (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) e.getUnfinishedMessage(); 13159 throw e; 16765 throw e.unwrapIOException(); 13160 16766 } finally { 13161 16767 if (parsedMessage != null) { … … 13171 16777 * <code>optional string name = 1;</code> 13172 16778 */ 13173 @Override 13174 public boolean hasName() { 16779 public boolean hasName() { 13175 16780 return ((bitField0_ & 0x00000001) == 0x00000001); 13176 16781 } … … 13178 16783 * <code>optional string name = 1;</code> 13179 16784 */ 13180 @Override 13181 public java.lang.String getName() { 16785 public java.lang.String getName() { 13182 16786 java.lang.Object ref = name_; 13183 16787 if (!(ref instanceof java.lang.String)) { … … 13196 16800 * <code>optional string name = 1;</code> 13197 16801 */ 13198 @Override 13199 public com.google.protobuf.ByteString 16802 public com.google.protobuf.ByteString 13200 16803 getNameBytes() { 13201 16804 java.lang.Object ref = name_; 13202 16805 if (ref instanceof String) { 13203 com.google.protobuf.ByteString b = 16806 com.google.protobuf.ByteString b = 13204 16807 com.google.protobuf.ByteString.copyFromUtf8( 13205 16808 (java.lang.String) ref); … … 13250 16853 private void ensureMethodIsMutable() { 13251 16854 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 13252 method_ = new java.util.ArrayList<>(method_); 16855 method_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.MethodDescriptorProto>(method_); 13253 16856 bitField0_ |= 0x00000002; 13254 16857 } 13255 16858 } 13256 16859 13257 private com.google.protobuf.RepeatedFieldBuilder< 16860 private com.google.protobuf.RepeatedFieldBuilderV3< 13258 16861 com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> methodBuilder_; 13259 16862 … … 13261 16864 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13262 16865 */ 13263 @Override 13264 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() { 16866 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() { 13265 16867 if (methodBuilder_ == null) { 13266 16868 return java.util.Collections.unmodifiableList(method_); … … 13272 16874 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13273 16875 */ 13274 @Override 13275 public int getMethodCount() { 16876 public int getMethodCount() { 13276 16877 if (methodBuilder_ == null) { 13277 16878 return method_.size(); … … 13283 16884 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13284 16885 */ 13285 @Override 13286 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) { 16886 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) { 13287 16887 if (methodBuilder_ == null) { 13288 16888 return method_.get(index); … … 13434 17034 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13435 17035 */ 13436 @Override 13437 public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder( 17036 public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder( 13438 17037 int index) { 13439 17038 if (methodBuilder_ == null) { … … 13445 17044 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13446 17045 */ 13447 @Override 13448 public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 17046 public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 13449 17047 getMethodOrBuilderList() { 13450 17048 if (methodBuilder_ != null) { … … 13472 17070 * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> 13473 17071 */ 13474 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder> 17072 public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder> 13475 17073 getMethodBuilderList() { 13476 17074 return getMethodFieldBuilder().getBuilderList(); 13477 17075 } 13478 private com.google.protobuf.RepeatedFieldBuilder< 13479 com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 17076 private com.google.protobuf.RepeatedFieldBuilderV3< 17077 com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> 13480 17078 getMethodFieldBuilder() { 13481 17079 if (methodBuilder_ == null) { 13482 methodBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 17080 methodBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 17081 com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>( 13483 17082 method_, 13484 17083 ((bitField0_ & 0x00000002) == 0x00000002), … … 13490 17089 } 13491 17090 13492 private com.google.protobuf.DescriptorProtos.ServiceOptions options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();13493 private com.google.protobuf.SingleFieldBuilder< 17091 private com.google.protobuf.DescriptorProtos.ServiceOptions options_ = null; 17092 private com.google.protobuf.SingleFieldBuilderV3< 13494 17093 com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder> optionsBuilder_; 13495 17094 /** 13496 17095 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 13497 17096 */ 13498 @Override 13499 public boolean hasOptions() { 17097 public boolean hasOptions() { 13500 17098 return ((bitField0_ & 0x00000004) == 0x00000004); 13501 17099 } … … 13503 17101 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 13504 17102 */ 13505 @Override 13506 public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() { 17103 public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() { 13507 17104 if (optionsBuilder_ == null) { 13508 return options_; 17105 return options_ == null ? com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_; 13509 17106 } else { 13510 17107 return optionsBuilder_.getMessage(); … … 13547 17144 if (optionsBuilder_ == null) { 13548 17145 if (((bitField0_ & 0x00000004) == 0x00000004) && 17146 options_ != null && 13549 17147 options_ != com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) { 13550 17148 options_ = … … 13565 17163 public Builder clearOptions() { 13566 17164 if (optionsBuilder_ == null) { 13567 options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();17165 options_ = null; 13568 17166 onChanged(); 13569 17167 } else { … … 13584 17182 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 13585 17183 */ 13586 @Override 13587 public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() { 17184 public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() { 13588 17185 if (optionsBuilder_ != null) { 13589 17186 return optionsBuilder_.getMessageOrBuilder(); 13590 17187 } else { 13591 return options_; 17188 return options_ == null ? 17189 com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_; 13592 17190 } 13593 17191 } … … 13595 17193 * <code>optional .google.protobuf.ServiceOptions options = 3;</code> 13596 17194 */ 13597 private com.google.protobuf.SingleFieldBuilder< 13598 com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder> 17195 private com.google.protobuf.SingleFieldBuilderV3< 17196 com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder> 13599 17197 getOptionsFieldBuilder() { 13600 17198 if (optionsBuilder_ == null) { 13601 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 17199 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 17200 com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>( 13602 17201 getOptions(), 13603 17202 getParentForChildren(), … … 13607 17206 return optionsBuilder_; 13608 17207 } 17208 public final Builder setUnknownFields( 17209 final com.google.protobuf.UnknownFieldSet unknownFields) { 17210 return super.setUnknownFields(unknownFields); 17211 } 17212 17213 public final Builder mergeUnknownFields( 17214 final com.google.protobuf.UnknownFieldSet unknownFields) { 17215 return super.mergeUnknownFields(unknownFields); 17216 } 17217 13609 17218 13610 17219 // @@protoc_insertion_point(builder_scope:google.protobuf.ServiceDescriptorProto) 13611 17220 } 13612 17221 17222 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) 17223 private static final com.google.protobuf.DescriptorProtos.ServiceDescriptorProto DEFAULT_INSTANCE; 13613 17224 static { 13614 defaultInstance = new ServiceDescriptorProto(true); 13615 defaultInstance.initFields(); 13616 } 13617 13618 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) 17225 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.ServiceDescriptorProto(); 17226 } 17227 17228 public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstance() { 17229 return DEFAULT_INSTANCE; 17230 } 17231 17232 @java.lang.Deprecated public static final com.google.protobuf.Parser<ServiceDescriptorProto> 17233 PARSER = new com.google.protobuf.AbstractParser<ServiceDescriptorProto>() { 17234 public ServiceDescriptorProto parsePartialFrom( 17235 com.google.protobuf.CodedInputStream input, 17236 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17237 throws com.google.protobuf.InvalidProtocolBufferException { 17238 return new ServiceDescriptorProto(input, extensionRegistry); 17239 } 17240 }; 17241 17242 public static com.google.protobuf.Parser<ServiceDescriptorProto> parser() { 17243 return PARSER; 17244 } 17245 17246 @java.lang.Override 17247 public com.google.protobuf.Parser<ServiceDescriptorProto> getParserForType() { 17248 return PARSER; 17249 } 17250 17251 public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() { 17252 return DEFAULT_INSTANCE; 17253 } 17254 13619 17255 } 13620 17256 … … 13638 17274 13639 17275 /** 13640 * <code>optional string input_type = 2;</code>13641 *13642 17276 * <pre> 13643 17277 * Input and output type names. These are resolved in the same way as 13644 17278 * FieldDescriptorProto.type_name, but must refer to a message type. 13645 17279 * </pre> 17280 * 17281 * <code>optional string input_type = 2;</code> 13646 17282 */ 13647 17283 boolean hasInputType(); 13648 17284 /** 13649 * <code>optional string input_type = 2;</code>13650 *13651 17285 * <pre> 13652 17286 * Input and output type names. These are resolved in the same way as 13653 17287 * FieldDescriptorProto.type_name, but must refer to a message type. 13654 17288 * </pre> 17289 * 17290 * <code>optional string input_type = 2;</code> 13655 17291 */ 13656 17292 java.lang.String getInputType(); 13657 17293 /** 13658 * <code>optional string input_type = 2;</code>13659 *13660 17294 * <pre> 13661 17295 * Input and output type names. These are resolved in the same way as 13662 17296 * FieldDescriptorProto.type_name, but must refer to a message type. 13663 17297 * </pre> 17298 * 17299 * <code>optional string input_type = 2;</code> 13664 17300 */ 13665 17301 com.google.protobuf.ByteString … … 13692 17328 */ 13693 17329 com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder(); 17330 17331 /** 17332 * <pre> 17333 * Identifies if client streams multiple client messages 17334 * </pre> 17335 * 17336 * <code>optional bool client_streaming = 5 [default = false];</code> 17337 */ 17338 boolean hasClientStreaming(); 17339 /** 17340 * <pre> 17341 * Identifies if client streams multiple client messages 17342 * </pre> 17343 * 17344 * <code>optional bool client_streaming = 5 [default = false];</code> 17345 */ 17346 boolean getClientStreaming(); 17347 17348 /** 17349 * <pre> 17350 * Identifies if server streams multiple server messages 17351 * </pre> 17352 * 17353 * <code>optional bool server_streaming = 6 [default = false];</code> 17354 */ 17355 boolean hasServerStreaming(); 17356 /** 17357 * <pre> 17358 * Identifies if server streams multiple server messages 17359 * </pre> 17360 * 17361 * <code>optional bool server_streaming = 6 [default = false];</code> 17362 */ 17363 boolean getServerStreaming(); 13694 17364 } 13695 17365 /** 13696 * Protobuf type {@code google.protobuf.MethodDescriptorProto}13697 *13698 17366 * <pre> 13699 17367 * Describes a method of a service. 13700 17368 * </pre> 17369 * 17370 * Protobuf type {@code google.protobuf.MethodDescriptorProto} 13701 17371 */ 13702 public static final class MethodDescriptorProto extends 13703 com.google.protobuf.GeneratedMessage implements 17372 public static final class MethodDescriptorProto extends 17373 com.google.protobuf.GeneratedMessageV3 implements 13704 17374 // @@protoc_insertion_point(message_implements:google.protobuf.MethodDescriptorProto) 13705 17375 MethodDescriptorProtoOrBuilder { 17376 private static final long serialVersionUID = 0L; 13706 17377 // Use MethodDescriptorProto.newBuilder() to construct. 13707 private MethodDescriptorProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 17378 private MethodDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 13708 17379 super(builder); 13709 this.unknownFields = builder.getUnknownFields(); 13710 } 13711 private MethodDescriptorProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 13712 13713 private static final MethodDescriptorProto defaultInstance; 13714 public static MethodDescriptorProto getDefaultInstance() { 13715 return defaultInstance; 13716 } 13717 13718 @Override 13719 public MethodDescriptorProto getDefaultInstanceForType() { 13720 return defaultInstance; 13721 } 13722 13723 private final com.google.protobuf.UnknownFieldSet unknownFields; 17380 } 17381 private MethodDescriptorProto() { 17382 name_ = ""; 17383 inputType_ = ""; 17384 outputType_ = ""; 17385 clientStreaming_ = false; 17386 serverStreaming_ = false; 17387 } 17388 13724 17389 @java.lang.Override 13725 17390 public final com.google.protobuf.UnknownFieldSet 13726 17391 getUnknownFields() { 13727 17392 return this.unknownFields; 13728 17393 } … … 13731 17396 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13732 17397 throws com.google.protobuf.InvalidProtocolBufferException { 13733 initFields();17398 this(); 13734 17399 int mutable_bitField0_ = 0; 13735 17400 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 13744 17409 break; 13745 17410 default: { 13746 if (!parseUnknownField( input, unknownFields,13747 17411 if (!parseUnknownField( 17412 input, unknownFields, extensionRegistry, tag)) { 13748 17413 done = true; 13749 17414 } … … 13781 17446 break; 13782 17447 } 17448 case 40: { 17449 bitField0_ |= 0x00000010; 17450 clientStreaming_ = input.readBool(); 17451 break; 17452 } 17453 case 48: { 17454 bitField0_ |= 0x00000020; 17455 serverStreaming_ = input.readBool(); 17456 break; 17457 } 13783 17458 } 13784 17459 } … … 13787 17462 } catch (java.io.IOException e) { 13788 17463 throw new com.google.protobuf.InvalidProtocolBufferException( 13789 e .getMessage()).setUnfinishedMessage(this);17464 e).setUnfinishedMessage(this); 13790 17465 } finally { 13791 17466 this.unknownFields = unknownFields.build(); … … 13798 17473 } 13799 17474 13800 @Override 13801 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 17475 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 13802 17476 internalGetFieldAccessorTable() { 13803 17477 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable … … 13806 17480 } 13807 17481 13808 public static com.google.protobuf.Parser<MethodDescriptorProto> PARSER =13809 new com.google.protobuf.AbstractParser<MethodDescriptorProto>() {13810 @Override13811 public MethodDescriptorProto parsePartialFrom(13812 com.google.protobuf.CodedInputStream input,13813 com.google.protobuf.ExtensionRegistryLite extensionRegistry)13814 throws com.google.protobuf.InvalidProtocolBufferException {13815 return new MethodDescriptorProto(input, extensionRegistry);13816 }13817 };13818 13819 @java.lang.Override13820 public com.google.protobuf.Parser<MethodDescriptorProto> getParserForType() {13821 return PARSER;13822 }13823 13824 17482 private int bitField0_; 13825 17483 public static final int NAME_FIELD_NUMBER = 1; 13826 private java.lang.Object name_; 17484 private volatile java.lang.Object name_; 13827 17485 /** 13828 17486 * <code>optional string name = 1;</code> 13829 17487 */ 13830 @Override 13831 public boolean hasName() { 17488 public boolean hasName() { 13832 17489 return ((bitField0_ & 0x00000001) == 0x00000001); 13833 17490 } … … 13835 17492 * <code>optional string name = 1;</code> 13836 17493 */ 13837 @Override 13838 public java.lang.String getName() { 17494 public java.lang.String getName() { 13839 17495 java.lang.Object ref = name_; 13840 17496 if (ref instanceof java.lang.String) { 13841 17497 return (java.lang.String) ref; 13842 17498 } else { 13843 com.google.protobuf.ByteString bs = 17499 com.google.protobuf.ByteString bs = 13844 17500 (com.google.protobuf.ByteString) ref; 13845 17501 java.lang.String s = bs.toStringUtf8(); … … 13853 17509 * <code>optional string name = 1;</code> 13854 17510 */ 13855 @Override 13856 public com.google.protobuf.ByteString 17511 public com.google.protobuf.ByteString 13857 17512 getNameBytes() { 13858 17513 java.lang.Object ref = name_; 13859 17514 if (ref instanceof java.lang.String) { 13860 com.google.protobuf.ByteString b = 17515 com.google.protobuf.ByteString b = 13861 17516 com.google.protobuf.ByteString.copyFromUtf8( 13862 17517 (java.lang.String) ref); … … 13869 17524 13870 17525 public static final int INPUT_TYPE_FIELD_NUMBER = 2; 13871 private java.lang.Object inputType_; 13872 /** 13873 * <code>optional string input_type = 2;</code> 13874 * 17526 private volatile java.lang.Object inputType_; 17527 /** 13875 17528 * <pre> 13876 17529 * Input and output type names. These are resolved in the same way as 13877 17530 * FieldDescriptorProto.type_name, but must refer to a message type. 13878 17531 * </pre> 13879 */ 13880 @Override 13881 public boolean hasInputType() { 17532 * 17533 * <code>optional string input_type = 2;</code> 17534 */ 17535 public boolean hasInputType() { 13882 17536 return ((bitField0_ & 0x00000002) == 0x00000002); 13883 17537 } 13884 17538 /** 13885 * <code>optional string input_type = 2;</code>13886 *13887 17539 * <pre> 13888 17540 * Input and output type names. These are resolved in the same way as 13889 17541 * FieldDescriptorProto.type_name, but must refer to a message type. 13890 17542 * </pre> 13891 */ 13892 @Override 13893 public java.lang.String getInputType() { 17543 * 17544 * <code>optional string input_type = 2;</code> 17545 */ 17546 public java.lang.String getInputType() { 13894 17547 java.lang.Object ref = inputType_; 13895 17548 if (ref instanceof java.lang.String) { 13896 17549 return (java.lang.String) ref; 13897 17550 } else { 13898 com.google.protobuf.ByteString bs = 17551 com.google.protobuf.ByteString bs = 13899 17552 (com.google.protobuf.ByteString) ref; 13900 17553 java.lang.String s = bs.toStringUtf8(); … … 13906 17559 } 13907 17560 /** 13908 * <code>optional string input_type = 2;</code>13909 *13910 17561 * <pre> 13911 17562 * Input and output type names. These are resolved in the same way as 13912 17563 * FieldDescriptorProto.type_name, but must refer to a message type. 13913 17564 * </pre> 13914 */ 13915 @Override 13916 public com.google.protobuf.ByteString 17565 * 17566 * <code>optional string input_type = 2;</code> 17567 */ 17568 public com.google.protobuf.ByteString 13917 17569 getInputTypeBytes() { 13918 17570 java.lang.Object ref = inputType_; 13919 17571 if (ref instanceof java.lang.String) { 13920 com.google.protobuf.ByteString b = 17572 com.google.protobuf.ByteString b = 13921 17573 com.google.protobuf.ByteString.copyFromUtf8( 13922 17574 (java.lang.String) ref); … … 13929 17581 13930 17582 public static final int OUTPUT_TYPE_FIELD_NUMBER = 3; 13931 private java.lang.Object outputType_; 17583 private volatile java.lang.Object outputType_; 13932 17584 /** 13933 17585 * <code>optional string output_type = 3;</code> 13934 17586 */ 13935 @Override 13936 public boolean hasOutputType() { 17587 public boolean hasOutputType() { 13937 17588 return ((bitField0_ & 0x00000004) == 0x00000004); 13938 17589 } … … 13940 17591 * <code>optional string output_type = 3;</code> 13941 17592 */ 13942 @Override 13943 public java.lang.String getOutputType() { 17593 public java.lang.String getOutputType() { 13944 17594 java.lang.Object ref = outputType_; 13945 17595 if (ref instanceof java.lang.String) { 13946 17596 return (java.lang.String) ref; 13947 17597 } else { 13948 com.google.protobuf.ByteString bs = 17598 com.google.protobuf.ByteString bs = 13949 17599 (com.google.protobuf.ByteString) ref; 13950 17600 java.lang.String s = bs.toStringUtf8(); … … 13958 17608 * <code>optional string output_type = 3;</code> 13959 17609 */ 13960 @Override 13961 public com.google.protobuf.ByteString 17610 public com.google.protobuf.ByteString 13962 17611 getOutputTypeBytes() { 13963 17612 java.lang.Object ref = outputType_; 13964 17613 if (ref instanceof java.lang.String) { 13965 com.google.protobuf.ByteString b = 17614 com.google.protobuf.ByteString b = 13966 17615 com.google.protobuf.ByteString.copyFromUtf8( 13967 17616 (java.lang.String) ref); … … 13978 17627 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 13979 17628 */ 13980 @Override 13981 public boolean hasOptions() { 17629 public boolean hasOptions() { 13982 17630 return ((bitField0_ & 0x00000008) == 0x00000008); 13983 17631 } … … 13985 17633 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 13986 17634 */ 13987 @Override 13988 public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() { 13989 return options_; 17635 public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() { 17636 return options_ == null ? com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_; 13990 17637 } 13991 17638 /** 13992 17639 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 13993 17640 */ 13994 @Override 13995 public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() { 13996 return options_; 13997 } 13998 13999 private void initFields() { 14000 name_ = ""; 14001 inputType_ = ""; 14002 outputType_ = ""; 14003 options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance(); 14004 } 17641 public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() { 17642 return options_ == null ? com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_; 17643 } 17644 17645 public static final int CLIENT_STREAMING_FIELD_NUMBER = 5; 17646 private boolean clientStreaming_; 17647 /** 17648 * <pre> 17649 * Identifies if client streams multiple client messages 17650 * </pre> 17651 * 17652 * <code>optional bool client_streaming = 5 [default = false];</code> 17653 */ 17654 public boolean hasClientStreaming() { 17655 return ((bitField0_ & 0x00000010) == 0x00000010); 17656 } 17657 /** 17658 * <pre> 17659 * Identifies if client streams multiple client messages 17660 * </pre> 17661 * 17662 * <code>optional bool client_streaming = 5 [default = false];</code> 17663 */ 17664 public boolean getClientStreaming() { 17665 return clientStreaming_; 17666 } 17667 17668 public static final int SERVER_STREAMING_FIELD_NUMBER = 6; 17669 private boolean serverStreaming_; 17670 /** 17671 * <pre> 17672 * Identifies if server streams multiple server messages 17673 * </pre> 17674 * 17675 * <code>optional bool server_streaming = 6 [default = false];</code> 17676 */ 17677 public boolean hasServerStreaming() { 17678 return ((bitField0_ & 0x00000020) == 0x00000020); 17679 } 17680 /** 17681 * <pre> 17682 * Identifies if server streams multiple server messages 17683 * </pre> 17684 * 17685 * <code>optional bool server_streaming = 6 [default = false];</code> 17686 */ 17687 public boolean getServerStreaming() { 17688 return serverStreaming_; 17689 } 17690 14005 17691 private byte memoizedIsInitialized = -1; 14006 @Override 14007 public final boolean isInitialized() { 17692 public final boolean isInitialized() { 14008 17693 byte isInitialized = memoizedIsInitialized; 14009 17694 if (isInitialized == 1) return true; … … 14020 17705 } 14021 17706 14022 @Override 14023 public void writeTo(com.google.protobuf.CodedOutputStream output) 17707 public void writeTo(com.google.protobuf.CodedOutputStream output) 14024 17708 throws java.io.IOException { 14025 getSerializedSize();14026 17709 if (((bitField0_ & 0x00000001) == 0x00000001)) { 14027 output.writeBytes(1, getNameBytes());17710 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 14028 17711 } 14029 17712 if (((bitField0_ & 0x00000002) == 0x00000002)) { 14030 output.writeBytes(2, getInputTypeBytes());17713 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputType_); 14031 17714 } 14032 17715 if (((bitField0_ & 0x00000004) == 0x00000004)) { 14033 output.writeBytes(3, getOutputTypeBytes());17716 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputType_); 14034 17717 } 14035 17718 if (((bitField0_ & 0x00000008) == 0x00000008)) { 14036 output.writeMessage(4, options_); 14037 } 14038 getUnknownFields().writeTo(output); 14039 } 14040 14041 private int memoizedSerializedSize = -1; 14042 @Override 14043 public int getSerializedSize() { 14044 int size = memoizedSerializedSize; 17719 output.writeMessage(4, getOptions()); 17720 } 17721 if (((bitField0_ & 0x00000010) == 0x00000010)) { 17722 output.writeBool(5, clientStreaming_); 17723 } 17724 if (((bitField0_ & 0x00000020) == 0x00000020)) { 17725 output.writeBool(6, serverStreaming_); 17726 } 17727 unknownFields.writeTo(output); 17728 } 17729 17730 public int getSerializedSize() { 17731 int size = memoizedSize; 14045 17732 if (size != -1) return size; 14046 17733 14047 17734 size = 0; 14048 17735 if (((bitField0_ & 0x00000001) == 0x00000001)) { 14049 size += com.google.protobuf.CodedOutputStream 14050 .computeBytesSize(1, getNameBytes()); 17736 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 14051 17737 } 14052 17738 if (((bitField0_ & 0x00000002) == 0x00000002)) { 14053 size += com.google.protobuf.CodedOutputStream 14054 .computeBytesSize(2, getInputTypeBytes()); 17739 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputType_); 14055 17740 } 14056 17741 if (((bitField0_ & 0x00000004) == 0x00000004)) { 14057 size += com.google.protobuf.CodedOutputStream 14058 .computeBytesSize(3, getOutputTypeBytes()); 17742 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputType_); 14059 17743 } 14060 17744 if (((bitField0_ & 0x00000008) == 0x00000008)) { 14061 17745 size += com.google.protobuf.CodedOutputStream 14062 .computeMessageSize(4, options_); 14063 } 14064 size += getUnknownFields().getSerializedSize(); 14065 memoizedSerializedSize = size; 17746 .computeMessageSize(4, getOptions()); 17747 } 17748 if (((bitField0_ & 0x00000010) == 0x00000010)) { 17749 size += com.google.protobuf.CodedOutputStream 17750 .computeBoolSize(5, clientStreaming_); 17751 } 17752 if (((bitField0_ & 0x00000020) == 0x00000020)) { 17753 size += com.google.protobuf.CodedOutputStream 17754 .computeBoolSize(6, serverStreaming_); 17755 } 17756 size += unknownFields.getSerializedSize(); 17757 memoizedSize = size; 14066 17758 return size; 14067 17759 } 14068 17760 14069 private static final long serialVersionUID = 0L;14070 17761 @java.lang.Override 14071 protected java.lang.Object writeReplace() 14072 throws java.io.ObjectStreamException { 14073 return super.writeReplace(); 14074 } 14075 17762 public boolean equals(final java.lang.Object obj) { 17763 if (obj == this) { 17764 return true; 17765 } 17766 if (!(obj instanceof com.google.protobuf.DescriptorProtos.MethodDescriptorProto)) { 17767 return super.equals(obj); 17768 } 17769 com.google.protobuf.DescriptorProtos.MethodDescriptorProto other = (com.google.protobuf.DescriptorProtos.MethodDescriptorProto) obj; 17770 17771 boolean result = true; 17772 result = result && (hasName() == other.hasName()); 17773 if (hasName()) { 17774 result = result && getName() 17775 .equals(other.getName()); 17776 } 17777 result = result && (hasInputType() == other.hasInputType()); 17778 if (hasInputType()) { 17779 result = result && getInputType() 17780 .equals(other.getInputType()); 17781 } 17782 result = result && (hasOutputType() == other.hasOutputType()); 17783 if (hasOutputType()) { 17784 result = result && getOutputType() 17785 .equals(other.getOutputType()); 17786 } 17787 result = result && (hasOptions() == other.hasOptions()); 17788 if (hasOptions()) { 17789 result = result && getOptions() 17790 .equals(other.getOptions()); 17791 } 17792 result = result && (hasClientStreaming() == other.hasClientStreaming()); 17793 if (hasClientStreaming()) { 17794 result = result && (getClientStreaming() 17795 == other.getClientStreaming()); 17796 } 17797 result = result && (hasServerStreaming() == other.hasServerStreaming()); 17798 if (hasServerStreaming()) { 17799 result = result && (getServerStreaming() 17800 == other.getServerStreaming()); 17801 } 17802 result = result && unknownFields.equals(other.unknownFields); 17803 return result; 17804 } 17805 17806 @java.lang.Override 17807 public int hashCode() { 17808 if (memoizedHashCode != 0) { 17809 return memoizedHashCode; 17810 } 17811 int hash = 41; 17812 hash = (19 * hash) + getDescriptor().hashCode(); 17813 if (hasName()) { 17814 hash = (37 * hash) + NAME_FIELD_NUMBER; 17815 hash = (53 * hash) + getName().hashCode(); 17816 } 17817 if (hasInputType()) { 17818 hash = (37 * hash) + INPUT_TYPE_FIELD_NUMBER; 17819 hash = (53 * hash) + getInputType().hashCode(); 17820 } 17821 if (hasOutputType()) { 17822 hash = (37 * hash) + OUTPUT_TYPE_FIELD_NUMBER; 17823 hash = (53 * hash) + getOutputType().hashCode(); 17824 } 17825 if (hasOptions()) { 17826 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 17827 hash = (53 * hash) + getOptions().hashCode(); 17828 } 17829 if (hasClientStreaming()) { 17830 hash = (37 * hash) + CLIENT_STREAMING_FIELD_NUMBER; 17831 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 17832 getClientStreaming()); 17833 } 17834 if (hasServerStreaming()) { 17835 hash = (37 * hash) + SERVER_STREAMING_FIELD_NUMBER; 17836 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 17837 getServerStreaming()); 17838 } 17839 hash = (29 * hash) + unknownFields.hashCode(); 17840 memoizedHashCode = hash; 17841 return hash; 17842 } 17843 17844 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( 17845 java.nio.ByteBuffer data) 17846 throws com.google.protobuf.InvalidProtocolBufferException { 17847 return PARSER.parseFrom(data); 17848 } 17849 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( 17850 java.nio.ByteBuffer data, 17851 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17852 throws com.google.protobuf.InvalidProtocolBufferException { 17853 return PARSER.parseFrom(data, extensionRegistry); 17854 } 14076 17855 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( 14077 17856 com.google.protobuf.ByteString data) … … 14097 17876 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(java.io.InputStream input) 14098 17877 throws java.io.IOException { 14099 return PARSER.parseFrom(input); 17878 return com.google.protobuf.GeneratedMessageV3 17879 .parseWithIOException(PARSER, input); 14100 17880 } 14101 17881 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( … … 14103 17883 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14104 17884 throws java.io.IOException { 14105 return PARSER.parseFrom(input, extensionRegistry); 17885 return com.google.protobuf.GeneratedMessageV3 17886 .parseWithIOException(PARSER, input, extensionRegistry); 14106 17887 } 14107 17888 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(java.io.InputStream input) 14108 17889 throws java.io.IOException { 14109 return PARSER.parseDelimitedFrom(input); 17890 return com.google.protobuf.GeneratedMessageV3 17891 .parseDelimitedWithIOException(PARSER, input); 14110 17892 } 14111 17893 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom( … … 14113 17895 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14114 17896 throws java.io.IOException { 14115 return PARSER.parseDelimitedFrom(input, extensionRegistry); 17897 return com.google.protobuf.GeneratedMessageV3 17898 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 14116 17899 } 14117 17900 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( 14118 17901 com.google.protobuf.CodedInputStream input) 14119 17902 throws java.io.IOException { 14120 return PARSER.parseFrom(input); 17903 return com.google.protobuf.GeneratedMessageV3 17904 .parseWithIOException(PARSER, input); 14121 17905 } 14122 17906 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom( … … 14124 17908 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14125 17909 throws java.io.IOException { 14126 return PARSER.parseFrom(input, extensionRegistry); 14127 } 14128 14129 public static Builder newBuilder() { return Builder.create(); } 14130 @Override 14131 public Builder newBuilderForType() { return newBuilder(); } 17910 return com.google.protobuf.GeneratedMessageV3 17911 .parseWithIOException(PARSER, input, extensionRegistry); 17912 } 17913 17914 public Builder newBuilderForType() { return newBuilder(); } 17915 public static Builder newBuilder() { 17916 return DEFAULT_INSTANCE.toBuilder(); 17917 } 14132 17918 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MethodDescriptorProto prototype) { 14133 return newBuilder().mergeFrom(prototype); 14134 } 14135 @Override 14136 public Builder toBuilder() { return newBuilder(this); } 17919 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 17920 } 17921 public Builder toBuilder() { 17922 return this == DEFAULT_INSTANCE 17923 ? new Builder() : new Builder().mergeFrom(this); 17924 } 14137 17925 14138 17926 @java.lang.Override 14139 17927 protected Builder newBuilderForType( 14140 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 17928 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 14141 17929 Builder builder = new Builder(parent); 14142 17930 return builder; 14143 17931 } 14144 17932 /** 14145 * Protobuf type {@code google.protobuf.MethodDescriptorProto}14146 *14147 17933 * <pre> 14148 17934 * Describes a method of a service. 14149 17935 * </pre> 17936 * 17937 * Protobuf type {@code google.protobuf.MethodDescriptorProto} 14150 17938 */ 14151 17939 public static final class Builder extends 14152 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 17940 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 14153 17941 // @@protoc_insertion_point(builder_implements:google.protobuf.MethodDescriptorProto) 14154 17942 com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder { … … 14158 17946 } 14159 17947 14160 @Override 14161 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 17948 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 14162 17949 internalGetFieldAccessorTable() { 14163 17950 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable … … 14172 17959 14173 17960 private Builder( 14174 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 17961 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 14175 17962 super(parent); 14176 17963 maybeForceBuilderInitialization(); 14177 17964 } 14178 17965 private void maybeForceBuilderInitialization() { 14179 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 17966 if (com.google.protobuf.GeneratedMessageV3 17967 .alwaysUseFieldBuilders) { 14180 17968 getOptionsFieldBuilder(); 14181 17969 } 14182 17970 } 14183 private static Builder create() { 14184 return new Builder(); 14185 } 14186 14187 @Override 14188 public Builder clear() { 17971 public Builder clear() { 14189 17972 super.clear(); 14190 17973 name_ = ""; … … 14195 17978 bitField0_ = (bitField0_ & ~0x00000004); 14196 17979 if (optionsBuilder_ == null) { 14197 options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();17980 options_ = null; 14198 17981 } else { 14199 17982 optionsBuilder_.clear(); 14200 17983 } 14201 17984 bitField0_ = (bitField0_ & ~0x00000008); 14202 return this; 14203 } 14204 14205 @Override 14206 public Builder clone() { 14207 return create().mergeFrom(buildPartial()); 14208 } 14209 14210 @Override 14211 public com.google.protobuf.Descriptors.Descriptor 17985 clientStreaming_ = false; 17986 bitField0_ = (bitField0_ & ~0x00000010); 17987 serverStreaming_ = false; 17988 bitField0_ = (bitField0_ & ~0x00000020); 17989 return this; 17990 } 17991 17992 public com.google.protobuf.Descriptors.Descriptor 14212 17993 getDescriptorForType() { 14213 17994 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor; 14214 17995 } 14215 17996 14216 @Override 14217 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() { 17997 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() { 14218 17998 return com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance(); 14219 17999 } 14220 18000 14221 @Override 14222 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto build() { 18001 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto build() { 14223 18002 com.google.protobuf.DescriptorProtos.MethodDescriptorProto result = buildPartial(); 14224 18003 if (!result.isInitialized()) { … … 14228 18007 } 14229 18008 14230 @Override 14231 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto buildPartial() { 18009 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto buildPartial() { 14232 18010 com.google.protobuf.DescriptorProtos.MethodDescriptorProto result = new com.google.protobuf.DescriptorProtos.MethodDescriptorProto(this); 14233 18011 int from_bitField0_ = bitField0_; … … 14253 18031 result.options_ = optionsBuilder_.build(); 14254 18032 } 18033 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 18034 to_bitField0_ |= 0x00000010; 18035 } 18036 result.clientStreaming_ = clientStreaming_; 18037 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 18038 to_bitField0_ |= 0x00000020; 18039 } 18040 result.serverStreaming_ = serverStreaming_; 14255 18041 result.bitField0_ = to_bitField0_; 14256 18042 onBuilt(); … … 14258 18044 } 14259 18045 14260 @Override 14261 public Builder mergeFrom(com.google.protobuf.Message other) { 18046 public Builder clone() { 18047 return (Builder) super.clone(); 18048 } 18049 public Builder setField( 18050 com.google.protobuf.Descriptors.FieldDescriptor field, 18051 java.lang.Object value) { 18052 return (Builder) super.setField(field, value); 18053 } 18054 public Builder clearField( 18055 com.google.protobuf.Descriptors.FieldDescriptor field) { 18056 return (Builder) super.clearField(field); 18057 } 18058 public Builder clearOneof( 18059 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 18060 return (Builder) super.clearOneof(oneof); 18061 } 18062 public Builder setRepeatedField( 18063 com.google.protobuf.Descriptors.FieldDescriptor field, 18064 int index, java.lang.Object value) { 18065 return (Builder) super.setRepeatedField(field, index, value); 18066 } 18067 public Builder addRepeatedField( 18068 com.google.protobuf.Descriptors.FieldDescriptor field, 18069 java.lang.Object value) { 18070 return (Builder) super.addRepeatedField(field, value); 18071 } 18072 public Builder mergeFrom(com.google.protobuf.Message other) { 14262 18073 if (other instanceof com.google.protobuf.DescriptorProtos.MethodDescriptorProto) { 14263 18074 return mergeFrom((com.google.protobuf.DescriptorProtos.MethodDescriptorProto)other); … … 14288 18099 mergeOptions(other.getOptions()); 14289 18100 } 14290 this.mergeUnknownFields(other.getUnknownFields()); 14291 return this; 14292 } 14293 14294 @Override 14295 public final boolean isInitialized() { 18101 if (other.hasClientStreaming()) { 18102 setClientStreaming(other.getClientStreaming()); 18103 } 18104 if (other.hasServerStreaming()) { 18105 setServerStreaming(other.getServerStreaming()); 18106 } 18107 this.mergeUnknownFields(other.unknownFields); 18108 onChanged(); 18109 return this; 18110 } 18111 18112 public final boolean isInitialized() { 14296 18113 if (hasOptions()) { 14297 18114 if (!getOptions().isInitialized()) { 14298 14299 18115 return false; 14300 18116 } … … 14303 18119 } 14304 18120 14305 @Override 14306 public Builder mergeFrom( 18121 public Builder mergeFrom( 14307 18122 com.google.protobuf.CodedInputStream input, 14308 18123 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 14313 18128 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 14314 18129 parsedMessage = (com.google.protobuf.DescriptorProtos.MethodDescriptorProto) e.getUnfinishedMessage(); 14315 throw e; 18130 throw e.unwrapIOException(); 14316 18131 } finally { 14317 18132 if (parsedMessage != null) { … … 14327 18142 * <code>optional string name = 1;</code> 14328 18143 */ 14329 @Override 14330 public boolean hasName() { 18144 public boolean hasName() { 14331 18145 return ((bitField0_ & 0x00000001) == 0x00000001); 14332 18146 } … … 14334 18148 * <code>optional string name = 1;</code> 14335 18149 */ 14336 @Override 14337 public java.lang.String getName() { 18150 public java.lang.String getName() { 14338 18151 java.lang.Object ref = name_; 14339 18152 if (!(ref instanceof java.lang.String)) { … … 14352 18165 * <code>optional string name = 1;</code> 14353 18166 */ 14354 @Override 14355 public com.google.protobuf.ByteString 18167 public com.google.protobuf.ByteString 14356 18168 getNameBytes() { 14357 18169 java.lang.Object ref = name_; 14358 18170 if (ref instanceof String) { 14359 com.google.protobuf.ByteString b = 18171 com.google.protobuf.ByteString b = 14360 18172 com.google.protobuf.ByteString.copyFromUtf8( 14361 18173 (java.lang.String) ref); … … 14404 18216 private java.lang.Object inputType_ = ""; 14405 18217 /** 14406 * <code>optional string input_type = 2;</code>14407 *14408 18218 * <pre> 14409 18219 * Input and output type names. These are resolved in the same way as 14410 18220 * FieldDescriptorProto.type_name, but must refer to a message type. 14411 18221 * </pre> 14412 */ 14413 @Override 14414 public boolean hasInputType() { 18222 * 18223 * <code>optional string input_type = 2;</code> 18224 */ 18225 public boolean hasInputType() { 14415 18226 return ((bitField0_ & 0x00000002) == 0x00000002); 14416 18227 } 14417 18228 /** 14418 * <code>optional string input_type = 2;</code>14419 *14420 18229 * <pre> 14421 18230 * Input and output type names. These are resolved in the same way as 14422 18231 * FieldDescriptorProto.type_name, but must refer to a message type. 14423 18232 * </pre> 14424 */ 14425 @Override 14426 public java.lang.String getInputType() { 18233 * 18234 * <code>optional string input_type = 2;</code> 18235 */ 18236 public java.lang.String getInputType() { 14427 18237 java.lang.Object ref = inputType_; 14428 18238 if (!(ref instanceof java.lang.String)) { … … 14439 18249 } 14440 18250 /** 14441 * <code>optional string input_type = 2;</code>14442 *14443 18251 * <pre> 14444 18252 * Input and output type names. These are resolved in the same way as 14445 18253 * FieldDescriptorProto.type_name, but must refer to a message type. 14446 18254 * </pre> 14447 */ 14448 @Override 14449 public com.google.protobuf.ByteString 18255 * 18256 * <code>optional string input_type = 2;</code> 18257 */ 18258 public com.google.protobuf.ByteString 14450 18259 getInputTypeBytes() { 14451 18260 java.lang.Object ref = inputType_; 14452 18261 if (ref instanceof String) { 14453 com.google.protobuf.ByteString b = 18262 com.google.protobuf.ByteString b = 14454 18263 com.google.protobuf.ByteString.copyFromUtf8( 14455 18264 (java.lang.String) ref); … … 14461 18270 } 14462 18271 /** 14463 * <code>optional string input_type = 2;</code>14464 *14465 18272 * <pre> 14466 18273 * Input and output type names. These are resolved in the same way as 14467 18274 * FieldDescriptorProto.type_name, but must refer to a message type. 14468 18275 * </pre> 18276 * 18277 * <code>optional string input_type = 2;</code> 14469 18278 */ 14470 18279 public Builder setInputType( … … 14479 18288 } 14480 18289 /** 14481 * <code>optional string input_type = 2;</code>14482 *14483 18290 * <pre> 14484 18291 * Input and output type names. These are resolved in the same way as 14485 18292 * FieldDescriptorProto.type_name, but must refer to a message type. 14486 18293 * </pre> 18294 * 18295 * <code>optional string input_type = 2;</code> 14487 18296 */ 14488 18297 public Builder clearInputType() { … … 14493 18302 } 14494 18303 /** 14495 * <code>optional string input_type = 2;</code>14496 *14497 18304 * <pre> 14498 18305 * Input and output type names. These are resolved in the same way as 14499 18306 * FieldDescriptorProto.type_name, but must refer to a message type. 14500 18307 * </pre> 18308 * 18309 * <code>optional string input_type = 2;</code> 14501 18310 */ 14502 18311 public Builder setInputTypeBytes( … … 14515 18324 * <code>optional string output_type = 3;</code> 14516 18325 */ 14517 @Override 14518 public boolean hasOutputType() { 18326 public boolean hasOutputType() { 14519 18327 return ((bitField0_ & 0x00000004) == 0x00000004); 14520 18328 } … … 14522 18330 * <code>optional string output_type = 3;</code> 14523 18331 */ 14524 @Override 14525 public java.lang.String getOutputType() { 18332 public java.lang.String getOutputType() { 14526 18333 java.lang.Object ref = outputType_; 14527 18334 if (!(ref instanceof java.lang.String)) { … … 14540 18347 * <code>optional string output_type = 3;</code> 14541 18348 */ 14542 @Override 14543 public com.google.protobuf.ByteString 18349 public com.google.protobuf.ByteString 14544 18350 getOutputTypeBytes() { 14545 18351 java.lang.Object ref = outputType_; 14546 18352 if (ref instanceof String) { 14547 com.google.protobuf.ByteString b = 18353 com.google.protobuf.ByteString b = 14548 18354 com.google.protobuf.ByteString.copyFromUtf8( 14549 18355 (java.lang.String) ref); … … 14590 18396 } 14591 18397 14592 private com.google.protobuf.DescriptorProtos.MethodOptions options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();14593 private com.google.protobuf.SingleFieldBuilder< 18398 private com.google.protobuf.DescriptorProtos.MethodOptions options_ = null; 18399 private com.google.protobuf.SingleFieldBuilderV3< 14594 18400 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder> optionsBuilder_; 14595 18401 /** 14596 18402 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 14597 18403 */ 14598 @Override 14599 public boolean hasOptions() { 18404 public boolean hasOptions() { 14600 18405 return ((bitField0_ & 0x00000008) == 0x00000008); 14601 18406 } … … 14603 18408 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 14604 18409 */ 14605 @Override 14606 public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() { 18410 public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() { 14607 18411 if (optionsBuilder_ == null) { 14608 return options_; 18412 return options_ == null ? com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_; 14609 18413 } else { 14610 18414 return optionsBuilder_.getMessage(); … … 14647 18451 if (optionsBuilder_ == null) { 14648 18452 if (((bitField0_ & 0x00000008) == 0x00000008) && 18453 options_ != null && 14649 18454 options_ != com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) { 14650 18455 options_ = … … 14665 18470 public Builder clearOptions() { 14666 18471 if (optionsBuilder_ == null) { 14667 options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();18472 options_ = null; 14668 18473 onChanged(); 14669 18474 } else { … … 14684 18489 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 14685 18490 */ 14686 @Override 14687 public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() { 18491 public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() { 14688 18492 if (optionsBuilder_ != null) { 14689 18493 return optionsBuilder_.getMessageOrBuilder(); 14690 18494 } else { 14691 return options_; 18495 return options_ == null ? 18496 com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_; 14692 18497 } 14693 18498 } … … 14695 18500 * <code>optional .google.protobuf.MethodOptions options = 4;</code> 14696 18501 */ 14697 private com.google.protobuf.SingleFieldBuilder< 14698 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder> 18502 private com.google.protobuf.SingleFieldBuilderV3< 18503 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder> 14699 18504 getOptionsFieldBuilder() { 14700 18505 if (optionsBuilder_ == null) { 14701 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<>( 18506 optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 18507 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>( 14702 18508 getOptions(), 14703 18509 getParentForChildren(), … … 14708 18514 } 14709 18515 18516 private boolean clientStreaming_ ; 18517 /** 18518 * <pre> 18519 * Identifies if client streams multiple client messages 18520 * </pre> 18521 * 18522 * <code>optional bool client_streaming = 5 [default = false];</code> 18523 */ 18524 public boolean hasClientStreaming() { 18525 return ((bitField0_ & 0x00000010) == 0x00000010); 18526 } 18527 /** 18528 * <pre> 18529 * Identifies if client streams multiple client messages 18530 * </pre> 18531 * 18532 * <code>optional bool client_streaming = 5 [default = false];</code> 18533 */ 18534 public boolean getClientStreaming() { 18535 return clientStreaming_; 18536 } 18537 /** 18538 * <pre> 18539 * Identifies if client streams multiple client messages 18540 * </pre> 18541 * 18542 * <code>optional bool client_streaming = 5 [default = false];</code> 18543 */ 18544 public Builder setClientStreaming(boolean value) { 18545 bitField0_ |= 0x00000010; 18546 clientStreaming_ = value; 18547 onChanged(); 18548 return this; 18549 } 18550 /** 18551 * <pre> 18552 * Identifies if client streams multiple client messages 18553 * </pre> 18554 * 18555 * <code>optional bool client_streaming = 5 [default = false];</code> 18556 */ 18557 public Builder clearClientStreaming() { 18558 bitField0_ = (bitField0_ & ~0x00000010); 18559 clientStreaming_ = false; 18560 onChanged(); 18561 return this; 18562 } 18563 18564 private boolean serverStreaming_ ; 18565 /** 18566 * <pre> 18567 * Identifies if server streams multiple server messages 18568 * </pre> 18569 * 18570 * <code>optional bool server_streaming = 6 [default = false];</code> 18571 */ 18572 public boolean hasServerStreaming() { 18573 return ((bitField0_ & 0x00000020) == 0x00000020); 18574 } 18575 /** 18576 * <pre> 18577 * Identifies if server streams multiple server messages 18578 * </pre> 18579 * 18580 * <code>optional bool server_streaming = 6 [default = false];</code> 18581 */ 18582 public boolean getServerStreaming() { 18583 return serverStreaming_; 18584 } 18585 /** 18586 * <pre> 18587 * Identifies if server streams multiple server messages 18588 * </pre> 18589 * 18590 * <code>optional bool server_streaming = 6 [default = false];</code> 18591 */ 18592 public Builder setServerStreaming(boolean value) { 18593 bitField0_ |= 0x00000020; 18594 serverStreaming_ = value; 18595 onChanged(); 18596 return this; 18597 } 18598 /** 18599 * <pre> 18600 * Identifies if server streams multiple server messages 18601 * </pre> 18602 * 18603 * <code>optional bool server_streaming = 6 [default = false];</code> 18604 */ 18605 public Builder clearServerStreaming() { 18606 bitField0_ = (bitField0_ & ~0x00000020); 18607 serverStreaming_ = false; 18608 onChanged(); 18609 return this; 18610 } 18611 public final Builder setUnknownFields( 18612 final com.google.protobuf.UnknownFieldSet unknownFields) { 18613 return super.setUnknownFields(unknownFields); 18614 } 18615 18616 public final Builder mergeUnknownFields( 18617 final com.google.protobuf.UnknownFieldSet unknownFields) { 18618 return super.mergeUnknownFields(unknownFields); 18619 } 18620 18621 14710 18622 // @@protoc_insertion_point(builder_scope:google.protobuf.MethodDescriptorProto) 14711 18623 } 14712 18624 18625 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) 18626 private static final com.google.protobuf.DescriptorProtos.MethodDescriptorProto DEFAULT_INSTANCE; 14713 18627 static { 14714 defaultInstance = new MethodDescriptorProto(true); 14715 defaultInstance.initFields(); 14716 } 14717 14718 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) 18628 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.MethodDescriptorProto(); 18629 } 18630 18631 public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstance() { 18632 return DEFAULT_INSTANCE; 18633 } 18634 18635 @java.lang.Deprecated public static final com.google.protobuf.Parser<MethodDescriptorProto> 18636 PARSER = new com.google.protobuf.AbstractParser<MethodDescriptorProto>() { 18637 public MethodDescriptorProto parsePartialFrom( 18638 com.google.protobuf.CodedInputStream input, 18639 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 18640 throws com.google.protobuf.InvalidProtocolBufferException { 18641 return new MethodDescriptorProto(input, extensionRegistry); 18642 } 18643 }; 18644 18645 public static com.google.protobuf.Parser<MethodDescriptorProto> parser() { 18646 return PARSER; 18647 } 18648 18649 @java.lang.Override 18650 public com.google.protobuf.Parser<MethodDescriptorProto> getParserForType() { 18651 return PARSER; 18652 } 18653 18654 public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() { 18655 return DEFAULT_INSTANCE; 18656 } 18657 14719 18658 } 14720 18659 14721 18660 public interface FileOptionsOrBuilder extends 14722 18661 // @@protoc_insertion_point(interface_extends:google.protobuf.FileOptions) 14723 com.google.protobuf.GeneratedMessage. 18662 com.google.protobuf.GeneratedMessageV3. 14724 18663 ExtendableMessageOrBuilder<FileOptions> { 14725 18664 14726 18665 /** 14727 * <code>optional string java_package = 1;</code>14728 *14729 18666 * <pre> 14730 18667 * Sets the Java package where classes generated from this .proto will be … … 14733 18670 * domain names. 14734 18671 * </pre> 18672 * 18673 * <code>optional string java_package = 1;</code> 14735 18674 */ 14736 18675 boolean hasJavaPackage(); 14737 18676 /** 14738 * <code>optional string java_package = 1;</code>14739 *14740 18677 * <pre> 14741 18678 * Sets the Java package where classes generated from this .proto will be … … 14744 18681 * domain names. 14745 18682 * </pre> 18683 * 18684 * <code>optional string java_package = 1;</code> 14746 18685 */ 14747 18686 java.lang.String getJavaPackage(); 14748 18687 /** 14749 * <code>optional string java_package = 1;</code>14750 *14751 18688 * <pre> 14752 18689 * Sets the Java package where classes generated from this .proto will be … … 14755 18692 * domain names. 14756 18693 * </pre> 18694 * 18695 * <code>optional string java_package = 1;</code> 14757 18696 */ 14758 18697 com.google.protobuf.ByteString … … 14760 18699 14761 18700 /** 14762 * <code>optional string java_outer_classname = 8;</code>14763 *14764 18701 * <pre> 14765 18702 * If set, all the classes from the .proto file are wrapped in a single … … 14769 18706 * explicitly choose the class name). 14770 18707 * </pre> 18708 * 18709 * <code>optional string java_outer_classname = 8;</code> 14771 18710 */ 14772 18711 boolean hasJavaOuterClassname(); 14773 18712 /** 14774 * <code>optional string java_outer_classname = 8;</code>14775 *14776 18713 * <pre> 14777 18714 * If set, all the classes from the .proto file are wrapped in a single … … 14781 18718 * explicitly choose the class name). 14782 18719 * </pre> 18720 * 18721 * <code>optional string java_outer_classname = 8;</code> 14783 18722 */ 14784 18723 java.lang.String getJavaOuterClassname(); 14785 18724 /** 14786 * <code>optional string java_outer_classname = 8;</code>14787 *14788 18725 * <pre> 14789 18726 * If set, all the classes from the .proto file are wrapped in a single … … 14793 18730 * explicitly choose the class name). 14794 18731 * </pre> 18732 * 18733 * <code>optional string java_outer_classname = 8;</code> 14795 18734 */ 14796 18735 com.google.protobuf.ByteString … … 14798 18737 14799 18738 /** 14800 * <code>optional bool java_multiple_files = 10 [default = false];</code>14801 *14802 18739 * <pre> 14803 18740 * If set true, then the Java code generator will generate a separate .java … … 14808 18745 * top-level extensions defined in the file. 14809 18746 * </pre> 18747 * 18748 * <code>optional bool java_multiple_files = 10 [default = false];</code> 14810 18749 */ 14811 18750 boolean hasJavaMultipleFiles(); 14812 18751 /** 14813 * <code>optional bool java_multiple_files = 10 [default = false];</code>14814 *14815 18752 * <pre> 14816 18753 * If set true, then the Java code generator will generate a separate .java … … 14821 18758 * top-level extensions defined in the file. 14822 18759 * </pre> 18760 * 18761 * <code>optional bool java_multiple_files = 10 [default = false];</code> 14823 18762 */ 14824 18763 boolean getJavaMultipleFiles(); 14825 18764 14826 18765 /** 14827 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 18766 * <pre> 18767 * This option does nothing. 18768 * </pre> 14828 18769 * 18770 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 18771 */ 18772 @java.lang.Deprecated boolean hasJavaGenerateEqualsAndHash(); 18773 /** 14829 18774 * <pre> 14830 * If set true, then the Java code generator will generate equals() and 14831 * hashCode() methods for all messages defined in the .proto file. 14832 * - In the full runtime, this is purely a speed optimization, as the 14833 * AbstractMessage base class includes reflection-based implementations of 14834 * these methods. 14835 *- In the lite runtime, setting this option changes the semantics of 14836 * equals() and hashCode() to more closely match those of the full runtime; 14837 * the generated methods compute their results based on field values rather 14838 * than object identity. (Implementations should not assume that hashcodes 14839 * will be consistent across runtimes or versions of the protocol compiler.) 18775 * This option does nothing. 14840 18776 * </pre> 14841 */14842 boolean hasJavaGenerateEqualsAndHash();14843 /**14844 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code>14845 18777 * 14846 * <pre> 14847 * If set true, then the Java code generator will generate equals() and 14848 * hashCode() methods for all messages defined in the .proto file. 14849 * - In the full runtime, this is purely a speed optimization, as the 14850 * AbstractMessage base class includes reflection-based implementations of 14851 * these methods. 14852 *- In the lite runtime, setting this option changes the semantics of 14853 * equals() and hashCode() to more closely match those of the full runtime; 14854 * the generated methods compute their results based on field values rather 14855 * than object identity. (Implementations should not assume that hashcodes 14856 * will be consistent across runtimes or versions of the protocol compiler.) 14857 * </pre> 14858 */ 14859 boolean getJavaGenerateEqualsAndHash(); 14860 14861 /** 14862 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 14863 * 18778 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 18779 */ 18780 @java.lang.Deprecated boolean getJavaGenerateEqualsAndHash(); 18781 18782 /** 14864 18783 * <pre> 14865 18784 * If set true, then the Java2 code generator will generate code that … … 14870 18789 * This option has no effect on when used with the lite runtime. 14871 18790 * </pre> 18791 * 18792 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 14872 18793 */ 14873 18794 boolean hasJavaStringCheckUtf8(); 14874 18795 /** 14875 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>14876 *14877 18796 * <pre> 14878 18797 * If set true, then the Java2 code generator will generate code that … … 14883 18802 * This option has no effect on when used with the lite runtime. 14884 18803 * </pre> 18804 * 18805 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 14885 18806 */ 14886 18807 boolean getJavaStringCheckUtf8(); … … 14896 18817 14897 18818 /** 14898 * <code>optional string go_package = 11;</code>14899 *14900 18819 * <pre> 14901 18820 * Sets the Go package where structs generated from this .proto will be 14902 * placed. There is no default. 18821 * placed. If omitted, the Go package will be derived from the following: 18822 * - The basename of the package import path, if provided. 18823 * - Otherwise, the package statement in the .proto file, if present. 18824 * - Otherwise, the basename of the .proto file, without extension. 14903 18825 * </pre> 18826 * 18827 * <code>optional string go_package = 11;</code> 14904 18828 */ 14905 18829 boolean hasGoPackage(); 14906 18830 /** 14907 * <code>optional string go_package = 11;</code>14908 *14909 18831 * <pre> 14910 18832 * Sets the Go package where structs generated from this .proto will be 14911 * placed. There is no default. 18833 * placed. If omitted, the Go package will be derived from the following: 18834 * - The basename of the package import path, if provided. 18835 * - Otherwise, the package statement in the .proto file, if present. 18836 * - Otherwise, the basename of the .proto file, without extension. 14912 18837 * </pre> 18838 * 18839 * <code>optional string go_package = 11;</code> 14913 18840 */ 14914 18841 java.lang.String getGoPackage(); 14915 18842 /** 14916 * <code>optional string go_package = 11;</code>14917 *14918 18843 * <pre> 14919 18844 * Sets the Go package where structs generated from this .proto will be 14920 * placed. There is no default. 18845 * placed. If omitted, the Go package will be derived from the following: 18846 * - The basename of the package import path, if provided. 18847 * - Otherwise, the package statement in the .proto file, if present. 18848 * - Otherwise, the basename of the .proto file, without extension. 14921 18849 * </pre> 18850 * 18851 * <code>optional string go_package = 11;</code> 14922 18852 */ 14923 18853 com.google.protobuf.ByteString … … 14925 18855 14926 18856 /** 14927 * <code>optional bool cc_generic_services = 16 [default = false];</code>14928 *14929 18857 * <pre> 14930 18858 * Should generic services be generated in each language? "Generic" services … … 14932 18860 * main code generators in each language (without additional plugins). 14933 18861 * Generic services were the only kind of service generation supported by 14934 * early versions of proto2.18862 * early versions of google.protobuf. 14935 18863 * Generic services are now considered deprecated in favor of using plugins 14936 18864 * that generate code specific to your particular RPC system. Therefore, … … 14938 18866 * explicitly set them to true. 14939 18867 * </pre> 18868 * 18869 * <code>optional bool cc_generic_services = 16 [default = false];</code> 14940 18870 */ 14941 18871 boolean hasCcGenericServices(); 14942 18872 /** 14943 * <code>optional bool cc_generic_services = 16 [default = false];</code>14944 *14945 18873 * <pre> 14946 18874 * Should generic services be generated in each language? "Generic" services … … 14948 18876 * main code generators in each language (without additional plugins). 14949 18877 * Generic services were the only kind of service generation supported by 14950 * early versions of proto2.18878 * early versions of google.protobuf. 14951 18879 * Generic services are now considered deprecated in favor of using plugins 14952 18880 * that generate code specific to your particular RPC system. Therefore, … … 14954 18882 * explicitly set them to true. 14955 18883 * </pre> 18884 * 18885 * <code>optional bool cc_generic_services = 16 [default = false];</code> 14956 18886 */ 14957 18887 boolean getCcGenericServices(); … … 14976 18906 14977 18907 /** 14978 * <code>optional bool deprecated = 23 [default = false];</code> 14979 * 18908 * <code>optional bool php_generic_services = 42 [default = false];</code> 18909 */ 18910 boolean hasPhpGenericServices(); 18911 /** 18912 * <code>optional bool php_generic_services = 42 [default = false];</code> 18913 */ 18914 boolean getPhpGenericServices(); 18915 18916 /** 14980 18917 * <pre> 14981 18918 * Is this file deprecated? … … 14984 18921 * least, this is a formalization for deprecating files. 14985 18922 * </pre> 18923 * 18924 * <code>optional bool deprecated = 23 [default = false];</code> 14986 18925 */ 14987 18926 boolean hasDeprecated(); 14988 18927 /** 14989 * <code>optional bool deprecated = 23 [default = false];</code>14990 *14991 18928 * <pre> 14992 18929 * Is this file deprecated? … … 14995 18932 * least, this is a formalization for deprecating files. 14996 18933 * </pre> 18934 * 18935 * <code>optional bool deprecated = 23 [default = false];</code> 14997 18936 */ 14998 18937 boolean getDeprecated(); 14999 18938 15000 18939 /** 15001 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18940 * <pre> 18941 * Enables the use of arenas for the proto messages in this file. This applies 18942 * only to generated classes for C++. 18943 * </pre> 15002 18944 * 18945 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 18946 */ 18947 boolean hasCcEnableArenas(); 18948 /** 18949 * <pre> 18950 * Enables the use of arenas for the proto messages in this file. This applies 18951 * only to generated classes for C++. 18952 * </pre> 18953 * 18954 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 18955 */ 18956 boolean getCcEnableArenas(); 18957 18958 /** 18959 * <pre> 18960 * Sets the objective c class prefix which is prepended to all objective c 18961 * generated classes from this .proto. There is no default. 18962 * </pre> 18963 * 18964 * <code>optional string objc_class_prefix = 36;</code> 18965 */ 18966 boolean hasObjcClassPrefix(); 18967 /** 18968 * <pre> 18969 * Sets the objective c class prefix which is prepended to all objective c 18970 * generated classes from this .proto. There is no default. 18971 * </pre> 18972 * 18973 * <code>optional string objc_class_prefix = 36;</code> 18974 */ 18975 java.lang.String getObjcClassPrefix(); 18976 /** 18977 * <pre> 18978 * Sets the objective c class prefix which is prepended to all objective c 18979 * generated classes from this .proto. There is no default. 18980 * </pre> 18981 * 18982 * <code>optional string objc_class_prefix = 36;</code> 18983 */ 18984 com.google.protobuf.ByteString 18985 getObjcClassPrefixBytes(); 18986 18987 /** 18988 * <pre> 18989 * Namespace for generated classes; defaults to the package. 18990 * </pre> 18991 * 18992 * <code>optional string csharp_namespace = 37;</code> 18993 */ 18994 boolean hasCsharpNamespace(); 18995 /** 18996 * <pre> 18997 * Namespace for generated classes; defaults to the package. 18998 * </pre> 18999 * 19000 * <code>optional string csharp_namespace = 37;</code> 19001 */ 19002 java.lang.String getCsharpNamespace(); 19003 /** 19004 * <pre> 19005 * Namespace for generated classes; defaults to the package. 19006 * </pre> 19007 * 19008 * <code>optional string csharp_namespace = 37;</code> 19009 */ 19010 com.google.protobuf.ByteString 19011 getCsharpNamespaceBytes(); 19012 19013 /** 19014 * <pre> 19015 * By default Swift generators will take the proto package and CamelCase it 19016 * replacing '.' with underscore and use that to prefix the types/symbols 19017 * defined. When this options is provided, they will use this value instead 19018 * to prefix the types/symbols defined. 19019 * </pre> 19020 * 19021 * <code>optional string swift_prefix = 39;</code> 19022 */ 19023 boolean hasSwiftPrefix(); 19024 /** 19025 * <pre> 19026 * By default Swift generators will take the proto package and CamelCase it 19027 * replacing '.' with underscore and use that to prefix the types/symbols 19028 * defined. When this options is provided, they will use this value instead 19029 * to prefix the types/symbols defined. 19030 * </pre> 19031 * 19032 * <code>optional string swift_prefix = 39;</code> 19033 */ 19034 java.lang.String getSwiftPrefix(); 19035 /** 19036 * <pre> 19037 * By default Swift generators will take the proto package and CamelCase it 19038 * replacing '.' with underscore and use that to prefix the types/symbols 19039 * defined. When this options is provided, they will use this value instead 19040 * to prefix the types/symbols defined. 19041 * </pre> 19042 * 19043 * <code>optional string swift_prefix = 39;</code> 19044 */ 19045 com.google.protobuf.ByteString 19046 getSwiftPrefixBytes(); 19047 19048 /** 19049 * <pre> 19050 * Sets the php class prefix which is prepended to all php generated classes 19051 * from this .proto. Default is empty. 19052 * </pre> 19053 * 19054 * <code>optional string php_class_prefix = 40;</code> 19055 */ 19056 boolean hasPhpClassPrefix(); 19057 /** 19058 * <pre> 19059 * Sets the php class prefix which is prepended to all php generated classes 19060 * from this .proto. Default is empty. 19061 * </pre> 19062 * 19063 * <code>optional string php_class_prefix = 40;</code> 19064 */ 19065 java.lang.String getPhpClassPrefix(); 19066 /** 19067 * <pre> 19068 * Sets the php class prefix which is prepended to all php generated classes 19069 * from this .proto. Default is empty. 19070 * </pre> 19071 * 19072 * <code>optional string php_class_prefix = 40;</code> 19073 */ 19074 com.google.protobuf.ByteString 19075 getPhpClassPrefixBytes(); 19076 19077 /** 19078 * <pre> 19079 * Use this option to change the namespace of php generated classes. Default 19080 * is empty. When this option is empty, the package name will be used for 19081 * determining the namespace. 19082 * </pre> 19083 * 19084 * <code>optional string php_namespace = 41;</code> 19085 */ 19086 boolean hasPhpNamespace(); 19087 /** 19088 * <pre> 19089 * Use this option to change the namespace of php generated classes. Default 19090 * is empty. When this option is empty, the package name will be used for 19091 * determining the namespace. 19092 * </pre> 19093 * 19094 * <code>optional string php_namespace = 41;</code> 19095 */ 19096 java.lang.String getPhpNamespace(); 19097 /** 19098 * <pre> 19099 * Use this option to change the namespace of php generated classes. Default 19100 * is empty. When this option is empty, the package name will be used for 19101 * determining the namespace. 19102 * </pre> 19103 * 19104 * <code>optional string php_namespace = 41;</code> 19105 */ 19106 com.google.protobuf.ByteString 19107 getPhpNamespaceBytes(); 19108 19109 /** 15003 19110 * <pre> 15004 19111 * The parser stores options it doesn't recognize here. See above. 15005 19112 * </pre> 15006 */ 15007 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 19113 * 19114 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 19115 */ 19116 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 15008 19117 getUninterpretedOptionList(); 15009 19118 /** 15010 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15011 *15012 19119 * <pre> 15013 19120 * The parser stores options it doesn't recognize here. See above. 15014 19121 * </pre> 19122 * 19123 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 15015 19124 */ 15016 19125 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 15017 19126 /** 15018 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15019 *15020 19127 * <pre> 15021 19128 * The parser stores options it doesn't recognize here. See above. 15022 19129 * </pre> 19130 * 19131 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 15023 19132 */ 15024 19133 int getUninterpretedOptionCount(); 15025 19134 /** 15026 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15027 *15028 19135 * <pre> 15029 19136 * The parser stores options it doesn't recognize here. See above. 15030 19137 * </pre> 15031 */ 15032 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 19138 * 19139 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 19140 */ 19141 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 15033 19142 getUninterpretedOptionOrBuilderList(); 15034 19143 /** 15035 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15036 *15037 19144 * <pre> 15038 19145 * The parser stores options it doesn't recognize here. See above. 15039 19146 * </pre> 19147 * 19148 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 15040 19149 */ 15041 19150 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 15045 19154 * Protobuf type {@code google.protobuf.FileOptions} 15046 19155 */ 15047 public static final class FileOptions extends 15048 com.google.protobuf.GeneratedMessage.ExtendableMessage< 19156 public static final class FileOptions extends 19157 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 15049 19158 FileOptions> implements 15050 19159 // @@protoc_insertion_point(message_implements:google.protobuf.FileOptions) 15051 19160 FileOptionsOrBuilder { 19161 private static final long serialVersionUID = 0L; 15052 19162 // Use FileOptions.newBuilder() to construct. 15053 private FileOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FileOptions, ?> builder) { 19163 private FileOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FileOptions, ?> builder) { 15054 19164 super(builder); 15055 this.unknownFields = builder.getUnknownFields(); 15056 } 15057 private FileOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 15058 15059 private static final FileOptions defaultInstance; 15060 public static FileOptions getDefaultInstance() { 15061 return defaultInstance; 15062 } 15063 15064 @Override 15065 public FileOptions getDefaultInstanceForType() { 15066 return defaultInstance; 15067 } 15068 15069 private final com.google.protobuf.UnknownFieldSet unknownFields; 19165 } 19166 private FileOptions() { 19167 javaPackage_ = ""; 19168 javaOuterClassname_ = ""; 19169 javaMultipleFiles_ = false; 19170 javaGenerateEqualsAndHash_ = false; 19171 javaStringCheckUtf8_ = false; 19172 optimizeFor_ = 1; 19173 goPackage_ = ""; 19174 ccGenericServices_ = false; 19175 javaGenericServices_ = false; 19176 pyGenericServices_ = false; 19177 phpGenericServices_ = false; 19178 deprecated_ = false; 19179 ccEnableArenas_ = false; 19180 objcClassPrefix_ = ""; 19181 csharpNamespace_ = ""; 19182 swiftPrefix_ = ""; 19183 phpClassPrefix_ = ""; 19184 phpNamespace_ = ""; 19185 uninterpretedOption_ = java.util.Collections.emptyList(); 19186 } 19187 15070 19188 @java.lang.Override 15071 19189 public final com.google.protobuf.UnknownFieldSet 15072 19190 getUnknownFields() { 15073 19191 return this.unknownFields; 15074 19192 } … … 15077 19195 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15078 19196 throws com.google.protobuf.InvalidProtocolBufferException { 15079 initFields();19197 this(); 15080 19198 int mutable_bitField0_ = 0; 15081 19199 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 15090 19208 break; 15091 19209 default: { 15092 if (!parseUnknownField( input, unknownFields,15093 19210 if (!parseUnknownField( 19211 input, unknownFields, extensionRegistry, tag)) { 15094 19212 done = true; 15095 19213 } … … 15115 19233 } else { 15116 19234 bitField0_ |= 0x00000020; 15117 optimizeFor_ = value;19235 optimizeFor_ = rawValue; 15118 19236 } 15119 19237 break; … … 15151 19269 } 15152 19270 case 184: { 15153 bitField0_ |= 0x00000 400;19271 bitField0_ |= 0x00000800; 15154 19272 deprecated_ = input.readBool(); 15155 19273 break; … … 15160 19278 break; 15161 19279 } 19280 case 248: { 19281 bitField0_ |= 0x00001000; 19282 ccEnableArenas_ = input.readBool(); 19283 break; 19284 } 19285 case 290: { 19286 com.google.protobuf.ByteString bs = input.readBytes(); 19287 bitField0_ |= 0x00002000; 19288 objcClassPrefix_ = bs; 19289 break; 19290 } 19291 case 298: { 19292 com.google.protobuf.ByteString bs = input.readBytes(); 19293 bitField0_ |= 0x00004000; 19294 csharpNamespace_ = bs; 19295 break; 19296 } 19297 case 314: { 19298 com.google.protobuf.ByteString bs = input.readBytes(); 19299 bitField0_ |= 0x00008000; 19300 swiftPrefix_ = bs; 19301 break; 19302 } 19303 case 322: { 19304 com.google.protobuf.ByteString bs = input.readBytes(); 19305 bitField0_ |= 0x00010000; 19306 phpClassPrefix_ = bs; 19307 break; 19308 } 19309 case 330: { 19310 com.google.protobuf.ByteString bs = input.readBytes(); 19311 bitField0_ |= 0x00020000; 19312 phpNamespace_ = bs; 19313 break; 19314 } 19315 case 336: { 19316 bitField0_ |= 0x00000400; 19317 phpGenericServices_ = input.readBool(); 19318 break; 19319 } 15162 19320 case 7994: { 15163 if (!((mutable_bitField0_ & 0x000 00800) == 0x00000800)) {15164 uninterpretedOption_ = new java.util.ArrayList<>(); 15165 mutable_bitField0_ |= 0x000 00800;19321 if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) { 19322 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 19323 mutable_bitField0_ |= 0x00040000; 15166 19324 } 15167 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 19325 uninterpretedOption_.add( 19326 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 15168 19327 break; 15169 19328 } … … 15174 19333 } catch (java.io.IOException e) { 15175 19334 throw new com.google.protobuf.InvalidProtocolBufferException( 15176 e .getMessage()).setUnfinishedMessage(this);19335 e).setUnfinishedMessage(this); 15177 19336 } finally { 15178 if (((mutable_bitField0_ & 0x000 00800) == 0x00000800)) {19337 if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) { 15179 19338 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 15180 19339 } … … 15188 19347 } 15189 19348 15190 @Override 15191 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 19349 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 15192 19350 internalGetFieldAccessorTable() { 15193 19351 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable … … 15196 19354 } 15197 19355 15198 public static com.google.protobuf.Parser<FileOptions> PARSER = 15199 new com.google.protobuf.AbstractParser<FileOptions>() { 15200 @Override 15201 public FileOptions parsePartialFrom( 15202 com.google.protobuf.CodedInputStream input, 15203 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15204 throws com.google.protobuf.InvalidProtocolBufferException { 15205 return new FileOptions(input, extensionRegistry); 15206 } 15207 }; 15208 15209 @java.lang.Override 15210 public com.google.protobuf.Parser<FileOptions> getParserForType() { 15211 return PARSER; 15212 } 15213 15214 /** 15215 * Protobuf enum {@code google.protobuf.FileOptions.OptimizeMode} 15216 * 19356 /** 15217 19357 * <pre> 15218 19358 * Generated classes can be optimized for speed or code size. 15219 19359 * </pre> 19360 * 19361 * Protobuf enum {@code google.protobuf.FileOptions.OptimizeMode} 15220 19362 */ 15221 19363 public enum OptimizeMode 15222 19364 implements com.google.protobuf.ProtocolMessageEnum { 15223 19365 /** 19366 * <pre> 19367 * Generate complete code for parsing, serialization, 19368 * </pre> 19369 * 15224 19370 * <code>SPEED = 1;</code> 15225 * 19371 */ 19372 SPEED(1), 19373 /** 19374 * <pre> 19375 * etc. 19376 * </pre> 19377 * 19378 * <code>CODE_SIZE = 2;</code> 19379 */ 19380 CODE_SIZE(2), 19381 /** 19382 * <pre> 19383 * Generate code using MessageLite and the lite runtime. 19384 * </pre> 19385 * 19386 * <code>LITE_RUNTIME = 3;</code> 19387 */ 19388 LITE_RUNTIME(3), 19389 ; 19390 19391 /** 15226 19392 * <pre> 15227 19393 * Generate complete code for parsing, serialization, 15228 19394 * </pre> 15229 */ 15230 SPEED(0, 1), 15231 /** 19395 * 19396 * <code>SPEED = 1;</code> 19397 */ 19398 public static final int SPEED_VALUE = 1; 19399 /** 19400 * <pre> 19401 * etc. 19402 * </pre> 19403 * 15232 19404 * <code>CODE_SIZE = 2;</code> 15233 * 15234 * <pre>15235 * etc.15236 * < /pre>15237 * /15238 CODE_SIZE(1, 2),15239 /**19405 */ 19406 public static final int CODE_SIZE_VALUE = 2; 19407 /** 19408 * <pre> 19409 * Generate code using MessageLite and the lite runtime. 19410 * </pre> 19411 * 15240 19412 * <code>LITE_RUNTIME = 3;</code> 15241 *15242 * <pre>15243 * Generate code using MessageLite and the lite runtime.15244 * </pre>15245 */15246 LITE_RUNTIME(2, 3),15247 ;15248 15249 /**15250 * <code>SPEED = 1;</code>15251 *15252 * <pre>15253 * Generate complete code for parsing, serialization,15254 * </pre>15255 */15256 public static final int SPEED_VALUE = 1;15257 /**15258 * <code>CODE_SIZE = 2;</code>15259 *15260 * <pre>15261 * etc.15262 * </pre>15263 */15264 public static final int CODE_SIZE_VALUE = 2;15265 /**15266 * <code>LITE_RUNTIME = 3;</code>15267 *15268 * <pre>15269 * Generate code using MessageLite and the lite runtime.15270 * </pre>15271 19413 */ 15272 19414 public static final int LITE_RUNTIME_VALUE = 3; 15273 19415 15274 19416 15275 @Override 15276 public final int getNumber() { return value; } 15277 19417 public final int getNumber() { 19418 return value; 19419 } 19420 19421 /** 19422 * @deprecated Use {@link #forNumber(int)} instead. 19423 */ 19424 @java.lang.Deprecated 15278 19425 public static OptimizeMode valueOf(int value) { 19426 return forNumber(value); 19427 } 19428 19429 public static OptimizeMode forNumber(int value) { 15279 19430 switch (value) { 15280 19431 case 1: return SPEED; … … 15289 19440 return internalValueMap; 15290 19441 } 15291 private static com.google.protobuf.Internal.EnumLiteMap< OptimizeMode>15292 internalValueMap = 19442 private static final com.google.protobuf.Internal.EnumLiteMap< 19443 OptimizeMode> internalValueMap = 15293 19444 new com.google.protobuf.Internal.EnumLiteMap<OptimizeMode>() { 15294 @Override 15295 public OptimizeMode findValueByNumber(int number) { 15296 return OptimizeMode.valueOf(number); 19445 public OptimizeMode findValueByNumber(int number) { 19446 return OptimizeMode.forNumber(number); 15297 19447 } 15298 19448 }; 15299 19449 15300 @Override 15301 public final com.google.protobuf.Descriptors.EnumValueDescriptor 19450 public final com.google.protobuf.Descriptors.EnumValueDescriptor 15302 19451 getValueDescriptor() { 15303 return getDescriptor().getValues().get(index); 15304 } 15305 @Override 15306 public final com.google.protobuf.Descriptors.EnumDescriptor 19452 return getDescriptor().getValues().get(ordinal()); 19453 } 19454 public final com.google.protobuf.Descriptors.EnumDescriptor 15307 19455 getDescriptorForType() { 15308 19456 return getDescriptor(); … … 15324 19472 } 15325 19473 15326 private final int index;15327 19474 private final int value; 15328 19475 15329 private OptimizeMode(int index, int value) { 15330 this.index = index; 19476 private OptimizeMode(int value) { 15331 19477 this.value = value; 15332 19478 } … … 15337 19483 private int bitField0_; 15338 19484 public static final int JAVA_PACKAGE_FIELD_NUMBER = 1; 15339 private java.lang.Object javaPackage_; 15340 /** 15341 * <code>optional string java_package = 1;</code> 15342 * 19485 private volatile java.lang.Object javaPackage_; 19486 /** 15343 19487 * <pre> 15344 19488 * Sets the Java package where classes generated from this .proto will be … … 15347 19491 * domain names. 15348 19492 * </pre> 15349 */ 15350 @Override 15351 public boolean hasJavaPackage() { 19493 * 19494 * <code>optional string java_package = 1;</code> 19495 */ 19496 public boolean hasJavaPackage() { 15352 19497 return ((bitField0_ & 0x00000001) == 0x00000001); 15353 19498 } 15354 19499 /** 15355 * <code>optional string java_package = 1;</code>15356 *15357 19500 * <pre> 15358 19501 * Sets the Java package where classes generated from this .proto will be … … 15361 19504 * domain names. 15362 19505 * </pre> 15363 */ 15364 @Override 15365 public java.lang.String getJavaPackage() { 19506 * 19507 * <code>optional string java_package = 1;</code> 19508 */ 19509 public java.lang.String getJavaPackage() { 15366 19510 java.lang.Object ref = javaPackage_; 15367 19511 if (ref instanceof java.lang.String) { 15368 19512 return (java.lang.String) ref; 15369 19513 } else { 15370 com.google.protobuf.ByteString bs = 19514 com.google.protobuf.ByteString bs = 15371 19515 (com.google.protobuf.ByteString) ref; 15372 19516 java.lang.String s = bs.toStringUtf8(); … … 15378 19522 } 15379 19523 /** 15380 * <code>optional string java_package = 1;</code>15381 *15382 19524 * <pre> 15383 19525 * Sets the Java package where classes generated from this .proto will be … … 15386 19528 * domain names. 15387 19529 * </pre> 15388 */ 15389 @Override 15390 public com.google.protobuf.ByteString 19530 * 19531 * <code>optional string java_package = 1;</code> 19532 */ 19533 public com.google.protobuf.ByteString 15391 19534 getJavaPackageBytes() { 15392 19535 java.lang.Object ref = javaPackage_; 15393 19536 if (ref instanceof java.lang.String) { 15394 com.google.protobuf.ByteString b = 19537 com.google.protobuf.ByteString b = 15395 19538 com.google.protobuf.ByteString.copyFromUtf8( 15396 19539 (java.lang.String) ref); … … 15403 19546 15404 19547 public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER = 8; 15405 private java.lang.Object javaOuterClassname_; 15406 /** 15407 * <code>optional string java_outer_classname = 8;</code> 15408 * 19548 private volatile java.lang.Object javaOuterClassname_; 19549 /** 15409 19550 * <pre> 15410 19551 * If set, all the classes from the .proto file are wrapped in a single … … 15414 19555 * explicitly choose the class name). 15415 19556 * </pre> 15416 */ 15417 @Override 15418 public boolean hasJavaOuterClassname() { 19557 * 19558 * <code>optional string java_outer_classname = 8;</code> 19559 */ 19560 public boolean hasJavaOuterClassname() { 15419 19561 return ((bitField0_ & 0x00000002) == 0x00000002); 15420 19562 } 15421 19563 /** 15422 * <code>optional string java_outer_classname = 8;</code>15423 *15424 19564 * <pre> 15425 19565 * If set, all the classes from the .proto file are wrapped in a single … … 15429 19569 * explicitly choose the class name). 15430 19570 * </pre> 15431 */ 15432 @Override 15433 public java.lang.String getJavaOuterClassname() { 19571 * 19572 * <code>optional string java_outer_classname = 8;</code> 19573 */ 19574 public java.lang.String getJavaOuterClassname() { 15434 19575 java.lang.Object ref = javaOuterClassname_; 15435 19576 if (ref instanceof java.lang.String) { 15436 19577 return (java.lang.String) ref; 15437 19578 } else { 15438 com.google.protobuf.ByteString bs = 19579 com.google.protobuf.ByteString bs = 15439 19580 (com.google.protobuf.ByteString) ref; 15440 19581 java.lang.String s = bs.toStringUtf8(); … … 15446 19587 } 15447 19588 /** 15448 * <code>optional string java_outer_classname = 8;</code>15449 *15450 19589 * <pre> 15451 19590 * If set, all the classes from the .proto file are wrapped in a single … … 15455 19594 * explicitly choose the class name). 15456 19595 * </pre> 15457 */ 15458 @Override 15459 public com.google.protobuf.ByteString 19596 * 19597 * <code>optional string java_outer_classname = 8;</code> 19598 */ 19599 public com.google.protobuf.ByteString 15460 19600 getJavaOuterClassnameBytes() { 15461 19601 java.lang.Object ref = javaOuterClassname_; 15462 19602 if (ref instanceof java.lang.String) { 15463 com.google.protobuf.ByteString b = 19603 com.google.protobuf.ByteString b = 15464 19604 com.google.protobuf.ByteString.copyFromUtf8( 15465 19605 (java.lang.String) ref); … … 15474 19614 private boolean javaMultipleFiles_; 15475 19615 /** 15476 * <code>optional bool java_multiple_files = 10 [default = false];</code>15477 *15478 19616 * <pre> 15479 19617 * If set true, then the Java code generator will generate a separate .java … … 15484 19622 * top-level extensions defined in the file. 15485 19623 * </pre> 15486 */ 15487 @Override 15488 public boolean hasJavaMultipleFiles() { 19624 * 19625 * <code>optional bool java_multiple_files = 10 [default = false];</code> 19626 */ 19627 public boolean hasJavaMultipleFiles() { 15489 19628 return ((bitField0_ & 0x00000004) == 0x00000004); 15490 19629 } 15491 19630 /** 15492 * <code>optional bool java_multiple_files = 10 [default = false];</code>15493 *15494 19631 * <pre> 15495 19632 * If set true, then the Java code generator will generate a separate .java … … 15500 19637 * top-level extensions defined in the file. 15501 19638 * </pre> 15502 */ 15503 @Override 15504 public boolean getJavaMultipleFiles() { 19639 * 19640 * <code>optional bool java_multiple_files = 10 [default = false];</code> 19641 */ 19642 public boolean getJavaMultipleFiles() { 15505 19643 return javaMultipleFiles_; 15506 19644 } … … 15509 19647 private boolean javaGenerateEqualsAndHash_; 15510 19648 /** 15511 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 19649 * <pre> 19650 * This option does nothing. 19651 * </pre> 15512 19652 * 19653 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 19654 */ 19655 @java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() { 19656 return ((bitField0_ & 0x00000008) == 0x00000008); 19657 } 19658 /** 15513 19659 * <pre> 15514 * If set true, then the Java code generator will generate equals() and 15515 * hashCode() methods for all messages defined in the .proto file. 15516 * - In the full runtime, this is purely a speed optimization, as the 15517 * AbstractMessage base class includes reflection-based implementations of 15518 * these methods. 15519 *- In the lite runtime, setting this option changes the semantics of 15520 * equals() and hashCode() to more closely match those of the full runtime; 15521 * the generated methods compute their results based on field values rather 15522 * than object identity. (Implementations should not assume that hashcodes 15523 * will be consistent across runtimes or versions of the protocol compiler.) 19660 * This option does nothing. 15524 19661 * </pre> 15525 */15526 @Override15527 public boolean hasJavaGenerateEqualsAndHash() {15528 return ((bitField0_ & 0x00000008) == 0x00000008);15529 }15530 /**15531 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code>15532 19662 * 15533 * <pre> 15534 * If set true, then the Java code generator will generate equals() and 15535 * hashCode() methods for all messages defined in the .proto file. 15536 * - In the full runtime, this is purely a speed optimization, as the 15537 * AbstractMessage base class includes reflection-based implementations of 15538 * these methods. 15539 *- In the lite runtime, setting this option changes the semantics of 15540 * equals() and hashCode() to more closely match those of the full runtime; 15541 * the generated methods compute their results based on field values rather 15542 * than object identity. (Implementations should not assume that hashcodes 15543 * will be consistent across runtimes or versions of the protocol compiler.) 15544 * </pre> 15545 */ 15546 @Override 15547 public boolean getJavaGenerateEqualsAndHash() { 19663 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 19664 */ 19665 @java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() { 15548 19666 return javaGenerateEqualsAndHash_; 15549 19667 } … … 15552 19670 private boolean javaStringCheckUtf8_; 15553 19671 /** 15554 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>15555 *15556 19672 * <pre> 15557 19673 * If set true, then the Java2 code generator will generate code that … … 15562 19678 * This option has no effect on when used with the lite runtime. 15563 19679 * </pre> 15564 */ 15565 @Override 15566 public boolean hasJavaStringCheckUtf8() { 19680 * 19681 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 19682 */ 19683 public boolean hasJavaStringCheckUtf8() { 15567 19684 return ((bitField0_ & 0x00000010) == 0x00000010); 15568 19685 } 15569 19686 /** 15570 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>15571 *15572 19687 * <pre> 15573 19688 * If set true, then the Java2 code generator will generate code that … … 15578 19693 * This option has no effect on when used with the lite runtime. 15579 19694 * </pre> 15580 */ 15581 @Override 15582 public boolean getJavaStringCheckUtf8() { 19695 * 19696 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 19697 */ 19698 public boolean getJavaStringCheckUtf8() { 15583 19699 return javaStringCheckUtf8_; 15584 19700 } 15585 19701 15586 19702 public static final int OPTIMIZE_FOR_FIELD_NUMBER = 9; 15587 private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeModeoptimizeFor_;19703 private int optimizeFor_; 15588 19704 /** 15589 19705 * <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code> 15590 19706 */ 15591 @Override 15592 public boolean hasOptimizeFor() { 19707 public boolean hasOptimizeFor() { 15593 19708 return ((bitField0_ & 0x00000020) == 0x00000020); 15594 19709 } … … 15596 19711 * <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code> 15597 19712 */ 15598 @Override15599 publiccom.google.protobuf.DescriptorProtos.FileOptions.OptimizeModegetOptimizeFor() {15600 return optimizeFor_;19713 public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() { 19714 com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode result = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(optimizeFor_); 19715 return result == null ? com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED : result; 15601 19716 } 15602 19717 15603 19718 public static final int GO_PACKAGE_FIELD_NUMBER = 11; 15604 private java.lang.Object goPackage_; 15605 /** 15606 * <code>optional string go_package = 11;</code> 15607 * 19719 private volatile java.lang.Object goPackage_; 19720 /** 15608 19721 * <pre> 15609 19722 * Sets the Go package where structs generated from this .proto will be 15610 * placed. There is no default. 19723 * placed. If omitted, the Go package will be derived from the following: 19724 * - The basename of the package import path, if provided. 19725 * - Otherwise, the package statement in the .proto file, if present. 19726 * - Otherwise, the basename of the .proto file, without extension. 15611 19727 * </pre> 15612 */ 15613 @Override 15614 public boolean hasGoPackage() { 19728 * 19729 * <code>optional string go_package = 11;</code> 19730 */ 19731 public boolean hasGoPackage() { 15615 19732 return ((bitField0_ & 0x00000040) == 0x00000040); 15616 19733 } 15617 19734 /** 15618 * <code>optional string go_package = 11;</code>15619 *15620 19735 * <pre> 15621 19736 * Sets the Go package where structs generated from this .proto will be 15622 * placed. There is no default. 19737 * placed. If omitted, the Go package will be derived from the following: 19738 * - The basename of the package import path, if provided. 19739 * - Otherwise, the package statement in the .proto file, if present. 19740 * - Otherwise, the basename of the .proto file, without extension. 15623 19741 * </pre> 15624 */ 15625 @Override 15626 public java.lang.String getGoPackage() { 19742 * 19743 * <code>optional string go_package = 11;</code> 19744 */ 19745 public java.lang.String getGoPackage() { 15627 19746 java.lang.Object ref = goPackage_; 15628 19747 if (ref instanceof java.lang.String) { 15629 19748 return (java.lang.String) ref; 15630 19749 } else { 15631 com.google.protobuf.ByteString bs = 19750 com.google.protobuf.ByteString bs = 15632 19751 (com.google.protobuf.ByteString) ref; 15633 19752 java.lang.String s = bs.toStringUtf8(); … … 15639 19758 } 15640 19759 /** 15641 * <code>optional string go_package = 11;</code>15642 *15643 19760 * <pre> 15644 19761 * Sets the Go package where structs generated from this .proto will be 15645 * placed. There is no default. 19762 * placed. If omitted, the Go package will be derived from the following: 19763 * - The basename of the package import path, if provided. 19764 * - Otherwise, the package statement in the .proto file, if present. 19765 * - Otherwise, the basename of the .proto file, without extension. 15646 19766 * </pre> 15647 */ 15648 @Override 15649 public com.google.protobuf.ByteString 19767 * 19768 * <code>optional string go_package = 11;</code> 19769 */ 19770 public com.google.protobuf.ByteString 15650 19771 getGoPackageBytes() { 15651 19772 java.lang.Object ref = goPackage_; 15652 19773 if (ref instanceof java.lang.String) { 15653 com.google.protobuf.ByteString b = 19774 com.google.protobuf.ByteString b = 15654 19775 com.google.protobuf.ByteString.copyFromUtf8( 15655 19776 (java.lang.String) ref); … … 15664 19785 private boolean ccGenericServices_; 15665 19786 /** 15666 * <code>optional bool cc_generic_services = 16 [default = false];</code>15667 *15668 19787 * <pre> 15669 19788 * Should generic services be generated in each language? "Generic" services … … 15671 19790 * main code generators in each language (without additional plugins). 15672 19791 * Generic services were the only kind of service generation supported by 15673 * early versions of proto2.19792 * early versions of google.protobuf. 15674 19793 * Generic services are now considered deprecated in favor of using plugins 15675 19794 * that generate code specific to your particular RPC system. Therefore, … … 15677 19796 * explicitly set them to true. 15678 19797 * </pre> 15679 */ 15680 @Override 15681 public boolean hasCcGenericServices() { 19798 * 19799 * <code>optional bool cc_generic_services = 16 [default = false];</code> 19800 */ 19801 public boolean hasCcGenericServices() { 15682 19802 return ((bitField0_ & 0x00000080) == 0x00000080); 15683 19803 } 15684 19804 /** 15685 * <code>optional bool cc_generic_services = 16 [default = false];</code>15686 *15687 19805 * <pre> 15688 19806 * Should generic services be generated in each language? "Generic" services … … 15690 19808 * main code generators in each language (without additional plugins). 15691 19809 * Generic services were the only kind of service generation supported by 15692 * early versions of proto2.19810 * early versions of google.protobuf. 15693 19811 * Generic services are now considered deprecated in favor of using plugins 15694 19812 * that generate code specific to your particular RPC system. Therefore, … … 15696 19814 * explicitly set them to true. 15697 19815 * </pre> 15698 */ 15699 @Override 15700 public boolean getCcGenericServices() { 19816 * 19817 * <code>optional bool cc_generic_services = 16 [default = false];</code> 19818 */ 19819 public boolean getCcGenericServices() { 15701 19820 return ccGenericServices_; 15702 19821 } … … 15707 19826 * <code>optional bool java_generic_services = 17 [default = false];</code> 15708 19827 */ 15709 @Override 15710 public boolean hasJavaGenericServices() { 19828 public boolean hasJavaGenericServices() { 15711 19829 return ((bitField0_ & 0x00000100) == 0x00000100); 15712 19830 } … … 15714 19832 * <code>optional bool java_generic_services = 17 [default = false];</code> 15715 19833 */ 15716 @Override 15717 public boolean getJavaGenericServices() { 19834 public boolean getJavaGenericServices() { 15718 19835 return javaGenericServices_; 15719 19836 } … … 15724 19841 * <code>optional bool py_generic_services = 18 [default = false];</code> 15725 19842 */ 15726 @Override 15727 public boolean hasPyGenericServices() { 19843 public boolean hasPyGenericServices() { 15728 19844 return ((bitField0_ & 0x00000200) == 0x00000200); 15729 19845 } … … 15731 19847 * <code>optional bool py_generic_services = 18 [default = false];</code> 15732 19848 */ 15733 @Override 15734 public boolean getPyGenericServices() { 19849 public boolean getPyGenericServices() { 15735 19850 return pyGenericServices_; 19851 } 19852 19853 public static final int PHP_GENERIC_SERVICES_FIELD_NUMBER = 42; 19854 private boolean phpGenericServices_; 19855 /** 19856 * <code>optional bool php_generic_services = 42 [default = false];</code> 19857 */ 19858 public boolean hasPhpGenericServices() { 19859 return ((bitField0_ & 0x00000400) == 0x00000400); 19860 } 19861 /** 19862 * <code>optional bool php_generic_services = 42 [default = false];</code> 19863 */ 19864 public boolean getPhpGenericServices() { 19865 return phpGenericServices_; 15736 19866 } 15737 19867 … … 15739 19869 private boolean deprecated_; 15740 19870 /** 15741 * <code>optional bool deprecated = 23 [default = false];</code>15742 *15743 19871 * <pre> 15744 19872 * Is this file deprecated? … … 15747 19875 * least, this is a formalization for deprecating files. 15748 19876 * </pre> 15749 */ 15750 @Override 15751 public boolean hasDeprecated() { 15752 return ((bitField0_ & 0x00000400) == 0x00000400); 15753 } 15754 /** 19877 * 15755 19878 * <code>optional bool deprecated = 23 [default = false];</code> 15756 * 19879 */ 19880 public boolean hasDeprecated() { 19881 return ((bitField0_ & 0x00000800) == 0x00000800); 19882 } 19883 /** 15757 19884 * <pre> 15758 19885 * Is this file deprecated? … … 15761 19888 * least, this is a formalization for deprecating files. 15762 19889 * </pre> 15763 */ 15764 @Override 15765 public boolean getDeprecated() { 19890 * 19891 * <code>optional bool deprecated = 23 [default = false];</code> 19892 */ 19893 public boolean getDeprecated() { 15766 19894 return deprecated_; 19895 } 19896 19897 public static final int CC_ENABLE_ARENAS_FIELD_NUMBER = 31; 19898 private boolean ccEnableArenas_; 19899 /** 19900 * <pre> 19901 * Enables the use of arenas for the proto messages in this file. This applies 19902 * only to generated classes for C++. 19903 * </pre> 19904 * 19905 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 19906 */ 19907 public boolean hasCcEnableArenas() { 19908 return ((bitField0_ & 0x00001000) == 0x00001000); 19909 } 19910 /** 19911 * <pre> 19912 * Enables the use of arenas for the proto messages in this file. This applies 19913 * only to generated classes for C++. 19914 * </pre> 19915 * 19916 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 19917 */ 19918 public boolean getCcEnableArenas() { 19919 return ccEnableArenas_; 19920 } 19921 19922 public static final int OBJC_CLASS_PREFIX_FIELD_NUMBER = 36; 19923 private volatile java.lang.Object objcClassPrefix_; 19924 /** 19925 * <pre> 19926 * Sets the objective c class prefix which is prepended to all objective c 19927 * generated classes from this .proto. There is no default. 19928 * </pre> 19929 * 19930 * <code>optional string objc_class_prefix = 36;</code> 19931 */ 19932 public boolean hasObjcClassPrefix() { 19933 return ((bitField0_ & 0x00002000) == 0x00002000); 19934 } 19935 /** 19936 * <pre> 19937 * Sets the objective c class prefix which is prepended to all objective c 19938 * generated classes from this .proto. There is no default. 19939 * </pre> 19940 * 19941 * <code>optional string objc_class_prefix = 36;</code> 19942 */ 19943 public java.lang.String getObjcClassPrefix() { 19944 java.lang.Object ref = objcClassPrefix_; 19945 if (ref instanceof java.lang.String) { 19946 return (java.lang.String) ref; 19947 } else { 19948 com.google.protobuf.ByteString bs = 19949 (com.google.protobuf.ByteString) ref; 19950 java.lang.String s = bs.toStringUtf8(); 19951 if (bs.isValidUtf8()) { 19952 objcClassPrefix_ = s; 19953 } 19954 return s; 19955 } 19956 } 19957 /** 19958 * <pre> 19959 * Sets the objective c class prefix which is prepended to all objective c 19960 * generated classes from this .proto. There is no default. 19961 * </pre> 19962 * 19963 * <code>optional string objc_class_prefix = 36;</code> 19964 */ 19965 public com.google.protobuf.ByteString 19966 getObjcClassPrefixBytes() { 19967 java.lang.Object ref = objcClassPrefix_; 19968 if (ref instanceof java.lang.String) { 19969 com.google.protobuf.ByteString b = 19970 com.google.protobuf.ByteString.copyFromUtf8( 19971 (java.lang.String) ref); 19972 objcClassPrefix_ = b; 19973 return b; 19974 } else { 19975 return (com.google.protobuf.ByteString) ref; 19976 } 19977 } 19978 19979 public static final int CSHARP_NAMESPACE_FIELD_NUMBER = 37; 19980 private volatile java.lang.Object csharpNamespace_; 19981 /** 19982 * <pre> 19983 * Namespace for generated classes; defaults to the package. 19984 * </pre> 19985 * 19986 * <code>optional string csharp_namespace = 37;</code> 19987 */ 19988 public boolean hasCsharpNamespace() { 19989 return ((bitField0_ & 0x00004000) == 0x00004000); 19990 } 19991 /** 19992 * <pre> 19993 * Namespace for generated classes; defaults to the package. 19994 * </pre> 19995 * 19996 * <code>optional string csharp_namespace = 37;</code> 19997 */ 19998 public java.lang.String getCsharpNamespace() { 19999 java.lang.Object ref = csharpNamespace_; 20000 if (ref instanceof java.lang.String) { 20001 return (java.lang.String) ref; 20002 } else { 20003 com.google.protobuf.ByteString bs = 20004 (com.google.protobuf.ByteString) ref; 20005 java.lang.String s = bs.toStringUtf8(); 20006 if (bs.isValidUtf8()) { 20007 csharpNamespace_ = s; 20008 } 20009 return s; 20010 } 20011 } 20012 /** 20013 * <pre> 20014 * Namespace for generated classes; defaults to the package. 20015 * </pre> 20016 * 20017 * <code>optional string csharp_namespace = 37;</code> 20018 */ 20019 public com.google.protobuf.ByteString 20020 getCsharpNamespaceBytes() { 20021 java.lang.Object ref = csharpNamespace_; 20022 if (ref instanceof java.lang.String) { 20023 com.google.protobuf.ByteString b = 20024 com.google.protobuf.ByteString.copyFromUtf8( 20025 (java.lang.String) ref); 20026 csharpNamespace_ = b; 20027 return b; 20028 } else { 20029 return (com.google.protobuf.ByteString) ref; 20030 } 20031 } 20032 20033 public static final int SWIFT_PREFIX_FIELD_NUMBER = 39; 20034 private volatile java.lang.Object swiftPrefix_; 20035 /** 20036 * <pre> 20037 * By default Swift generators will take the proto package and CamelCase it 20038 * replacing '.' with underscore and use that to prefix the types/symbols 20039 * defined. When this options is provided, they will use this value instead 20040 * to prefix the types/symbols defined. 20041 * </pre> 20042 * 20043 * <code>optional string swift_prefix = 39;</code> 20044 */ 20045 public boolean hasSwiftPrefix() { 20046 return ((bitField0_ & 0x00008000) == 0x00008000); 20047 } 20048 /** 20049 * <pre> 20050 * By default Swift generators will take the proto package and CamelCase it 20051 * replacing '.' with underscore and use that to prefix the types/symbols 20052 * defined. When this options is provided, they will use this value instead 20053 * to prefix the types/symbols defined. 20054 * </pre> 20055 * 20056 * <code>optional string swift_prefix = 39;</code> 20057 */ 20058 public java.lang.String getSwiftPrefix() { 20059 java.lang.Object ref = swiftPrefix_; 20060 if (ref instanceof java.lang.String) { 20061 return (java.lang.String) ref; 20062 } else { 20063 com.google.protobuf.ByteString bs = 20064 (com.google.protobuf.ByteString) ref; 20065 java.lang.String s = bs.toStringUtf8(); 20066 if (bs.isValidUtf8()) { 20067 swiftPrefix_ = s; 20068 } 20069 return s; 20070 } 20071 } 20072 /** 20073 * <pre> 20074 * By default Swift generators will take the proto package and CamelCase it 20075 * replacing '.' with underscore and use that to prefix the types/symbols 20076 * defined. When this options is provided, they will use this value instead 20077 * to prefix the types/symbols defined. 20078 * </pre> 20079 * 20080 * <code>optional string swift_prefix = 39;</code> 20081 */ 20082 public com.google.protobuf.ByteString 20083 getSwiftPrefixBytes() { 20084 java.lang.Object ref = swiftPrefix_; 20085 if (ref instanceof java.lang.String) { 20086 com.google.protobuf.ByteString b = 20087 com.google.protobuf.ByteString.copyFromUtf8( 20088 (java.lang.String) ref); 20089 swiftPrefix_ = b; 20090 return b; 20091 } else { 20092 return (com.google.protobuf.ByteString) ref; 20093 } 20094 } 20095 20096 public static final int PHP_CLASS_PREFIX_FIELD_NUMBER = 40; 20097 private volatile java.lang.Object phpClassPrefix_; 20098 /** 20099 * <pre> 20100 * Sets the php class prefix which is prepended to all php generated classes 20101 * from this .proto. Default is empty. 20102 * </pre> 20103 * 20104 * <code>optional string php_class_prefix = 40;</code> 20105 */ 20106 public boolean hasPhpClassPrefix() { 20107 return ((bitField0_ & 0x00010000) == 0x00010000); 20108 } 20109 /** 20110 * <pre> 20111 * Sets the php class prefix which is prepended to all php generated classes 20112 * from this .proto. Default is empty. 20113 * </pre> 20114 * 20115 * <code>optional string php_class_prefix = 40;</code> 20116 */ 20117 public java.lang.String getPhpClassPrefix() { 20118 java.lang.Object ref = phpClassPrefix_; 20119 if (ref instanceof java.lang.String) { 20120 return (java.lang.String) ref; 20121 } else { 20122 com.google.protobuf.ByteString bs = 20123 (com.google.protobuf.ByteString) ref; 20124 java.lang.String s = bs.toStringUtf8(); 20125 if (bs.isValidUtf8()) { 20126 phpClassPrefix_ = s; 20127 } 20128 return s; 20129 } 20130 } 20131 /** 20132 * <pre> 20133 * Sets the php class prefix which is prepended to all php generated classes 20134 * from this .proto. Default is empty. 20135 * </pre> 20136 * 20137 * <code>optional string php_class_prefix = 40;</code> 20138 */ 20139 public com.google.protobuf.ByteString 20140 getPhpClassPrefixBytes() { 20141 java.lang.Object ref = phpClassPrefix_; 20142 if (ref instanceof java.lang.String) { 20143 com.google.protobuf.ByteString b = 20144 com.google.protobuf.ByteString.copyFromUtf8( 20145 (java.lang.String) ref); 20146 phpClassPrefix_ = b; 20147 return b; 20148 } else { 20149 return (com.google.protobuf.ByteString) ref; 20150 } 20151 } 20152 20153 public static final int PHP_NAMESPACE_FIELD_NUMBER = 41; 20154 private volatile java.lang.Object phpNamespace_; 20155 /** 20156 * <pre> 20157 * Use this option to change the namespace of php generated classes. Default 20158 * is empty. When this option is empty, the package name will be used for 20159 * determining the namespace. 20160 * </pre> 20161 * 20162 * <code>optional string php_namespace = 41;</code> 20163 */ 20164 public boolean hasPhpNamespace() { 20165 return ((bitField0_ & 0x00020000) == 0x00020000); 20166 } 20167 /** 20168 * <pre> 20169 * Use this option to change the namespace of php generated classes. Default 20170 * is empty. When this option is empty, the package name will be used for 20171 * determining the namespace. 20172 * </pre> 20173 * 20174 * <code>optional string php_namespace = 41;</code> 20175 */ 20176 public java.lang.String getPhpNamespace() { 20177 java.lang.Object ref = phpNamespace_; 20178 if (ref instanceof java.lang.String) { 20179 return (java.lang.String) ref; 20180 } else { 20181 com.google.protobuf.ByteString bs = 20182 (com.google.protobuf.ByteString) ref; 20183 java.lang.String s = bs.toStringUtf8(); 20184 if (bs.isValidUtf8()) { 20185 phpNamespace_ = s; 20186 } 20187 return s; 20188 } 20189 } 20190 /** 20191 * <pre> 20192 * Use this option to change the namespace of php generated classes. Default 20193 * is empty. When this option is empty, the package name will be used for 20194 * determining the namespace. 20195 * </pre> 20196 * 20197 * <code>optional string php_namespace = 41;</code> 20198 */ 20199 public com.google.protobuf.ByteString 20200 getPhpNamespaceBytes() { 20201 java.lang.Object ref = phpNamespace_; 20202 if (ref instanceof java.lang.String) { 20203 com.google.protobuf.ByteString b = 20204 com.google.protobuf.ByteString.copyFromUtf8( 20205 (java.lang.String) ref); 20206 phpNamespace_ = b; 20207 return b; 20208 } else { 20209 return (com.google.protobuf.ByteString) ref; 20210 } 15767 20211 } 15768 20212 … … 15770 20214 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 15771 20215 /** 15772 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15773 *15774 20216 * <pre> 15775 20217 * The parser stores options it doesn't recognize here. See above. 15776 20218 * </pre> 15777 */ 15778 @Override 15779 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 20219 * 20220 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20221 */ 20222 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 15780 20223 return uninterpretedOption_; 15781 20224 } 15782 20225 /** 15783 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15784 *15785 20226 * <pre> 15786 20227 * The parser stores options it doesn't recognize here. See above. 15787 20228 * </pre> 15788 */ 15789 @Override 15790 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 20229 * 20230 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20231 */ 20232 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 15791 20233 getUninterpretedOptionOrBuilderList() { 15792 20234 return uninterpretedOption_; 15793 20235 } 15794 20236 /** 15795 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15796 *15797 20237 * <pre> 15798 20238 * The parser stores options it doesn't recognize here. See above. 15799 20239 * </pre> 15800 */ 15801 @Override 15802 public int getUninterpretedOptionCount() { 20240 * 20241 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20242 */ 20243 public int getUninterpretedOptionCount() { 15803 20244 return uninterpretedOption_.size(); 15804 20245 } 15805 20246 /** 15806 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15807 *15808 20247 * <pre> 15809 20248 * The parser stores options it doesn't recognize here. See above. 15810 20249 * </pre> 15811 */ 15812 @Override 15813 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 20250 * 20251 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20252 */ 20253 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 15814 20254 return uninterpretedOption_.get(index); 15815 20255 } 15816 20256 /** 15817 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>15818 *15819 20257 * <pre> 15820 20258 * The parser stores options it doesn't recognize here. See above. 15821 20259 * </pre> 15822 */ 15823 @Override 15824 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 20260 * 20261 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20262 */ 20263 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 15825 20264 int index) { 15826 20265 return uninterpretedOption_.get(index); 15827 20266 } 15828 20267 15829 private void initFields() {15830 javaPackage_ = "";15831 javaOuterClassname_ = "";15832 javaMultipleFiles_ = false;15833 javaGenerateEqualsAndHash_ = false;15834 javaStringCheckUtf8_ = false;15835 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;15836 goPackage_ = "";15837 ccGenericServices_ = false;15838 javaGenericServices_ = false;15839 pyGenericServices_ = false;15840 deprecated_ = false;15841 uninterpretedOption_ = java.util.Collections.emptyList();15842 }15843 20268 private byte memoizedIsInitialized = -1; 15844 @Override 15845 public final boolean isInitialized() { 20269 public final boolean isInitialized() { 15846 20270 byte isInitialized = memoizedIsInitialized; 15847 20271 if (isInitialized == 1) return true; … … 15862 20286 } 15863 20287 15864 @Override 15865 public void writeTo(com.google.protobuf.CodedOutputStream output) 20288 public void writeTo(com.google.protobuf.CodedOutputStream output) 15866 20289 throws java.io.IOException { 15867 getSerializedSize(); 15868 com.google.protobuf.GeneratedMessage 15869 .ExtendableMessage<com.google.protobuf.DescriptorProtos.FileOptions>.ExtensionWriter extensionWriter = 15870 newExtensionWriter(); 20290 com.google.protobuf.GeneratedMessageV3 20291 .ExtendableMessage<com.google.protobuf.DescriptorProtos.FileOptions>.ExtensionWriter 20292 extensionWriter = newExtensionWriter(); 15871 20293 if (((bitField0_ & 0x00000001) == 0x00000001)) { 15872 output.writeBytes(1, getJavaPackageBytes());20294 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, javaPackage_); 15873 20295 } 15874 20296 if (((bitField0_ & 0x00000002) == 0x00000002)) { 15875 output.writeBytes(8, getJavaOuterClassnameBytes());20297 com.google.protobuf.GeneratedMessageV3.writeString(output, 8, javaOuterClassname_); 15876 20298 } 15877 20299 if (((bitField0_ & 0x00000020) == 0x00000020)) { 15878 output.writeEnum(9, optimizeFor_ .getNumber());20300 output.writeEnum(9, optimizeFor_); 15879 20301 } 15880 20302 if (((bitField0_ & 0x00000004) == 0x00000004)) { … … 15882 20304 } 15883 20305 if (((bitField0_ & 0x00000040) == 0x00000040)) { 15884 output.writeBytes(11, getGoPackageBytes());20306 com.google.protobuf.GeneratedMessageV3.writeString(output, 11, goPackage_); 15885 20307 } 15886 20308 if (((bitField0_ & 0x00000080) == 0x00000080)) { … … 15896 20318 output.writeBool(20, javaGenerateEqualsAndHash_); 15897 20319 } 15898 if (((bitField0_ & 0x00000 400) == 0x00000400)) {20320 if (((bitField0_ & 0x00000800) == 0x00000800)) { 15899 20321 output.writeBool(23, deprecated_); 15900 20322 } … … 15902 20324 output.writeBool(27, javaStringCheckUtf8_); 15903 20325 } 20326 if (((bitField0_ & 0x00001000) == 0x00001000)) { 20327 output.writeBool(31, ccEnableArenas_); 20328 } 20329 if (((bitField0_ & 0x00002000) == 0x00002000)) { 20330 com.google.protobuf.GeneratedMessageV3.writeString(output, 36, objcClassPrefix_); 20331 } 20332 if (((bitField0_ & 0x00004000) == 0x00004000)) { 20333 com.google.protobuf.GeneratedMessageV3.writeString(output, 37, csharpNamespace_); 20334 } 20335 if (((bitField0_ & 0x00008000) == 0x00008000)) { 20336 com.google.protobuf.GeneratedMessageV3.writeString(output, 39, swiftPrefix_); 20337 } 20338 if (((bitField0_ & 0x00010000) == 0x00010000)) { 20339 com.google.protobuf.GeneratedMessageV3.writeString(output, 40, phpClassPrefix_); 20340 } 20341 if (((bitField0_ & 0x00020000) == 0x00020000)) { 20342 com.google.protobuf.GeneratedMessageV3.writeString(output, 41, phpNamespace_); 20343 } 20344 if (((bitField0_ & 0x00000400) == 0x00000400)) { 20345 output.writeBool(42, phpGenericServices_); 20346 } 15904 20347 for (int i = 0; i < uninterpretedOption_.size(); i++) { 15905 20348 output.writeMessage(999, uninterpretedOption_.get(i)); 15906 20349 } 15907 20350 extensionWriter.writeUntil(536870912, output); 15908 getUnknownFields().writeTo(output); 15909 } 15910 15911 private int memoizedSerializedSize = -1; 15912 @Override 15913 public int getSerializedSize() { 15914 int size = memoizedSerializedSize; 20351 unknownFields.writeTo(output); 20352 } 20353 20354 public int getSerializedSize() { 20355 int size = memoizedSize; 15915 20356 if (size != -1) return size; 15916 20357 15917 20358 size = 0; 15918 20359 if (((bitField0_ & 0x00000001) == 0x00000001)) { 15919 size += com.google.protobuf.CodedOutputStream 15920 .computeBytesSize(1, getJavaPackageBytes()); 20360 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, javaPackage_); 15921 20361 } 15922 20362 if (((bitField0_ & 0x00000002) == 0x00000002)) { 15923 size += com.google.protobuf.CodedOutputStream 15924 .computeBytesSize(8, getJavaOuterClassnameBytes()); 20363 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, javaOuterClassname_); 15925 20364 } 15926 20365 if (((bitField0_ & 0x00000020) == 0x00000020)) { 15927 20366 size += com.google.protobuf.CodedOutputStream 15928 .computeEnumSize(9, optimizeFor_ .getNumber());20367 .computeEnumSize(9, optimizeFor_); 15929 20368 } 15930 20369 if (((bitField0_ & 0x00000004) == 0x00000004)) { … … 15933 20372 } 15934 20373 if (((bitField0_ & 0x00000040) == 0x00000040)) { 15935 size += com.google.protobuf.CodedOutputStream 15936 .computeBytesSize(11, getGoPackageBytes()); 20374 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, goPackage_); 15937 20375 } 15938 20376 if (((bitField0_ & 0x00000080) == 0x00000080)) { … … 15952 20390 .computeBoolSize(20, javaGenerateEqualsAndHash_); 15953 20391 } 15954 if (((bitField0_ & 0x00000 400) == 0x00000400)) {20392 if (((bitField0_ & 0x00000800) == 0x00000800)) { 15955 20393 size += com.google.protobuf.CodedOutputStream 15956 20394 .computeBoolSize(23, deprecated_); … … 15960 20398 .computeBoolSize(27, javaStringCheckUtf8_); 15961 20399 } 20400 if (((bitField0_ & 0x00001000) == 0x00001000)) { 20401 size += com.google.protobuf.CodedOutputStream 20402 .computeBoolSize(31, ccEnableArenas_); 20403 } 20404 if (((bitField0_ & 0x00002000) == 0x00002000)) { 20405 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, objcClassPrefix_); 20406 } 20407 if (((bitField0_ & 0x00004000) == 0x00004000)) { 20408 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, csharpNamespace_); 20409 } 20410 if (((bitField0_ & 0x00008000) == 0x00008000)) { 20411 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(39, swiftPrefix_); 20412 } 20413 if (((bitField0_ & 0x00010000) == 0x00010000)) { 20414 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(40, phpClassPrefix_); 20415 } 20416 if (((bitField0_ & 0x00020000) == 0x00020000)) { 20417 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(41, phpNamespace_); 20418 } 20419 if (((bitField0_ & 0x00000400) == 0x00000400)) { 20420 size += com.google.protobuf.CodedOutputStream 20421 .computeBoolSize(42, phpGenericServices_); 20422 } 15962 20423 for (int i = 0; i < uninterpretedOption_.size(); i++) { 15963 20424 size += com.google.protobuf.CodedOutputStream … … 15965 20426 } 15966 20427 size += extensionsSerializedSize(); 15967 size += getUnknownFields().getSerializedSize();15968 memoizedS erializedSize = size;20428 size += unknownFields.getSerializedSize(); 20429 memoizedSize = size; 15969 20430 return size; 15970 20431 } 15971 20432 15972 private static final long serialVersionUID = 0L;15973 20433 @java.lang.Override 15974 protected java.lang.Object writeReplace() 15975 throws java.io.ObjectStreamException { 15976 return super.writeReplace(); 15977 } 15978 20434 public boolean equals(final java.lang.Object obj) { 20435 if (obj == this) { 20436 return true; 20437 } 20438 if (!(obj instanceof com.google.protobuf.DescriptorProtos.FileOptions)) { 20439 return super.equals(obj); 20440 } 20441 com.google.protobuf.DescriptorProtos.FileOptions other = (com.google.protobuf.DescriptorProtos.FileOptions) obj; 20442 20443 boolean result = true; 20444 result = result && (hasJavaPackage() == other.hasJavaPackage()); 20445 if (hasJavaPackage()) { 20446 result = result && getJavaPackage() 20447 .equals(other.getJavaPackage()); 20448 } 20449 result = result && (hasJavaOuterClassname() == other.hasJavaOuterClassname()); 20450 if (hasJavaOuterClassname()) { 20451 result = result && getJavaOuterClassname() 20452 .equals(other.getJavaOuterClassname()); 20453 } 20454 result = result && (hasJavaMultipleFiles() == other.hasJavaMultipleFiles()); 20455 if (hasJavaMultipleFiles()) { 20456 result = result && (getJavaMultipleFiles() 20457 == other.getJavaMultipleFiles()); 20458 } 20459 result = result && (hasJavaGenerateEqualsAndHash() == other.hasJavaGenerateEqualsAndHash()); 20460 if (hasJavaGenerateEqualsAndHash()) { 20461 result = result && (getJavaGenerateEqualsAndHash() 20462 == other.getJavaGenerateEqualsAndHash()); 20463 } 20464 result = result && (hasJavaStringCheckUtf8() == other.hasJavaStringCheckUtf8()); 20465 if (hasJavaStringCheckUtf8()) { 20466 result = result && (getJavaStringCheckUtf8() 20467 == other.getJavaStringCheckUtf8()); 20468 } 20469 result = result && (hasOptimizeFor() == other.hasOptimizeFor()); 20470 if (hasOptimizeFor()) { 20471 result = result && optimizeFor_ == other.optimizeFor_; 20472 } 20473 result = result && (hasGoPackage() == other.hasGoPackage()); 20474 if (hasGoPackage()) { 20475 result = result && getGoPackage() 20476 .equals(other.getGoPackage()); 20477 } 20478 result = result && (hasCcGenericServices() == other.hasCcGenericServices()); 20479 if (hasCcGenericServices()) { 20480 result = result && (getCcGenericServices() 20481 == other.getCcGenericServices()); 20482 } 20483 result = result && (hasJavaGenericServices() == other.hasJavaGenericServices()); 20484 if (hasJavaGenericServices()) { 20485 result = result && (getJavaGenericServices() 20486 == other.getJavaGenericServices()); 20487 } 20488 result = result && (hasPyGenericServices() == other.hasPyGenericServices()); 20489 if (hasPyGenericServices()) { 20490 result = result && (getPyGenericServices() 20491 == other.getPyGenericServices()); 20492 } 20493 result = result && (hasPhpGenericServices() == other.hasPhpGenericServices()); 20494 if (hasPhpGenericServices()) { 20495 result = result && (getPhpGenericServices() 20496 == other.getPhpGenericServices()); 20497 } 20498 result = result && (hasDeprecated() == other.hasDeprecated()); 20499 if (hasDeprecated()) { 20500 result = result && (getDeprecated() 20501 == other.getDeprecated()); 20502 } 20503 result = result && (hasCcEnableArenas() == other.hasCcEnableArenas()); 20504 if (hasCcEnableArenas()) { 20505 result = result && (getCcEnableArenas() 20506 == other.getCcEnableArenas()); 20507 } 20508 result = result && (hasObjcClassPrefix() == other.hasObjcClassPrefix()); 20509 if (hasObjcClassPrefix()) { 20510 result = result && getObjcClassPrefix() 20511 .equals(other.getObjcClassPrefix()); 20512 } 20513 result = result && (hasCsharpNamespace() == other.hasCsharpNamespace()); 20514 if (hasCsharpNamespace()) { 20515 result = result && getCsharpNamespace() 20516 .equals(other.getCsharpNamespace()); 20517 } 20518 result = result && (hasSwiftPrefix() == other.hasSwiftPrefix()); 20519 if (hasSwiftPrefix()) { 20520 result = result && getSwiftPrefix() 20521 .equals(other.getSwiftPrefix()); 20522 } 20523 result = result && (hasPhpClassPrefix() == other.hasPhpClassPrefix()); 20524 if (hasPhpClassPrefix()) { 20525 result = result && getPhpClassPrefix() 20526 .equals(other.getPhpClassPrefix()); 20527 } 20528 result = result && (hasPhpNamespace() == other.hasPhpNamespace()); 20529 if (hasPhpNamespace()) { 20530 result = result && getPhpNamespace() 20531 .equals(other.getPhpNamespace()); 20532 } 20533 result = result && getUninterpretedOptionList() 20534 .equals(other.getUninterpretedOptionList()); 20535 result = result && unknownFields.equals(other.unknownFields); 20536 result = result && 20537 getExtensionFields().equals(other.getExtensionFields()); 20538 return result; 20539 } 20540 20541 @java.lang.Override 20542 public int hashCode() { 20543 if (memoizedHashCode != 0) { 20544 return memoizedHashCode; 20545 } 20546 int hash = 41; 20547 hash = (19 * hash) + getDescriptor().hashCode(); 20548 if (hasJavaPackage()) { 20549 hash = (37 * hash) + JAVA_PACKAGE_FIELD_NUMBER; 20550 hash = (53 * hash) + getJavaPackage().hashCode(); 20551 } 20552 if (hasJavaOuterClassname()) { 20553 hash = (37 * hash) + JAVA_OUTER_CLASSNAME_FIELD_NUMBER; 20554 hash = (53 * hash) + getJavaOuterClassname().hashCode(); 20555 } 20556 if (hasJavaMultipleFiles()) { 20557 hash = (37 * hash) + JAVA_MULTIPLE_FILES_FIELD_NUMBER; 20558 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20559 getJavaMultipleFiles()); 20560 } 20561 if (hasJavaGenerateEqualsAndHash()) { 20562 hash = (37 * hash) + JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER; 20563 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20564 getJavaGenerateEqualsAndHash()); 20565 } 20566 if (hasJavaStringCheckUtf8()) { 20567 hash = (37 * hash) + JAVA_STRING_CHECK_UTF8_FIELD_NUMBER; 20568 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20569 getJavaStringCheckUtf8()); 20570 } 20571 if (hasOptimizeFor()) { 20572 hash = (37 * hash) + OPTIMIZE_FOR_FIELD_NUMBER; 20573 hash = (53 * hash) + optimizeFor_; 20574 } 20575 if (hasGoPackage()) { 20576 hash = (37 * hash) + GO_PACKAGE_FIELD_NUMBER; 20577 hash = (53 * hash) + getGoPackage().hashCode(); 20578 } 20579 if (hasCcGenericServices()) { 20580 hash = (37 * hash) + CC_GENERIC_SERVICES_FIELD_NUMBER; 20581 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20582 getCcGenericServices()); 20583 } 20584 if (hasJavaGenericServices()) { 20585 hash = (37 * hash) + JAVA_GENERIC_SERVICES_FIELD_NUMBER; 20586 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20587 getJavaGenericServices()); 20588 } 20589 if (hasPyGenericServices()) { 20590 hash = (37 * hash) + PY_GENERIC_SERVICES_FIELD_NUMBER; 20591 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20592 getPyGenericServices()); 20593 } 20594 if (hasPhpGenericServices()) { 20595 hash = (37 * hash) + PHP_GENERIC_SERVICES_FIELD_NUMBER; 20596 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20597 getPhpGenericServices()); 20598 } 20599 if (hasDeprecated()) { 20600 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 20601 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20602 getDeprecated()); 20603 } 20604 if (hasCcEnableArenas()) { 20605 hash = (37 * hash) + CC_ENABLE_ARENAS_FIELD_NUMBER; 20606 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 20607 getCcEnableArenas()); 20608 } 20609 if (hasObjcClassPrefix()) { 20610 hash = (37 * hash) + OBJC_CLASS_PREFIX_FIELD_NUMBER; 20611 hash = (53 * hash) + getObjcClassPrefix().hashCode(); 20612 } 20613 if (hasCsharpNamespace()) { 20614 hash = (37 * hash) + CSHARP_NAMESPACE_FIELD_NUMBER; 20615 hash = (53 * hash) + getCsharpNamespace().hashCode(); 20616 } 20617 if (hasSwiftPrefix()) { 20618 hash = (37 * hash) + SWIFT_PREFIX_FIELD_NUMBER; 20619 hash = (53 * hash) + getSwiftPrefix().hashCode(); 20620 } 20621 if (hasPhpClassPrefix()) { 20622 hash = (37 * hash) + PHP_CLASS_PREFIX_FIELD_NUMBER; 20623 hash = (53 * hash) + getPhpClassPrefix().hashCode(); 20624 } 20625 if (hasPhpNamespace()) { 20626 hash = (37 * hash) + PHP_NAMESPACE_FIELD_NUMBER; 20627 hash = (53 * hash) + getPhpNamespace().hashCode(); 20628 } 20629 if (getUninterpretedOptionCount() > 0) { 20630 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 20631 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 20632 } 20633 hash = hashFields(hash, getExtensionFields()); 20634 hash = (29 * hash) + unknownFields.hashCode(); 20635 memoizedHashCode = hash; 20636 return hash; 20637 } 20638 20639 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( 20640 java.nio.ByteBuffer data) 20641 throws com.google.protobuf.InvalidProtocolBufferException { 20642 return PARSER.parseFrom(data); 20643 } 20644 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( 20645 java.nio.ByteBuffer data, 20646 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 20647 throws com.google.protobuf.InvalidProtocolBufferException { 20648 return PARSER.parseFrom(data, extensionRegistry); 20649 } 15979 20650 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( 15980 20651 com.google.protobuf.ByteString data) … … 16000 20671 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(java.io.InputStream input) 16001 20672 throws java.io.IOException { 16002 return PARSER.parseFrom(input); 20673 return com.google.protobuf.GeneratedMessageV3 20674 .parseWithIOException(PARSER, input); 16003 20675 } 16004 20676 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( … … 16006 20678 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16007 20679 throws java.io.IOException { 16008 return PARSER.parseFrom(input, extensionRegistry); 20680 return com.google.protobuf.GeneratedMessageV3 20681 .parseWithIOException(PARSER, input, extensionRegistry); 16009 20682 } 16010 20683 public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input) 16011 20684 throws java.io.IOException { 16012 return PARSER.parseDelimitedFrom(input); 20685 return com.google.protobuf.GeneratedMessageV3 20686 .parseDelimitedWithIOException(PARSER, input); 16013 20687 } 16014 20688 public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom( … … 16016 20690 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16017 20691 throws java.io.IOException { 16018 return PARSER.parseDelimitedFrom(input, extensionRegistry); 20692 return com.google.protobuf.GeneratedMessageV3 20693 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 16019 20694 } 16020 20695 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( 16021 20696 com.google.protobuf.CodedInputStream input) 16022 20697 throws java.io.IOException { 16023 return PARSER.parseFrom(input); 20698 return com.google.protobuf.GeneratedMessageV3 20699 .parseWithIOException(PARSER, input); 16024 20700 } 16025 20701 public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom( … … 16027 20703 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16028 20704 throws java.io.IOException { 16029 return PARSER.parseFrom(input, extensionRegistry); 16030 } 16031 16032 public static Builder newBuilder() { return Builder.create(); } 16033 @Override 16034 public Builder newBuilderForType() { return newBuilder(); } 20705 return com.google.protobuf.GeneratedMessageV3 20706 .parseWithIOException(PARSER, input, extensionRegistry); 20707 } 20708 20709 public Builder newBuilderForType() { return newBuilder(); } 20710 public static Builder newBuilder() { 20711 return DEFAULT_INSTANCE.toBuilder(); 20712 } 16035 20713 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileOptions prototype) { 16036 return newBuilder().mergeFrom(prototype); 16037 } 16038 @Override 16039 public Builder toBuilder() { return newBuilder(this); } 20714 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 20715 } 20716 public Builder toBuilder() { 20717 return this == DEFAULT_INSTANCE 20718 ? new Builder() : new Builder().mergeFrom(this); 20719 } 16040 20720 16041 20721 @java.lang.Override 16042 20722 protected Builder newBuilderForType( 16043 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 20723 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 16044 20724 Builder builder = new Builder(parent); 16045 20725 return builder; … … 16049 20729 */ 16050 20730 public static final class Builder extends 16051 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 20731 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 16052 20732 com.google.protobuf.DescriptorProtos.FileOptions, Builder> implements 16053 20733 // @@protoc_insertion_point(builder_implements:google.protobuf.FileOptions) … … 16058 20738 } 16059 20739 16060 @Override 16061 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 20740 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 16062 20741 internalGetFieldAccessorTable() { 16063 20742 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable … … 16072 20751 16073 20752 private Builder( 16074 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 20753 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 16075 20754 super(parent); 16076 20755 maybeForceBuilderInitialization(); 16077 20756 } 16078 20757 private void maybeForceBuilderInitialization() { 16079 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 20758 if (com.google.protobuf.GeneratedMessageV3 20759 .alwaysUseFieldBuilders) { 16080 20760 getUninterpretedOptionFieldBuilder(); 16081 20761 } 16082 20762 } 16083 private static Builder create() { 16084 return new Builder(); 16085 } 16086 16087 @Override 16088 public Builder clear() { 20763 public Builder clear() { 16089 20764 super.clear(); 16090 20765 javaPackage_ = ""; … … 16098 20773 javaStringCheckUtf8_ = false; 16099 20774 bitField0_ = (bitField0_ & ~0x00000010); 16100 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;20775 optimizeFor_ = 1; 16101 20776 bitField0_ = (bitField0_ & ~0x00000020); 16102 20777 goPackage_ = ""; … … 16108 20783 pyGenericServices_ = false; 16109 20784 bitField0_ = (bitField0_ & ~0x00000200); 20785 phpGenericServices_ = false; 20786 bitField0_ = (bitField0_ & ~0x00000400); 16110 20787 deprecated_ = false; 16111 bitField0_ = (bitField0_ & ~0x00000400); 20788 bitField0_ = (bitField0_ & ~0x00000800); 20789 ccEnableArenas_ = false; 20790 bitField0_ = (bitField0_ & ~0x00001000); 20791 objcClassPrefix_ = ""; 20792 bitField0_ = (bitField0_ & ~0x00002000); 20793 csharpNamespace_ = ""; 20794 bitField0_ = (bitField0_ & ~0x00004000); 20795 swiftPrefix_ = ""; 20796 bitField0_ = (bitField0_ & ~0x00008000); 20797 phpClassPrefix_ = ""; 20798 bitField0_ = (bitField0_ & ~0x00010000); 20799 phpNamespace_ = ""; 20800 bitField0_ = (bitField0_ & ~0x00020000); 16112 20801 if (uninterpretedOptionBuilder_ == null) { 16113 20802 uninterpretedOption_ = java.util.Collections.emptyList(); 16114 bitField0_ = (bitField0_ & ~0x000 00800);20803 bitField0_ = (bitField0_ & ~0x00040000); 16115 20804 } else { 16116 20805 uninterpretedOptionBuilder_.clear(); … … 16119 20808 } 16120 20809 16121 @Override 16122 public Builder clone() { 16123 return create().mergeFrom(buildPartial()); 16124 } 16125 16126 @Override 16127 public com.google.protobuf.Descriptors.Descriptor 20810 public com.google.protobuf.Descriptors.Descriptor 16128 20811 getDescriptorForType() { 16129 20812 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor; 16130 20813 } 16131 20814 16132 @Override 16133 public com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() { 20815 public com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() { 16134 20816 return com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance(); 16135 20817 } 16136 20818 16137 @Override 16138 public com.google.protobuf.DescriptorProtos.FileOptions build() { 20819 public com.google.protobuf.DescriptorProtos.FileOptions build() { 16139 20820 com.google.protobuf.DescriptorProtos.FileOptions result = buildPartial(); 16140 20821 if (!result.isInitialized()) { … … 16144 20825 } 16145 20826 16146 @Override 16147 public com.google.protobuf.DescriptorProtos.FileOptions buildPartial() { 20827 public com.google.protobuf.DescriptorProtos.FileOptions buildPartial() { 16148 20828 com.google.protobuf.DescriptorProtos.FileOptions result = new com.google.protobuf.DescriptorProtos.FileOptions(this); 16149 20829 int from_bitField0_ = bitField0_; … … 16192 20872 to_bitField0_ |= 0x00000400; 16193 20873 } 20874 result.phpGenericServices_ = phpGenericServices_; 20875 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 20876 to_bitField0_ |= 0x00000800; 20877 } 16194 20878 result.deprecated_ = deprecated_; 20879 if (((from_bitField0_ & 0x00001000) == 0x00001000)) { 20880 to_bitField0_ |= 0x00001000; 20881 } 20882 result.ccEnableArenas_ = ccEnableArenas_; 20883 if (((from_bitField0_ & 0x00002000) == 0x00002000)) { 20884 to_bitField0_ |= 0x00002000; 20885 } 20886 result.objcClassPrefix_ = objcClassPrefix_; 20887 if (((from_bitField0_ & 0x00004000) == 0x00004000)) { 20888 to_bitField0_ |= 0x00004000; 20889 } 20890 result.csharpNamespace_ = csharpNamespace_; 20891 if (((from_bitField0_ & 0x00008000) == 0x00008000)) { 20892 to_bitField0_ |= 0x00008000; 20893 } 20894 result.swiftPrefix_ = swiftPrefix_; 20895 if (((from_bitField0_ & 0x00010000) == 0x00010000)) { 20896 to_bitField0_ |= 0x00010000; 20897 } 20898 result.phpClassPrefix_ = phpClassPrefix_; 20899 if (((from_bitField0_ & 0x00020000) == 0x00020000)) { 20900 to_bitField0_ |= 0x00020000; 20901 } 20902 result.phpNamespace_ = phpNamespace_; 16195 20903 if (uninterpretedOptionBuilder_ == null) { 16196 if (((bitField0_ & 0x000 00800) == 0x00000800)) {20904 if (((bitField0_ & 0x00040000) == 0x00040000)) { 16197 20905 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 16198 bitField0_ = (bitField0_ & ~0x000 00800);20906 bitField0_ = (bitField0_ & ~0x00040000); 16199 20907 } 16200 20908 result.uninterpretedOption_ = uninterpretedOption_; … … 16207 20915 } 16208 20916 16209 @Override 16210 public Builder mergeFrom(com.google.protobuf.Message other) { 20917 public Builder clone() { 20918 return (Builder) super.clone(); 20919 } 20920 public Builder setField( 20921 com.google.protobuf.Descriptors.FieldDescriptor field, 20922 java.lang.Object value) { 20923 return (Builder) super.setField(field, value); 20924 } 20925 public Builder clearField( 20926 com.google.protobuf.Descriptors.FieldDescriptor field) { 20927 return (Builder) super.clearField(field); 20928 } 20929 public Builder clearOneof( 20930 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 20931 return (Builder) super.clearOneof(oneof); 20932 } 20933 public Builder setRepeatedField( 20934 com.google.protobuf.Descriptors.FieldDescriptor field, 20935 int index, java.lang.Object value) { 20936 return (Builder) super.setRepeatedField(field, index, value); 20937 } 20938 public Builder addRepeatedField( 20939 com.google.protobuf.Descriptors.FieldDescriptor field, 20940 java.lang.Object value) { 20941 return (Builder) super.addRepeatedField(field, value); 20942 } 20943 public <Type> Builder setExtension( 20944 com.google.protobuf.GeneratedMessage.GeneratedExtension< 20945 com.google.protobuf.DescriptorProtos.FileOptions, Type> extension, 20946 Type value) { 20947 return (Builder) super.setExtension(extension, value); 20948 } 20949 public <Type> Builder setExtension( 20950 com.google.protobuf.GeneratedMessage.GeneratedExtension< 20951 com.google.protobuf.DescriptorProtos.FileOptions, java.util.List<Type>> extension, 20952 int index, Type value) { 20953 return (Builder) super.setExtension(extension, index, value); 20954 } 20955 public <Type> Builder addExtension( 20956 com.google.protobuf.GeneratedMessage.GeneratedExtension< 20957 com.google.protobuf.DescriptorProtos.FileOptions, java.util.List<Type>> extension, 20958 Type value) { 20959 return (Builder) super.addExtension(extension, value); 20960 } 20961 public <Type> Builder clearExtension( 20962 com.google.protobuf.GeneratedMessage.GeneratedExtension< 20963 com.google.protobuf.DescriptorProtos.FileOptions, ?> extension) { 20964 return (Builder) super.clearExtension(extension); 20965 } 20966 public Builder mergeFrom(com.google.protobuf.Message other) { 16211 20967 if (other instanceof com.google.protobuf.DescriptorProtos.FileOptions) { 16212 20968 return mergeFrom((com.google.protobuf.DescriptorProtos.FileOptions)other); … … 16255 21011 setPyGenericServices(other.getPyGenericServices()); 16256 21012 } 21013 if (other.hasPhpGenericServices()) { 21014 setPhpGenericServices(other.getPhpGenericServices()); 21015 } 16257 21016 if (other.hasDeprecated()) { 16258 21017 setDeprecated(other.getDeprecated()); 21018 } 21019 if (other.hasCcEnableArenas()) { 21020 setCcEnableArenas(other.getCcEnableArenas()); 21021 } 21022 if (other.hasObjcClassPrefix()) { 21023 bitField0_ |= 0x00002000; 21024 objcClassPrefix_ = other.objcClassPrefix_; 21025 onChanged(); 21026 } 21027 if (other.hasCsharpNamespace()) { 21028 bitField0_ |= 0x00004000; 21029 csharpNamespace_ = other.csharpNamespace_; 21030 onChanged(); 21031 } 21032 if (other.hasSwiftPrefix()) { 21033 bitField0_ |= 0x00008000; 21034 swiftPrefix_ = other.swiftPrefix_; 21035 onChanged(); 21036 } 21037 if (other.hasPhpClassPrefix()) { 21038 bitField0_ |= 0x00010000; 21039 phpClassPrefix_ = other.phpClassPrefix_; 21040 onChanged(); 21041 } 21042 if (other.hasPhpNamespace()) { 21043 bitField0_ |= 0x00020000; 21044 phpNamespace_ = other.phpNamespace_; 21045 onChanged(); 16259 21046 } 16260 21047 if (uninterpretedOptionBuilder_ == null) { … … 16262 21049 if (uninterpretedOption_.isEmpty()) { 16263 21050 uninterpretedOption_ = other.uninterpretedOption_; 16264 bitField0_ = (bitField0_ & ~0x000 00800);21051 bitField0_ = (bitField0_ & ~0x00040000); 16265 21052 } else { 16266 21053 ensureUninterpretedOptionIsMutable(); … … 16275 21062 uninterpretedOptionBuilder_ = null; 16276 21063 uninterpretedOption_ = other.uninterpretedOption_; 16277 bitField0_ = (bitField0_ & ~0x000 00800);16278 uninterpretedOptionBuilder_ = 16279 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 21064 bitField0_ = (bitField0_ & ~0x00040000); 21065 uninterpretedOptionBuilder_ = 21066 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 16280 21067 getUninterpretedOptionFieldBuilder() : null; 16281 21068 } else { … … 16285 21072 } 16286 21073 this.mergeExtensionFields(other); 16287 this.mergeUnknownFields(other. getUnknownFields());16288 return this;16289 }16290 16291 @Override 16292 21074 this.mergeUnknownFields(other.unknownFields); 21075 onChanged(); 21076 return this; 21077 } 21078 21079 public final boolean isInitialized() { 16293 21080 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 16294 21081 if (!getUninterpretedOption(i).isInitialized()) { 16295 16296 21082 return false; 16297 21083 } 16298 21084 } 16299 21085 if (!extensionsAreInitialized()) { 16300 16301 21086 return false; 16302 21087 } … … 16304 21089 } 16305 21090 16306 @Override 16307 public Builder mergeFrom( 21091 public Builder mergeFrom( 16308 21092 com.google.protobuf.CodedInputStream input, 16309 21093 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 16314 21098 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 16315 21099 parsedMessage = (com.google.protobuf.DescriptorProtos.FileOptions) e.getUnfinishedMessage(); 16316 throw e; 21100 throw e.unwrapIOException(); 16317 21101 } finally { 16318 21102 if (parsedMessage != null) { … … 16326 21110 private java.lang.Object javaPackage_ = ""; 16327 21111 /** 16328 * <code>optional string java_package = 1;</code>16329 *16330 21112 * <pre> 16331 21113 * Sets the Java package where classes generated from this .proto will be … … 16334 21116 * domain names. 16335 21117 * </pre> 16336 */ 16337 @Override 16338 public boolean hasJavaPackage() { 21118 * 21119 * <code>optional string java_package = 1;</code> 21120 */ 21121 public boolean hasJavaPackage() { 16339 21122 return ((bitField0_ & 0x00000001) == 0x00000001); 16340 21123 } 16341 21124 /** 16342 * <code>optional string java_package = 1;</code>16343 *16344 21125 * <pre> 16345 21126 * Sets the Java package where classes generated from this .proto will be … … 16348 21129 * domain names. 16349 21130 * </pre> 16350 */ 16351 @Override 16352 public java.lang.String getJavaPackage() { 21131 * 21132 * <code>optional string java_package = 1;</code> 21133 */ 21134 public java.lang.String getJavaPackage() { 16353 21135 java.lang.Object ref = javaPackage_; 16354 21136 if (!(ref instanceof java.lang.String)) { … … 16365 21147 } 16366 21148 /** 16367 * <code>optional string java_package = 1;</code>16368 *16369 21149 * <pre> 16370 21150 * Sets the Java package where classes generated from this .proto will be … … 16373 21153 * domain names. 16374 21154 * </pre> 16375 */ 16376 @Override 16377 public com.google.protobuf.ByteString 21155 * 21156 * <code>optional string java_package = 1;</code> 21157 */ 21158 public com.google.protobuf.ByteString 16378 21159 getJavaPackageBytes() { 16379 21160 java.lang.Object ref = javaPackage_; 16380 21161 if (ref instanceof String) { 16381 com.google.protobuf.ByteString b = 21162 com.google.protobuf.ByteString b = 16382 21163 com.google.protobuf.ByteString.copyFromUtf8( 16383 21164 (java.lang.String) ref); … … 16389 21170 } 16390 21171 /** 16391 * <code>optional string java_package = 1;</code>16392 *16393 21172 * <pre> 16394 21173 * Sets the Java package where classes generated from this .proto will be … … 16397 21176 * domain names. 16398 21177 * </pre> 21178 * 21179 * <code>optional string java_package = 1;</code> 16399 21180 */ 16400 21181 public Builder setJavaPackage( … … 16409 21190 } 16410 21191 /** 16411 * <code>optional string java_package = 1;</code>16412 *16413 21192 * <pre> 16414 21193 * Sets the Java package where classes generated from this .proto will be … … 16417 21196 * domain names. 16418 21197 * </pre> 21198 * 21199 * <code>optional string java_package = 1;</code> 16419 21200 */ 16420 21201 public Builder clearJavaPackage() { … … 16425 21206 } 16426 21207 /** 16427 * <code>optional string java_package = 1;</code>16428 *16429 21208 * <pre> 16430 21209 * Sets the Java package where classes generated from this .proto will be … … 16433 21212 * domain names. 16434 21213 * </pre> 21214 * 21215 * <code>optional string java_package = 1;</code> 16435 21216 */ 16436 21217 public Builder setJavaPackageBytes( … … 16447 21228 private java.lang.Object javaOuterClassname_ = ""; 16448 21229 /** 16449 * <code>optional string java_outer_classname = 8;</code>16450 *16451 21230 * <pre> 16452 21231 * If set, all the classes from the .proto file are wrapped in a single … … 16456 21235 * explicitly choose the class name). 16457 21236 * </pre> 16458 */ 16459 @Override 16460 public boolean hasJavaOuterClassname() { 21237 * 21238 * <code>optional string java_outer_classname = 8;</code> 21239 */ 21240 public boolean hasJavaOuterClassname() { 16461 21241 return ((bitField0_ & 0x00000002) == 0x00000002); 16462 21242 } 16463 21243 /** 16464 * <code>optional string java_outer_classname = 8;</code>16465 *16466 21244 * <pre> 16467 21245 * If set, all the classes from the .proto file are wrapped in a single … … 16471 21249 * explicitly choose the class name). 16472 21250 * </pre> 16473 */ 16474 @Override 16475 public java.lang.String getJavaOuterClassname() { 21251 * 21252 * <code>optional string java_outer_classname = 8;</code> 21253 */ 21254 public java.lang.String getJavaOuterClassname() { 16476 21255 java.lang.Object ref = javaOuterClassname_; 16477 21256 if (!(ref instanceof java.lang.String)) { … … 16488 21267 } 16489 21268 /** 16490 * <code>optional string java_outer_classname = 8;</code>16491 *16492 21269 * <pre> 16493 21270 * If set, all the classes from the .proto file are wrapped in a single … … 16497 21274 * explicitly choose the class name). 16498 21275 * </pre> 16499 */ 16500 @Override 16501 public com.google.protobuf.ByteString 21276 * 21277 * <code>optional string java_outer_classname = 8;</code> 21278 */ 21279 public com.google.protobuf.ByteString 16502 21280 getJavaOuterClassnameBytes() { 16503 21281 java.lang.Object ref = javaOuterClassname_; 16504 21282 if (ref instanceof String) { 16505 com.google.protobuf.ByteString b = 21283 com.google.protobuf.ByteString b = 16506 21284 com.google.protobuf.ByteString.copyFromUtf8( 16507 21285 (java.lang.String) ref); … … 16513 21291 } 16514 21292 /** 16515 * <code>optional string java_outer_classname = 8;</code>16516 *16517 21293 * <pre> 16518 21294 * If set, all the classes from the .proto file are wrapped in a single … … 16522 21298 * explicitly choose the class name). 16523 21299 * </pre> 21300 * 21301 * <code>optional string java_outer_classname = 8;</code> 16524 21302 */ 16525 21303 public Builder setJavaOuterClassname( … … 16534 21312 } 16535 21313 /** 16536 * <code>optional string java_outer_classname = 8;</code>16537 *16538 21314 * <pre> 16539 21315 * If set, all the classes from the .proto file are wrapped in a single … … 16543 21319 * explicitly choose the class name). 16544 21320 * </pre> 21321 * 21322 * <code>optional string java_outer_classname = 8;</code> 16545 21323 */ 16546 21324 public Builder clearJavaOuterClassname() { … … 16551 21329 } 16552 21330 /** 16553 * <code>optional string java_outer_classname = 8;</code>16554 *16555 21331 * <pre> 16556 21332 * If set, all the classes from the .proto file are wrapped in a single … … 16560 21336 * explicitly choose the class name). 16561 21337 * </pre> 21338 * 21339 * <code>optional string java_outer_classname = 8;</code> 16562 21340 */ 16563 21341 public Builder setJavaOuterClassnameBytes( … … 16574 21352 private boolean javaMultipleFiles_ ; 16575 21353 /** 16576 * <code>optional bool java_multiple_files = 10 [default = false];</code>16577 *16578 21354 * <pre> 16579 21355 * If set true, then the Java code generator will generate a separate .java … … 16584 21360 * top-level extensions defined in the file. 16585 21361 * </pre> 16586 */ 16587 @Override 16588 public boolean hasJavaMultipleFiles() { 21362 * 21363 * <code>optional bool java_multiple_files = 10 [default = false];</code> 21364 */ 21365 public boolean hasJavaMultipleFiles() { 16589 21366 return ((bitField0_ & 0x00000004) == 0x00000004); 16590 21367 } 16591 21368 /** 16592 * <code>optional bool java_multiple_files = 10 [default = false];</code>16593 *16594 21369 * <pre> 16595 21370 * If set true, then the Java code generator will generate a separate .java … … 16600 21375 * top-level extensions defined in the file. 16601 21376 * </pre> 16602 */ 16603 @Override 16604 public boolean getJavaMultipleFiles() { 21377 * 21378 * <code>optional bool java_multiple_files = 10 [default = false];</code> 21379 */ 21380 public boolean getJavaMultipleFiles() { 16605 21381 return javaMultipleFiles_; 16606 21382 } 16607 21383 /** 16608 * <code>optional bool java_multiple_files = 10 [default = false];</code>16609 *16610 21384 * <pre> 16611 21385 * If set true, then the Java code generator will generate a separate .java … … 16616 21390 * top-level extensions defined in the file. 16617 21391 * </pre> 21392 * 21393 * <code>optional bool java_multiple_files = 10 [default = false];</code> 16618 21394 */ 16619 21395 public Builder setJavaMultipleFiles(boolean value) { … … 16624 21400 } 16625 21401 /** 16626 * <code>optional bool java_multiple_files = 10 [default = false];</code>16627 *16628 21402 * <pre> 16629 21403 * If set true, then the Java code generator will generate a separate .java … … 16634 21408 * top-level extensions defined in the file. 16635 21409 * </pre> 21410 * 21411 * <code>optional bool java_multiple_files = 10 [default = false];</code> 16636 21412 */ 16637 21413 public Builder clearJavaMultipleFiles() { … … 16644 21420 private boolean javaGenerateEqualsAndHash_ ; 16645 21421 /** 16646 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 16647 * 16648 * <pre> 16649 * If set true, then the Java code generator will generate equals() and 16650 * hashCode() methods for all messages defined in the .proto file. 16651 * - In the full runtime, this is purely a speed optimization, as the 16652 * AbstractMessage base class includes reflection-based implementations of 16653 * these methods. 16654 *- In the lite runtime, setting this option changes the semantics of 16655 * equals() and hashCode() to more closely match those of the full runtime; 16656 * the generated methods compute their results based on field values rather 16657 * than object identity. (Implementations should not assume that hashcodes 16658 * will be consistent across runtimes or versions of the protocol compiler.) 16659 * </pre> 16660 */ 16661 @Override 16662 public boolean hasJavaGenerateEqualsAndHash() { 21422 * <pre> 21423 * This option does nothing. 21424 * </pre> 21425 * 21426 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 21427 */ 21428 @java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() { 16663 21429 return ((bitField0_ & 0x00000008) == 0x00000008); 16664 21430 } 16665 21431 /** 16666 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 16667 * 16668 * <pre> 16669 * If set true, then the Java code generator will generate equals() and 16670 * hashCode() methods for all messages defined in the .proto file. 16671 * - In the full runtime, this is purely a speed optimization, as the 16672 * AbstractMessage base class includes reflection-based implementations of 16673 * these methods. 16674 *- In the lite runtime, setting this option changes the semantics of 16675 * equals() and hashCode() to more closely match those of the full runtime; 16676 * the generated methods compute their results based on field values rather 16677 * than object identity. (Implementations should not assume that hashcodes 16678 * will be consistent across runtimes or versions of the protocol compiler.) 16679 * </pre> 16680 */ 16681 @Override 16682 public boolean getJavaGenerateEqualsAndHash() { 21432 * <pre> 21433 * This option does nothing. 21434 * </pre> 21435 * 21436 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 21437 */ 21438 @java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() { 16683 21439 return javaGenerateEqualsAndHash_; 16684 21440 } 16685 21441 /** 16686 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 16687 * 16688 * <pre> 16689 * If set true, then the Java code generator will generate equals() and 16690 * hashCode() methods for all messages defined in the .proto file. 16691 * - In the full runtime, this is purely a speed optimization, as the 16692 * AbstractMessage base class includes reflection-based implementations of 16693 * these methods. 16694 *- In the lite runtime, setting this option changes the semantics of 16695 * equals() and hashCode() to more closely match those of the full runtime; 16696 * the generated methods compute their results based on field values rather 16697 * than object identity. (Implementations should not assume that hashcodes 16698 * will be consistent across runtimes or versions of the protocol compiler.) 16699 * </pre> 16700 */ 16701 public Builder setJavaGenerateEqualsAndHash(boolean value) { 21442 * <pre> 21443 * This option does nothing. 21444 * </pre> 21445 * 21446 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 21447 */ 21448 @java.lang.Deprecated public Builder setJavaGenerateEqualsAndHash(boolean value) { 16702 21449 bitField0_ |= 0x00000008; 16703 21450 javaGenerateEqualsAndHash_ = value; … … 16706 21453 } 16707 21454 /** 16708 * <code>optional bool java_generate_equals_and_hash = 20 [default = false];</code> 16709 * 16710 * <pre> 16711 * If set true, then the Java code generator will generate equals() and 16712 * hashCode() methods for all messages defined in the .proto file. 16713 * - In the full runtime, this is purely a speed optimization, as the 16714 * AbstractMessage base class includes reflection-based implementations of 16715 * these methods. 16716 *- In the lite runtime, setting this option changes the semantics of 16717 * equals() and hashCode() to more closely match those of the full runtime; 16718 * the generated methods compute their results based on field values rather 16719 * than object identity. (Implementations should not assume that hashcodes 16720 * will be consistent across runtimes or versions of the protocol compiler.) 16721 * </pre> 16722 */ 16723 public Builder clearJavaGenerateEqualsAndHash() { 21455 * <pre> 21456 * This option does nothing. 21457 * </pre> 21458 * 21459 * <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code> 21460 */ 21461 @java.lang.Deprecated public Builder clearJavaGenerateEqualsAndHash() { 16724 21462 bitField0_ = (bitField0_ & ~0x00000008); 16725 21463 javaGenerateEqualsAndHash_ = false; … … 16730 21468 private boolean javaStringCheckUtf8_ ; 16731 21469 /** 16732 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>16733 *16734 21470 * <pre> 16735 21471 * If set true, then the Java2 code generator will generate code that … … 16740 21476 * This option has no effect on when used with the lite runtime. 16741 21477 * </pre> 16742 */ 16743 @Override 16744 public boolean hasJavaStringCheckUtf8() { 21478 * 21479 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 21480 */ 21481 public boolean hasJavaStringCheckUtf8() { 16745 21482 return ((bitField0_ & 0x00000010) == 0x00000010); 16746 21483 } 16747 21484 /** 16748 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>16749 *16750 21485 * <pre> 16751 21486 * If set true, then the Java2 code generator will generate code that … … 16756 21491 * This option has no effect on when used with the lite runtime. 16757 21492 * </pre> 16758 */ 16759 @Override 16760 public boolean getJavaStringCheckUtf8() { 21493 * 21494 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 21495 */ 21496 public boolean getJavaStringCheckUtf8() { 16761 21497 return javaStringCheckUtf8_; 16762 21498 } 16763 21499 /** 16764 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>16765 *16766 21500 * <pre> 16767 21501 * If set true, then the Java2 code generator will generate code that … … 16772 21506 * This option has no effect on when used with the lite runtime. 16773 21507 * </pre> 21508 * 21509 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16774 21510 */ 16775 21511 public Builder setJavaStringCheckUtf8(boolean value) { … … 16780 21516 } 16781 21517 /** 16782 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code>16783 *16784 21518 * <pre> 16785 21519 * If set true, then the Java2 code generator will generate code that … … 16790 21524 * This option has no effect on when used with the lite runtime. 16791 21525 * </pre> 21526 * 21527 * <code>optional bool java_string_check_utf8 = 27 [default = false];</code> 16792 21528 */ 16793 21529 public Builder clearJavaStringCheckUtf8() { … … 16798 21534 } 16799 21535 16800 private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeModeoptimizeFor_ =com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;21536 private int optimizeFor_ = 1; 16801 21537 /** 16802 21538 * <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code> 16803 21539 */ 16804 @Override 16805 public boolean hasOptimizeFor() { 21540 public boolean hasOptimizeFor() { 16806 21541 return ((bitField0_ & 0x00000020) == 0x00000020); 16807 21542 } … … 16809 21544 * <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code> 16810 21545 */ 16811 @Override16812 publiccom.google.protobuf.DescriptorProtos.FileOptions.OptimizeModegetOptimizeFor() {16813 return optimizeFor_;21546 public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() { 21547 com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode result = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(optimizeFor_); 21548 return result == null ? com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED : result; 16814 21549 } 16815 21550 /** … … 16821 21556 } 16822 21557 bitField0_ |= 0x00000020; 16823 optimizeFor_ = value; 21558 optimizeFor_ = value.getNumber(); 16824 21559 onChanged(); 16825 21560 return this; … … 16830 21565 public Builder clearOptimizeFor() { 16831 21566 bitField0_ = (bitField0_ & ~0x00000020); 16832 optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;21567 optimizeFor_ = 1; 16833 21568 onChanged(); 16834 21569 return this; … … 16837 21572 private java.lang.Object goPackage_ = ""; 16838 21573 /** 21574 * <pre> 21575 * Sets the Go package where structs generated from this .proto will be 21576 * placed. If omitted, the Go package will be derived from the following: 21577 * - The basename of the package import path, if provided. 21578 * - Otherwise, the package statement in the .proto file, if present. 21579 * - Otherwise, the basename of the .proto file, without extension. 21580 * </pre> 21581 * 16839 21582 * <code>optional string go_package = 11;</code> 16840 * 21583 */ 21584 public boolean hasGoPackage() { 21585 return ((bitField0_ & 0x00000040) == 0x00000040); 21586 } 21587 /** 16841 21588 * <pre> 16842 21589 * Sets the Go package where structs generated from this .proto will be 16843 * placed. There is no default. 16844 * </pre> 16845 */ 16846 @Override 16847 public boolean hasGoPackage() { 16848 return ((bitField0_ & 0x00000040) == 0x00000040); 16849 } 16850 /** 21590 * placed. If omitted, the Go package will be derived from the following: 21591 * - The basename of the package import path, if provided. 21592 * - Otherwise, the package statement in the .proto file, if present. 21593 * - Otherwise, the basename of the .proto file, without extension. 21594 * </pre> 21595 * 16851 21596 * <code>optional string go_package = 11;</code> 16852 * 16853 * <pre> 16854 * Sets the Go package where structs generated from this .proto will be 16855 * placed. There is no default. 16856 * </pre> 16857 */ 16858 @Override 16859 public java.lang.String getGoPackage() { 21597 */ 21598 public java.lang.String getGoPackage() { 16860 21599 java.lang.Object ref = goPackage_; 16861 21600 if (!(ref instanceof java.lang.String)) { … … 16872 21611 } 16873 21612 /** 21613 * <pre> 21614 * Sets the Go package where structs generated from this .proto will be 21615 * placed. If omitted, the Go package will be derived from the following: 21616 * - The basename of the package import path, if provided. 21617 * - Otherwise, the package statement in the .proto file, if present. 21618 * - Otherwise, the basename of the .proto file, without extension. 21619 * </pre> 21620 * 16874 21621 * <code>optional string go_package = 11;</code> 16875 * 16876 * <pre> 16877 * Sets the Go package where structs generated from this .proto will be 16878 * placed. There is no default. 16879 * </pre> 16880 */ 16881 @Override 16882 public com.google.protobuf.ByteString 21622 */ 21623 public com.google.protobuf.ByteString 16883 21624 getGoPackageBytes() { 16884 21625 java.lang.Object ref = goPackage_; 16885 21626 if (ref instanceof String) { 16886 com.google.protobuf.ByteString b = 21627 com.google.protobuf.ByteString b = 16887 21628 com.google.protobuf.ByteString.copyFromUtf8( 16888 21629 (java.lang.String) ref); … … 16894 21635 } 16895 21636 /** 21637 * <pre> 21638 * Sets the Go package where structs generated from this .proto will be 21639 * placed. If omitted, the Go package will be derived from the following: 21640 * - The basename of the package import path, if provided. 21641 * - Otherwise, the package statement in the .proto file, if present. 21642 * - Otherwise, the basename of the .proto file, without extension. 21643 * </pre> 21644 * 16896 21645 * <code>optional string go_package = 11;</code> 16897 *16898 * <pre>16899 * Sets the Go package where structs generated from this .proto will be16900 * placed. There is no default.16901 * </pre>16902 21646 */ 16903 21647 public Builder setGoPackage( … … 16912 21656 } 16913 21657 /** 21658 * <pre> 21659 * Sets the Go package where structs generated from this .proto will be 21660 * placed. If omitted, the Go package will be derived from the following: 21661 * - The basename of the package import path, if provided. 21662 * - Otherwise, the package statement in the .proto file, if present. 21663 * - Otherwise, the basename of the .proto file, without extension. 21664 * </pre> 21665 * 16914 21666 * <code>optional string go_package = 11;</code> 16915 *16916 * <pre>16917 * Sets the Go package where structs generated from this .proto will be16918 * placed. There is no default.16919 * </pre>16920 21667 */ 16921 21668 public Builder clearGoPackage() { … … 16926 21673 } 16927 21674 /** 21675 * <pre> 21676 * Sets the Go package where structs generated from this .proto will be 21677 * placed. If omitted, the Go package will be derived from the following: 21678 * - The basename of the package import path, if provided. 21679 * - Otherwise, the package statement in the .proto file, if present. 21680 * - Otherwise, the basename of the .proto file, without extension. 21681 * </pre> 21682 * 16928 21683 * <code>optional string go_package = 11;</code> 16929 *16930 * <pre>16931 * Sets the Go package where structs generated from this .proto will be16932 * placed. There is no default.16933 * </pre>16934 21684 */ 16935 21685 public Builder setGoPackageBytes( … … 16946 21696 private boolean ccGenericServices_ ; 16947 21697 /** 16948 * <code>optional bool cc_generic_services = 16 [default = false];</code>16949 *16950 21698 * <pre> 16951 21699 * Should generic services be generated in each language? "Generic" services … … 16953 21701 * main code generators in each language (without additional plugins). 16954 21702 * Generic services were the only kind of service generation supported by 16955 * early versions of proto2.21703 * early versions of google.protobuf. 16956 21704 * Generic services are now considered deprecated in favor of using plugins 16957 21705 * that generate code specific to your particular RPC system. Therefore, … … 16959 21707 * explicitly set them to true. 16960 21708 * </pre> 16961 */ 16962 @Override 16963 public boolean hasCcGenericServices() { 21709 * 21710 * <code>optional bool cc_generic_services = 16 [default = false];</code> 21711 */ 21712 public boolean hasCcGenericServices() { 16964 21713 return ((bitField0_ & 0x00000080) == 0x00000080); 16965 21714 } 16966 21715 /** 16967 * <code>optional bool cc_generic_services = 16 [default = false];</code>16968 *16969 21716 * <pre> 16970 21717 * Should generic services be generated in each language? "Generic" services … … 16972 21719 * main code generators in each language (without additional plugins). 16973 21720 * Generic services were the only kind of service generation supported by 16974 * early versions of proto2.21721 * early versions of google.protobuf. 16975 21722 * Generic services are now considered deprecated in favor of using plugins 16976 21723 * that generate code specific to your particular RPC system. Therefore, … … 16978 21725 * explicitly set them to true. 16979 21726 * </pre> 16980 */ 16981 @Override 16982 public boolean getCcGenericServices() { 21727 * 21728 * <code>optional bool cc_generic_services = 16 [default = false];</code> 21729 */ 21730 public boolean getCcGenericServices() { 16983 21731 return ccGenericServices_; 16984 21732 } 16985 21733 /** 16986 * <code>optional bool cc_generic_services = 16 [default = false];</code>16987 *16988 21734 * <pre> 16989 21735 * Should generic services be generated in each language? "Generic" services … … 16991 21737 * main code generators in each language (without additional plugins). 16992 21738 * Generic services were the only kind of service generation supported by 16993 * early versions of proto2.21739 * early versions of google.protobuf. 16994 21740 * Generic services are now considered deprecated in favor of using plugins 16995 21741 * that generate code specific to your particular RPC system. Therefore, … … 16997 21743 * explicitly set them to true. 16998 21744 * </pre> 21745 * 21746 * <code>optional bool cc_generic_services = 16 [default = false];</code> 16999 21747 */ 17000 21748 public Builder setCcGenericServices(boolean value) { … … 17005 21753 } 17006 21754 /** 17007 * <code>optional bool cc_generic_services = 16 [default = false];</code>17008 *17009 21755 * <pre> 17010 21756 * Should generic services be generated in each language? "Generic" services … … 17012 21758 * main code generators in each language (without additional plugins). 17013 21759 * Generic services were the only kind of service generation supported by 17014 * early versions of proto2.21760 * early versions of google.protobuf. 17015 21761 * Generic services are now considered deprecated in favor of using plugins 17016 21762 * that generate code specific to your particular RPC system. Therefore, … … 17018 21764 * explicitly set them to true. 17019 21765 * </pre> 21766 * 21767 * <code>optional bool cc_generic_services = 16 [default = false];</code> 17020 21768 */ 17021 21769 public Builder clearCcGenericServices() { … … 17030 21778 * <code>optional bool java_generic_services = 17 [default = false];</code> 17031 21779 */ 17032 @Override 17033 public boolean hasJavaGenericServices() { 21780 public boolean hasJavaGenericServices() { 17034 21781 return ((bitField0_ & 0x00000100) == 0x00000100); 17035 21782 } … … 17037 21784 * <code>optional bool java_generic_services = 17 [default = false];</code> 17038 21785 */ 17039 @Override 17040 public boolean getJavaGenericServices() { 21786 public boolean getJavaGenericServices() { 17041 21787 return javaGenericServices_; 17042 21788 } … … 17064 21810 * <code>optional bool py_generic_services = 18 [default = false];</code> 17065 21811 */ 17066 @Override 17067 public boolean hasPyGenericServices() { 21812 public boolean hasPyGenericServices() { 17068 21813 return ((bitField0_ & 0x00000200) == 0x00000200); 17069 21814 } … … 17071 21816 * <code>optional bool py_generic_services = 18 [default = false];</code> 17072 21817 */ 17073 @Override 17074 public boolean getPyGenericServices() { 21818 public boolean getPyGenericServices() { 17075 21819 return pyGenericServices_; 17076 21820 } … … 17094 21838 } 17095 21839 21840 private boolean phpGenericServices_ ; 21841 /** 21842 * <code>optional bool php_generic_services = 42 [default = false];</code> 21843 */ 21844 public boolean hasPhpGenericServices() { 21845 return ((bitField0_ & 0x00000400) == 0x00000400); 21846 } 21847 /** 21848 * <code>optional bool php_generic_services = 42 [default = false];</code> 21849 */ 21850 public boolean getPhpGenericServices() { 21851 return phpGenericServices_; 21852 } 21853 /** 21854 * <code>optional bool php_generic_services = 42 [default = false];</code> 21855 */ 21856 public Builder setPhpGenericServices(boolean value) { 21857 bitField0_ |= 0x00000400; 21858 phpGenericServices_ = value; 21859 onChanged(); 21860 return this; 21861 } 21862 /** 21863 * <code>optional bool php_generic_services = 42 [default = false];</code> 21864 */ 21865 public Builder clearPhpGenericServices() { 21866 bitField0_ = (bitField0_ & ~0x00000400); 21867 phpGenericServices_ = false; 21868 onChanged(); 21869 return this; 21870 } 21871 17096 21872 private boolean deprecated_ ; 17097 21873 /** 17098 * <code>optional bool deprecated = 23 [default = false];</code>17099 *17100 21874 * <pre> 17101 21875 * Is this file deprecated? … … 17104 21878 * least, this is a formalization for deprecating files. 17105 21879 * </pre> 17106 */ 17107 @Override 17108 public boolean hasDeprecated() { 17109 return ((bitField0_ & 0x00000400) == 0x00000400); 17110 } 17111 /** 21880 * 17112 21881 * <code>optional bool deprecated = 23 [default = false];</code> 17113 * 21882 */ 21883 public boolean hasDeprecated() { 21884 return ((bitField0_ & 0x00000800) == 0x00000800); 21885 } 21886 /** 17114 21887 * <pre> 17115 21888 * Is this file deprecated? … … 17118 21891 * least, this is a formalization for deprecating files. 17119 21892 * </pre> 17120 */ 17121 @Override 17122 public boolean getDeprecated() { 21893 * 21894 * <code>optional bool deprecated = 23 [default = false];</code> 21895 */ 21896 public boolean getDeprecated() { 17123 21897 return deprecated_; 17124 21898 } 17125 21899 /** 17126 * <code>optional bool deprecated = 23 [default = false];</code>17127 *17128 21900 * <pre> 17129 21901 * Is this file deprecated? … … 17132 21904 * least, this is a formalization for deprecating files. 17133 21905 * </pre> 21906 * 21907 * <code>optional bool deprecated = 23 [default = false];</code> 17134 21908 */ 17135 21909 public Builder setDeprecated(boolean value) { 17136 bitField0_ |= 0x00000 400;21910 bitField0_ |= 0x00000800; 17137 21911 deprecated_ = value; 17138 21912 onChanged(); … … 17140 21914 } 17141 21915 /** 17142 * <code>optional bool deprecated = 23 [default = false];</code>17143 *17144 21916 * <pre> 17145 21917 * Is this file deprecated? … … 17148 21920 * least, this is a formalization for deprecating files. 17149 21921 * </pre> 21922 * 21923 * <code>optional bool deprecated = 23 [default = false];</code> 17150 21924 */ 17151 21925 public Builder clearDeprecated() { 17152 bitField0_ = (bitField0_ & ~0x00000 400);21926 bitField0_ = (bitField0_ & ~0x00000800); 17153 21927 deprecated_ = false; 21928 onChanged(); 21929 return this; 21930 } 21931 21932 private boolean ccEnableArenas_ ; 21933 /** 21934 * <pre> 21935 * Enables the use of arenas for the proto messages in this file. This applies 21936 * only to generated classes for C++. 21937 * </pre> 21938 * 21939 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 21940 */ 21941 public boolean hasCcEnableArenas() { 21942 return ((bitField0_ & 0x00001000) == 0x00001000); 21943 } 21944 /** 21945 * <pre> 21946 * Enables the use of arenas for the proto messages in this file. This applies 21947 * only to generated classes for C++. 21948 * </pre> 21949 * 21950 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 21951 */ 21952 public boolean getCcEnableArenas() { 21953 return ccEnableArenas_; 21954 } 21955 /** 21956 * <pre> 21957 * Enables the use of arenas for the proto messages in this file. This applies 21958 * only to generated classes for C++. 21959 * </pre> 21960 * 21961 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 21962 */ 21963 public Builder setCcEnableArenas(boolean value) { 21964 bitField0_ |= 0x00001000; 21965 ccEnableArenas_ = value; 21966 onChanged(); 21967 return this; 21968 } 21969 /** 21970 * <pre> 21971 * Enables the use of arenas for the proto messages in this file. This applies 21972 * only to generated classes for C++. 21973 * </pre> 21974 * 21975 * <code>optional bool cc_enable_arenas = 31 [default = false];</code> 21976 */ 21977 public Builder clearCcEnableArenas() { 21978 bitField0_ = (bitField0_ & ~0x00001000); 21979 ccEnableArenas_ = false; 21980 onChanged(); 21981 return this; 21982 } 21983 21984 private java.lang.Object objcClassPrefix_ = ""; 21985 /** 21986 * <pre> 21987 * Sets the objective c class prefix which is prepended to all objective c 21988 * generated classes from this .proto. There is no default. 21989 * </pre> 21990 * 21991 * <code>optional string objc_class_prefix = 36;</code> 21992 */ 21993 public boolean hasObjcClassPrefix() { 21994 return ((bitField0_ & 0x00002000) == 0x00002000); 21995 } 21996 /** 21997 * <pre> 21998 * Sets the objective c class prefix which is prepended to all objective c 21999 * generated classes from this .proto. There is no default. 22000 * </pre> 22001 * 22002 * <code>optional string objc_class_prefix = 36;</code> 22003 */ 22004 public java.lang.String getObjcClassPrefix() { 22005 java.lang.Object ref = objcClassPrefix_; 22006 if (!(ref instanceof java.lang.String)) { 22007 com.google.protobuf.ByteString bs = 22008 (com.google.protobuf.ByteString) ref; 22009 java.lang.String s = bs.toStringUtf8(); 22010 if (bs.isValidUtf8()) { 22011 objcClassPrefix_ = s; 22012 } 22013 return s; 22014 } else { 22015 return (java.lang.String) ref; 22016 } 22017 } 22018 /** 22019 * <pre> 22020 * Sets the objective c class prefix which is prepended to all objective c 22021 * generated classes from this .proto. There is no default. 22022 * </pre> 22023 * 22024 * <code>optional string objc_class_prefix = 36;</code> 22025 */ 22026 public com.google.protobuf.ByteString 22027 getObjcClassPrefixBytes() { 22028 java.lang.Object ref = objcClassPrefix_; 22029 if (ref instanceof String) { 22030 com.google.protobuf.ByteString b = 22031 com.google.protobuf.ByteString.copyFromUtf8( 22032 (java.lang.String) ref); 22033 objcClassPrefix_ = b; 22034 return b; 22035 } else { 22036 return (com.google.protobuf.ByteString) ref; 22037 } 22038 } 22039 /** 22040 * <pre> 22041 * Sets the objective c class prefix which is prepended to all objective c 22042 * generated classes from this .proto. There is no default. 22043 * </pre> 22044 * 22045 * <code>optional string objc_class_prefix = 36;</code> 22046 */ 22047 public Builder setObjcClassPrefix( 22048 java.lang.String value) { 22049 if (value == null) { 22050 throw new NullPointerException(); 22051 } 22052 bitField0_ |= 0x00002000; 22053 objcClassPrefix_ = value; 22054 onChanged(); 22055 return this; 22056 } 22057 /** 22058 * <pre> 22059 * Sets the objective c class prefix which is prepended to all objective c 22060 * generated classes from this .proto. There is no default. 22061 * </pre> 22062 * 22063 * <code>optional string objc_class_prefix = 36;</code> 22064 */ 22065 public Builder clearObjcClassPrefix() { 22066 bitField0_ = (bitField0_ & ~0x00002000); 22067 objcClassPrefix_ = getDefaultInstance().getObjcClassPrefix(); 22068 onChanged(); 22069 return this; 22070 } 22071 /** 22072 * <pre> 22073 * Sets the objective c class prefix which is prepended to all objective c 22074 * generated classes from this .proto. There is no default. 22075 * </pre> 22076 * 22077 * <code>optional string objc_class_prefix = 36;</code> 22078 */ 22079 public Builder setObjcClassPrefixBytes( 22080 com.google.protobuf.ByteString value) { 22081 if (value == null) { 22082 throw new NullPointerException(); 22083 } 22084 bitField0_ |= 0x00002000; 22085 objcClassPrefix_ = value; 22086 onChanged(); 22087 return this; 22088 } 22089 22090 private java.lang.Object csharpNamespace_ = ""; 22091 /** 22092 * <pre> 22093 * Namespace for generated classes; defaults to the package. 22094 * </pre> 22095 * 22096 * <code>optional string csharp_namespace = 37;</code> 22097 */ 22098 public boolean hasCsharpNamespace() { 22099 return ((bitField0_ & 0x00004000) == 0x00004000); 22100 } 22101 /** 22102 * <pre> 22103 * Namespace for generated classes; defaults to the package. 22104 * </pre> 22105 * 22106 * <code>optional string csharp_namespace = 37;</code> 22107 */ 22108 public java.lang.String getCsharpNamespace() { 22109 java.lang.Object ref = csharpNamespace_; 22110 if (!(ref instanceof java.lang.String)) { 22111 com.google.protobuf.ByteString bs = 22112 (com.google.protobuf.ByteString) ref; 22113 java.lang.String s = bs.toStringUtf8(); 22114 if (bs.isValidUtf8()) { 22115 csharpNamespace_ = s; 22116 } 22117 return s; 22118 } else { 22119 return (java.lang.String) ref; 22120 } 22121 } 22122 /** 22123 * <pre> 22124 * Namespace for generated classes; defaults to the package. 22125 * </pre> 22126 * 22127 * <code>optional string csharp_namespace = 37;</code> 22128 */ 22129 public com.google.protobuf.ByteString 22130 getCsharpNamespaceBytes() { 22131 java.lang.Object ref = csharpNamespace_; 22132 if (ref instanceof String) { 22133 com.google.protobuf.ByteString b = 22134 com.google.protobuf.ByteString.copyFromUtf8( 22135 (java.lang.String) ref); 22136 csharpNamespace_ = b; 22137 return b; 22138 } else { 22139 return (com.google.protobuf.ByteString) ref; 22140 } 22141 } 22142 /** 22143 * <pre> 22144 * Namespace for generated classes; defaults to the package. 22145 * </pre> 22146 * 22147 * <code>optional string csharp_namespace = 37;</code> 22148 */ 22149 public Builder setCsharpNamespace( 22150 java.lang.String value) { 22151 if (value == null) { 22152 throw new NullPointerException(); 22153 } 22154 bitField0_ |= 0x00004000; 22155 csharpNamespace_ = value; 22156 onChanged(); 22157 return this; 22158 } 22159 /** 22160 * <pre> 22161 * Namespace for generated classes; defaults to the package. 22162 * </pre> 22163 * 22164 * <code>optional string csharp_namespace = 37;</code> 22165 */ 22166 public Builder clearCsharpNamespace() { 22167 bitField0_ = (bitField0_ & ~0x00004000); 22168 csharpNamespace_ = getDefaultInstance().getCsharpNamespace(); 22169 onChanged(); 22170 return this; 22171 } 22172 /** 22173 * <pre> 22174 * Namespace for generated classes; defaults to the package. 22175 * </pre> 22176 * 22177 * <code>optional string csharp_namespace = 37;</code> 22178 */ 22179 public Builder setCsharpNamespaceBytes( 22180 com.google.protobuf.ByteString value) { 22181 if (value == null) { 22182 throw new NullPointerException(); 22183 } 22184 bitField0_ |= 0x00004000; 22185 csharpNamespace_ = value; 22186 onChanged(); 22187 return this; 22188 } 22189 22190 private java.lang.Object swiftPrefix_ = ""; 22191 /** 22192 * <pre> 22193 * By default Swift generators will take the proto package and CamelCase it 22194 * replacing '.' with underscore and use that to prefix the types/symbols 22195 * defined. When this options is provided, they will use this value instead 22196 * to prefix the types/symbols defined. 22197 * </pre> 22198 * 22199 * <code>optional string swift_prefix = 39;</code> 22200 */ 22201 public boolean hasSwiftPrefix() { 22202 return ((bitField0_ & 0x00008000) == 0x00008000); 22203 } 22204 /** 22205 * <pre> 22206 * By default Swift generators will take the proto package and CamelCase it 22207 * replacing '.' with underscore and use that to prefix the types/symbols 22208 * defined. When this options is provided, they will use this value instead 22209 * to prefix the types/symbols defined. 22210 * </pre> 22211 * 22212 * <code>optional string swift_prefix = 39;</code> 22213 */ 22214 public java.lang.String getSwiftPrefix() { 22215 java.lang.Object ref = swiftPrefix_; 22216 if (!(ref instanceof java.lang.String)) { 22217 com.google.protobuf.ByteString bs = 22218 (com.google.protobuf.ByteString) ref; 22219 java.lang.String s = bs.toStringUtf8(); 22220 if (bs.isValidUtf8()) { 22221 swiftPrefix_ = s; 22222 } 22223 return s; 22224 } else { 22225 return (java.lang.String) ref; 22226 } 22227 } 22228 /** 22229 * <pre> 22230 * By default Swift generators will take the proto package and CamelCase it 22231 * replacing '.' with underscore and use that to prefix the types/symbols 22232 * defined. When this options is provided, they will use this value instead 22233 * to prefix the types/symbols defined. 22234 * </pre> 22235 * 22236 * <code>optional string swift_prefix = 39;</code> 22237 */ 22238 public com.google.protobuf.ByteString 22239 getSwiftPrefixBytes() { 22240 java.lang.Object ref = swiftPrefix_; 22241 if (ref instanceof String) { 22242 com.google.protobuf.ByteString b = 22243 com.google.protobuf.ByteString.copyFromUtf8( 22244 (java.lang.String) ref); 22245 swiftPrefix_ = b; 22246 return b; 22247 } else { 22248 return (com.google.protobuf.ByteString) ref; 22249 } 22250 } 22251 /** 22252 * <pre> 22253 * By default Swift generators will take the proto package and CamelCase it 22254 * replacing '.' with underscore and use that to prefix the types/symbols 22255 * defined. When this options is provided, they will use this value instead 22256 * to prefix the types/symbols defined. 22257 * </pre> 22258 * 22259 * <code>optional string swift_prefix = 39;</code> 22260 */ 22261 public Builder setSwiftPrefix( 22262 java.lang.String value) { 22263 if (value == null) { 22264 throw new NullPointerException(); 22265 } 22266 bitField0_ |= 0x00008000; 22267 swiftPrefix_ = value; 22268 onChanged(); 22269 return this; 22270 } 22271 /** 22272 * <pre> 22273 * By default Swift generators will take the proto package and CamelCase it 22274 * replacing '.' with underscore and use that to prefix the types/symbols 22275 * defined. When this options is provided, they will use this value instead 22276 * to prefix the types/symbols defined. 22277 * </pre> 22278 * 22279 * <code>optional string swift_prefix = 39;</code> 22280 */ 22281 public Builder clearSwiftPrefix() { 22282 bitField0_ = (bitField0_ & ~0x00008000); 22283 swiftPrefix_ = getDefaultInstance().getSwiftPrefix(); 22284 onChanged(); 22285 return this; 22286 } 22287 /** 22288 * <pre> 22289 * By default Swift generators will take the proto package and CamelCase it 22290 * replacing '.' with underscore and use that to prefix the types/symbols 22291 * defined. When this options is provided, they will use this value instead 22292 * to prefix the types/symbols defined. 22293 * </pre> 22294 * 22295 * <code>optional string swift_prefix = 39;</code> 22296 */ 22297 public Builder setSwiftPrefixBytes( 22298 com.google.protobuf.ByteString value) { 22299 if (value == null) { 22300 throw new NullPointerException(); 22301 } 22302 bitField0_ |= 0x00008000; 22303 swiftPrefix_ = value; 22304 onChanged(); 22305 return this; 22306 } 22307 22308 private java.lang.Object phpClassPrefix_ = ""; 22309 /** 22310 * <pre> 22311 * Sets the php class prefix which is prepended to all php generated classes 22312 * from this .proto. Default is empty. 22313 * </pre> 22314 * 22315 * <code>optional string php_class_prefix = 40;</code> 22316 */ 22317 public boolean hasPhpClassPrefix() { 22318 return ((bitField0_ & 0x00010000) == 0x00010000); 22319 } 22320 /** 22321 * <pre> 22322 * Sets the php class prefix which is prepended to all php generated classes 22323 * from this .proto. Default is empty. 22324 * </pre> 22325 * 22326 * <code>optional string php_class_prefix = 40;</code> 22327 */ 22328 public java.lang.String getPhpClassPrefix() { 22329 java.lang.Object ref = phpClassPrefix_; 22330 if (!(ref instanceof java.lang.String)) { 22331 com.google.protobuf.ByteString bs = 22332 (com.google.protobuf.ByteString) ref; 22333 java.lang.String s = bs.toStringUtf8(); 22334 if (bs.isValidUtf8()) { 22335 phpClassPrefix_ = s; 22336 } 22337 return s; 22338 } else { 22339 return (java.lang.String) ref; 22340 } 22341 } 22342 /** 22343 * <pre> 22344 * Sets the php class prefix which is prepended to all php generated classes 22345 * from this .proto. Default is empty. 22346 * </pre> 22347 * 22348 * <code>optional string php_class_prefix = 40;</code> 22349 */ 22350 public com.google.protobuf.ByteString 22351 getPhpClassPrefixBytes() { 22352 java.lang.Object ref = phpClassPrefix_; 22353 if (ref instanceof String) { 22354 com.google.protobuf.ByteString b = 22355 com.google.protobuf.ByteString.copyFromUtf8( 22356 (java.lang.String) ref); 22357 phpClassPrefix_ = b; 22358 return b; 22359 } else { 22360 return (com.google.protobuf.ByteString) ref; 22361 } 22362 } 22363 /** 22364 * <pre> 22365 * Sets the php class prefix which is prepended to all php generated classes 22366 * from this .proto. Default is empty. 22367 * </pre> 22368 * 22369 * <code>optional string php_class_prefix = 40;</code> 22370 */ 22371 public Builder setPhpClassPrefix( 22372 java.lang.String value) { 22373 if (value == null) { 22374 throw new NullPointerException(); 22375 } 22376 bitField0_ |= 0x00010000; 22377 phpClassPrefix_ = value; 22378 onChanged(); 22379 return this; 22380 } 22381 /** 22382 * <pre> 22383 * Sets the php class prefix which is prepended to all php generated classes 22384 * from this .proto. Default is empty. 22385 * </pre> 22386 * 22387 * <code>optional string php_class_prefix = 40;</code> 22388 */ 22389 public Builder clearPhpClassPrefix() { 22390 bitField0_ = (bitField0_ & ~0x00010000); 22391 phpClassPrefix_ = getDefaultInstance().getPhpClassPrefix(); 22392 onChanged(); 22393 return this; 22394 } 22395 /** 22396 * <pre> 22397 * Sets the php class prefix which is prepended to all php generated classes 22398 * from this .proto. Default is empty. 22399 * </pre> 22400 * 22401 * <code>optional string php_class_prefix = 40;</code> 22402 */ 22403 public Builder setPhpClassPrefixBytes( 22404 com.google.protobuf.ByteString value) { 22405 if (value == null) { 22406 throw new NullPointerException(); 22407 } 22408 bitField0_ |= 0x00010000; 22409 phpClassPrefix_ = value; 22410 onChanged(); 22411 return this; 22412 } 22413 22414 private java.lang.Object phpNamespace_ = ""; 22415 /** 22416 * <pre> 22417 * Use this option to change the namespace of php generated classes. Default 22418 * is empty. When this option is empty, the package name will be used for 22419 * determining the namespace. 22420 * </pre> 22421 * 22422 * <code>optional string php_namespace = 41;</code> 22423 */ 22424 public boolean hasPhpNamespace() { 22425 return ((bitField0_ & 0x00020000) == 0x00020000); 22426 } 22427 /** 22428 * <pre> 22429 * Use this option to change the namespace of php generated classes. Default 22430 * is empty. When this option is empty, the package name will be used for 22431 * determining the namespace. 22432 * </pre> 22433 * 22434 * <code>optional string php_namespace = 41;</code> 22435 */ 22436 public java.lang.String getPhpNamespace() { 22437 java.lang.Object ref = phpNamespace_; 22438 if (!(ref instanceof java.lang.String)) { 22439 com.google.protobuf.ByteString bs = 22440 (com.google.protobuf.ByteString) ref; 22441 java.lang.String s = bs.toStringUtf8(); 22442 if (bs.isValidUtf8()) { 22443 phpNamespace_ = s; 22444 } 22445 return s; 22446 } else { 22447 return (java.lang.String) ref; 22448 } 22449 } 22450 /** 22451 * <pre> 22452 * Use this option to change the namespace of php generated classes. Default 22453 * is empty. When this option is empty, the package name will be used for 22454 * determining the namespace. 22455 * </pre> 22456 * 22457 * <code>optional string php_namespace = 41;</code> 22458 */ 22459 public com.google.protobuf.ByteString 22460 getPhpNamespaceBytes() { 22461 java.lang.Object ref = phpNamespace_; 22462 if (ref instanceof String) { 22463 com.google.protobuf.ByteString b = 22464 com.google.protobuf.ByteString.copyFromUtf8( 22465 (java.lang.String) ref); 22466 phpNamespace_ = b; 22467 return b; 22468 } else { 22469 return (com.google.protobuf.ByteString) ref; 22470 } 22471 } 22472 /** 22473 * <pre> 22474 * Use this option to change the namespace of php generated classes. Default 22475 * is empty. When this option is empty, the package name will be used for 22476 * determining the namespace. 22477 * </pre> 22478 * 22479 * <code>optional string php_namespace = 41;</code> 22480 */ 22481 public Builder setPhpNamespace( 22482 java.lang.String value) { 22483 if (value == null) { 22484 throw new NullPointerException(); 22485 } 22486 bitField0_ |= 0x00020000; 22487 phpNamespace_ = value; 22488 onChanged(); 22489 return this; 22490 } 22491 /** 22492 * <pre> 22493 * Use this option to change the namespace of php generated classes. Default 22494 * is empty. When this option is empty, the package name will be used for 22495 * determining the namespace. 22496 * </pre> 22497 * 22498 * <code>optional string php_namespace = 41;</code> 22499 */ 22500 public Builder clearPhpNamespace() { 22501 bitField0_ = (bitField0_ & ~0x00020000); 22502 phpNamespace_ = getDefaultInstance().getPhpNamespace(); 22503 onChanged(); 22504 return this; 22505 } 22506 /** 22507 * <pre> 22508 * Use this option to change the namespace of php generated classes. Default 22509 * is empty. When this option is empty, the package name will be used for 22510 * determining the namespace. 22511 * </pre> 22512 * 22513 * <code>optional string php_namespace = 41;</code> 22514 */ 22515 public Builder setPhpNamespaceBytes( 22516 com.google.protobuf.ByteString value) { 22517 if (value == null) { 22518 throw new NullPointerException(); 22519 } 22520 bitField0_ |= 0x00020000; 22521 phpNamespace_ = value; 17154 22522 onChanged(); 17155 22523 return this; … … 17159 22527 java.util.Collections.emptyList(); 17160 22528 private void ensureUninterpretedOptionIsMutable() { 17161 if (!((bitField0_ & 0x000 00800) == 0x00000800)) {17162 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 17163 bitField0_ |= 0x000 00800;22529 if (!((bitField0_ & 0x00040000) == 0x00040000)) { 22530 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 22531 bitField0_ |= 0x00040000; 17164 22532 } 17165 22533 } 17166 22534 17167 private com.google.protobuf.RepeatedFieldBuilder< 22535 private com.google.protobuf.RepeatedFieldBuilderV3< 17168 22536 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 17169 22537 17170 22538 /** 22539 * <pre> 22540 * The parser stores options it doesn't recognize here. See above. 22541 * </pre> 22542 * 17171 22543 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17172 * 17173 * <pre> 17174 * The parser stores options it doesn't recognize here. See above. 17175 * </pre> 17176 */ 17177 @Override 17178 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 22544 */ 22545 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 17179 22546 if (uninterpretedOptionBuilder_ == null) { 17180 22547 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 17184 22551 } 17185 22552 /** 22553 * <pre> 22554 * The parser stores options it doesn't recognize here. See above. 22555 * </pre> 22556 * 17186 22557 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17187 * 17188 * <pre> 17189 * The parser stores options it doesn't recognize here. See above. 17190 * </pre> 17191 */ 17192 @Override 17193 public int getUninterpretedOptionCount() { 22558 */ 22559 public int getUninterpretedOptionCount() { 17194 22560 if (uninterpretedOptionBuilder_ == null) { 17195 22561 return uninterpretedOption_.size(); … … 17199 22565 } 17200 22566 /** 22567 * <pre> 22568 * The parser stores options it doesn't recognize here. See above. 22569 * </pre> 22570 * 17201 22571 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17202 * 17203 * <pre> 17204 * The parser stores options it doesn't recognize here. See above. 17205 * </pre> 17206 */ 17207 @Override 17208 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 22572 */ 22573 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 17209 22574 if (uninterpretedOptionBuilder_ == null) { 17210 22575 return uninterpretedOption_.get(index); … … 17214 22579 } 17215 22580 /** 22581 * <pre> 22582 * The parser stores options it doesn't recognize here. See above. 22583 * </pre> 22584 * 17216 22585 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17217 *17218 * <pre>17219 * The parser stores options it doesn't recognize here. See above.17220 * </pre>17221 22586 */ 17222 22587 public Builder setUninterpretedOption( … … 17235 22600 } 17236 22601 /** 22602 * <pre> 22603 * The parser stores options it doesn't recognize here. See above. 22604 * </pre> 22605 * 17237 22606 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17238 *17239 * <pre>17240 * The parser stores options it doesn't recognize here. See above.17241 * </pre>17242 22607 */ 17243 22608 public Builder setUninterpretedOption( … … 17253 22618 } 17254 22619 /** 22620 * <pre> 22621 * The parser stores options it doesn't recognize here. See above. 22622 * </pre> 22623 * 17255 22624 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17256 *17257 * <pre>17258 * The parser stores options it doesn't recognize here. See above.17259 * </pre>17260 22625 */ 17261 22626 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 17273 22638 } 17274 22639 /** 22640 * <pre> 22641 * The parser stores options it doesn't recognize here. See above. 22642 * </pre> 22643 * 17275 22644 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17276 *17277 * <pre>17278 * The parser stores options it doesn't recognize here. See above.17279 * </pre>17280 22645 */ 17281 22646 public Builder addUninterpretedOption( … … 17294 22659 } 17295 22660 /** 22661 * <pre> 22662 * The parser stores options it doesn't recognize here. See above. 22663 * </pre> 22664 * 17296 22665 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17297 *17298 * <pre>17299 * The parser stores options it doesn't recognize here. See above.17300 * </pre>17301 22666 */ 17302 22667 public Builder addUninterpretedOption( … … 17312 22677 } 17313 22678 /** 22679 * <pre> 22680 * The parser stores options it doesn't recognize here. See above. 22681 * </pre> 22682 * 17314 22683 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17315 *17316 * <pre>17317 * The parser stores options it doesn't recognize here. See above.17318 * </pre>17319 22684 */ 17320 22685 public Builder addUninterpretedOption( … … 17330 22695 } 17331 22696 /** 22697 * <pre> 22698 * The parser stores options it doesn't recognize here. See above. 22699 * </pre> 22700 * 17332 22701 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17333 *17334 * <pre>17335 * The parser stores options it doesn't recognize here. See above.17336 * </pre>17337 22702 */ 17338 22703 public Builder addAllUninterpretedOption( … … 17349 22714 } 17350 22715 /** 22716 * <pre> 22717 * The parser stores options it doesn't recognize here. See above. 22718 * </pre> 22719 * 17351 22720 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17352 *17353 * <pre>17354 * The parser stores options it doesn't recognize here. See above.17355 * </pre>17356 22721 */ 17357 22722 public Builder clearUninterpretedOption() { 17358 22723 if (uninterpretedOptionBuilder_ == null) { 17359 22724 uninterpretedOption_ = java.util.Collections.emptyList(); 17360 bitField0_ = (bitField0_ & ~0x000 00800);22725 bitField0_ = (bitField0_ & ~0x00040000); 17361 22726 onChanged(); 17362 22727 } else { … … 17366 22731 } 17367 22732 /** 22733 * <pre> 22734 * The parser stores options it doesn't recognize here. See above. 22735 * </pre> 22736 * 17368 22737 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17369 *17370 * <pre>17371 * The parser stores options it doesn't recognize here. See above.17372 * </pre>17373 22738 */ 17374 22739 public Builder removeUninterpretedOption(int index) { … … 17383 22748 } 17384 22749 /** 22750 * <pre> 22751 * The parser stores options it doesn't recognize here. See above. 22752 * </pre> 22753 * 17385 22754 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17386 *17387 * <pre>17388 * The parser stores options it doesn't recognize here. See above.17389 * </pre>17390 22755 */ 17391 22756 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 17394 22759 } 17395 22760 /** 22761 * <pre> 22762 * The parser stores options it doesn't recognize here. See above. 22763 * </pre> 22764 * 17396 22765 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17397 * 17398 * <pre> 17399 * The parser stores options it doesn't recognize here. See above. 17400 * </pre> 17401 */ 17402 @Override 17403 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 22766 */ 22767 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 17404 22768 int index) { 17405 22769 if (uninterpretedOptionBuilder_ == null) { … … 17409 22773 } 17410 22774 /** 22775 * <pre> 22776 * The parser stores options it doesn't recognize here. See above. 22777 * </pre> 22778 * 17411 22779 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17412 * 17413 * <pre> 17414 * The parser stores options it doesn't recognize here. See above. 17415 * </pre> 17416 */ 17417 @Override 17418 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22780 */ 22781 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 17419 22782 getUninterpretedOptionOrBuilderList() { 17420 22783 if (uninterpretedOptionBuilder_ != null) { … … 17425 22788 } 17426 22789 /** 22790 * <pre> 22791 * The parser stores options it doesn't recognize here. See above. 22792 * </pre> 22793 * 17427 22794 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17428 *17429 * <pre>17430 * The parser stores options it doesn't recognize here. See above.17431 * </pre>17432 22795 */ 17433 22796 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 17436 22799 } 17437 22800 /** 22801 * <pre> 22802 * The parser stores options it doesn't recognize here. See above. 22803 * </pre> 22804 * 17438 22805 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17439 *17440 * <pre>17441 * The parser stores options it doesn't recognize here. See above.17442 * </pre>17443 22806 */ 17444 22807 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 17448 22811 } 17449 22812 /** 22813 * <pre> 22814 * The parser stores options it doesn't recognize here. See above. 22815 * </pre> 22816 * 17450 22817 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17451 * 17452 * <pre> 17453 * The parser stores options it doesn't recognize here. See above. 17454 * </pre> 17455 */ 17456 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 22818 */ 22819 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 17457 22820 getUninterpretedOptionBuilderList() { 17458 22821 return getUninterpretedOptionFieldBuilder().getBuilderList(); 17459 22822 } 17460 private com.google.protobuf.RepeatedFieldBuilder< 17461 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22823 private com.google.protobuf.RepeatedFieldBuilderV3< 22824 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 17462 22825 getUninterpretedOptionFieldBuilder() { 17463 22826 if (uninterpretedOptionBuilder_ == null) { 17464 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 22827 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 22828 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 17465 22829 uninterpretedOption_, 17466 ((bitField0_ & 0x000 00800) == 0x00000800),22830 ((bitField0_ & 0x00040000) == 0x00040000), 17467 22831 getParentForChildren(), 17468 22832 isClean()); … … 17471 22835 return uninterpretedOptionBuilder_; 17472 22836 } 22837 public final Builder setUnknownFields( 22838 final com.google.protobuf.UnknownFieldSet unknownFields) { 22839 return super.setUnknownFields(unknownFields); 22840 } 22841 22842 public final Builder mergeUnknownFields( 22843 final com.google.protobuf.UnknownFieldSet unknownFields) { 22844 return super.mergeUnknownFields(unknownFields); 22845 } 22846 17473 22847 17474 22848 // @@protoc_insertion_point(builder_scope:google.protobuf.FileOptions) 17475 22849 } 17476 22850 22851 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) 22852 private static final com.google.protobuf.DescriptorProtos.FileOptions DEFAULT_INSTANCE; 17477 22853 static { 17478 defaultInstance = new FileOptions(true); 17479 defaultInstance.initFields(); 17480 } 17481 17482 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) 22854 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.FileOptions(); 22855 } 22856 22857 public static com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstance() { 22858 return DEFAULT_INSTANCE; 22859 } 22860 22861 @java.lang.Deprecated public static final com.google.protobuf.Parser<FileOptions> 22862 PARSER = new com.google.protobuf.AbstractParser<FileOptions>() { 22863 public FileOptions parsePartialFrom( 22864 com.google.protobuf.CodedInputStream input, 22865 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 22866 throws com.google.protobuf.InvalidProtocolBufferException { 22867 return new FileOptions(input, extensionRegistry); 22868 } 22869 }; 22870 22871 public static com.google.protobuf.Parser<FileOptions> parser() { 22872 return PARSER; 22873 } 22874 22875 @java.lang.Override 22876 public com.google.protobuf.Parser<FileOptions> getParserForType() { 22877 return PARSER; 22878 } 22879 22880 public com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() { 22881 return DEFAULT_INSTANCE; 22882 } 22883 17483 22884 } 17484 22885 17485 22886 public interface MessageOptionsOrBuilder extends 17486 22887 // @@protoc_insertion_point(interface_extends:google.protobuf.MessageOptions) 17487 com.google.protobuf.GeneratedMessage. 22888 com.google.protobuf.GeneratedMessageV3. 17488 22889 ExtendableMessageOrBuilder<MessageOptions> { 17489 22890 17490 22891 /** 17491 * <code>optional bool message_set_wire_format = 1 [default = false];</code>17492 *17493 22892 * <pre> 17494 22893 * Set true to use the old proto1 MessageSet wire format for extensions. … … 17508 22907 * the protocol compiler. 17509 22908 * </pre> 22909 * 22910 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 17510 22911 */ 17511 22912 boolean hasMessageSetWireFormat(); 17512 22913 /** 17513 * <code>optional bool message_set_wire_format = 1 [default = false];</code>17514 *17515 22914 * <pre> 17516 22915 * Set true to use the old proto1 MessageSet wire format for extensions. … … 17530 22929 * the protocol compiler. 17531 22930 * </pre> 22931 * 22932 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 17532 22933 */ 17533 22934 boolean getMessageSetWireFormat(); 17534 22935 17535 22936 /** 17536 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>17537 *17538 22937 * <pre> 17539 22938 * Disables the generation of the standard "descriptor()" accessor, which can … … 17541 22940 * from proto1 easier; new code should avoid fields named "descriptor". 17542 22941 * </pre> 22942 * 22943 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 17543 22944 */ 17544 22945 boolean hasNoStandardDescriptorAccessor(); 17545 22946 /** 17546 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>17547 *17548 22947 * <pre> 17549 22948 * Disables the generation of the standard "descriptor()" accessor, which can … … 17551 22950 * from proto1 easier; new code should avoid fields named "descriptor". 17552 22951 * </pre> 22952 * 22953 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 17553 22954 */ 17554 22955 boolean getNoStandardDescriptorAccessor(); 17555 22956 17556 22957 /** 17557 * <code>optional bool deprecated = 3 [default = false];</code>17558 *17559 22958 * <pre> 17560 22959 * Is this message deprecated? … … 17563 22962 * this is a formalization for deprecating messages. 17564 22963 * </pre> 22964 * 22965 * <code>optional bool deprecated = 3 [default = false];</code> 17565 22966 */ 17566 22967 boolean hasDeprecated(); 17567 22968 /** 17568 * <code>optional bool deprecated = 3 [default = false];</code>17569 *17570 22969 * <pre> 17571 22970 * Is this message deprecated? … … 17574 22973 * this is a formalization for deprecating messages. 17575 22974 * </pre> 22975 * 22976 * <code>optional bool deprecated = 3 [default = false];</code> 17576 22977 */ 17577 22978 boolean getDeprecated(); 17578 22979 17579 22980 /** 17580 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22981 * <pre> 22982 * Whether the message is an automatically generated map entry type for the 22983 * maps field. 22984 * For maps fields: 22985 * map<KeyType, ValueType> map_field = 1; 22986 * The parsed descriptor looks like: 22987 * message MapFieldEntry { 22988 * option map_entry = true; 22989 * optional KeyType key = 1; 22990 * optional ValueType value = 2; 22991 * } 22992 * repeated MapFieldEntry map_field = 1; 22993 * Implementations may choose not to generate the map_entry=true message, but 22994 * use a native map in the target language to hold the keys and values. 22995 * The reflection APIs in such implementions still need to work as 22996 * if the field is a repeated message field. 22997 * NOTE: Do not set the option in .proto files. Always use the maps syntax 22998 * instead. The option should only be implicitly set by the proto compiler 22999 * parser. 23000 * </pre> 17581 23001 * 23002 * <code>optional bool map_entry = 7;</code> 23003 */ 23004 boolean hasMapEntry(); 23005 /** 23006 * <pre> 23007 * Whether the message is an automatically generated map entry type for the 23008 * maps field. 23009 * For maps fields: 23010 * map<KeyType, ValueType> map_field = 1; 23011 * The parsed descriptor looks like: 23012 * message MapFieldEntry { 23013 * option map_entry = true; 23014 * optional KeyType key = 1; 23015 * optional ValueType value = 2; 23016 * } 23017 * repeated MapFieldEntry map_field = 1; 23018 * Implementations may choose not to generate the map_entry=true message, but 23019 * use a native map in the target language to hold the keys and values. 23020 * The reflection APIs in such implementions still need to work as 23021 * if the field is a repeated message field. 23022 * NOTE: Do not set the option in .proto files. Always use the maps syntax 23023 * instead. The option should only be implicitly set by the proto compiler 23024 * parser. 23025 * </pre> 23026 * 23027 * <code>optional bool map_entry = 7;</code> 23028 */ 23029 boolean getMapEntry(); 23030 23031 /** 17582 23032 * <pre> 17583 23033 * The parser stores options it doesn't recognize here. See above. 17584 23034 * </pre> 17585 */ 17586 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 23035 * 23036 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23037 */ 23038 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 17587 23039 getUninterpretedOptionList(); 17588 23040 /** 17589 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17590 *17591 23041 * <pre> 17592 23042 * The parser stores options it doesn't recognize here. See above. 17593 23043 * </pre> 23044 * 23045 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17594 23046 */ 17595 23047 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 17596 23048 /** 17597 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17598 *17599 23049 * <pre> 17600 23050 * The parser stores options it doesn't recognize here. See above. 17601 23051 * </pre> 23052 * 23053 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17602 23054 */ 17603 23055 int getUninterpretedOptionCount(); 17604 23056 /** 17605 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17606 *17607 23057 * <pre> 17608 23058 * The parser stores options it doesn't recognize here. See above. 17609 23059 * </pre> 17610 */ 17611 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23060 * 23061 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23062 */ 23063 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 17612 23064 getUninterpretedOptionOrBuilderList(); 17613 23065 /** 17614 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17615 *17616 23066 * <pre> 17617 23067 * The parser stores options it doesn't recognize here. See above. 17618 23068 * </pre> 23069 * 23070 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 17619 23071 */ 17620 23072 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 17624 23076 * Protobuf type {@code google.protobuf.MessageOptions} 17625 23077 */ 17626 public static final class MessageOptions extends 17627 com.google.protobuf.GeneratedMessage.ExtendableMessage< 23078 public static final class MessageOptions extends 23079 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 17628 23080 MessageOptions> implements 17629 23081 // @@protoc_insertion_point(message_implements:google.protobuf.MessageOptions) 17630 23082 MessageOptionsOrBuilder { 23083 private static final long serialVersionUID = 0L; 17631 23084 // Use MessageOptions.newBuilder() to construct. 17632 private MessageOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MessageOptions, ?> builder) { 23085 private MessageOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MessageOptions, ?> builder) { 17633 23086 super(builder); 17634 this.unknownFields = builder.getUnknownFields(); 17635 } 17636 private MessageOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 17637 17638 private static final MessageOptions defaultInstance; 17639 public static MessageOptions getDefaultInstance() { 17640 return defaultInstance; 17641 } 17642 17643 @Override 17644 public MessageOptions getDefaultInstanceForType() { 17645 return defaultInstance; 17646 } 17647 17648 private final com.google.protobuf.UnknownFieldSet unknownFields; 23087 } 23088 private MessageOptions() { 23089 messageSetWireFormat_ = false; 23090 noStandardDescriptorAccessor_ = false; 23091 deprecated_ = false; 23092 mapEntry_ = false; 23093 uninterpretedOption_ = java.util.Collections.emptyList(); 23094 } 23095 17649 23096 @java.lang.Override 17650 23097 public final com.google.protobuf.UnknownFieldSet 17651 23098 getUnknownFields() { 17652 23099 return this.unknownFields; 17653 23100 } … … 17656 23103 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17657 23104 throws com.google.protobuf.InvalidProtocolBufferException { 17658 initFields();23105 this(); 17659 23106 int mutable_bitField0_ = 0; 17660 23107 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 17669 23116 break; 17670 23117 default: { 17671 if (!parseUnknownField( input, unknownFields,17672 23118 if (!parseUnknownField( 23119 input, unknownFields, extensionRegistry, tag)) { 17673 23120 done = true; 17674 23121 } … … 17690 23137 break; 17691 23138 } 23139 case 56: { 23140 bitField0_ |= 0x00000008; 23141 mapEntry_ = input.readBool(); 23142 break; 23143 } 17692 23144 case 7994: { 17693 if (!((mutable_bitField0_ & 0x000000 08) == 0x00000008)) {17694 uninterpretedOption_ = new java.util.ArrayList<>(); 17695 mutable_bitField0_ |= 0x000000 08;23145 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 23146 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 23147 mutable_bitField0_ |= 0x00000010; 17696 23148 } 17697 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 23149 uninterpretedOption_.add( 23150 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 17698 23151 break; 17699 23152 } … … 17704 23157 } catch (java.io.IOException e) { 17705 23158 throw new com.google.protobuf.InvalidProtocolBufferException( 17706 e .getMessage()).setUnfinishedMessage(this);23159 e).setUnfinishedMessage(this); 17707 23160 } finally { 17708 if (((mutable_bitField0_ & 0x000000 08) == 0x00000008)) {23161 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 17709 23162 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 17710 23163 } … … 17718 23171 } 17719 23172 17720 @Override 17721 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 23173 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 17722 23174 internalGetFieldAccessorTable() { 17723 23175 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable … … 17726 23178 } 17727 23179 17728 public static com.google.protobuf.Parser<MessageOptions> PARSER =17729 new com.google.protobuf.AbstractParser<MessageOptions>() {17730 @Override17731 public MessageOptions parsePartialFrom(17732 com.google.protobuf.CodedInputStream input,17733 com.google.protobuf.ExtensionRegistryLite extensionRegistry)17734 throws com.google.protobuf.InvalidProtocolBufferException {17735 return new MessageOptions(input, extensionRegistry);17736 }17737 };17738 17739 @java.lang.Override17740 public com.google.protobuf.Parser<MessageOptions> getParserForType() {17741 return PARSER;17742 }17743 17744 23180 private int bitField0_; 17745 23181 public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER = 1; 17746 23182 private boolean messageSetWireFormat_; 17747 23183 /** 17748 * <code>optional bool message_set_wire_format = 1 [default = false];</code>17749 *17750 23184 * <pre> 17751 23185 * Set true to use the old proto1 MessageSet wire format for extensions. … … 17765 23199 * the protocol compiler. 17766 23200 * </pre> 17767 */ 17768 @Override 17769 public boolean hasMessageSetWireFormat() { 23201 * 23202 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 23203 */ 23204 public boolean hasMessageSetWireFormat() { 17770 23205 return ((bitField0_ & 0x00000001) == 0x00000001); 17771 23206 } 17772 23207 /** 17773 * <code>optional bool message_set_wire_format = 1 [default = false];</code>17774 *17775 23208 * <pre> 17776 23209 * Set true to use the old proto1 MessageSet wire format for extensions. … … 17790 23223 * the protocol compiler. 17791 23224 * </pre> 17792 */ 17793 @Override 17794 public boolean getMessageSetWireFormat() { 23225 * 23226 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 23227 */ 23228 public boolean getMessageSetWireFormat() { 17795 23229 return messageSetWireFormat_; 17796 23230 } … … 17799 23233 private boolean noStandardDescriptorAccessor_; 17800 23234 /** 17801 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>17802 *17803 23235 * <pre> 17804 23236 * Disables the generation of the standard "descriptor()" accessor, which can … … 17806 23238 * from proto1 easier; new code should avoid fields named "descriptor". 17807 23239 * </pre> 17808 */ 17809 @Override 17810 public boolean hasNoStandardDescriptorAccessor() { 23240 * 23241 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 23242 */ 23243 public boolean hasNoStandardDescriptorAccessor() { 17811 23244 return ((bitField0_ & 0x00000002) == 0x00000002); 17812 23245 } 17813 23246 /** 17814 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>17815 *17816 23247 * <pre> 17817 23248 * Disables the generation of the standard "descriptor()" accessor, which can … … 17819 23250 * from proto1 easier; new code should avoid fields named "descriptor". 17820 23251 * </pre> 17821 */ 17822 @Override 17823 public boolean getNoStandardDescriptorAccessor() { 23252 * 23253 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 23254 */ 23255 public boolean getNoStandardDescriptorAccessor() { 17824 23256 return noStandardDescriptorAccessor_; 17825 23257 } … … 17828 23260 private boolean deprecated_; 17829 23261 /** 17830 * <code>optional bool deprecated = 3 [default = false];</code>17831 *17832 23262 * <pre> 17833 23263 * Is this message deprecated? … … 17836 23266 * this is a formalization for deprecating messages. 17837 23267 * </pre> 17838 */ 17839 @Override 17840 public boolean hasDeprecated() { 23268 * 23269 * <code>optional bool deprecated = 3 [default = false];</code> 23270 */ 23271 public boolean hasDeprecated() { 17841 23272 return ((bitField0_ & 0x00000004) == 0x00000004); 17842 23273 } 17843 23274 /** 17844 * <code>optional bool deprecated = 3 [default = false];</code>17845 *17846 23275 * <pre> 17847 23276 * Is this message deprecated? … … 17850 23279 * this is a formalization for deprecating messages. 17851 23280 * </pre> 17852 */ 17853 @Override 17854 public boolean getDeprecated() { 23281 * 23282 * <code>optional bool deprecated = 3 [default = false];</code> 23283 */ 23284 public boolean getDeprecated() { 17855 23285 return deprecated_; 23286 } 23287 23288 public static final int MAP_ENTRY_FIELD_NUMBER = 7; 23289 private boolean mapEntry_; 23290 /** 23291 * <pre> 23292 * Whether the message is an automatically generated map entry type for the 23293 * maps field. 23294 * For maps fields: 23295 * map<KeyType, ValueType> map_field = 1; 23296 * The parsed descriptor looks like: 23297 * message MapFieldEntry { 23298 * option map_entry = true; 23299 * optional KeyType key = 1; 23300 * optional ValueType value = 2; 23301 * } 23302 * repeated MapFieldEntry map_field = 1; 23303 * Implementations may choose not to generate the map_entry=true message, but 23304 * use a native map in the target language to hold the keys and values. 23305 * The reflection APIs in such implementions still need to work as 23306 * if the field is a repeated message field. 23307 * NOTE: Do not set the option in .proto files. Always use the maps syntax 23308 * instead. The option should only be implicitly set by the proto compiler 23309 * parser. 23310 * </pre> 23311 * 23312 * <code>optional bool map_entry = 7;</code> 23313 */ 23314 public boolean hasMapEntry() { 23315 return ((bitField0_ & 0x00000008) == 0x00000008); 23316 } 23317 /** 23318 * <pre> 23319 * Whether the message is an automatically generated map entry type for the 23320 * maps field. 23321 * For maps fields: 23322 * map<KeyType, ValueType> map_field = 1; 23323 * The parsed descriptor looks like: 23324 * message MapFieldEntry { 23325 * option map_entry = true; 23326 * optional KeyType key = 1; 23327 * optional ValueType value = 2; 23328 * } 23329 * repeated MapFieldEntry map_field = 1; 23330 * Implementations may choose not to generate the map_entry=true message, but 23331 * use a native map in the target language to hold the keys and values. 23332 * The reflection APIs in such implementions still need to work as 23333 * if the field is a repeated message field. 23334 * NOTE: Do not set the option in .proto files. Always use the maps syntax 23335 * instead. The option should only be implicitly set by the proto compiler 23336 * parser. 23337 * </pre> 23338 * 23339 * <code>optional bool map_entry = 7;</code> 23340 */ 23341 public boolean getMapEntry() { 23342 return mapEntry_; 17856 23343 } 17857 23344 … … 17859 23346 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 17860 23347 /** 17861 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17862 *17863 23348 * <pre> 17864 23349 * The parser stores options it doesn't recognize here. See above. 17865 23350 * </pre> 17866 */ 17867 @Override 17868 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 23351 * 23352 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23353 */ 23354 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 17869 23355 return uninterpretedOption_; 17870 23356 } 17871 23357 /** 17872 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17873 *17874 23358 * <pre> 17875 23359 * The parser stores options it doesn't recognize here. See above. 17876 23360 * </pre> 17877 */ 17878 @Override 17879 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23361 * 23362 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23363 */ 23364 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 17880 23365 getUninterpretedOptionOrBuilderList() { 17881 23366 return uninterpretedOption_; 17882 23367 } 17883 23368 /** 17884 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17885 *17886 23369 * <pre> 17887 23370 * The parser stores options it doesn't recognize here. See above. 17888 23371 * </pre> 17889 */ 17890 @Override 17891 public int getUninterpretedOptionCount() { 23372 * 23373 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23374 */ 23375 public int getUninterpretedOptionCount() { 17892 23376 return uninterpretedOption_.size(); 17893 23377 } 17894 23378 /** 17895 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17896 *17897 23379 * <pre> 17898 23380 * The parser stores options it doesn't recognize here. See above. 17899 23381 * </pre> 17900 */ 17901 @Override 17902 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 23382 * 23383 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23384 */ 23385 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 17903 23386 return uninterpretedOption_.get(index); 17904 23387 } 17905 23388 /** 17906 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>17907 *17908 23389 * <pre> 17909 23390 * The parser stores options it doesn't recognize here. See above. 17910 23391 * </pre> 17911 */ 17912 @Override 17913 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 23392 * 23393 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23394 */ 23395 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 17914 23396 int index) { 17915 23397 return uninterpretedOption_.get(index); 17916 23398 } 17917 23399 17918 private void initFields() {17919 messageSetWireFormat_ = false;17920 noStandardDescriptorAccessor_ = false;17921 deprecated_ = false;17922 uninterpretedOption_ = java.util.Collections.emptyList();17923 }17924 23400 private byte memoizedIsInitialized = -1; 17925 @Override 17926 public final boolean isInitialized() { 23401 public final boolean isInitialized() { 17927 23402 byte isInitialized = memoizedIsInitialized; 17928 23403 if (isInitialized == 1) return true; … … 17943 23418 } 17944 23419 17945 @Override 17946 public void writeTo(com.google.protobuf.CodedOutputStream output) 23420 public void writeTo(com.google.protobuf.CodedOutputStream output) 17947 23421 throws java.io.IOException { 17948 getSerializedSize(); 17949 com.google.protobuf.GeneratedMessage 17950 .ExtendableMessage<com.google.protobuf.DescriptorProtos.MessageOptions>.ExtensionWriter extensionWriter = 17951 newExtensionWriter(); 23422 com.google.protobuf.GeneratedMessageV3 23423 .ExtendableMessage<com.google.protobuf.DescriptorProtos.MessageOptions>.ExtensionWriter 23424 extensionWriter = newExtensionWriter(); 17952 23425 if (((bitField0_ & 0x00000001) == 0x00000001)) { 17953 23426 output.writeBool(1, messageSetWireFormat_); … … 17959 23432 output.writeBool(3, deprecated_); 17960 23433 } 23434 if (((bitField0_ & 0x00000008) == 0x00000008)) { 23435 output.writeBool(7, mapEntry_); 23436 } 17961 23437 for (int i = 0; i < uninterpretedOption_.size(); i++) { 17962 23438 output.writeMessage(999, uninterpretedOption_.get(i)); 17963 23439 } 17964 23440 extensionWriter.writeUntil(536870912, output); 17965 getUnknownFields().writeTo(output); 17966 } 17967 17968 private int memoizedSerializedSize = -1; 17969 @Override 17970 public int getSerializedSize() { 17971 int size = memoizedSerializedSize; 23441 unknownFields.writeTo(output); 23442 } 23443 23444 public int getSerializedSize() { 23445 int size = memoizedSize; 17972 23446 if (size != -1) return size; 17973 23447 … … 17985 23459 .computeBoolSize(3, deprecated_); 17986 23460 } 23461 if (((bitField0_ & 0x00000008) == 0x00000008)) { 23462 size += com.google.protobuf.CodedOutputStream 23463 .computeBoolSize(7, mapEntry_); 23464 } 17987 23465 for (int i = 0; i < uninterpretedOption_.size(); i++) { 17988 23466 size += com.google.protobuf.CodedOutputStream … … 17990 23468 } 17991 23469 size += extensionsSerializedSize(); 17992 size += getUnknownFields().getSerializedSize();17993 memoizedS erializedSize = size;23470 size += unknownFields.getSerializedSize(); 23471 memoizedSize = size; 17994 23472 return size; 17995 23473 } 17996 23474 17997 private static final long serialVersionUID = 0L;17998 23475 @java.lang.Override 17999 protected java.lang.Object writeReplace() 18000 throws java.io.ObjectStreamException { 18001 return super.writeReplace(); 18002 } 18003 23476 public boolean equals(final java.lang.Object obj) { 23477 if (obj == this) { 23478 return true; 23479 } 23480 if (!(obj instanceof com.google.protobuf.DescriptorProtos.MessageOptions)) { 23481 return super.equals(obj); 23482 } 23483 com.google.protobuf.DescriptorProtos.MessageOptions other = (com.google.protobuf.DescriptorProtos.MessageOptions) obj; 23484 23485 boolean result = true; 23486 result = result && (hasMessageSetWireFormat() == other.hasMessageSetWireFormat()); 23487 if (hasMessageSetWireFormat()) { 23488 result = result && (getMessageSetWireFormat() 23489 == other.getMessageSetWireFormat()); 23490 } 23491 result = result && (hasNoStandardDescriptorAccessor() == other.hasNoStandardDescriptorAccessor()); 23492 if (hasNoStandardDescriptorAccessor()) { 23493 result = result && (getNoStandardDescriptorAccessor() 23494 == other.getNoStandardDescriptorAccessor()); 23495 } 23496 result = result && (hasDeprecated() == other.hasDeprecated()); 23497 if (hasDeprecated()) { 23498 result = result && (getDeprecated() 23499 == other.getDeprecated()); 23500 } 23501 result = result && (hasMapEntry() == other.hasMapEntry()); 23502 if (hasMapEntry()) { 23503 result = result && (getMapEntry() 23504 == other.getMapEntry()); 23505 } 23506 result = result && getUninterpretedOptionList() 23507 .equals(other.getUninterpretedOptionList()); 23508 result = result && unknownFields.equals(other.unknownFields); 23509 result = result && 23510 getExtensionFields().equals(other.getExtensionFields()); 23511 return result; 23512 } 23513 23514 @java.lang.Override 23515 public int hashCode() { 23516 if (memoizedHashCode != 0) { 23517 return memoizedHashCode; 23518 } 23519 int hash = 41; 23520 hash = (19 * hash) + getDescriptor().hashCode(); 23521 if (hasMessageSetWireFormat()) { 23522 hash = (37 * hash) + MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER; 23523 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 23524 getMessageSetWireFormat()); 23525 } 23526 if (hasNoStandardDescriptorAccessor()) { 23527 hash = (37 * hash) + NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER; 23528 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 23529 getNoStandardDescriptorAccessor()); 23530 } 23531 if (hasDeprecated()) { 23532 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 23533 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 23534 getDeprecated()); 23535 } 23536 if (hasMapEntry()) { 23537 hash = (37 * hash) + MAP_ENTRY_FIELD_NUMBER; 23538 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 23539 getMapEntry()); 23540 } 23541 if (getUninterpretedOptionCount() > 0) { 23542 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 23543 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 23544 } 23545 hash = hashFields(hash, getExtensionFields()); 23546 hash = (29 * hash) + unknownFields.hashCode(); 23547 memoizedHashCode = hash; 23548 return hash; 23549 } 23550 23551 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( 23552 java.nio.ByteBuffer data) 23553 throws com.google.protobuf.InvalidProtocolBufferException { 23554 return PARSER.parseFrom(data); 23555 } 23556 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( 23557 java.nio.ByteBuffer data, 23558 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 23559 throws com.google.protobuf.InvalidProtocolBufferException { 23560 return PARSER.parseFrom(data, extensionRegistry); 23561 } 18004 23562 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( 18005 23563 com.google.protobuf.ByteString data) … … 18025 23583 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(java.io.InputStream input) 18026 23584 throws java.io.IOException { 18027 return PARSER.parseFrom(input); 23585 return com.google.protobuf.GeneratedMessageV3 23586 .parseWithIOException(PARSER, input); 18028 23587 } 18029 23588 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( … … 18031 23590 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 18032 23591 throws java.io.IOException { 18033 return PARSER.parseFrom(input, extensionRegistry); 23592 return com.google.protobuf.GeneratedMessageV3 23593 .parseWithIOException(PARSER, input, extensionRegistry); 18034 23594 } 18035 23595 public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(java.io.InputStream input) 18036 23596 throws java.io.IOException { 18037 return PARSER.parseDelimitedFrom(input); 23597 return com.google.protobuf.GeneratedMessageV3 23598 .parseDelimitedWithIOException(PARSER, input); 18038 23599 } 18039 23600 public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom( … … 18041 23602 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 18042 23603 throws java.io.IOException { 18043 return PARSER.parseDelimitedFrom(input, extensionRegistry); 23604 return com.google.protobuf.GeneratedMessageV3 23605 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 18044 23606 } 18045 23607 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( 18046 23608 com.google.protobuf.CodedInputStream input) 18047 23609 throws java.io.IOException { 18048 return PARSER.parseFrom(input); 23610 return com.google.protobuf.GeneratedMessageV3 23611 .parseWithIOException(PARSER, input); 18049 23612 } 18050 23613 public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom( … … 18052 23615 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 18053 23616 throws java.io.IOException { 18054 return PARSER.parseFrom(input, extensionRegistry); 18055 } 18056 18057 public static Builder newBuilder() { return Builder.create(); } 18058 @Override 18059 public Builder newBuilderForType() { return newBuilder(); } 23617 return com.google.protobuf.GeneratedMessageV3 23618 .parseWithIOException(PARSER, input, extensionRegistry); 23619 } 23620 23621 public Builder newBuilderForType() { return newBuilder(); } 23622 public static Builder newBuilder() { 23623 return DEFAULT_INSTANCE.toBuilder(); 23624 } 18060 23625 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MessageOptions prototype) { 18061 return newBuilder().mergeFrom(prototype); 18062 } 18063 @Override 18064 public Builder toBuilder() { return newBuilder(this); } 23626 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 23627 } 23628 public Builder toBuilder() { 23629 return this == DEFAULT_INSTANCE 23630 ? new Builder() : new Builder().mergeFrom(this); 23631 } 18065 23632 18066 23633 @java.lang.Override 18067 23634 protected Builder newBuilderForType( 18068 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 23635 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 18069 23636 Builder builder = new Builder(parent); 18070 23637 return builder; … … 18074 23641 */ 18075 23642 public static final class Builder extends 18076 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 23643 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 18077 23644 com.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements 18078 23645 // @@protoc_insertion_point(builder_implements:google.protobuf.MessageOptions) … … 18083 23650 } 18084 23651 18085 @Override 18086 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 23652 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18087 23653 internalGetFieldAccessorTable() { 18088 23654 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable … … 18097 23663 18098 23664 private Builder( 18099 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 23665 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 18100 23666 super(parent); 18101 23667 maybeForceBuilderInitialization(); 18102 23668 } 18103 23669 private void maybeForceBuilderInitialization() { 18104 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 23670 if (com.google.protobuf.GeneratedMessageV3 23671 .alwaysUseFieldBuilders) { 18105 23672 getUninterpretedOptionFieldBuilder(); 18106 23673 } 18107 23674 } 18108 private static Builder create() { 18109 return new Builder(); 18110 } 18111 18112 @Override 18113 public Builder clear() { 23675 public Builder clear() { 18114 23676 super.clear(); 18115 23677 messageSetWireFormat_ = false; … … 18119 23681 deprecated_ = false; 18120 23682 bitField0_ = (bitField0_ & ~0x00000004); 23683 mapEntry_ = false; 23684 bitField0_ = (bitField0_ & ~0x00000008); 18121 23685 if (uninterpretedOptionBuilder_ == null) { 18122 23686 uninterpretedOption_ = java.util.Collections.emptyList(); 18123 bitField0_ = (bitField0_ & ~0x000000 08);23687 bitField0_ = (bitField0_ & ~0x00000010); 18124 23688 } else { 18125 23689 uninterpretedOptionBuilder_.clear(); … … 18128 23692 } 18129 23693 18130 @Override 18131 public Builder clone() { 18132 return create().mergeFrom(buildPartial()); 18133 } 18134 18135 @Override 18136 public com.google.protobuf.Descriptors.Descriptor 23694 public com.google.protobuf.Descriptors.Descriptor 18137 23695 getDescriptorForType() { 18138 23696 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor; 18139 23697 } 18140 23698 18141 @Override 18142 public com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstanceForType() { 23699 public com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstanceForType() { 18143 23700 return com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance(); 18144 23701 } 18145 23702 18146 @Override 18147 public com.google.protobuf.DescriptorProtos.MessageOptions build() { 23703 public com.google.protobuf.DescriptorProtos.MessageOptions build() { 18148 23704 com.google.protobuf.DescriptorProtos.MessageOptions result = buildPartial(); 18149 23705 if (!result.isInitialized()) { … … 18153 23709 } 18154 23710 18155 @Override 18156 public com.google.protobuf.DescriptorProtos.MessageOptions buildPartial() { 23711 public com.google.protobuf.DescriptorProtos.MessageOptions buildPartial() { 18157 23712 com.google.protobuf.DescriptorProtos.MessageOptions result = new com.google.protobuf.DescriptorProtos.MessageOptions(this); 18158 23713 int from_bitField0_ = bitField0_; … … 18170 23725 } 18171 23726 result.deprecated_ = deprecated_; 23727 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 23728 to_bitField0_ |= 0x00000008; 23729 } 23730 result.mapEntry_ = mapEntry_; 18172 23731 if (uninterpretedOptionBuilder_ == null) { 18173 if (((bitField0_ & 0x000000 08) == 0x00000008)) {23732 if (((bitField0_ & 0x00000010) == 0x00000010)) { 18174 23733 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 18175 bitField0_ = (bitField0_ & ~0x000000 08);23734 bitField0_ = (bitField0_ & ~0x00000010); 18176 23735 } 18177 23736 result.uninterpretedOption_ = uninterpretedOption_; … … 18184 23743 } 18185 23744 18186 @Override 18187 public Builder mergeFrom(com.google.protobuf.Message other) { 23745 public Builder clone() { 23746 return (Builder) super.clone(); 23747 } 23748 public Builder setField( 23749 com.google.protobuf.Descriptors.FieldDescriptor field, 23750 java.lang.Object value) { 23751 return (Builder) super.setField(field, value); 23752 } 23753 public Builder clearField( 23754 com.google.protobuf.Descriptors.FieldDescriptor field) { 23755 return (Builder) super.clearField(field); 23756 } 23757 public Builder clearOneof( 23758 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 23759 return (Builder) super.clearOneof(oneof); 23760 } 23761 public Builder setRepeatedField( 23762 com.google.protobuf.Descriptors.FieldDescriptor field, 23763 int index, java.lang.Object value) { 23764 return (Builder) super.setRepeatedField(field, index, value); 23765 } 23766 public Builder addRepeatedField( 23767 com.google.protobuf.Descriptors.FieldDescriptor field, 23768 java.lang.Object value) { 23769 return (Builder) super.addRepeatedField(field, value); 23770 } 23771 public <Type> Builder setExtension( 23772 com.google.protobuf.GeneratedMessage.GeneratedExtension< 23773 com.google.protobuf.DescriptorProtos.MessageOptions, Type> extension, 23774 Type value) { 23775 return (Builder) super.setExtension(extension, value); 23776 } 23777 public <Type> Builder setExtension( 23778 com.google.protobuf.GeneratedMessage.GeneratedExtension< 23779 com.google.protobuf.DescriptorProtos.MessageOptions, java.util.List<Type>> extension, 23780 int index, Type value) { 23781 return (Builder) super.setExtension(extension, index, value); 23782 } 23783 public <Type> Builder addExtension( 23784 com.google.protobuf.GeneratedMessage.GeneratedExtension< 23785 com.google.protobuf.DescriptorProtos.MessageOptions, java.util.List<Type>> extension, 23786 Type value) { 23787 return (Builder) super.addExtension(extension, value); 23788 } 23789 public <Type> Builder clearExtension( 23790 com.google.protobuf.GeneratedMessage.GeneratedExtension< 23791 com.google.protobuf.DescriptorProtos.MessageOptions, ?> extension) { 23792 return (Builder) super.clearExtension(extension); 23793 } 23794 public Builder mergeFrom(com.google.protobuf.Message other) { 18188 23795 if (other instanceof com.google.protobuf.DescriptorProtos.MessageOptions) { 18189 23796 return mergeFrom((com.google.protobuf.DescriptorProtos.MessageOptions)other); … … 18205 23812 setDeprecated(other.getDeprecated()); 18206 23813 } 23814 if (other.hasMapEntry()) { 23815 setMapEntry(other.getMapEntry()); 23816 } 18207 23817 if (uninterpretedOptionBuilder_ == null) { 18208 23818 if (!other.uninterpretedOption_.isEmpty()) { 18209 23819 if (uninterpretedOption_.isEmpty()) { 18210 23820 uninterpretedOption_ = other.uninterpretedOption_; 18211 bitField0_ = (bitField0_ & ~0x000000 08);23821 bitField0_ = (bitField0_ & ~0x00000010); 18212 23822 } else { 18213 23823 ensureUninterpretedOptionIsMutable(); … … 18222 23832 uninterpretedOptionBuilder_ = null; 18223 23833 uninterpretedOption_ = other.uninterpretedOption_; 18224 bitField0_ = (bitField0_ & ~0x000000 08);18225 uninterpretedOptionBuilder_ = 18226 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 23834 bitField0_ = (bitField0_ & ~0x00000010); 23835 uninterpretedOptionBuilder_ = 23836 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 18227 23837 getUninterpretedOptionFieldBuilder() : null; 18228 23838 } else { … … 18232 23842 } 18233 23843 this.mergeExtensionFields(other); 18234 this.mergeUnknownFields(other. getUnknownFields());18235 return this;18236 }18237 18238 @Override 18239 23844 this.mergeUnknownFields(other.unknownFields); 23845 onChanged(); 23846 return this; 23847 } 23848 23849 public final boolean isInitialized() { 18240 23850 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 18241 23851 if (!getUninterpretedOption(i).isInitialized()) { 18242 18243 23852 return false; 18244 23853 } 18245 23854 } 18246 23855 if (!extensionsAreInitialized()) { 18247 18248 23856 return false; 18249 23857 } … … 18251 23859 } 18252 23860 18253 @Override 18254 public Builder mergeFrom( 23861 public Builder mergeFrom( 18255 23862 com.google.protobuf.CodedInputStream input, 18256 23863 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 18261 23868 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 18262 23869 parsedMessage = (com.google.protobuf.DescriptorProtos.MessageOptions) e.getUnfinishedMessage(); 18263 throw e; 23870 throw e.unwrapIOException(); 18264 23871 } finally { 18265 23872 if (parsedMessage != null) { … … 18273 23880 private boolean messageSetWireFormat_ ; 18274 23881 /** 18275 * <code>optional bool message_set_wire_format = 1 [default = false];</code>18276 *18277 23882 * <pre> 18278 23883 * Set true to use the old proto1 MessageSet wire format for extensions. … … 18292 23897 * the protocol compiler. 18293 23898 * </pre> 18294 */ 18295 @Override 18296 public boolean hasMessageSetWireFormat() { 23899 * 23900 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 23901 */ 23902 public boolean hasMessageSetWireFormat() { 18297 23903 return ((bitField0_ & 0x00000001) == 0x00000001); 18298 23904 } 18299 23905 /** 18300 * <code>optional bool message_set_wire_format = 1 [default = false];</code>18301 *18302 23906 * <pre> 18303 23907 * Set true to use the old proto1 MessageSet wire format for extensions. … … 18317 23921 * the protocol compiler. 18318 23922 * </pre> 18319 */ 18320 @Override 18321 public boolean getMessageSetWireFormat() { 23923 * 23924 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 23925 */ 23926 public boolean getMessageSetWireFormat() { 18322 23927 return messageSetWireFormat_; 18323 23928 } 18324 23929 /** 18325 * <code>optional bool message_set_wire_format = 1 [default = false];</code>18326 *18327 23930 * <pre> 18328 23931 * Set true to use the old proto1 MessageSet wire format for extensions. … … 18342 23945 * the protocol compiler. 18343 23946 * </pre> 23947 * 23948 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 18344 23949 */ 18345 23950 public Builder setMessageSetWireFormat(boolean value) { … … 18350 23955 } 18351 23956 /** 18352 * <code>optional bool message_set_wire_format = 1 [default = false];</code>18353 *18354 23957 * <pre> 18355 23958 * Set true to use the old proto1 MessageSet wire format for extensions. … … 18369 23972 * the protocol compiler. 18370 23973 * </pre> 23974 * 23975 * <code>optional bool message_set_wire_format = 1 [default = false];</code> 18371 23976 */ 18372 23977 public Builder clearMessageSetWireFormat() { … … 18379 23984 private boolean noStandardDescriptorAccessor_ ; 18380 23985 /** 18381 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>18382 *18383 23986 * <pre> 18384 23987 * Disables the generation of the standard "descriptor()" accessor, which can … … 18386 23989 * from proto1 easier; new code should avoid fields named "descriptor". 18387 23990 * </pre> 18388 */ 18389 @Override 18390 public boolean hasNoStandardDescriptorAccessor() { 23991 * 23992 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 23993 */ 23994 public boolean hasNoStandardDescriptorAccessor() { 18391 23995 return ((bitField0_ & 0x00000002) == 0x00000002); 18392 23996 } 18393 23997 /** 18394 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>18395 *18396 23998 * <pre> 18397 23999 * Disables the generation of the standard "descriptor()" accessor, which can … … 18399 24001 * from proto1 easier; new code should avoid fields named "descriptor". 18400 24002 * </pre> 18401 */ 18402 @Override 18403 public boolean getNoStandardDescriptorAccessor() { 24003 * 24004 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 24005 */ 24006 public boolean getNoStandardDescriptorAccessor() { 18404 24007 return noStandardDescriptorAccessor_; 18405 24008 } 18406 24009 /** 18407 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>18408 *18409 24010 * <pre> 18410 24011 * Disables the generation of the standard "descriptor()" accessor, which can … … 18412 24013 * from proto1 easier; new code should avoid fields named "descriptor". 18413 24014 * </pre> 24015 * 24016 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 18414 24017 */ 18415 24018 public Builder setNoStandardDescriptorAccessor(boolean value) { … … 18420 24023 } 18421 24024 /** 18422 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>18423 *18424 24025 * <pre> 18425 24026 * Disables the generation of the standard "descriptor()" accessor, which can … … 18427 24028 * from proto1 easier; new code should avoid fields named "descriptor". 18428 24029 * </pre> 24030 * 24031 * <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code> 18429 24032 */ 18430 24033 public Builder clearNoStandardDescriptorAccessor() { … … 18437 24040 private boolean deprecated_ ; 18438 24041 /** 18439 * <code>optional bool deprecated = 3 [default = false];</code>18440 *18441 24042 * <pre> 18442 24043 * Is this message deprecated? … … 18445 24046 * this is a formalization for deprecating messages. 18446 24047 * </pre> 18447 */ 18448 @Override 18449 public boolean hasDeprecated() { 24048 * 24049 * <code>optional bool deprecated = 3 [default = false];</code> 24050 */ 24051 public boolean hasDeprecated() { 18450 24052 return ((bitField0_ & 0x00000004) == 0x00000004); 18451 24053 } 18452 24054 /** 18453 * <code>optional bool deprecated = 3 [default = false];</code>18454 *18455 24055 * <pre> 18456 24056 * Is this message deprecated? … … 18459 24059 * this is a formalization for deprecating messages. 18460 24060 * </pre> 18461 */ 18462 @Override 18463 public boolean getDeprecated() { 24061 * 24062 * <code>optional bool deprecated = 3 [default = false];</code> 24063 */ 24064 public boolean getDeprecated() { 18464 24065 return deprecated_; 18465 24066 } 18466 24067 /** 18467 * <code>optional bool deprecated = 3 [default = false];</code>18468 *18469 24068 * <pre> 18470 24069 * Is this message deprecated? … … 18473 24072 * this is a formalization for deprecating messages. 18474 24073 * </pre> 24074 * 24075 * <code>optional bool deprecated = 3 [default = false];</code> 18475 24076 */ 18476 24077 public Builder setDeprecated(boolean value) { … … 18481 24082 } 18482 24083 /** 18483 * <code>optional bool deprecated = 3 [default = false];</code>18484 *18485 24084 * <pre> 18486 24085 * Is this message deprecated? … … 18489 24088 * this is a formalization for deprecating messages. 18490 24089 * </pre> 24090 * 24091 * <code>optional bool deprecated = 3 [default = false];</code> 18491 24092 */ 18492 24093 public Builder clearDeprecated() { … … 18497 24098 } 18498 24099 24100 private boolean mapEntry_ ; 24101 /** 24102 * <pre> 24103 * Whether the message is an automatically generated map entry type for the 24104 * maps field. 24105 * For maps fields: 24106 * map<KeyType, ValueType> map_field = 1; 24107 * The parsed descriptor looks like: 24108 * message MapFieldEntry { 24109 * option map_entry = true; 24110 * optional KeyType key = 1; 24111 * optional ValueType value = 2; 24112 * } 24113 * repeated MapFieldEntry map_field = 1; 24114 * Implementations may choose not to generate the map_entry=true message, but 24115 * use a native map in the target language to hold the keys and values. 24116 * The reflection APIs in such implementions still need to work as 24117 * if the field is a repeated message field. 24118 * NOTE: Do not set the option in .proto files. Always use the maps syntax 24119 * instead. The option should only be implicitly set by the proto compiler 24120 * parser. 24121 * </pre> 24122 * 24123 * <code>optional bool map_entry = 7;</code> 24124 */ 24125 public boolean hasMapEntry() { 24126 return ((bitField0_ & 0x00000008) == 0x00000008); 24127 } 24128 /** 24129 * <pre> 24130 * Whether the message is an automatically generated map entry type for the 24131 * maps field. 24132 * For maps fields: 24133 * map<KeyType, ValueType> map_field = 1; 24134 * The parsed descriptor looks like: 24135 * message MapFieldEntry { 24136 * option map_entry = true; 24137 * optional KeyType key = 1; 24138 * optional ValueType value = 2; 24139 * } 24140 * repeated MapFieldEntry map_field = 1; 24141 * Implementations may choose not to generate the map_entry=true message, but 24142 * use a native map in the target language to hold the keys and values. 24143 * The reflection APIs in such implementions still need to work as 24144 * if the field is a repeated message field. 24145 * NOTE: Do not set the option in .proto files. Always use the maps syntax 24146 * instead. The option should only be implicitly set by the proto compiler 24147 * parser. 24148 * </pre> 24149 * 24150 * <code>optional bool map_entry = 7;</code> 24151 */ 24152 public boolean getMapEntry() { 24153 return mapEntry_; 24154 } 24155 /** 24156 * <pre> 24157 * Whether the message is an automatically generated map entry type for the 24158 * maps field. 24159 * For maps fields: 24160 * map<KeyType, ValueType> map_field = 1; 24161 * The parsed descriptor looks like: 24162 * message MapFieldEntry { 24163 * option map_entry = true; 24164 * optional KeyType key = 1; 24165 * optional ValueType value = 2; 24166 * } 24167 * repeated MapFieldEntry map_field = 1; 24168 * Implementations may choose not to generate the map_entry=true message, but 24169 * use a native map in the target language to hold the keys and values. 24170 * The reflection APIs in such implementions still need to work as 24171 * if the field is a repeated message field. 24172 * NOTE: Do not set the option in .proto files. Always use the maps syntax 24173 * instead. The option should only be implicitly set by the proto compiler 24174 * parser. 24175 * </pre> 24176 * 24177 * <code>optional bool map_entry = 7;</code> 24178 */ 24179 public Builder setMapEntry(boolean value) { 24180 bitField0_ |= 0x00000008; 24181 mapEntry_ = value; 24182 onChanged(); 24183 return this; 24184 } 24185 /** 24186 * <pre> 24187 * Whether the message is an automatically generated map entry type for the 24188 * maps field. 24189 * For maps fields: 24190 * map<KeyType, ValueType> map_field = 1; 24191 * The parsed descriptor looks like: 24192 * message MapFieldEntry { 24193 * option map_entry = true; 24194 * optional KeyType key = 1; 24195 * optional ValueType value = 2; 24196 * } 24197 * repeated MapFieldEntry map_field = 1; 24198 * Implementations may choose not to generate the map_entry=true message, but 24199 * use a native map in the target language to hold the keys and values. 24200 * The reflection APIs in such implementions still need to work as 24201 * if the field is a repeated message field. 24202 * NOTE: Do not set the option in .proto files. Always use the maps syntax 24203 * instead. The option should only be implicitly set by the proto compiler 24204 * parser. 24205 * </pre> 24206 * 24207 * <code>optional bool map_entry = 7;</code> 24208 */ 24209 public Builder clearMapEntry() { 24210 bitField0_ = (bitField0_ & ~0x00000008); 24211 mapEntry_ = false; 24212 onChanged(); 24213 return this; 24214 } 24215 18499 24216 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 18500 24217 java.util.Collections.emptyList(); 18501 24218 private void ensureUninterpretedOptionIsMutable() { 18502 if (!((bitField0_ & 0x000000 08) == 0x00000008)) {18503 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 18504 bitField0_ |= 0x000000 08;24219 if (!((bitField0_ & 0x00000010) == 0x00000010)) { 24220 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 24221 bitField0_ |= 0x00000010; 18505 24222 } 18506 24223 } 18507 24224 18508 private com.google.protobuf.RepeatedFieldBuilder< 24225 private com.google.protobuf.RepeatedFieldBuilderV3< 18509 24226 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 18510 24227 18511 24228 /** 24229 * <pre> 24230 * The parser stores options it doesn't recognize here. See above. 24231 * </pre> 24232 * 18512 24233 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18513 * 18514 * <pre> 18515 * The parser stores options it doesn't recognize here. See above. 18516 * </pre> 18517 */ 18518 @Override 18519 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 24234 */ 24235 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 18520 24236 if (uninterpretedOptionBuilder_ == null) { 18521 24237 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 18525 24241 } 18526 24242 /** 24243 * <pre> 24244 * The parser stores options it doesn't recognize here. See above. 24245 * </pre> 24246 * 18527 24247 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18528 * 18529 * <pre> 18530 * The parser stores options it doesn't recognize here. See above. 18531 * </pre> 18532 */ 18533 @Override 18534 public int getUninterpretedOptionCount() { 24248 */ 24249 public int getUninterpretedOptionCount() { 18535 24250 if (uninterpretedOptionBuilder_ == null) { 18536 24251 return uninterpretedOption_.size(); … … 18540 24255 } 18541 24256 /** 24257 * <pre> 24258 * The parser stores options it doesn't recognize here. See above. 24259 * </pre> 24260 * 18542 24261 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18543 * 18544 * <pre> 18545 * The parser stores options it doesn't recognize here. See above. 18546 * </pre> 18547 */ 18548 @Override 18549 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 24262 */ 24263 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 18550 24264 if (uninterpretedOptionBuilder_ == null) { 18551 24265 return uninterpretedOption_.get(index); … … 18555 24269 } 18556 24270 /** 24271 * <pre> 24272 * The parser stores options it doesn't recognize here. See above. 24273 * </pre> 24274 * 18557 24275 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18558 *18559 * <pre>18560 * The parser stores options it doesn't recognize here. See above.18561 * </pre>18562 24276 */ 18563 24277 public Builder setUninterpretedOption( … … 18576 24290 } 18577 24291 /** 24292 * <pre> 24293 * The parser stores options it doesn't recognize here. See above. 24294 * </pre> 24295 * 18578 24296 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18579 *18580 * <pre>18581 * The parser stores options it doesn't recognize here. See above.18582 * </pre>18583 24297 */ 18584 24298 public Builder setUninterpretedOption( … … 18594 24308 } 18595 24309 /** 24310 * <pre> 24311 * The parser stores options it doesn't recognize here. See above. 24312 * </pre> 24313 * 18596 24314 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18597 *18598 * <pre>18599 * The parser stores options it doesn't recognize here. See above.18600 * </pre>18601 24315 */ 18602 24316 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 18614 24328 } 18615 24329 /** 24330 * <pre> 24331 * The parser stores options it doesn't recognize here. See above. 24332 * </pre> 24333 * 18616 24334 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18617 *18618 * <pre>18619 * The parser stores options it doesn't recognize here. See above.18620 * </pre>18621 24335 */ 18622 24336 public Builder addUninterpretedOption( … … 18635 24349 } 18636 24350 /** 24351 * <pre> 24352 * The parser stores options it doesn't recognize here. See above. 24353 * </pre> 24354 * 18637 24355 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18638 *18639 * <pre>18640 * The parser stores options it doesn't recognize here. See above.18641 * </pre>18642 24356 */ 18643 24357 public Builder addUninterpretedOption( … … 18653 24367 } 18654 24368 /** 24369 * <pre> 24370 * The parser stores options it doesn't recognize here. See above. 24371 * </pre> 24372 * 18655 24373 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18656 *18657 * <pre>18658 * The parser stores options it doesn't recognize here. See above.18659 * </pre>18660 24374 */ 18661 24375 public Builder addUninterpretedOption( … … 18671 24385 } 18672 24386 /** 24387 * <pre> 24388 * The parser stores options it doesn't recognize here. See above. 24389 * </pre> 24390 * 18673 24391 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18674 *18675 * <pre>18676 * The parser stores options it doesn't recognize here. See above.18677 * </pre>18678 24392 */ 18679 24393 public Builder addAllUninterpretedOption( … … 18690 24404 } 18691 24405 /** 24406 * <pre> 24407 * The parser stores options it doesn't recognize here. See above. 24408 * </pre> 24409 * 18692 24410 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18693 *18694 * <pre>18695 * The parser stores options it doesn't recognize here. See above.18696 * </pre>18697 24411 */ 18698 24412 public Builder clearUninterpretedOption() { 18699 24413 if (uninterpretedOptionBuilder_ == null) { 18700 24414 uninterpretedOption_ = java.util.Collections.emptyList(); 18701 bitField0_ = (bitField0_ & ~0x000000 08);24415 bitField0_ = (bitField0_ & ~0x00000010); 18702 24416 onChanged(); 18703 24417 } else { … … 18707 24421 } 18708 24422 /** 24423 * <pre> 24424 * The parser stores options it doesn't recognize here. See above. 24425 * </pre> 24426 * 18709 24427 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18710 *18711 * <pre>18712 * The parser stores options it doesn't recognize here. See above.18713 * </pre>18714 24428 */ 18715 24429 public Builder removeUninterpretedOption(int index) { … … 18724 24438 } 18725 24439 /** 24440 * <pre> 24441 * The parser stores options it doesn't recognize here. See above. 24442 * </pre> 24443 * 18726 24444 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18727 *18728 * <pre>18729 * The parser stores options it doesn't recognize here. See above.18730 * </pre>18731 24445 */ 18732 24446 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 18735 24449 } 18736 24450 /** 24451 * <pre> 24452 * The parser stores options it doesn't recognize here. See above. 24453 * </pre> 24454 * 18737 24455 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18738 * 18739 * <pre> 18740 * The parser stores options it doesn't recognize here. See above. 18741 * </pre> 18742 */ 18743 @Override 18744 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 24456 */ 24457 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 18745 24458 int index) { 18746 24459 if (uninterpretedOptionBuilder_ == null) { … … 18750 24463 } 18751 24464 /** 24465 * <pre> 24466 * The parser stores options it doesn't recognize here. See above. 24467 * </pre> 24468 * 18752 24469 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18753 * 18754 * <pre> 18755 * The parser stores options it doesn't recognize here. See above. 18756 * </pre> 18757 */ 18758 @Override 18759 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24470 */ 24471 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 18760 24472 getUninterpretedOptionOrBuilderList() { 18761 24473 if (uninterpretedOptionBuilder_ != null) { … … 18766 24478 } 18767 24479 /** 24480 * <pre> 24481 * The parser stores options it doesn't recognize here. See above. 24482 * </pre> 24483 * 18768 24484 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18769 *18770 * <pre>18771 * The parser stores options it doesn't recognize here. See above.18772 * </pre>18773 24485 */ 18774 24486 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 18777 24489 } 18778 24490 /** 24491 * <pre> 24492 * The parser stores options it doesn't recognize here. See above. 24493 * </pre> 24494 * 18779 24495 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18780 *18781 * <pre>18782 * The parser stores options it doesn't recognize here. See above.18783 * </pre>18784 24496 */ 18785 24497 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 18789 24501 } 18790 24502 /** 24503 * <pre> 24504 * The parser stores options it doesn't recognize here. See above. 24505 * </pre> 24506 * 18791 24507 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 18792 * 18793 * <pre> 18794 * The parser stores options it doesn't recognize here. See above. 18795 * </pre> 18796 */ 18797 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 24508 */ 24509 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 18798 24510 getUninterpretedOptionBuilderList() { 18799 24511 return getUninterpretedOptionFieldBuilder().getBuilderList(); 18800 24512 } 18801 private com.google.protobuf.RepeatedFieldBuilder< 18802 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24513 private com.google.protobuf.RepeatedFieldBuilderV3< 24514 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 18803 24515 getUninterpretedOptionFieldBuilder() { 18804 24516 if (uninterpretedOptionBuilder_ == null) { 18805 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 24517 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 24518 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 18806 24519 uninterpretedOption_, 18807 ((bitField0_ & 0x000000 08) == 0x00000008),24520 ((bitField0_ & 0x00000010) == 0x00000010), 18808 24521 getParentForChildren(), 18809 24522 isClean()); … … 18812 24525 return uninterpretedOptionBuilder_; 18813 24526 } 24527 public final Builder setUnknownFields( 24528 final com.google.protobuf.UnknownFieldSet unknownFields) { 24529 return super.setUnknownFields(unknownFields); 24530 } 24531 24532 public final Builder mergeUnknownFields( 24533 final com.google.protobuf.UnknownFieldSet unknownFields) { 24534 return super.mergeUnknownFields(unknownFields); 24535 } 24536 18814 24537 18815 24538 // @@protoc_insertion_point(builder_scope:google.protobuf.MessageOptions) 18816 24539 } 18817 24540 24541 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) 24542 private static final com.google.protobuf.DescriptorProtos.MessageOptions DEFAULT_INSTANCE; 18818 24543 static { 18819 defaultInstance = new MessageOptions(true); 18820 defaultInstance.initFields(); 18821 } 18822 18823 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) 24544 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.MessageOptions(); 24545 } 24546 24547 public static com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstance() { 24548 return DEFAULT_INSTANCE; 24549 } 24550 24551 @java.lang.Deprecated public static final com.google.protobuf.Parser<MessageOptions> 24552 PARSER = new com.google.protobuf.AbstractParser<MessageOptions>() { 24553 public MessageOptions parsePartialFrom( 24554 com.google.protobuf.CodedInputStream input, 24555 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24556 throws com.google.protobuf.InvalidProtocolBufferException { 24557 return new MessageOptions(input, extensionRegistry); 24558 } 24559 }; 24560 24561 public static com.google.protobuf.Parser<MessageOptions> parser() { 24562 return PARSER; 24563 } 24564 24565 @java.lang.Override 24566 public com.google.protobuf.Parser<MessageOptions> getParserForType() { 24567 return PARSER; 24568 } 24569 24570 public com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstanceForType() { 24571 return DEFAULT_INSTANCE; 24572 } 24573 18824 24574 } 18825 24575 18826 24576 public interface FieldOptionsOrBuilder extends 18827 24577 // @@protoc_insertion_point(interface_extends:google.protobuf.FieldOptions) 18828 com.google.protobuf.GeneratedMessage. 24578 com.google.protobuf.GeneratedMessageV3. 18829 24579 ExtendableMessageOrBuilder<FieldOptions> { 18830 24580 18831 24581 /** 18832 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>18833 *18834 24582 * <pre> 18835 24583 * The ctype option instructs the C++ code generator to use a different … … 18838 24586 * release -- sorry, we'll try to include it in a future version! 18839 24587 * </pre> 24588 * 24589 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 18840 24590 */ 18841 24591 boolean hasCtype(); 18842 24592 /** 18843 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>18844 *18845 24593 * <pre> 18846 24594 * The ctype option instructs the C++ code generator to use a different … … 18849 24597 * release -- sorry, we'll try to include it in a future version! 18850 24598 * </pre> 24599 * 24600 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 18851 24601 */ 18852 24602 com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype(); 18853 24603 18854 24604 /** 18855 * <code>optional bool packed = 2;</code>18856 *18857 24605 * <pre> 18858 24606 * The packed option can be enabled for repeated primitive fields to enable 18859 24607 * a more efficient representation on the wire. Rather than repeatedly 18860 24608 * writing the tag and type for each element, the entire array is encoded as 18861 * a single length-delimited blob. 24609 * a single length-delimited blob. In proto3, only explicit setting it to 24610 * false will avoid using packed encoding. 18862 24611 * </pre> 24612 * 24613 * <code>optional bool packed = 2;</code> 18863 24614 */ 18864 24615 boolean hasPacked(); 18865 24616 /** 18866 * <code>optional bool packed = 2;</code>18867 *18868 24617 * <pre> 18869 24618 * The packed option can be enabled for repeated primitive fields to enable 18870 24619 * a more efficient representation on the wire. Rather than repeatedly 18871 24620 * writing the tag and type for each element, the entire array is encoded as 18872 * a single length-delimited blob. 24621 * a single length-delimited blob. In proto3, only explicit setting it to 24622 * false will avoid using packed encoding. 18873 24623 * </pre> 24624 * 24625 * <code>optional bool packed = 2;</code> 18874 24626 */ 18875 24627 boolean getPacked(); 18876 24628 18877 24629 /** 18878 * <code>optional bool lazy = 5 [default = false];</code> 24630 * <pre> 24631 * The jstype option determines the JavaScript type used for values of the 24632 * field. The option is permitted only for 64 bit integral and fixed types 24633 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 24634 * is represented as JavaScript string, which avoids loss of precision that 24635 * can happen when a large value is converted to a floating point JavaScript. 24636 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 24637 * use the JavaScript "number" type. The behavior of the default option 24638 * JS_NORMAL is implementation dependent. 24639 * This option is an enum to permit additional types to be added, e.g. 24640 * goog.math.Integer. 24641 * </pre> 18879 24642 * 24643 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 24644 */ 24645 boolean hasJstype(); 24646 /** 24647 * <pre> 24648 * The jstype option determines the JavaScript type used for values of the 24649 * field. The option is permitted only for 64 bit integral and fixed types 24650 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 24651 * is represented as JavaScript string, which avoids loss of precision that 24652 * can happen when a large value is converted to a floating point JavaScript. 24653 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 24654 * use the JavaScript "number" type. The behavior of the default option 24655 * JS_NORMAL is implementation dependent. 24656 * This option is an enum to permit additional types to be added, e.g. 24657 * goog.math.Integer. 24658 * </pre> 24659 * 24660 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 24661 */ 24662 com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype(); 24663 24664 /** 18880 24665 * <pre> 18881 24666 * Should this field be parsed lazily? Lazy applies only to message-type … … 18894 24679 * to require exclusive access. 18895 24680 * Note that implementations may choose not to check required fields within 18896 * a lazy sub-message. That is, calling IsInitialized() on the out her message24681 * a lazy sub-message. That is, calling IsInitialized() on the outer message 18897 24682 * may return true even if the inner message has missing required fields. 18898 24683 * This is necessary because otherwise the inner message would have to be … … 18904 24689 * been parsed. 18905 24690 * </pre> 24691 * 24692 * <code>optional bool lazy = 5 [default = false];</code> 18906 24693 */ 18907 24694 boolean hasLazy(); 18908 24695 /** 18909 * <code>optional bool lazy = 5 [default = false];</code>18910 *18911 24696 * <pre> 18912 24697 * Should this field be parsed lazily? Lazy applies only to message-type … … 18925 24710 * to require exclusive access. 18926 24711 * Note that implementations may choose not to check required fields within 18927 * a lazy sub-message. That is, calling IsInitialized() on the out her message24712 * a lazy sub-message. That is, calling IsInitialized() on the outer message 18928 24713 * may return true even if the inner message has missing required fields. 18929 24714 * This is necessary because otherwise the inner message would have to be … … 18935 24720 * been parsed. 18936 24721 * </pre> 24722 * 24723 * <code>optional bool lazy = 5 [default = false];</code> 18937 24724 */ 18938 24725 boolean getLazy(); 18939 24726 18940 24727 /** 18941 * <code>optional bool deprecated = 3 [default = false];</code>18942 *18943 24728 * <pre> 18944 24729 * Is this field deprecated? … … 18947 24732 * is a formalization for deprecating fields. 18948 24733 * </pre> 24734 * 24735 * <code>optional bool deprecated = 3 [default = false];</code> 18949 24736 */ 18950 24737 boolean hasDeprecated(); 18951 24738 /** 18952 * <code>optional bool deprecated = 3 [default = false];</code>18953 *18954 24739 * <pre> 18955 24740 * Is this field deprecated? … … 18958 24743 * is a formalization for deprecating fields. 18959 24744 * </pre> 24745 * 24746 * <code>optional bool deprecated = 3 [default = false];</code> 18960 24747 */ 18961 24748 boolean getDeprecated(); 18962 24749 18963 24750 /** 18964 * <code>optional string experimental_map_key = 9;</code>18965 *18966 * <pre>18967 * EXPERIMENTAL. DO NOT USE.18968 * For "map" fields, the name of the field in the enclosed type that18969 * is the key for this map. For example, suppose we have:18970 * message Item {18971 * required string name = 1;18972 * required string value = 2;18973 * }18974 * message Config {18975 * repeated Item items = 1 [experimental_map_key="name"];18976 * }18977 * In this situation, the map key for Item will be set to "name".18978 * TODO: Fully-implement this, then remove the "experimental_" prefix.18979 * </pre>18980 */18981 boolean hasExperimentalMapKey();18982 /**18983 * <code>optional string experimental_map_key = 9;</code>18984 *18985 * <pre>18986 * EXPERIMENTAL. DO NOT USE.18987 * For "map" fields, the name of the field in the enclosed type that18988 * is the key for this map. For example, suppose we have:18989 * message Item {18990 * required string name = 1;18991 * required string value = 2;18992 * }18993 * message Config {18994 * repeated Item items = 1 [experimental_map_key="name"];18995 * }18996 * In this situation, the map key for Item will be set to "name".18997 * TODO: Fully-implement this, then remove the "experimental_" prefix.18998 * </pre>18999 */19000 java.lang.String getExperimentalMapKey();19001 /**19002 * <code>optional string experimental_map_key = 9;</code>19003 *19004 * <pre>19005 * EXPERIMENTAL. DO NOT USE.19006 * For "map" fields, the name of the field in the enclosed type that19007 * is the key for this map. For example, suppose we have:19008 * message Item {19009 * required string name = 1;19010 * required string value = 2;19011 * }19012 * message Config {19013 * repeated Item items = 1 [experimental_map_key="name"];19014 * }19015 * In this situation, the map key for Item will be set to "name".19016 * TODO: Fully-implement this, then remove the "experimental_" prefix.19017 * </pre>19018 */19019 com.google.protobuf.ByteString19020 getExperimentalMapKeyBytes();19021 19022 /**19023 * <code>optional bool weak = 10 [default = false];</code>19024 *19025 24751 * <pre> 19026 24752 * For Google-internal migration only. Do not use. 19027 24753 * </pre> 24754 * 24755 * <code>optional bool weak = 10 [default = false];</code> 19028 24756 */ 19029 24757 boolean hasWeak(); 19030 24758 /** 19031 * <code>optional bool weak = 10 [default = false];</code>19032 *19033 24759 * <pre> 19034 24760 * For Google-internal migration only. Do not use. 19035 24761 * </pre> 24762 * 24763 * <code>optional bool weak = 10 [default = false];</code> 19036 24764 */ 19037 24765 boolean getWeak(); 19038 24766 19039 24767 /** 19040 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19041 *19042 24768 * <pre> 19043 24769 * The parser stores options it doesn't recognize here. See above. 19044 24770 * </pre> 19045 */ 19046 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 24771 * 24772 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24773 */ 24774 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 19047 24775 getUninterpretedOptionList(); 19048 24776 /** 19049 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19050 *19051 24777 * <pre> 19052 24778 * The parser stores options it doesn't recognize here. See above. 19053 24779 * </pre> 24780 * 24781 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 19054 24782 */ 19055 24783 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 19056 24784 /** 19057 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19058 *19059 24785 * <pre> 19060 24786 * The parser stores options it doesn't recognize here. See above. 19061 24787 * </pre> 24788 * 24789 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 19062 24790 */ 19063 24791 int getUninterpretedOptionCount(); 19064 24792 /** 19065 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19066 *19067 24793 * <pre> 19068 24794 * The parser stores options it doesn't recognize here. See above. 19069 24795 * </pre> 19070 */ 19071 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24796 * 24797 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24798 */ 24799 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 19072 24800 getUninterpretedOptionOrBuilderList(); 19073 24801 /** 19074 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19075 *19076 24802 * <pre> 19077 24803 * The parser stores options it doesn't recognize here. See above. 19078 24804 * </pre> 24805 * 24806 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 19079 24807 */ 19080 24808 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 19084 24812 * Protobuf type {@code google.protobuf.FieldOptions} 19085 24813 */ 19086 public static final class FieldOptions extends 19087 com.google.protobuf.GeneratedMessage.ExtendableMessage< 24814 public static final class FieldOptions extends 24815 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 19088 24816 FieldOptions> implements 19089 24817 // @@protoc_insertion_point(message_implements:google.protobuf.FieldOptions) 19090 24818 FieldOptionsOrBuilder { 24819 private static final long serialVersionUID = 0L; 19091 24820 // Use FieldOptions.newBuilder() to construct. 19092 private FieldOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FieldOptions, ?> builder) { 24821 private FieldOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.FieldOptions, ?> builder) { 19093 24822 super(builder); 19094 this.unknownFields = builder.getUnknownFields(); 19095 } 19096 private FieldOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 19097 19098 private static final FieldOptions defaultInstance; 19099 public static FieldOptions getDefaultInstance() { 19100 return defaultInstance; 19101 } 19102 19103 @Override 19104 public FieldOptions getDefaultInstanceForType() { 19105 return defaultInstance; 19106 } 19107 19108 private final com.google.protobuf.UnknownFieldSet unknownFields; 24823 } 24824 private FieldOptions() { 24825 ctype_ = 0; 24826 packed_ = false; 24827 jstype_ = 0; 24828 lazy_ = false; 24829 deprecated_ = false; 24830 weak_ = false; 24831 uninterpretedOption_ = java.util.Collections.emptyList(); 24832 } 24833 19109 24834 @java.lang.Override 19110 24835 public final com.google.protobuf.UnknownFieldSet 19111 24836 getUnknownFields() { 19112 24837 return this.unknownFields; 19113 24838 } … … 19116 24841 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 19117 24842 throws com.google.protobuf.InvalidProtocolBufferException { 19118 initFields();24843 this(); 19119 24844 int mutable_bitField0_ = 0; 19120 24845 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 19129 24854 break; 19130 24855 default: { 19131 if (!parseUnknownField( input, unknownFields,19132 24856 if (!parseUnknownField( 24857 input, unknownFields, extensionRegistry, tag)) { 19133 24858 done = true; 19134 24859 } … … 19142 24867 } else { 19143 24868 bitField0_ |= 0x00000001; 19144 ctype_ = value;24869 ctype_ = rawValue; 19145 24870 } 19146 24871 break; … … 19152 24877 } 19153 24878 case 24: { 19154 bitField0_ |= 0x000000 08;24879 bitField0_ |= 0x00000010; 19155 24880 deprecated_ = input.readBool(); 19156 24881 break; 19157 24882 } 19158 24883 case 40: { 19159 bitField0_ |= 0x0000000 4;24884 bitField0_ |= 0x00000008; 19160 24885 lazy_ = input.readBool(); 19161 24886 break; 19162 24887 } 19163 case 74: { 19164 com.google.protobuf.ByteString bs = input.readBytes(); 19165 bitField0_ |= 0x00000010; 19166 experimentalMapKey_ = bs; 24888 case 48: { 24889 int rawValue = input.readEnum(); 24890 com.google.protobuf.DescriptorProtos.FieldOptions.JSType value = com.google.protobuf.DescriptorProtos.FieldOptions.JSType.valueOf(rawValue); 24891 if (value == null) { 24892 unknownFields.mergeVarintField(6, rawValue); 24893 } else { 24894 bitField0_ |= 0x00000004; 24895 jstype_ = rawValue; 24896 } 19167 24897 break; 19168 24898 } … … 19174 24904 case 7994: { 19175 24905 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 19176 uninterpretedOption_ = new java.util.ArrayList<>(); 24906 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 19177 24907 mutable_bitField0_ |= 0x00000040; 19178 24908 } 19179 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 24909 uninterpretedOption_.add( 24910 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 19180 24911 break; 19181 24912 } … … 19186 24917 } catch (java.io.IOException e) { 19187 24918 throw new com.google.protobuf.InvalidProtocolBufferException( 19188 e .getMessage()).setUnfinishedMessage(this);24919 e).setUnfinishedMessage(this); 19189 24920 } finally { 19190 24921 if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { … … 19200 24931 } 19201 24932 19202 @Override 19203 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 24933 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 19204 24934 internalGetFieldAccessorTable() { 19205 24935 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_fieldAccessorTable … … 19208 24938 } 19209 24939 19210 public static com.google.protobuf.Parser<FieldOptions> PARSER =19211 new com.google.protobuf.AbstractParser<FieldOptions>() {19212 @Override19213 public FieldOptions parsePartialFrom(19214 com.google.protobuf.CodedInputStream input,19215 com.google.protobuf.ExtensionRegistryLite extensionRegistry)19216 throws com.google.protobuf.InvalidProtocolBufferException {19217 return new FieldOptions(input, extensionRegistry);19218 }19219 };19220 19221 @java.lang.Override19222 public com.google.protobuf.Parser<FieldOptions> getParserForType() {19223 return PARSER;19224 }19225 19226 24940 /** 19227 24941 * Protobuf enum {@code google.protobuf.FieldOptions.CType} … … 19230 24944 implements com.google.protobuf.ProtocolMessageEnum { 19231 24945 /** 24946 * <pre> 24947 * Default mode. 24948 * </pre> 24949 * 19232 24950 * <code>STRING = 0;</code> 19233 * 24951 */ 24952 STRING(0), 24953 /** 24954 * <code>CORD = 1;</code> 24955 */ 24956 CORD(1), 24957 /** 24958 * <code>STRING_PIECE = 2;</code> 24959 */ 24960 STRING_PIECE(2), 24961 ; 24962 24963 /** 19234 24964 * <pre> 19235 24965 * Default mode. 19236 24966 * </pre> 19237 */ 19238 STRING(0, 0), 24967 * 24968 * <code>STRING = 0;</code> 24969 */ 24970 public static final int STRING_VALUE = 0; 19239 24971 /** 19240 24972 * <code>CORD = 1;</code> 19241 24973 */ 19242 CORD(1, 1),24974 public static final int CORD_VALUE = 1; 19243 24975 /** 19244 24976 * <code>STRING_PIECE = 2;</code> 19245 24977 */ 19246 STRING_PIECE(2, 2),19247 ;19248 19249 /**19250 * <code>STRING = 0;</code>19251 *19252 * <pre>19253 * Default mode.19254 * </pre>19255 */19256 public static final int STRING_VALUE = 0;19257 /**19258 * <code>CORD = 1;</code>19259 */19260 public static final int CORD_VALUE = 1;19261 /**19262 * <code>STRING_PIECE = 2;</code>19263 */19264 24978 public static final int STRING_PIECE_VALUE = 2; 19265 24979 19266 24980 19267 @Override 19268 public final int getNumber() { return value; } 19269 24981 public final int getNumber() { 24982 return value; 24983 } 24984 24985 /** 24986 * @deprecated Use {@link #forNumber(int)} instead. 24987 */ 24988 @java.lang.Deprecated 19270 24989 public static CType valueOf(int value) { 24990 return forNumber(value); 24991 } 24992 24993 public static CType forNumber(int value) { 19271 24994 switch (value) { 19272 24995 case 0: return STRING; … … 19281 25004 return internalValueMap; 19282 25005 } 19283 private static com.google.protobuf.Internal.EnumLiteMap< CType>19284 internalValueMap = 25006 private static final com.google.protobuf.Internal.EnumLiteMap< 25007 CType> internalValueMap = 19285 25008 new com.google.protobuf.Internal.EnumLiteMap<CType>() { 19286 @Override 19287 public CType findValueByNumber(int number) { 19288 return CType.valueOf(number); 25009 public CType findValueByNumber(int number) { 25010 return CType.forNumber(number); 19289 25011 } 19290 25012 }; 19291 25013 19292 @Override 19293 public final com.google.protobuf.Descriptors.EnumValueDescriptor 25014 public final com.google.protobuf.Descriptors.EnumValueDescriptor 19294 25015 getValueDescriptor() { 19295 return getDescriptor().getValues().get(index); 19296 } 19297 @Override 19298 public final com.google.protobuf.Descriptors.EnumDescriptor 25016 return getDescriptor().getValues().get(ordinal()); 25017 } 25018 public final com.google.protobuf.Descriptors.EnumDescriptor 19299 25019 getDescriptorForType() { 19300 25020 return getDescriptor(); … … 19316 25036 } 19317 25037 19318 private final int index;19319 25038 private final int value; 19320 25039 19321 private CType(int index, int value) { 19322 this.index = index; 25040 private CType(int value) { 19323 25041 this.value = value; 19324 25042 } 19325 25043 19326 25044 // @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.CType) 25045 } 25046 25047 /** 25048 * Protobuf enum {@code google.protobuf.FieldOptions.JSType} 25049 */ 25050 public enum JSType 25051 implements com.google.protobuf.ProtocolMessageEnum { 25052 /** 25053 * <pre> 25054 * Use the default type. 25055 * </pre> 25056 * 25057 * <code>JS_NORMAL = 0;</code> 25058 */ 25059 JS_NORMAL(0), 25060 /** 25061 * <pre> 25062 * Use JavaScript strings. 25063 * </pre> 25064 * 25065 * <code>JS_STRING = 1;</code> 25066 */ 25067 JS_STRING(1), 25068 /** 25069 * <pre> 25070 * Use JavaScript numbers. 25071 * </pre> 25072 * 25073 * <code>JS_NUMBER = 2;</code> 25074 */ 25075 JS_NUMBER(2), 25076 ; 25077 25078 /** 25079 * <pre> 25080 * Use the default type. 25081 * </pre> 25082 * 25083 * <code>JS_NORMAL = 0;</code> 25084 */ 25085 public static final int JS_NORMAL_VALUE = 0; 25086 /** 25087 * <pre> 25088 * Use JavaScript strings. 25089 * </pre> 25090 * 25091 * <code>JS_STRING = 1;</code> 25092 */ 25093 public static final int JS_STRING_VALUE = 1; 25094 /** 25095 * <pre> 25096 * Use JavaScript numbers. 25097 * </pre> 25098 * 25099 * <code>JS_NUMBER = 2;</code> 25100 */ 25101 public static final int JS_NUMBER_VALUE = 2; 25102 25103 25104 public final int getNumber() { 25105 return value; 25106 } 25107 25108 /** 25109 * @deprecated Use {@link #forNumber(int)} instead. 25110 */ 25111 @java.lang.Deprecated 25112 public static JSType valueOf(int value) { 25113 return forNumber(value); 25114 } 25115 25116 public static JSType forNumber(int value) { 25117 switch (value) { 25118 case 0: return JS_NORMAL; 25119 case 1: return JS_STRING; 25120 case 2: return JS_NUMBER; 25121 default: return null; 25122 } 25123 } 25124 25125 public static com.google.protobuf.Internal.EnumLiteMap<JSType> 25126 internalGetValueMap() { 25127 return internalValueMap; 25128 } 25129 private static final com.google.protobuf.Internal.EnumLiteMap< 25130 JSType> internalValueMap = 25131 new com.google.protobuf.Internal.EnumLiteMap<JSType>() { 25132 public JSType findValueByNumber(int number) { 25133 return JSType.forNumber(number); 25134 } 25135 }; 25136 25137 public final com.google.protobuf.Descriptors.EnumValueDescriptor 25138 getValueDescriptor() { 25139 return getDescriptor().getValues().get(ordinal()); 25140 } 25141 public final com.google.protobuf.Descriptors.EnumDescriptor 25142 getDescriptorForType() { 25143 return getDescriptor(); 25144 } 25145 public static final com.google.protobuf.Descriptors.EnumDescriptor 25146 getDescriptor() { 25147 return com.google.protobuf.DescriptorProtos.FieldOptions.getDescriptor().getEnumTypes().get(1); 25148 } 25149 25150 private static final JSType[] VALUES = values(); 25151 25152 public static JSType valueOf( 25153 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 25154 if (desc.getType() != getDescriptor()) { 25155 throw new java.lang.IllegalArgumentException( 25156 "EnumValueDescriptor is not for this type."); 25157 } 25158 return VALUES[desc.getIndex()]; 25159 } 25160 25161 private final int value; 25162 25163 private JSType(int value) { 25164 this.value = value; 25165 } 25166 25167 // @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.JSType) 19327 25168 } 19328 25169 19329 25170 private int bitField0_; 19330 25171 public static final int CTYPE_FIELD_NUMBER = 1; 19331 private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_; 19332 /** 19333 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 19334 * 25172 private int ctype_; 25173 /** 19335 25174 * <pre> 19336 25175 * The ctype option instructs the C++ code generator to use a different … … 19339 25178 * release -- sorry, we'll try to include it in a future version! 19340 25179 * </pre> 19341 */ 19342 @Override 19343 public boolean hasCtype() { 25180 * 25181 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 25182 */ 25183 public boolean hasCtype() { 19344 25184 return ((bitField0_ & 0x00000001) == 0x00000001); 19345 25185 } 19346 25186 /** 19347 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>19348 *19349 25187 * <pre> 19350 25188 * The ctype option instructs the C++ code generator to use a different … … 19353 25191 * release -- sorry, we'll try to include it in a future version! 19354 25192 * </pre> 19355 */ 19356 @Override 19357 public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() { 19358 return ctype_; 25193 * 25194 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 25195 */ 25196 public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() { 25197 com.google.protobuf.DescriptorProtos.FieldOptions.CType result = com.google.protobuf.DescriptorProtos.FieldOptions.CType.valueOf(ctype_); 25198 return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING : result; 19359 25199 } 19360 25200 … … 19362 25202 private boolean packed_; 19363 25203 /** 19364 * <code>optional bool packed = 2;</code>19365 *19366 25204 * <pre> 19367 25205 * The packed option can be enabled for repeated primitive fields to enable 19368 25206 * a more efficient representation on the wire. Rather than repeatedly 19369 25207 * writing the tag and type for each element, the entire array is encoded as 19370 * a single length-delimited blob. 25208 * a single length-delimited blob. In proto3, only explicit setting it to 25209 * false will avoid using packed encoding. 19371 25210 * </pre> 19372 */ 19373 @Override 19374 public boolean hasPacked() { 25211 * 25212 * <code>optional bool packed = 2;</code> 25213 */ 25214 public boolean hasPacked() { 19375 25215 return ((bitField0_ & 0x00000002) == 0x00000002); 19376 25216 } 19377 25217 /** 19378 * <code>optional bool packed = 2;</code>19379 *19380 25218 * <pre> 19381 25219 * The packed option can be enabled for repeated primitive fields to enable 19382 25220 * a more efficient representation on the wire. Rather than repeatedly 19383 25221 * writing the tag and type for each element, the entire array is encoded as 19384 * a single length-delimited blob. 25222 * a single length-delimited blob. In proto3, only explicit setting it to 25223 * false will avoid using packed encoding. 19385 25224 * </pre> 19386 */ 19387 @Override 19388 public boolean getPacked() { 25225 * 25226 * <code>optional bool packed = 2;</code> 25227 */ 25228 public boolean getPacked() { 19389 25229 return packed_; 25230 } 25231 25232 public static final int JSTYPE_FIELD_NUMBER = 6; 25233 private int jstype_; 25234 /** 25235 * <pre> 25236 * The jstype option determines the JavaScript type used for values of the 25237 * field. The option is permitted only for 64 bit integral and fixed types 25238 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 25239 * is represented as JavaScript string, which avoids loss of precision that 25240 * can happen when a large value is converted to a floating point JavaScript. 25241 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 25242 * use the JavaScript "number" type. The behavior of the default option 25243 * JS_NORMAL is implementation dependent. 25244 * This option is an enum to permit additional types to be added, e.g. 25245 * goog.math.Integer. 25246 * </pre> 25247 * 25248 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 25249 */ 25250 public boolean hasJstype() { 25251 return ((bitField0_ & 0x00000004) == 0x00000004); 25252 } 25253 /** 25254 * <pre> 25255 * The jstype option determines the JavaScript type used for values of the 25256 * field. The option is permitted only for 64 bit integral and fixed types 25257 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 25258 * is represented as JavaScript string, which avoids loss of precision that 25259 * can happen when a large value is converted to a floating point JavaScript. 25260 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 25261 * use the JavaScript "number" type. The behavior of the default option 25262 * JS_NORMAL is implementation dependent. 25263 * This option is an enum to permit additional types to be added, e.g. 25264 * goog.math.Integer. 25265 * </pre> 25266 * 25267 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 25268 */ 25269 public com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype() { 25270 com.google.protobuf.DescriptorProtos.FieldOptions.JSType result = com.google.protobuf.DescriptorProtos.FieldOptions.JSType.valueOf(jstype_); 25271 return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.JSType.JS_NORMAL : result; 19390 25272 } 19391 25273 … … 19393 25275 private boolean lazy_; 19394 25276 /** 19395 * <code>optional bool lazy = 5 [default = false];</code>19396 *19397 25277 * <pre> 19398 25278 * Should this field be parsed lazily? Lazy applies only to message-type … … 19411 25291 * to require exclusive access. 19412 25292 * Note that implementations may choose not to check required fields within 19413 * a lazy sub-message. That is, calling IsInitialized() on the out her message25293 * a lazy sub-message. That is, calling IsInitialized() on the outer message 19414 25294 * may return true even if the inner message has missing required fields. 19415 25295 * This is necessary because otherwise the inner message would have to be … … 19421 25301 * been parsed. 19422 25302 * </pre> 19423 */ 19424 @Override 19425 public boolean hasLazy() { 19426 return ((bitField0_ & 0x00000004) == 0x00000004); 19427 } 19428 /** 25303 * 19429 25304 * <code>optional bool lazy = 5 [default = false];</code> 19430 * 25305 */ 25306 public boolean hasLazy() { 25307 return ((bitField0_ & 0x00000008) == 0x00000008); 25308 } 25309 /** 19431 25310 * <pre> 19432 25311 * Should this field be parsed lazily? Lazy applies only to message-type … … 19445 25324 * to require exclusive access. 19446 25325 * Note that implementations may choose not to check required fields within 19447 * a lazy sub-message. That is, calling IsInitialized() on the out her message25326 * a lazy sub-message. That is, calling IsInitialized() on the outer message 19448 25327 * may return true even if the inner message has missing required fields. 19449 25328 * This is necessary because otherwise the inner message would have to be … … 19455 25334 * been parsed. 19456 25335 * </pre> 19457 */ 19458 @Override 19459 public boolean getLazy() { 25336 * 25337 * <code>optional bool lazy = 5 [default = false];</code> 25338 */ 25339 public boolean getLazy() { 19460 25340 return lazy_; 19461 25341 } … … 19464 25344 private boolean deprecated_; 19465 25345 /** 19466 * <code>optional bool deprecated = 3 [default = false];</code>19467 *19468 25346 * <pre> 19469 25347 * Is this field deprecated? … … 19472 25350 * is a formalization for deprecating fields. 19473 25351 * </pre> 19474 */ 19475 @Override 19476 public boolean hasDeprecated() { 19477 return ((bitField0_ & 0x00000008) == 0x00000008); 19478 } 19479 /** 25352 * 19480 25353 * <code>optional bool deprecated = 3 [default = false];</code> 19481 * 25354 */ 25355 public boolean hasDeprecated() { 25356 return ((bitField0_ & 0x00000010) == 0x00000010); 25357 } 25358 /** 19482 25359 * <pre> 19483 25360 * Is this field deprecated? … … 19486 25363 * is a formalization for deprecating fields. 19487 25364 * </pre> 19488 */ 19489 @Override 19490 public boolean getDeprecated() { 25365 * 25366 * <code>optional bool deprecated = 3 [default = false];</code> 25367 */ 25368 public boolean getDeprecated() { 19491 25369 return deprecated_; 19492 }19493 19494 public static final int EXPERIMENTAL_MAP_KEY_FIELD_NUMBER = 9;19495 private java.lang.Object experimentalMapKey_;19496 /**19497 * <code>optional string experimental_map_key = 9;</code>19498 *19499 * <pre>19500 * EXPERIMENTAL. DO NOT USE.19501 * For "map" fields, the name of the field in the enclosed type that19502 * is the key for this map. For example, suppose we have:19503 * message Item {19504 * required string name = 1;19505 * required string value = 2;19506 * }19507 * message Config {19508 * repeated Item items = 1 [experimental_map_key="name"];19509 * }19510 * In this situation, the map key for Item will be set to "name".19511 * TODO: Fully-implement this, then remove the "experimental_" prefix.19512 * </pre>19513 */19514 @Override19515 public boolean hasExperimentalMapKey() {19516 return ((bitField0_ & 0x00000010) == 0x00000010);19517 }19518 /**19519 * <code>optional string experimental_map_key = 9;</code>19520 *19521 * <pre>19522 * EXPERIMENTAL. DO NOT USE.19523 * For "map" fields, the name of the field in the enclosed type that19524 * is the key for this map. For example, suppose we have:19525 * message Item {19526 * required string name = 1;19527 * required string value = 2;19528 * }19529 * message Config {19530 * repeated Item items = 1 [experimental_map_key="name"];19531 * }19532 * In this situation, the map key for Item will be set to "name".19533 * TODO: Fully-implement this, then remove the "experimental_" prefix.19534 * </pre>19535 */19536 @Override19537 public java.lang.String getExperimentalMapKey() {19538 java.lang.Object ref = experimentalMapKey_;19539 if (ref instanceof java.lang.String) {19540 return (java.lang.String) ref;19541 } else {19542 com.google.protobuf.ByteString bs =19543 (com.google.protobuf.ByteString) ref;19544 java.lang.String s = bs.toStringUtf8();19545 if (bs.isValidUtf8()) {19546 experimentalMapKey_ = s;19547 }19548 return s;19549 }19550 }19551 /**19552 * <code>optional string experimental_map_key = 9;</code>19553 *19554 * <pre>19555 * EXPERIMENTAL. DO NOT USE.19556 * For "map" fields, the name of the field in the enclosed type that19557 * is the key for this map. For example, suppose we have:19558 * message Item {19559 * required string name = 1;19560 * required string value = 2;19561 * }19562 * message Config {19563 * repeated Item items = 1 [experimental_map_key="name"];19564 * }19565 * In this situation, the map key for Item will be set to "name".19566 * TODO: Fully-implement this, then remove the "experimental_" prefix.19567 * </pre>19568 */19569 @Override19570 public com.google.protobuf.ByteString19571 getExperimentalMapKeyBytes() {19572 java.lang.Object ref = experimentalMapKey_;19573 if (ref instanceof java.lang.String) {19574 com.google.protobuf.ByteString b =19575 com.google.protobuf.ByteString.copyFromUtf8(19576 (java.lang.String) ref);19577 experimentalMapKey_ = b;19578 return b;19579 } else {19580 return (com.google.protobuf.ByteString) ref;19581 }19582 25370 } 19583 25371 … … 19585 25373 private boolean weak_; 19586 25374 /** 19587 * <code>optional bool weak = 10 [default = false];</code>19588 *19589 25375 * <pre> 19590 25376 * For Google-internal migration only. Do not use. 19591 25377 * </pre> 19592 */ 19593 @Override 19594 public boolean hasWeak() { 25378 * 25379 * <code>optional bool weak = 10 [default = false];</code> 25380 */ 25381 public boolean hasWeak() { 19595 25382 return ((bitField0_ & 0x00000020) == 0x00000020); 19596 25383 } 19597 25384 /** 19598 * <code>optional bool weak = 10 [default = false];</code>19599 *19600 25385 * <pre> 19601 25386 * For Google-internal migration only. Do not use. 19602 25387 * </pre> 19603 */ 19604 @Override 19605 public boolean getWeak() { 25388 * 25389 * <code>optional bool weak = 10 [default = false];</code> 25390 */ 25391 public boolean getWeak() { 19606 25392 return weak_; 19607 25393 } … … 19610 25396 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 19611 25397 /** 19612 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19613 *19614 25398 * <pre> 19615 25399 * The parser stores options it doesn't recognize here. See above. 19616 25400 * </pre> 19617 */ 19618 @Override 19619 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 25401 * 25402 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 25403 */ 25404 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 19620 25405 return uninterpretedOption_; 19621 25406 } 19622 25407 /** 19623 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19624 *19625 25408 * <pre> 19626 25409 * The parser stores options it doesn't recognize here. See above. 19627 25410 * </pre> 19628 */ 19629 @Override 19630 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 25411 * 25412 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 25413 */ 25414 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 19631 25415 getUninterpretedOptionOrBuilderList() { 19632 25416 return uninterpretedOption_; 19633 25417 } 19634 25418 /** 19635 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19636 *19637 25419 * <pre> 19638 25420 * The parser stores options it doesn't recognize here. See above. 19639 25421 * </pre> 19640 */ 19641 @Override 19642 public int getUninterpretedOptionCount() { 25422 * 25423 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 25424 */ 25425 public int getUninterpretedOptionCount() { 19643 25426 return uninterpretedOption_.size(); 19644 25427 } 19645 25428 /** 19646 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19647 *19648 25429 * <pre> 19649 25430 * The parser stores options it doesn't recognize here. See above. 19650 25431 * </pre> 19651 */ 19652 @Override 19653 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 25432 * 25433 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 25434 */ 25435 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 19654 25436 return uninterpretedOption_.get(index); 19655 25437 } 19656 25438 /** 19657 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>19658 *19659 25439 * <pre> 19660 25440 * The parser stores options it doesn't recognize here. See above. 19661 25441 * </pre> 19662 */ 19663 @Override 19664 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 25442 * 25443 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 25444 */ 25445 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 19665 25446 int index) { 19666 25447 return uninterpretedOption_.get(index); 19667 25448 } 19668 25449 19669 private void initFields() {19670 ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;19671 packed_ = false;19672 lazy_ = false;19673 deprecated_ = false;19674 experimentalMapKey_ = "";19675 weak_ = false;19676 uninterpretedOption_ = java.util.Collections.emptyList();19677 }19678 25450 private byte memoizedIsInitialized = -1; 19679 @Override 19680 public final boolean isInitialized() { 25451 public final boolean isInitialized() { 19681 25452 byte isInitialized = memoizedIsInitialized; 19682 25453 if (isInitialized == 1) return true; … … 19697 25468 } 19698 25469 19699 @Override 19700 public void writeTo(com.google.protobuf.CodedOutputStream output) 25470 public void writeTo(com.google.protobuf.CodedOutputStream output) 19701 25471 throws java.io.IOException { 19702 getSerializedSize(); 19703 com.google.protobuf.GeneratedMessage 19704 .ExtendableMessage<com.google.protobuf.DescriptorProtos.FieldOptions>.ExtensionWriter extensionWriter = 19705 newExtensionWriter(); 25472 com.google.protobuf.GeneratedMessageV3 25473 .ExtendableMessage<com.google.protobuf.DescriptorProtos.FieldOptions>.ExtensionWriter 25474 extensionWriter = newExtensionWriter(); 19706 25475 if (((bitField0_ & 0x00000001) == 0x00000001)) { 19707 output.writeEnum(1, ctype_ .getNumber());25476 output.writeEnum(1, ctype_); 19708 25477 } 19709 25478 if (((bitField0_ & 0x00000002) == 0x00000002)) { 19710 25479 output.writeBool(2, packed_); 19711 25480 } 25481 if (((bitField0_ & 0x00000010) == 0x00000010)) { 25482 output.writeBool(3, deprecated_); 25483 } 19712 25484 if (((bitField0_ & 0x00000008) == 0x00000008)) { 19713 output.writeBool( 3, deprecated_);25485 output.writeBool(5, lazy_); 19714 25486 } 19715 25487 if (((bitField0_ & 0x00000004) == 0x00000004)) { 19716 output.writeBool(5, lazy_); 19717 } 19718 if (((bitField0_ & 0x00000010) == 0x00000010)) { 19719 output.writeBytes(9, getExperimentalMapKeyBytes()); 25488 output.writeEnum(6, jstype_); 19720 25489 } 19721 25490 if (((bitField0_ & 0x00000020) == 0x00000020)) { … … 19726 25495 } 19727 25496 extensionWriter.writeUntil(536870912, output); 19728 getUnknownFields().writeTo(output); 19729 } 19730 19731 private int memoizedSerializedSize = -1; 19732 @Override 19733 public int getSerializedSize() { 19734 int size = memoizedSerializedSize; 25497 unknownFields.writeTo(output); 25498 } 25499 25500 public int getSerializedSize() { 25501 int size = memoizedSize; 19735 25502 if (size != -1) return size; 19736 25503 … … 19738 25505 if (((bitField0_ & 0x00000001) == 0x00000001)) { 19739 25506 size += com.google.protobuf.CodedOutputStream 19740 .computeEnumSize(1, ctype_ .getNumber());25507 .computeEnumSize(1, ctype_); 19741 25508 } 19742 25509 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 19744 25511 .computeBoolSize(2, packed_); 19745 25512 } 25513 if (((bitField0_ & 0x00000010) == 0x00000010)) { 25514 size += com.google.protobuf.CodedOutputStream 25515 .computeBoolSize(3, deprecated_); 25516 } 19746 25517 if (((bitField0_ & 0x00000008) == 0x00000008)) { 19747 25518 size += com.google.protobuf.CodedOutputStream 19748 .computeBoolSize( 3, deprecated_);25519 .computeBoolSize(5, lazy_); 19749 25520 } 19750 25521 if (((bitField0_ & 0x00000004) == 0x00000004)) { 19751 25522 size += com.google.protobuf.CodedOutputStream 19752 .computeBoolSize(5, lazy_); 19753 } 19754 if (((bitField0_ & 0x00000010) == 0x00000010)) { 19755 size += com.google.protobuf.CodedOutputStream 19756 .computeBytesSize(9, getExperimentalMapKeyBytes()); 25523 .computeEnumSize(6, jstype_); 19757 25524 } 19758 25525 if (((bitField0_ & 0x00000020) == 0x00000020)) { … … 19765 25532 } 19766 25533 size += extensionsSerializedSize(); 19767 size += getUnknownFields().getSerializedSize();19768 memoizedS erializedSize = size;25534 size += unknownFields.getSerializedSize(); 25535 memoizedSize = size; 19769 25536 return size; 19770 25537 } 19771 25538 19772 private static final long serialVersionUID = 0L;19773 25539 @java.lang.Override 19774 protected java.lang.Object writeReplace() 19775 throws java.io.ObjectStreamException { 19776 return super.writeReplace(); 19777 } 19778 25540 public boolean equals(final java.lang.Object obj) { 25541 if (obj == this) { 25542 return true; 25543 } 25544 if (!(obj instanceof com.google.protobuf.DescriptorProtos.FieldOptions)) { 25545 return super.equals(obj); 25546 } 25547 com.google.protobuf.DescriptorProtos.FieldOptions other = (com.google.protobuf.DescriptorProtos.FieldOptions) obj; 25548 25549 boolean result = true; 25550 result = result && (hasCtype() == other.hasCtype()); 25551 if (hasCtype()) { 25552 result = result && ctype_ == other.ctype_; 25553 } 25554 result = result && (hasPacked() == other.hasPacked()); 25555 if (hasPacked()) { 25556 result = result && (getPacked() 25557 == other.getPacked()); 25558 } 25559 result = result && (hasJstype() == other.hasJstype()); 25560 if (hasJstype()) { 25561 result = result && jstype_ == other.jstype_; 25562 } 25563 result = result && (hasLazy() == other.hasLazy()); 25564 if (hasLazy()) { 25565 result = result && (getLazy() 25566 == other.getLazy()); 25567 } 25568 result = result && (hasDeprecated() == other.hasDeprecated()); 25569 if (hasDeprecated()) { 25570 result = result && (getDeprecated() 25571 == other.getDeprecated()); 25572 } 25573 result = result && (hasWeak() == other.hasWeak()); 25574 if (hasWeak()) { 25575 result = result && (getWeak() 25576 == other.getWeak()); 25577 } 25578 result = result && getUninterpretedOptionList() 25579 .equals(other.getUninterpretedOptionList()); 25580 result = result && unknownFields.equals(other.unknownFields); 25581 result = result && 25582 getExtensionFields().equals(other.getExtensionFields()); 25583 return result; 25584 } 25585 25586 @java.lang.Override 25587 public int hashCode() { 25588 if (memoizedHashCode != 0) { 25589 return memoizedHashCode; 25590 } 25591 int hash = 41; 25592 hash = (19 * hash) + getDescriptor().hashCode(); 25593 if (hasCtype()) { 25594 hash = (37 * hash) + CTYPE_FIELD_NUMBER; 25595 hash = (53 * hash) + ctype_; 25596 } 25597 if (hasPacked()) { 25598 hash = (37 * hash) + PACKED_FIELD_NUMBER; 25599 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 25600 getPacked()); 25601 } 25602 if (hasJstype()) { 25603 hash = (37 * hash) + JSTYPE_FIELD_NUMBER; 25604 hash = (53 * hash) + jstype_; 25605 } 25606 if (hasLazy()) { 25607 hash = (37 * hash) + LAZY_FIELD_NUMBER; 25608 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 25609 getLazy()); 25610 } 25611 if (hasDeprecated()) { 25612 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 25613 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 25614 getDeprecated()); 25615 } 25616 if (hasWeak()) { 25617 hash = (37 * hash) + WEAK_FIELD_NUMBER; 25618 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 25619 getWeak()); 25620 } 25621 if (getUninterpretedOptionCount() > 0) { 25622 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 25623 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 25624 } 25625 hash = hashFields(hash, getExtensionFields()); 25626 hash = (29 * hash) + unknownFields.hashCode(); 25627 memoizedHashCode = hash; 25628 return hash; 25629 } 25630 25631 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( 25632 java.nio.ByteBuffer data) 25633 throws com.google.protobuf.InvalidProtocolBufferException { 25634 return PARSER.parseFrom(data); 25635 } 25636 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( 25637 java.nio.ByteBuffer data, 25638 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25639 throws com.google.protobuf.InvalidProtocolBufferException { 25640 return PARSER.parseFrom(data, extensionRegistry); 25641 } 19779 25642 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( 19780 25643 com.google.protobuf.ByteString data) … … 19800 25663 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(java.io.InputStream input) 19801 25664 throws java.io.IOException { 19802 return PARSER.parseFrom(input); 25665 return com.google.protobuf.GeneratedMessageV3 25666 .parseWithIOException(PARSER, input); 19803 25667 } 19804 25668 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( … … 19806 25670 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 19807 25671 throws java.io.IOException { 19808 return PARSER.parseFrom(input, extensionRegistry); 25672 return com.google.protobuf.GeneratedMessageV3 25673 .parseWithIOException(PARSER, input, extensionRegistry); 19809 25674 } 19810 25675 public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(java.io.InputStream input) 19811 25676 throws java.io.IOException { 19812 return PARSER.parseDelimitedFrom(input); 25677 return com.google.protobuf.GeneratedMessageV3 25678 .parseDelimitedWithIOException(PARSER, input); 19813 25679 } 19814 25680 public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom( … … 19816 25682 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 19817 25683 throws java.io.IOException { 19818 return PARSER.parseDelimitedFrom(input, extensionRegistry); 25684 return com.google.protobuf.GeneratedMessageV3 25685 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 19819 25686 } 19820 25687 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( 19821 25688 com.google.protobuf.CodedInputStream input) 19822 25689 throws java.io.IOException { 19823 return PARSER.parseFrom(input); 25690 return com.google.protobuf.GeneratedMessageV3 25691 .parseWithIOException(PARSER, input); 19824 25692 } 19825 25693 public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom( … … 19827 25695 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 19828 25696 throws java.io.IOException { 19829 return PARSER.parseFrom(input, extensionRegistry); 19830 } 19831 19832 public static Builder newBuilder() { return Builder.create(); } 19833 @Override 19834 public Builder newBuilderForType() { return newBuilder(); } 25697 return com.google.protobuf.GeneratedMessageV3 25698 .parseWithIOException(PARSER, input, extensionRegistry); 25699 } 25700 25701 public Builder newBuilderForType() { return newBuilder(); } 25702 public static Builder newBuilder() { 25703 return DEFAULT_INSTANCE.toBuilder(); 25704 } 19835 25705 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions prototype) { 19836 return newBuilder().mergeFrom(prototype); 19837 } 19838 @Override 19839 public Builder toBuilder() { return newBuilder(this); } 25706 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 25707 } 25708 public Builder toBuilder() { 25709 return this == DEFAULT_INSTANCE 25710 ? new Builder() : new Builder().mergeFrom(this); 25711 } 19840 25712 19841 25713 @java.lang.Override 19842 25714 protected Builder newBuilderForType( 19843 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 25715 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 19844 25716 Builder builder = new Builder(parent); 19845 25717 return builder; … … 19849 25721 */ 19850 25722 public static final class Builder extends 19851 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 25723 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 19852 25724 com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements 19853 25725 // @@protoc_insertion_point(builder_implements:google.protobuf.FieldOptions) … … 19858 25730 } 19859 25731 19860 @Override 19861 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 25732 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 19862 25733 internalGetFieldAccessorTable() { 19863 25734 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_fieldAccessorTable … … 19872 25743 19873 25744 private Builder( 19874 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 25745 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 19875 25746 super(parent); 19876 25747 maybeForceBuilderInitialization(); 19877 25748 } 19878 25749 private void maybeForceBuilderInitialization() { 19879 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 25750 if (com.google.protobuf.GeneratedMessageV3 25751 .alwaysUseFieldBuilders) { 19880 25752 getUninterpretedOptionFieldBuilder(); 19881 25753 } 19882 25754 } 19883 private static Builder create() { 19884 return new Builder(); 19885 } 19886 19887 @Override 19888 public Builder clear() { 25755 public Builder clear() { 19889 25756 super.clear(); 19890 ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;25757 ctype_ = 0; 19891 25758 bitField0_ = (bitField0_ & ~0x00000001); 19892 25759 packed_ = false; 19893 25760 bitField0_ = (bitField0_ & ~0x00000002); 25761 jstype_ = 0; 25762 bitField0_ = (bitField0_ & ~0x00000004); 19894 25763 lazy_ = false; 19895 bitField0_ = (bitField0_ & ~0x0000000 4);25764 bitField0_ = (bitField0_ & ~0x00000008); 19896 25765 deprecated_ = false; 19897 bitField0_ = (bitField0_ & ~0x00000008);19898 experimentalMapKey_ = "";19899 25766 bitField0_ = (bitField0_ & ~0x00000010); 19900 25767 weak_ = false; … … 19909 25776 } 19910 25777 19911 @Override 19912 public Builder clone() { 19913 return create().mergeFrom(buildPartial()); 19914 } 19915 19916 @Override 19917 public com.google.protobuf.Descriptors.Descriptor 25778 public com.google.protobuf.Descriptors.Descriptor 19918 25779 getDescriptorForType() { 19919 25780 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_descriptor; 19920 25781 } 19921 25782 19922 @Override 19923 public com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstanceForType() { 25783 public com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstanceForType() { 19924 25784 return com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance(); 19925 25785 } 19926 25786 19927 @Override 19928 public com.google.protobuf.DescriptorProtos.FieldOptions build() { 25787 public com.google.protobuf.DescriptorProtos.FieldOptions build() { 19929 25788 com.google.protobuf.DescriptorProtos.FieldOptions result = buildPartial(); 19930 25789 if (!result.isInitialized()) { … … 19934 25793 } 19935 25794 19936 @Override 19937 public com.google.protobuf.DescriptorProtos.FieldOptions buildPartial() { 25795 public com.google.protobuf.DescriptorProtos.FieldOptions buildPartial() { 19938 25796 com.google.protobuf.DescriptorProtos.FieldOptions result = new com.google.protobuf.DescriptorProtos.FieldOptions(this); 19939 25797 int from_bitField0_ = bitField0_; … … 19950 25808 to_bitField0_ |= 0x00000004; 19951 25809 } 19952 result. lazy_ = lazy_;25810 result.jstype_ = jstype_; 19953 25811 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 19954 25812 to_bitField0_ |= 0x00000008; 19955 25813 } 19956 result. deprecated_ = deprecated_;25814 result.lazy_ = lazy_; 19957 25815 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 19958 25816 to_bitField0_ |= 0x00000010; 19959 25817 } 19960 result. experimentalMapKey_ = experimentalMapKey_;25818 result.deprecated_ = deprecated_; 19961 25819 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 19962 25820 to_bitField0_ |= 0x00000020; … … 19977 25835 } 19978 25836 19979 @Override 19980 public Builder mergeFrom(com.google.protobuf.Message other) { 25837 public Builder clone() { 25838 return (Builder) super.clone(); 25839 } 25840 public Builder setField( 25841 com.google.protobuf.Descriptors.FieldDescriptor field, 25842 java.lang.Object value) { 25843 return (Builder) super.setField(field, value); 25844 } 25845 public Builder clearField( 25846 com.google.protobuf.Descriptors.FieldDescriptor field) { 25847 return (Builder) super.clearField(field); 25848 } 25849 public Builder clearOneof( 25850 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 25851 return (Builder) super.clearOneof(oneof); 25852 } 25853 public Builder setRepeatedField( 25854 com.google.protobuf.Descriptors.FieldDescriptor field, 25855 int index, java.lang.Object value) { 25856 return (Builder) super.setRepeatedField(field, index, value); 25857 } 25858 public Builder addRepeatedField( 25859 com.google.protobuf.Descriptors.FieldDescriptor field, 25860 java.lang.Object value) { 25861 return (Builder) super.addRepeatedField(field, value); 25862 } 25863 public <Type> Builder setExtension( 25864 com.google.protobuf.GeneratedMessage.GeneratedExtension< 25865 com.google.protobuf.DescriptorProtos.FieldOptions, Type> extension, 25866 Type value) { 25867 return (Builder) super.setExtension(extension, value); 25868 } 25869 public <Type> Builder setExtension( 25870 com.google.protobuf.GeneratedMessage.GeneratedExtension< 25871 com.google.protobuf.DescriptorProtos.FieldOptions, java.util.List<Type>> extension, 25872 int index, Type value) { 25873 return (Builder) super.setExtension(extension, index, value); 25874 } 25875 public <Type> Builder addExtension( 25876 com.google.protobuf.GeneratedMessage.GeneratedExtension< 25877 com.google.protobuf.DescriptorProtos.FieldOptions, java.util.List<Type>> extension, 25878 Type value) { 25879 return (Builder) super.addExtension(extension, value); 25880 } 25881 public <Type> Builder clearExtension( 25882 com.google.protobuf.GeneratedMessage.GeneratedExtension< 25883 com.google.protobuf.DescriptorProtos.FieldOptions, ?> extension) { 25884 return (Builder) super.clearExtension(extension); 25885 } 25886 public Builder mergeFrom(com.google.protobuf.Message other) { 19981 25887 if (other instanceof com.google.protobuf.DescriptorProtos.FieldOptions) { 19982 25888 return mergeFrom((com.google.protobuf.DescriptorProtos.FieldOptions)other); … … 19995 25901 setPacked(other.getPacked()); 19996 25902 } 25903 if (other.hasJstype()) { 25904 setJstype(other.getJstype()); 25905 } 19997 25906 if (other.hasLazy()) { 19998 25907 setLazy(other.getLazy()); … … 20000 25909 if (other.hasDeprecated()) { 20001 25910 setDeprecated(other.getDeprecated()); 20002 }20003 if (other.hasExperimentalMapKey()) {20004 bitField0_ |= 0x00000010;20005 experimentalMapKey_ = other.experimentalMapKey_;20006 onChanged();20007 25911 } 20008 25912 if (other.hasWeak()) { … … 20027 25931 uninterpretedOption_ = other.uninterpretedOption_; 20028 25932 bitField0_ = (bitField0_ & ~0x00000040); 20029 uninterpretedOptionBuilder_ = 20030 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 25933 uninterpretedOptionBuilder_ = 25934 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 20031 25935 getUninterpretedOptionFieldBuilder() : null; 20032 25936 } else { … … 20036 25940 } 20037 25941 this.mergeExtensionFields(other); 20038 this.mergeUnknownFields(other. getUnknownFields());20039 return this;20040 }20041 20042 @Override 20043 25942 this.mergeUnknownFields(other.unknownFields); 25943 onChanged(); 25944 return this; 25945 } 25946 25947 public final boolean isInitialized() { 20044 25948 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 20045 25949 if (!getUninterpretedOption(i).isInitialized()) { 20046 20047 25950 return false; 20048 25951 } 20049 25952 } 20050 25953 if (!extensionsAreInitialized()) { 20051 20052 25954 return false; 20053 25955 } … … 20055 25957 } 20056 25958 20057 @Override 20058 public Builder mergeFrom( 25959 public Builder mergeFrom( 20059 25960 com.google.protobuf.CodedInputStream input, 20060 25961 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 20065 25966 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 20066 25967 parsedMessage = (com.google.protobuf.DescriptorProtos.FieldOptions) e.getUnfinishedMessage(); 20067 throw e; 25968 throw e.unwrapIOException(); 20068 25969 } finally { 20069 25970 if (parsedMessage != null) { … … 20075 25976 private int bitField0_; 20076 25977 20077 private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING; 20078 /** 20079 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 20080 * 25978 private int ctype_ = 0; 25979 /** 20081 25980 * <pre> 20082 25981 * The ctype option instructs the C++ code generator to use a different … … 20085 25984 * release -- sorry, we'll try to include it in a future version! 20086 25985 * </pre> 20087 */ 20088 @Override 20089 public boolean hasCtype() { 25986 * 25987 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 25988 */ 25989 public boolean hasCtype() { 20090 25990 return ((bitField0_ & 0x00000001) == 0x00000001); 20091 25991 } 20092 25992 /** 20093 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>20094 *20095 25993 * <pre> 20096 25994 * The ctype option instructs the C++ code generator to use a different … … 20099 25997 * release -- sorry, we'll try to include it in a future version! 20100 25998 * </pre> 20101 */ 20102 @Override 20103 public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() { 20104 return ctype_; 20105 } 20106 /** 25999 * 20107 26000 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 20108 * 26001 */ 26002 public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() { 26003 com.google.protobuf.DescriptorProtos.FieldOptions.CType result = com.google.protobuf.DescriptorProtos.FieldOptions.CType.valueOf(ctype_); 26004 return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING : result; 26005 } 26006 /** 20109 26007 * <pre> 20110 26008 * The ctype option instructs the C++ code generator to use a different … … 20113 26011 * release -- sorry, we'll try to include it in a future version! 20114 26012 * </pre> 26013 * 26014 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 20115 26015 */ 20116 26016 public Builder setCtype(com.google.protobuf.DescriptorProtos.FieldOptions.CType value) { … … 20119 26019 } 20120 26020 bitField0_ |= 0x00000001; 20121 ctype_ = value; 26021 ctype_ = value.getNumber(); 20122 26022 onChanged(); 20123 26023 return this; 20124 26024 } 20125 26025 /** 20126 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>20127 *20128 26026 * <pre> 20129 26027 * The ctype option instructs the C++ code generator to use a different … … 20132 26030 * release -- sorry, we'll try to include it in a future version! 20133 26031 * </pre> 26032 * 26033 * <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code> 20134 26034 */ 20135 26035 public Builder clearCtype() { 20136 26036 bitField0_ = (bitField0_ & ~0x00000001); 20137 ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;26037 ctype_ = 0; 20138 26038 onChanged(); 20139 26039 return this; … … 20142 26042 private boolean packed_ ; 20143 26043 /** 20144 * <code>optional bool packed = 2;</code>20145 *20146 26044 * <pre> 20147 26045 * The packed option can be enabled for repeated primitive fields to enable 20148 26046 * a more efficient representation on the wire. Rather than repeatedly 20149 26047 * writing the tag and type for each element, the entire array is encoded as 20150 * a single length-delimited blob. 20151 * </pre> 20152 */ 20153 @Override 20154 public boolean hasPacked() { 26048 * a single length-delimited blob. In proto3, only explicit setting it to 26049 * false will avoid using packed encoding. 26050 * </pre> 26051 * 26052 * <code>optional bool packed = 2;</code> 26053 */ 26054 public boolean hasPacked() { 20155 26055 return ((bitField0_ & 0x00000002) == 0x00000002); 20156 26056 } 20157 26057 /** 20158 * <code>optional bool packed = 2;</code>20159 *20160 26058 * <pre> 20161 26059 * The packed option can be enabled for repeated primitive fields to enable 20162 26060 * a more efficient representation on the wire. Rather than repeatedly 20163 26061 * writing the tag and type for each element, the entire array is encoded as 20164 * a single length-delimited blob. 20165 * </pre> 20166 */ 20167 @Override 20168 public boolean getPacked() { 26062 * a single length-delimited blob. In proto3, only explicit setting it to 26063 * false will avoid using packed encoding. 26064 * </pre> 26065 * 26066 * <code>optional bool packed = 2;</code> 26067 */ 26068 public boolean getPacked() { 20169 26069 return packed_; 20170 26070 } 20171 26071 /** 20172 * <code>optional bool packed = 2;</code>20173 *20174 26072 * <pre> 20175 26073 * The packed option can be enabled for repeated primitive fields to enable 20176 26074 * a more efficient representation on the wire. Rather than repeatedly 20177 26075 * writing the tag and type for each element, the entire array is encoded as 20178 * a single length-delimited blob. 20179 * </pre> 26076 * a single length-delimited blob. In proto3, only explicit setting it to 26077 * false will avoid using packed encoding. 26078 * </pre> 26079 * 26080 * <code>optional bool packed = 2;</code> 20180 26081 */ 20181 26082 public Builder setPacked(boolean value) { … … 20186 26087 } 20187 26088 /** 20188 * <code>optional bool packed = 2;</code>20189 *20190 26089 * <pre> 20191 26090 * The packed option can be enabled for repeated primitive fields to enable 20192 26091 * a more efficient representation on the wire. Rather than repeatedly 20193 26092 * writing the tag and type for each element, the entire array is encoded as 20194 * a single length-delimited blob. 20195 * </pre> 26093 * a single length-delimited blob. In proto3, only explicit setting it to 26094 * false will avoid using packed encoding. 26095 * </pre> 26096 * 26097 * <code>optional bool packed = 2;</code> 20196 26098 */ 20197 26099 public Builder clearPacked() { … … 20202 26104 } 20203 26105 26106 private int jstype_ = 0; 26107 /** 26108 * <pre> 26109 * The jstype option determines the JavaScript type used for values of the 26110 * field. The option is permitted only for 64 bit integral and fixed types 26111 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 26112 * is represented as JavaScript string, which avoids loss of precision that 26113 * can happen when a large value is converted to a floating point JavaScript. 26114 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 26115 * use the JavaScript "number" type. The behavior of the default option 26116 * JS_NORMAL is implementation dependent. 26117 * This option is an enum to permit additional types to be added, e.g. 26118 * goog.math.Integer. 26119 * </pre> 26120 * 26121 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 26122 */ 26123 public boolean hasJstype() { 26124 return ((bitField0_ & 0x00000004) == 0x00000004); 26125 } 26126 /** 26127 * <pre> 26128 * The jstype option determines the JavaScript type used for values of the 26129 * field. The option is permitted only for 64 bit integral and fixed types 26130 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 26131 * is represented as JavaScript string, which avoids loss of precision that 26132 * can happen when a large value is converted to a floating point JavaScript. 26133 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 26134 * use the JavaScript "number" type. The behavior of the default option 26135 * JS_NORMAL is implementation dependent. 26136 * This option is an enum to permit additional types to be added, e.g. 26137 * goog.math.Integer. 26138 * </pre> 26139 * 26140 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 26141 */ 26142 public com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype() { 26143 com.google.protobuf.DescriptorProtos.FieldOptions.JSType result = com.google.protobuf.DescriptorProtos.FieldOptions.JSType.valueOf(jstype_); 26144 return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.JSType.JS_NORMAL : result; 26145 } 26146 /** 26147 * <pre> 26148 * The jstype option determines the JavaScript type used for values of the 26149 * field. The option is permitted only for 64 bit integral and fixed types 26150 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 26151 * is represented as JavaScript string, which avoids loss of precision that 26152 * can happen when a large value is converted to a floating point JavaScript. 26153 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 26154 * use the JavaScript "number" type. The behavior of the default option 26155 * JS_NORMAL is implementation dependent. 26156 * This option is an enum to permit additional types to be added, e.g. 26157 * goog.math.Integer. 26158 * </pre> 26159 * 26160 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 26161 */ 26162 public Builder setJstype(com.google.protobuf.DescriptorProtos.FieldOptions.JSType value) { 26163 if (value == null) { 26164 throw new NullPointerException(); 26165 } 26166 bitField0_ |= 0x00000004; 26167 jstype_ = value.getNumber(); 26168 onChanged(); 26169 return this; 26170 } 26171 /** 26172 * <pre> 26173 * The jstype option determines the JavaScript type used for values of the 26174 * field. The option is permitted only for 64 bit integral and fixed types 26175 * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING 26176 * is represented as JavaScript string, which avoids loss of precision that 26177 * can happen when a large value is converted to a floating point JavaScript. 26178 * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to 26179 * use the JavaScript "number" type. The behavior of the default option 26180 * JS_NORMAL is implementation dependent. 26181 * This option is an enum to permit additional types to be added, e.g. 26182 * goog.math.Integer. 26183 * </pre> 26184 * 26185 * <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code> 26186 */ 26187 public Builder clearJstype() { 26188 bitField0_ = (bitField0_ & ~0x00000004); 26189 jstype_ = 0; 26190 onChanged(); 26191 return this; 26192 } 26193 20204 26194 private boolean lazy_ ; 20205 26195 /** 20206 * <code>optional bool lazy = 5 [default = false];</code>20207 *20208 26196 * <pre> 20209 26197 * Should this field be parsed lazily? Lazy applies only to message-type … … 20222 26210 * to require exclusive access. 20223 26211 * Note that implementations may choose not to check required fields within 20224 * a lazy sub-message. That is, calling IsInitialized() on the out her message26212 * a lazy sub-message. That is, calling IsInitialized() on the outer message 20225 26213 * may return true even if the inner message has missing required fields. 20226 26214 * This is necessary because otherwise the inner message would have to be … … 20232 26220 * been parsed. 20233 26221 * </pre> 20234 */ 20235 @Override 20236 public boolean hasLazy() { 20237 return ((bitField0_ & 0x00000004) == 0x00000004); 20238 } 20239 /** 26222 * 20240 26223 * <code>optional bool lazy = 5 [default = false];</code> 20241 * 26224 */ 26225 public boolean hasLazy() { 26226 return ((bitField0_ & 0x00000008) == 0x00000008); 26227 } 26228 /** 20242 26229 * <pre> 20243 26230 * Should this field be parsed lazily? Lazy applies only to message-type … … 20256 26243 * to require exclusive access. 20257 26244 * Note that implementations may choose not to check required fields within 20258 * a lazy sub-message. That is, calling IsInitialized() on the out her message26245 * a lazy sub-message. That is, calling IsInitialized() on the outer message 20259 26246 * may return true even if the inner message has missing required fields. 20260 26247 * This is necessary because otherwise the inner message would have to be … … 20266 26253 * been parsed. 20267 26254 * </pre> 20268 */ 20269 @Override 20270 public boolean getLazy() { 26255 * 26256 * <code>optional bool lazy = 5 [default = false];</code> 26257 */ 26258 public boolean getLazy() { 20271 26259 return lazy_; 20272 26260 } 20273 26261 /** 20274 * <code>optional bool lazy = 5 [default = false];</code>20275 *20276 26262 * <pre> 20277 26263 * Should this field be parsed lazily? Lazy applies only to message-type … … 20290 26276 * to require exclusive access. 20291 26277 * Note that implementations may choose not to check required fields within 20292 * a lazy sub-message. That is, calling IsInitialized() on the out her message26278 * a lazy sub-message. That is, calling IsInitialized() on the outer message 20293 26279 * may return true even if the inner message has missing required fields. 20294 26280 * This is necessary because otherwise the inner message would have to be … … 20300 26286 * been parsed. 20301 26287 * </pre> 26288 * 26289 * <code>optional bool lazy = 5 [default = false];</code> 20302 26290 */ 20303 26291 public Builder setLazy(boolean value) { 20304 bitField0_ |= 0x0000000 4;26292 bitField0_ |= 0x00000008; 20305 26293 lazy_ = value; 20306 26294 onChanged(); … … 20308 26296 } 20309 26297 /** 20310 * <code>optional bool lazy = 5 [default = false];</code>20311 *20312 26298 * <pre> 20313 26299 * Should this field be parsed lazily? Lazy applies only to message-type … … 20326 26312 * to require exclusive access. 20327 26313 * Note that implementations may choose not to check required fields within 20328 * a lazy sub-message. That is, calling IsInitialized() on the out her message26314 * a lazy sub-message. That is, calling IsInitialized() on the outer message 20329 26315 * may return true even if the inner message has missing required fields. 20330 26316 * This is necessary because otherwise the inner message would have to be … … 20336 26322 * been parsed. 20337 26323 * </pre> 26324 * 26325 * <code>optional bool lazy = 5 [default = false];</code> 20338 26326 */ 20339 26327 public Builder clearLazy() { 20340 bitField0_ = (bitField0_ & ~0x0000000 4);26328 bitField0_ = (bitField0_ & ~0x00000008); 20341 26329 lazy_ = false; 20342 26330 onChanged(); … … 20346 26334 private boolean deprecated_ ; 20347 26335 /** 20348 * <code>optional bool deprecated = 3 [default = false];</code>20349 *20350 26336 * <pre> 20351 26337 * Is this field deprecated? … … 20354 26340 * is a formalization for deprecating fields. 20355 26341 * </pre> 20356 */ 20357 @Override 20358 public boolean hasDeprecated() { 20359 return ((bitField0_ & 0x00000008) == 0x00000008); 20360 } 20361 /** 26342 * 20362 26343 * <code>optional bool deprecated = 3 [default = false];</code> 20363 * 26344 */ 26345 public boolean hasDeprecated() { 26346 return ((bitField0_ & 0x00000010) == 0x00000010); 26347 } 26348 /** 20364 26349 * <pre> 20365 26350 * Is this field deprecated? … … 20368 26353 * is a formalization for deprecating fields. 20369 26354 * </pre> 20370 */ 20371 @Override 20372 public boolean getDeprecated() { 26355 * 26356 * <code>optional bool deprecated = 3 [default = false];</code> 26357 */ 26358 public boolean getDeprecated() { 20373 26359 return deprecated_; 20374 26360 } 20375 26361 /** 20376 * <code>optional bool deprecated = 3 [default = false];</code>20377 *20378 26362 * <pre> 20379 26363 * Is this field deprecated? … … 20382 26366 * is a formalization for deprecating fields. 20383 26367 * </pre> 26368 * 26369 * <code>optional bool deprecated = 3 [default = false];</code> 20384 26370 */ 20385 26371 public Builder setDeprecated(boolean value) { 20386 bitField0_ |= 0x000000 08;26372 bitField0_ |= 0x00000010; 20387 26373 deprecated_ = value; 20388 26374 onChanged(); … … 20390 26376 } 20391 26377 /** 20392 * <code>optional bool deprecated = 3 [default = false];</code>20393 *20394 26378 * <pre> 20395 26379 * Is this field deprecated? … … 20398 26382 * is a formalization for deprecating fields. 20399 26383 * </pre> 26384 * 26385 * <code>optional bool deprecated = 3 [default = false];</code> 20400 26386 */ 20401 26387 public Builder clearDeprecated() { 20402 bitField0_ = (bitField0_ & ~0x000000 08);26388 bitField0_ = (bitField0_ & ~0x00000010); 20403 26389 deprecated_ = false; 20404 26390 onChanged(); … … 20406 26392 } 20407 26393 20408 private java.lang.Object experimentalMapKey_ = "";20409 /**20410 * <code>optional string experimental_map_key = 9;</code>20411 *20412 * <pre>20413 * EXPERIMENTAL. DO NOT USE.20414 * For "map" fields, the name of the field in the enclosed type that20415 * is the key for this map. For example, suppose we have:20416 * message Item {20417 * required string name = 1;20418 * required string value = 2;20419 * }20420 * message Config {20421 * repeated Item items = 1 [experimental_map_key="name"];20422 * }20423 * In this situation, the map key for Item will be set to "name".20424 * TODO: Fully-implement this, then remove the "experimental_" prefix.20425 * </pre>20426 */20427 @Override20428 public boolean hasExperimentalMapKey() {20429 return ((bitField0_ & 0x00000010) == 0x00000010);20430 }20431 /**20432 * <code>optional string experimental_map_key = 9;</code>20433 *20434 * <pre>20435 * EXPERIMENTAL. DO NOT USE.20436 * For "map" fields, the name of the field in the enclosed type that20437 * is the key for this map. For example, suppose we have:20438 * message Item {20439 * required string name = 1;20440 * required string value = 2;20441 * }20442 * message Config {20443 * repeated Item items = 1 [experimental_map_key="name"];20444 * }20445 * In this situation, the map key for Item will be set to "name".20446 * TODO: Fully-implement this, then remove the "experimental_" prefix.20447 * </pre>20448 */20449 @Override20450 public java.lang.String getExperimentalMapKey() {20451 java.lang.Object ref = experimentalMapKey_;20452 if (!(ref instanceof java.lang.String)) {20453 com.google.protobuf.ByteString bs =20454 (com.google.protobuf.ByteString) ref;20455 java.lang.String s = bs.toStringUtf8();20456 if (bs.isValidUtf8()) {20457 experimentalMapKey_ = s;20458 }20459 return s;20460 } else {20461 return (java.lang.String) ref;20462 }20463 }20464 /**20465 * <code>optional string experimental_map_key = 9;</code>20466 *20467 * <pre>20468 * EXPERIMENTAL. DO NOT USE.20469 * For "map" fields, the name of the field in the enclosed type that20470 * is the key for this map. For example, suppose we have:20471 * message Item {20472 * required string name = 1;20473 * required string value = 2;20474 * }20475 * message Config {20476 * repeated Item items = 1 [experimental_map_key="name"];20477 * }20478 * In this situation, the map key for Item will be set to "name".20479 * TODO: Fully-implement this, then remove the "experimental_" prefix.20480 * </pre>20481 */20482 @Override20483 public com.google.protobuf.ByteString20484 getExperimentalMapKeyBytes() {20485 java.lang.Object ref = experimentalMapKey_;20486 if (ref instanceof String) {20487 com.google.protobuf.ByteString b =20488 com.google.protobuf.ByteString.copyFromUtf8(20489 (java.lang.String) ref);20490 experimentalMapKey_ = b;20491 return b;20492 } else {20493 return (com.google.protobuf.ByteString) ref;20494 }20495 }20496 /**20497 * <code>optional string experimental_map_key = 9;</code>20498 *20499 * <pre>20500 * EXPERIMENTAL. DO NOT USE.20501 * For "map" fields, the name of the field in the enclosed type that20502 * is the key for this map. For example, suppose we have:20503 * message Item {20504 * required string name = 1;20505 * required string value = 2;20506 * }20507 * message Config {20508 * repeated Item items = 1 [experimental_map_key="name"];20509 * }20510 * In this situation, the map key for Item will be set to "name".20511 * TODO: Fully-implement this, then remove the "experimental_" prefix.20512 * </pre>20513 */20514 public Builder setExperimentalMapKey(20515 java.lang.String value) {20516 if (value == null) {20517 throw new NullPointerException();20518 }20519 bitField0_ |= 0x00000010;20520 experimentalMapKey_ = value;20521 onChanged();20522 return this;20523 }20524 /**20525 * <code>optional string experimental_map_key = 9;</code>20526 *20527 * <pre>20528 * EXPERIMENTAL. DO NOT USE.20529 * For "map" fields, the name of the field in the enclosed type that20530 * is the key for this map. For example, suppose we have:20531 * message Item {20532 * required string name = 1;20533 * required string value = 2;20534 * }20535 * message Config {20536 * repeated Item items = 1 [experimental_map_key="name"];20537 * }20538 * In this situation, the map key for Item will be set to "name".20539 * TODO: Fully-implement this, then remove the "experimental_" prefix.20540 * </pre>20541 */20542 public Builder clearExperimentalMapKey() {20543 bitField0_ = (bitField0_ & ~0x00000010);20544 experimentalMapKey_ = getDefaultInstance().getExperimentalMapKey();20545 onChanged();20546 return this;20547 }20548 /**20549 * <code>optional string experimental_map_key = 9;</code>20550 *20551 * <pre>20552 * EXPERIMENTAL. DO NOT USE.20553 * For "map" fields, the name of the field in the enclosed type that20554 * is the key for this map. For example, suppose we have:20555 * message Item {20556 * required string name = 1;20557 * required string value = 2;20558 * }20559 * message Config {20560 * repeated Item items = 1 [experimental_map_key="name"];20561 * }20562 * In this situation, the map key for Item will be set to "name".20563 * TODO: Fully-implement this, then remove the "experimental_" prefix.20564 * </pre>20565 */20566 public Builder setExperimentalMapKeyBytes(20567 com.google.protobuf.ByteString value) {20568 if (value == null) {20569 throw new NullPointerException();20570 }20571 bitField0_ |= 0x00000010;20572 experimentalMapKey_ = value;20573 onChanged();20574 return this;20575 }20576 20577 26394 private boolean weak_ ; 20578 26395 /** 26396 * <pre> 26397 * For Google-internal migration only. Do not use. 26398 * </pre> 26399 * 20579 26400 * <code>optional bool weak = 10 [default = false];</code> 20580 * 26401 */ 26402 public boolean hasWeak() { 26403 return ((bitField0_ & 0x00000020) == 0x00000020); 26404 } 26405 /** 20581 26406 * <pre> 20582 26407 * For Google-internal migration only. Do not use. 20583 26408 * </pre> 20584 */ 20585 @Override 20586 public boolean hasWeak() { 20587 return ((bitField0_ & 0x00000020) == 0x00000020); 20588 } 20589 /** 26409 * 20590 26410 * <code>optional bool weak = 10 [default = false];</code> 20591 * 26411 */ 26412 public boolean getWeak() { 26413 return weak_; 26414 } 26415 /** 20592 26416 * <pre> 20593 26417 * For Google-internal migration only. Do not use. 20594 26418 * </pre> 20595 */ 20596 @Override 20597 public boolean getWeak() { 20598 return weak_; 20599 } 20600 /** 26419 * 20601 26420 * <code>optional bool weak = 10 [default = false];</code> 20602 *20603 * <pre>20604 * For Google-internal migration only. Do not use.20605 * </pre>20606 26421 */ 20607 26422 public Builder setWeak(boolean value) { … … 20612 26427 } 20613 26428 /** 26429 * <pre> 26430 * For Google-internal migration only. Do not use. 26431 * </pre> 26432 * 20614 26433 * <code>optional bool weak = 10 [default = false];</code> 20615 *20616 * <pre>20617 * For Google-internal migration only. Do not use.20618 * </pre>20619 26434 */ 20620 26435 public Builder clearWeak() { … … 20629 26444 private void ensureUninterpretedOptionIsMutable() { 20630 26445 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 20631 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 26446 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 20632 26447 bitField0_ |= 0x00000040; 20633 26448 } 20634 26449 } 20635 26450 20636 private com.google.protobuf.RepeatedFieldBuilder< 26451 private com.google.protobuf.RepeatedFieldBuilderV3< 20637 26452 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 20638 26453 20639 26454 /** 26455 * <pre> 26456 * The parser stores options it doesn't recognize here. See above. 26457 * </pre> 26458 * 20640 26459 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20641 * 20642 * <pre> 20643 * The parser stores options it doesn't recognize here. See above. 20644 * </pre> 20645 */ 20646 @Override 20647 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 26460 */ 26461 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 20648 26462 if (uninterpretedOptionBuilder_ == null) { 20649 26463 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 20653 26467 } 20654 26468 /** 26469 * <pre> 26470 * The parser stores options it doesn't recognize here. See above. 26471 * </pre> 26472 * 20655 26473 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20656 * 20657 * <pre> 20658 * The parser stores options it doesn't recognize here. See above. 20659 * </pre> 20660 */ 20661 @Override 20662 public int getUninterpretedOptionCount() { 26474 */ 26475 public int getUninterpretedOptionCount() { 20663 26476 if (uninterpretedOptionBuilder_ == null) { 20664 26477 return uninterpretedOption_.size(); … … 20668 26481 } 20669 26482 /** 26483 * <pre> 26484 * The parser stores options it doesn't recognize here. See above. 26485 * </pre> 26486 * 20670 26487 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20671 * 20672 * <pre> 20673 * The parser stores options it doesn't recognize here. See above. 20674 * </pre> 20675 */ 20676 @Override 20677 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 26488 */ 26489 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 20678 26490 if (uninterpretedOptionBuilder_ == null) { 20679 26491 return uninterpretedOption_.get(index); … … 20683 26495 } 20684 26496 /** 26497 * <pre> 26498 * The parser stores options it doesn't recognize here. See above. 26499 * </pre> 26500 * 20685 26501 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20686 *20687 * <pre>20688 * The parser stores options it doesn't recognize here. See above.20689 * </pre>20690 26502 */ 20691 26503 public Builder setUninterpretedOption( … … 20704 26516 } 20705 26517 /** 26518 * <pre> 26519 * The parser stores options it doesn't recognize here. See above. 26520 * </pre> 26521 * 20706 26522 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20707 *20708 * <pre>20709 * The parser stores options it doesn't recognize here. See above.20710 * </pre>20711 26523 */ 20712 26524 public Builder setUninterpretedOption( … … 20722 26534 } 20723 26535 /** 26536 * <pre> 26537 * The parser stores options it doesn't recognize here. See above. 26538 * </pre> 26539 * 20724 26540 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20725 *20726 * <pre>20727 * The parser stores options it doesn't recognize here. See above.20728 * </pre>20729 26541 */ 20730 26542 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 20742 26554 } 20743 26555 /** 26556 * <pre> 26557 * The parser stores options it doesn't recognize here. See above. 26558 * </pre> 26559 * 20744 26560 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20745 *20746 * <pre>20747 * The parser stores options it doesn't recognize here. See above.20748 * </pre>20749 26561 */ 20750 26562 public Builder addUninterpretedOption( … … 20763 26575 } 20764 26576 /** 26577 * <pre> 26578 * The parser stores options it doesn't recognize here. See above. 26579 * </pre> 26580 * 20765 26581 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20766 *20767 * <pre>20768 * The parser stores options it doesn't recognize here. See above.20769 * </pre>20770 26582 */ 20771 26583 public Builder addUninterpretedOption( … … 20781 26593 } 20782 26594 /** 26595 * <pre> 26596 * The parser stores options it doesn't recognize here. See above. 26597 * </pre> 26598 * 20783 26599 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20784 *20785 * <pre>20786 * The parser stores options it doesn't recognize here. See above.20787 * </pre>20788 26600 */ 20789 26601 public Builder addUninterpretedOption( … … 20799 26611 } 20800 26612 /** 26613 * <pre> 26614 * The parser stores options it doesn't recognize here. See above. 26615 * </pre> 26616 * 20801 26617 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20802 *20803 * <pre>20804 * The parser stores options it doesn't recognize here. See above.20805 * </pre>20806 26618 */ 20807 26619 public Builder addAllUninterpretedOption( … … 20818 26630 } 20819 26631 /** 26632 * <pre> 26633 * The parser stores options it doesn't recognize here. See above. 26634 * </pre> 26635 * 20820 26636 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20821 *20822 * <pre>20823 * The parser stores options it doesn't recognize here. See above.20824 * </pre>20825 26637 */ 20826 26638 public Builder clearUninterpretedOption() { … … 20835 26647 } 20836 26648 /** 26649 * <pre> 26650 * The parser stores options it doesn't recognize here. See above. 26651 * </pre> 26652 * 20837 26653 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20838 *20839 * <pre>20840 * The parser stores options it doesn't recognize here. See above.20841 * </pre>20842 26654 */ 20843 26655 public Builder removeUninterpretedOption(int index) { … … 20852 26664 } 20853 26665 /** 26666 * <pre> 26667 * The parser stores options it doesn't recognize here. See above. 26668 * </pre> 26669 * 20854 26670 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20855 *20856 * <pre>20857 * The parser stores options it doesn't recognize here. See above.20858 * </pre>20859 26671 */ 20860 26672 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 20863 26675 } 20864 26676 /** 26677 * <pre> 26678 * The parser stores options it doesn't recognize here. See above. 26679 * </pre> 26680 * 20865 26681 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20866 * 20867 * <pre> 20868 * The parser stores options it doesn't recognize here. See above. 20869 * </pre> 20870 */ 20871 @Override 20872 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 26682 */ 26683 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 20873 26684 int index) { 20874 26685 if (uninterpretedOptionBuilder_ == null) { … … 20878 26689 } 20879 26690 /** 26691 * <pre> 26692 * The parser stores options it doesn't recognize here. See above. 26693 * </pre> 26694 * 20880 26695 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20881 * 20882 * <pre> 20883 * The parser stores options it doesn't recognize here. See above. 20884 * </pre> 20885 */ 20886 @Override 20887 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 26696 */ 26697 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 20888 26698 getUninterpretedOptionOrBuilderList() { 20889 26699 if (uninterpretedOptionBuilder_ != null) { … … 20894 26704 } 20895 26705 /** 26706 * <pre> 26707 * The parser stores options it doesn't recognize here. See above. 26708 * </pre> 26709 * 20896 26710 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20897 *20898 * <pre>20899 * The parser stores options it doesn't recognize here. See above.20900 * </pre>20901 26711 */ 20902 26712 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 20905 26715 } 20906 26716 /** 26717 * <pre> 26718 * The parser stores options it doesn't recognize here. See above. 26719 * </pre> 26720 * 20907 26721 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20908 *20909 * <pre>20910 * The parser stores options it doesn't recognize here. See above.20911 * </pre>20912 26722 */ 20913 26723 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 20917 26727 } 20918 26728 /** 26729 * <pre> 26730 * The parser stores options it doesn't recognize here. See above. 26731 * </pre> 26732 * 20919 26733 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 20920 * 20921 * <pre> 20922 * The parser stores options it doesn't recognize here. See above. 20923 * </pre> 20924 */ 20925 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 26734 */ 26735 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 20926 26736 getUninterpretedOptionBuilderList() { 20927 26737 return getUninterpretedOptionFieldBuilder().getBuilderList(); 20928 26738 } 20929 private com.google.protobuf.RepeatedFieldBuilder< 20930 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 26739 private com.google.protobuf.RepeatedFieldBuilderV3< 26740 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 20931 26741 getUninterpretedOptionFieldBuilder() { 20932 26742 if (uninterpretedOptionBuilder_ == null) { 20933 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 26743 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 26744 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 20934 26745 uninterpretedOption_, 20935 26746 ((bitField0_ & 0x00000040) == 0x00000040), … … 20940 26751 return uninterpretedOptionBuilder_; 20941 26752 } 26753 public final Builder setUnknownFields( 26754 final com.google.protobuf.UnknownFieldSet unknownFields) { 26755 return super.setUnknownFields(unknownFields); 26756 } 26757 26758 public final Builder mergeUnknownFields( 26759 final com.google.protobuf.UnknownFieldSet unknownFields) { 26760 return super.mergeUnknownFields(unknownFields); 26761 } 26762 20942 26763 20943 26764 // @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions) 20944 26765 } 20945 26766 26767 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) 26768 private static final com.google.protobuf.DescriptorProtos.FieldOptions DEFAULT_INSTANCE; 20946 26769 static { 20947 defaultInstance = new FieldOptions(true); 20948 defaultInstance.initFields(); 20949 } 20950 20951 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) 26770 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.FieldOptions(); 26771 } 26772 26773 public static com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstance() { 26774 return DEFAULT_INSTANCE; 26775 } 26776 26777 @java.lang.Deprecated public static final com.google.protobuf.Parser<FieldOptions> 26778 PARSER = new com.google.protobuf.AbstractParser<FieldOptions>() { 26779 public FieldOptions parsePartialFrom( 26780 com.google.protobuf.CodedInputStream input, 26781 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 26782 throws com.google.protobuf.InvalidProtocolBufferException { 26783 return new FieldOptions(input, extensionRegistry); 26784 } 26785 }; 26786 26787 public static com.google.protobuf.Parser<FieldOptions> parser() { 26788 return PARSER; 26789 } 26790 26791 @java.lang.Override 26792 public com.google.protobuf.Parser<FieldOptions> getParserForType() { 26793 return PARSER; 26794 } 26795 26796 public com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstanceForType() { 26797 return DEFAULT_INSTANCE; 26798 } 26799 20952 26800 } 20953 26801 20954 public interface EnumOptionsOrBuilder extends 20955 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumOptions) 20956 com.google.protobuf.GeneratedMessage. 20957 ExtendableMessageOrBuilder<EnumOptions> { 20958 20959 /** 20960 * <code>optional bool allow_alias = 2;</code> 20961 * 20962 * <pre> 20963 * Set this option to true to allow mapping different tag names to the same 20964 * value. 20965 * </pre> 20966 */ 20967 boolean hasAllowAlias(); 20968 /** 20969 * <code>optional bool allow_alias = 2;</code> 20970 * 20971 * <pre> 20972 * Set this option to true to allow mapping different tag names to the same 20973 * value. 20974 * </pre> 20975 */ 20976 boolean getAllowAlias(); 20977 20978 /** 20979 * <code>optional bool deprecated = 3 [default = false];</code> 20980 * 20981 * <pre> 20982 * Is this enum deprecated? 20983 * Depending on the target platform, this can emit Deprecated annotations 20984 * for the enum, or it will be completely ignored; in the very least, this 20985 * is a formalization for deprecating enums. 20986 * </pre> 20987 */ 20988 boolean hasDeprecated(); 20989 /** 20990 * <code>optional bool deprecated = 3 [default = false];</code> 20991 * 20992 * <pre> 20993 * Is this enum deprecated? 20994 * Depending on the target platform, this can emit Deprecated annotations 20995 * for the enum, or it will be completely ignored; in the very least, this 20996 * is a formalization for deprecating enums. 20997 * </pre> 20998 */ 20999 boolean getDeprecated(); 21000 21001 /** 21002 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21003 * 26802 public interface OneofOptionsOrBuilder extends 26803 // @@protoc_insertion_point(interface_extends:google.protobuf.OneofOptions) 26804 com.google.protobuf.GeneratedMessageV3. 26805 ExtendableMessageOrBuilder<OneofOptions> { 26806 26807 /** 21004 26808 * <pre> 21005 26809 * The parser stores options it doesn't recognize here. See above. 21006 26810 * </pre> 21007 */ 21008 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 26811 * 26812 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26813 */ 26814 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 21009 26815 getUninterpretedOptionList(); 21010 26816 /** 21011 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21012 *21013 26817 * <pre> 21014 26818 * The parser stores options it doesn't recognize here. See above. 21015 26819 * </pre> 26820 * 26821 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21016 26822 */ 21017 26823 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 21018 26824 /** 21019 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21020 *21021 26825 * <pre> 21022 26826 * The parser stores options it doesn't recognize here. See above. 21023 26827 * </pre> 26828 * 26829 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21024 26830 */ 21025 26831 int getUninterpretedOptionCount(); 21026 26832 /** 21027 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21028 *21029 26833 * <pre> 21030 26834 * The parser stores options it doesn't recognize here. See above. 21031 26835 * </pre> 21032 */ 21033 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 26836 * 26837 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26838 */ 26839 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 21034 26840 getUninterpretedOptionOrBuilderList(); 21035 26841 /** 21036 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21037 *21038 26842 * <pre> 21039 26843 * The parser stores options it doesn't recognize here. See above. 21040 26844 * </pre> 26845 * 26846 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21041 26847 */ 21042 26848 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 21044 26850 } 21045 26851 /** 21046 * Protobuf type {@code google.protobuf. EnumOptions}26852 * Protobuf type {@code google.protobuf.OneofOptions} 21047 26853 */ 21048 public static final class EnumOptions extends 21049 com.google.protobuf.GeneratedMessage.ExtendableMessage< 21050 EnumOptions> implements 21051 // @@protoc_insertion_point(message_implements:google.protobuf.EnumOptions) 21052 EnumOptionsOrBuilder { 21053 // Use EnumOptions.newBuilder() to construct. 21054 private EnumOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumOptions, ?> builder) { 26854 public static final class OneofOptions extends 26855 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 26856 OneofOptions> implements 26857 // @@protoc_insertion_point(message_implements:google.protobuf.OneofOptions) 26858 OneofOptionsOrBuilder { 26859 private static final long serialVersionUID = 0L; 26860 // Use OneofOptions.newBuilder() to construct. 26861 private OneofOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.OneofOptions, ?> builder) { 21055 26862 super(builder); 21056 this.unknownFields = builder.getUnknownFields(); 21057 } 21058 private EnumOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 21059 21060 private static final EnumOptions defaultInstance; 21061 public static EnumOptions getDefaultInstance() { 21062 return defaultInstance; 21063 } 21064 21065 @Override 21066 public EnumOptions getDefaultInstanceForType() { 21067 return defaultInstance; 21068 } 21069 21070 private final com.google.protobuf.UnknownFieldSet unknownFields; 26863 } 26864 private OneofOptions() { 26865 uninterpretedOption_ = java.util.Collections.emptyList(); 26866 } 26867 21071 26868 @java.lang.Override 21072 26869 public final com.google.protobuf.UnknownFieldSet 21073 26870 getUnknownFields() { 21074 26871 return this.unknownFields; 21075 26872 } 21076 private EnumOptions(26873 private OneofOptions( 21077 26874 com.google.protobuf.CodedInputStream input, 21078 26875 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 21079 26876 throws com.google.protobuf.InvalidProtocolBufferException { 21080 initFields();26877 this(); 21081 26878 int mutable_bitField0_ = 0; 21082 26879 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 21091 26888 break; 21092 26889 default: { 21093 if (!parseUnknownField(input, unknownFields, 21094 extensionRegistry, tag)) { 26890 if (!parseUnknownField( 26891 input, unknownFields, extensionRegistry, tag)) { 26892 done = true; 26893 } 26894 break; 26895 } 26896 case 7994: { 26897 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 26898 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 26899 mutable_bitField0_ |= 0x00000001; 26900 } 26901 uninterpretedOption_.add( 26902 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 26903 break; 26904 } 26905 } 26906 } 26907 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 26908 throw e.setUnfinishedMessage(this); 26909 } catch (java.io.IOException e) { 26910 throw new com.google.protobuf.InvalidProtocolBufferException( 26911 e).setUnfinishedMessage(this); 26912 } finally { 26913 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 26914 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 26915 } 26916 this.unknownFields = unknownFields.build(); 26917 makeExtensionsImmutable(); 26918 } 26919 } 26920 public static final com.google.protobuf.Descriptors.Descriptor 26921 getDescriptor() { 26922 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofOptions_descriptor; 26923 } 26924 26925 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 26926 internalGetFieldAccessorTable() { 26927 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofOptions_fieldAccessorTable 26928 .ensureFieldAccessorsInitialized( 26929 com.google.protobuf.DescriptorProtos.OneofOptions.class, com.google.protobuf.DescriptorProtos.OneofOptions.Builder.class); 26930 } 26931 26932 public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; 26933 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 26934 /** 26935 * <pre> 26936 * The parser stores options it doesn't recognize here. See above. 26937 * </pre> 26938 * 26939 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26940 */ 26941 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 26942 return uninterpretedOption_; 26943 } 26944 /** 26945 * <pre> 26946 * The parser stores options it doesn't recognize here. See above. 26947 * </pre> 26948 * 26949 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26950 */ 26951 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 26952 getUninterpretedOptionOrBuilderList() { 26953 return uninterpretedOption_; 26954 } 26955 /** 26956 * <pre> 26957 * The parser stores options it doesn't recognize here. See above. 26958 * </pre> 26959 * 26960 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26961 */ 26962 public int getUninterpretedOptionCount() { 26963 return uninterpretedOption_.size(); 26964 } 26965 /** 26966 * <pre> 26967 * The parser stores options it doesn't recognize here. See above. 26968 * </pre> 26969 * 26970 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26971 */ 26972 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 26973 return uninterpretedOption_.get(index); 26974 } 26975 /** 26976 * <pre> 26977 * The parser stores options it doesn't recognize here. See above. 26978 * </pre> 26979 * 26980 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 26981 */ 26982 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 26983 int index) { 26984 return uninterpretedOption_.get(index); 26985 } 26986 26987 private byte memoizedIsInitialized = -1; 26988 public final boolean isInitialized() { 26989 byte isInitialized = memoizedIsInitialized; 26990 if (isInitialized == 1) return true; 26991 if (isInitialized == 0) return false; 26992 26993 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 26994 if (!getUninterpretedOption(i).isInitialized()) { 26995 memoizedIsInitialized = 0; 26996 return false; 26997 } 26998 } 26999 if (!extensionsAreInitialized()) { 27000 memoizedIsInitialized = 0; 27001 return false; 27002 } 27003 memoizedIsInitialized = 1; 27004 return true; 27005 } 27006 27007 public void writeTo(com.google.protobuf.CodedOutputStream output) 27008 throws java.io.IOException { 27009 com.google.protobuf.GeneratedMessageV3 27010 .ExtendableMessage<com.google.protobuf.DescriptorProtos.OneofOptions>.ExtensionWriter 27011 extensionWriter = newExtensionWriter(); 27012 for (int i = 0; i < uninterpretedOption_.size(); i++) { 27013 output.writeMessage(999, uninterpretedOption_.get(i)); 27014 } 27015 extensionWriter.writeUntil(536870912, output); 27016 unknownFields.writeTo(output); 27017 } 27018 27019 public int getSerializedSize() { 27020 int size = memoizedSize; 27021 if (size != -1) return size; 27022 27023 size = 0; 27024 for (int i = 0; i < uninterpretedOption_.size(); i++) { 27025 size += com.google.protobuf.CodedOutputStream 27026 .computeMessageSize(999, uninterpretedOption_.get(i)); 27027 } 27028 size += extensionsSerializedSize(); 27029 size += unknownFields.getSerializedSize(); 27030 memoizedSize = size; 27031 return size; 27032 } 27033 27034 @java.lang.Override 27035 public boolean equals(final java.lang.Object obj) { 27036 if (obj == this) { 27037 return true; 27038 } 27039 if (!(obj instanceof com.google.protobuf.DescriptorProtos.OneofOptions)) { 27040 return super.equals(obj); 27041 } 27042 com.google.protobuf.DescriptorProtos.OneofOptions other = (com.google.protobuf.DescriptorProtos.OneofOptions) obj; 27043 27044 boolean result = true; 27045 result = result && getUninterpretedOptionList() 27046 .equals(other.getUninterpretedOptionList()); 27047 result = result && unknownFields.equals(other.unknownFields); 27048 result = result && 27049 getExtensionFields().equals(other.getExtensionFields()); 27050 return result; 27051 } 27052 27053 @java.lang.Override 27054 public int hashCode() { 27055 if (memoizedHashCode != 0) { 27056 return memoizedHashCode; 27057 } 27058 int hash = 41; 27059 hash = (19 * hash) + getDescriptor().hashCode(); 27060 if (getUninterpretedOptionCount() > 0) { 27061 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 27062 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 27063 } 27064 hash = hashFields(hash, getExtensionFields()); 27065 hash = (29 * hash) + unknownFields.hashCode(); 27066 memoizedHashCode = hash; 27067 return hash; 27068 } 27069 27070 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27071 java.nio.ByteBuffer data) 27072 throws com.google.protobuf.InvalidProtocolBufferException { 27073 return PARSER.parseFrom(data); 27074 } 27075 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27076 java.nio.ByteBuffer data, 27077 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27078 throws com.google.protobuf.InvalidProtocolBufferException { 27079 return PARSER.parseFrom(data, extensionRegistry); 27080 } 27081 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27082 com.google.protobuf.ByteString data) 27083 throws com.google.protobuf.InvalidProtocolBufferException { 27084 return PARSER.parseFrom(data); 27085 } 27086 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27087 com.google.protobuf.ByteString data, 27088 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27089 throws com.google.protobuf.InvalidProtocolBufferException { 27090 return PARSER.parseFrom(data, extensionRegistry); 27091 } 27092 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(byte[] data) 27093 throws com.google.protobuf.InvalidProtocolBufferException { 27094 return PARSER.parseFrom(data); 27095 } 27096 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27097 byte[] data, 27098 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27099 throws com.google.protobuf.InvalidProtocolBufferException { 27100 return PARSER.parseFrom(data, extensionRegistry); 27101 } 27102 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(java.io.InputStream input) 27103 throws java.io.IOException { 27104 return com.google.protobuf.GeneratedMessageV3 27105 .parseWithIOException(PARSER, input); 27106 } 27107 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27108 java.io.InputStream input, 27109 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27110 throws java.io.IOException { 27111 return com.google.protobuf.GeneratedMessageV3 27112 .parseWithIOException(PARSER, input, extensionRegistry); 27113 } 27114 public static com.google.protobuf.DescriptorProtos.OneofOptions parseDelimitedFrom(java.io.InputStream input) 27115 throws java.io.IOException { 27116 return com.google.protobuf.GeneratedMessageV3 27117 .parseDelimitedWithIOException(PARSER, input); 27118 } 27119 public static com.google.protobuf.DescriptorProtos.OneofOptions parseDelimitedFrom( 27120 java.io.InputStream input, 27121 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27122 throws java.io.IOException { 27123 return com.google.protobuf.GeneratedMessageV3 27124 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 27125 } 27126 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27127 com.google.protobuf.CodedInputStream input) 27128 throws java.io.IOException { 27129 return com.google.protobuf.GeneratedMessageV3 27130 .parseWithIOException(PARSER, input); 27131 } 27132 public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom( 27133 com.google.protobuf.CodedInputStream input, 27134 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27135 throws java.io.IOException { 27136 return com.google.protobuf.GeneratedMessageV3 27137 .parseWithIOException(PARSER, input, extensionRegistry); 27138 } 27139 27140 public Builder newBuilderForType() { return newBuilder(); } 27141 public static Builder newBuilder() { 27142 return DEFAULT_INSTANCE.toBuilder(); 27143 } 27144 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.OneofOptions prototype) { 27145 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 27146 } 27147 public Builder toBuilder() { 27148 return this == DEFAULT_INSTANCE 27149 ? new Builder() : new Builder().mergeFrom(this); 27150 } 27151 27152 @java.lang.Override 27153 protected Builder newBuilderForType( 27154 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 27155 Builder builder = new Builder(parent); 27156 return builder; 27157 } 27158 /** 27159 * Protobuf type {@code google.protobuf.OneofOptions} 27160 */ 27161 public static final class Builder extends 27162 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 27163 com.google.protobuf.DescriptorProtos.OneofOptions, Builder> implements 27164 // @@protoc_insertion_point(builder_implements:google.protobuf.OneofOptions) 27165 com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder { 27166 public static final com.google.protobuf.Descriptors.Descriptor 27167 getDescriptor() { 27168 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofOptions_descriptor; 27169 } 27170 27171 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 27172 internalGetFieldAccessorTable() { 27173 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofOptions_fieldAccessorTable 27174 .ensureFieldAccessorsInitialized( 27175 com.google.protobuf.DescriptorProtos.OneofOptions.class, com.google.protobuf.DescriptorProtos.OneofOptions.Builder.class); 27176 } 27177 27178 // Construct using com.google.protobuf.DescriptorProtos.OneofOptions.newBuilder() 27179 private Builder() { 27180 maybeForceBuilderInitialization(); 27181 } 27182 27183 private Builder( 27184 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 27185 super(parent); 27186 maybeForceBuilderInitialization(); 27187 } 27188 private void maybeForceBuilderInitialization() { 27189 if (com.google.protobuf.GeneratedMessageV3 27190 .alwaysUseFieldBuilders) { 27191 getUninterpretedOptionFieldBuilder(); 27192 } 27193 } 27194 public Builder clear() { 27195 super.clear(); 27196 if (uninterpretedOptionBuilder_ == null) { 27197 uninterpretedOption_ = java.util.Collections.emptyList(); 27198 bitField0_ = (bitField0_ & ~0x00000001); 27199 } else { 27200 uninterpretedOptionBuilder_.clear(); 27201 } 27202 return this; 27203 } 27204 27205 public com.google.protobuf.Descriptors.Descriptor 27206 getDescriptorForType() { 27207 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_OneofOptions_descriptor; 27208 } 27209 27210 public com.google.protobuf.DescriptorProtos.OneofOptions getDefaultInstanceForType() { 27211 return com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance(); 27212 } 27213 27214 public com.google.protobuf.DescriptorProtos.OneofOptions build() { 27215 com.google.protobuf.DescriptorProtos.OneofOptions result = buildPartial(); 27216 if (!result.isInitialized()) { 27217 throw newUninitializedMessageException(result); 27218 } 27219 return result; 27220 } 27221 27222 public com.google.protobuf.DescriptorProtos.OneofOptions buildPartial() { 27223 com.google.protobuf.DescriptorProtos.OneofOptions result = new com.google.protobuf.DescriptorProtos.OneofOptions(this); 27224 int from_bitField0_ = bitField0_; 27225 if (uninterpretedOptionBuilder_ == null) { 27226 if (((bitField0_ & 0x00000001) == 0x00000001)) { 27227 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 27228 bitField0_ = (bitField0_ & ~0x00000001); 27229 } 27230 result.uninterpretedOption_ = uninterpretedOption_; 27231 } else { 27232 result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); 27233 } 27234 onBuilt(); 27235 return result; 27236 } 27237 27238 public Builder clone() { 27239 return (Builder) super.clone(); 27240 } 27241 public Builder setField( 27242 com.google.protobuf.Descriptors.FieldDescriptor field, 27243 java.lang.Object value) { 27244 return (Builder) super.setField(field, value); 27245 } 27246 public Builder clearField( 27247 com.google.protobuf.Descriptors.FieldDescriptor field) { 27248 return (Builder) super.clearField(field); 27249 } 27250 public Builder clearOneof( 27251 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 27252 return (Builder) super.clearOneof(oneof); 27253 } 27254 public Builder setRepeatedField( 27255 com.google.protobuf.Descriptors.FieldDescriptor field, 27256 int index, java.lang.Object value) { 27257 return (Builder) super.setRepeatedField(field, index, value); 27258 } 27259 public Builder addRepeatedField( 27260 com.google.protobuf.Descriptors.FieldDescriptor field, 27261 java.lang.Object value) { 27262 return (Builder) super.addRepeatedField(field, value); 27263 } 27264 public <Type> Builder setExtension( 27265 com.google.protobuf.GeneratedMessage.GeneratedExtension< 27266 com.google.protobuf.DescriptorProtos.OneofOptions, Type> extension, 27267 Type value) { 27268 return (Builder) super.setExtension(extension, value); 27269 } 27270 public <Type> Builder setExtension( 27271 com.google.protobuf.GeneratedMessage.GeneratedExtension< 27272 com.google.protobuf.DescriptorProtos.OneofOptions, java.util.List<Type>> extension, 27273 int index, Type value) { 27274 return (Builder) super.setExtension(extension, index, value); 27275 } 27276 public <Type> Builder addExtension( 27277 com.google.protobuf.GeneratedMessage.GeneratedExtension< 27278 com.google.protobuf.DescriptorProtos.OneofOptions, java.util.List<Type>> extension, 27279 Type value) { 27280 return (Builder) super.addExtension(extension, value); 27281 } 27282 public <Type> Builder clearExtension( 27283 com.google.protobuf.GeneratedMessage.GeneratedExtension< 27284 com.google.protobuf.DescriptorProtos.OneofOptions, ?> extension) { 27285 return (Builder) super.clearExtension(extension); 27286 } 27287 public Builder mergeFrom(com.google.protobuf.Message other) { 27288 if (other instanceof com.google.protobuf.DescriptorProtos.OneofOptions) { 27289 return mergeFrom((com.google.protobuf.DescriptorProtos.OneofOptions)other); 27290 } else { 27291 super.mergeFrom(other); 27292 return this; 27293 } 27294 } 27295 27296 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.OneofOptions other) { 27297 if (other == com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance()) return this; 27298 if (uninterpretedOptionBuilder_ == null) { 27299 if (!other.uninterpretedOption_.isEmpty()) { 27300 if (uninterpretedOption_.isEmpty()) { 27301 uninterpretedOption_ = other.uninterpretedOption_; 27302 bitField0_ = (bitField0_ & ~0x00000001); 27303 } else { 27304 ensureUninterpretedOptionIsMutable(); 27305 uninterpretedOption_.addAll(other.uninterpretedOption_); 27306 } 27307 onChanged(); 27308 } 27309 } else { 27310 if (!other.uninterpretedOption_.isEmpty()) { 27311 if (uninterpretedOptionBuilder_.isEmpty()) { 27312 uninterpretedOptionBuilder_.dispose(); 27313 uninterpretedOptionBuilder_ = null; 27314 uninterpretedOption_ = other.uninterpretedOption_; 27315 bitField0_ = (bitField0_ & ~0x00000001); 27316 uninterpretedOptionBuilder_ = 27317 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 27318 getUninterpretedOptionFieldBuilder() : null; 27319 } else { 27320 uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_); 27321 } 27322 } 27323 } 27324 this.mergeExtensionFields(other); 27325 this.mergeUnknownFields(other.unknownFields); 27326 onChanged(); 27327 return this; 27328 } 27329 27330 public final boolean isInitialized() { 27331 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 27332 if (!getUninterpretedOption(i).isInitialized()) { 27333 return false; 27334 } 27335 } 27336 if (!extensionsAreInitialized()) { 27337 return false; 27338 } 27339 return true; 27340 } 27341 27342 public Builder mergeFrom( 27343 com.google.protobuf.CodedInputStream input, 27344 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27345 throws java.io.IOException { 27346 com.google.protobuf.DescriptorProtos.OneofOptions parsedMessage = null; 27347 try { 27348 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 27349 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 27350 parsedMessage = (com.google.protobuf.DescriptorProtos.OneofOptions) e.getUnfinishedMessage(); 27351 throw e.unwrapIOException(); 27352 } finally { 27353 if (parsedMessage != null) { 27354 mergeFrom(parsedMessage); 27355 } 27356 } 27357 return this; 27358 } 27359 private int bitField0_; 27360 27361 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 27362 java.util.Collections.emptyList(); 27363 private void ensureUninterpretedOptionIsMutable() { 27364 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 27365 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 27366 bitField0_ |= 0x00000001; 27367 } 27368 } 27369 27370 private com.google.protobuf.RepeatedFieldBuilderV3< 27371 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 27372 27373 /** 27374 * <pre> 27375 * The parser stores options it doesn't recognize here. See above. 27376 * </pre> 27377 * 27378 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27379 */ 27380 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 27381 if (uninterpretedOptionBuilder_ == null) { 27382 return java.util.Collections.unmodifiableList(uninterpretedOption_); 27383 } else { 27384 return uninterpretedOptionBuilder_.getMessageList(); 27385 } 27386 } 27387 /** 27388 * <pre> 27389 * The parser stores options it doesn't recognize here. See above. 27390 * </pre> 27391 * 27392 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27393 */ 27394 public int getUninterpretedOptionCount() { 27395 if (uninterpretedOptionBuilder_ == null) { 27396 return uninterpretedOption_.size(); 27397 } else { 27398 return uninterpretedOptionBuilder_.getCount(); 27399 } 27400 } 27401 /** 27402 * <pre> 27403 * The parser stores options it doesn't recognize here. See above. 27404 * </pre> 27405 * 27406 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27407 */ 27408 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 27409 if (uninterpretedOptionBuilder_ == null) { 27410 return uninterpretedOption_.get(index); 27411 } else { 27412 return uninterpretedOptionBuilder_.getMessage(index); 27413 } 27414 } 27415 /** 27416 * <pre> 27417 * The parser stores options it doesn't recognize here. See above. 27418 * </pre> 27419 * 27420 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27421 */ 27422 public Builder setUninterpretedOption( 27423 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 27424 if (uninterpretedOptionBuilder_ == null) { 27425 if (value == null) { 27426 throw new NullPointerException(); 27427 } 27428 ensureUninterpretedOptionIsMutable(); 27429 uninterpretedOption_.set(index, value); 27430 onChanged(); 27431 } else { 27432 uninterpretedOptionBuilder_.setMessage(index, value); 27433 } 27434 return this; 27435 } 27436 /** 27437 * <pre> 27438 * The parser stores options it doesn't recognize here. See above. 27439 * </pre> 27440 * 27441 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27442 */ 27443 public Builder setUninterpretedOption( 27444 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 27445 if (uninterpretedOptionBuilder_ == null) { 27446 ensureUninterpretedOptionIsMutable(); 27447 uninterpretedOption_.set(index, builderForValue.build()); 27448 onChanged(); 27449 } else { 27450 uninterpretedOptionBuilder_.setMessage(index, builderForValue.build()); 27451 } 27452 return this; 27453 } 27454 /** 27455 * <pre> 27456 * The parser stores options it doesn't recognize here. See above. 27457 * </pre> 27458 * 27459 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27460 */ 27461 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 27462 if (uninterpretedOptionBuilder_ == null) { 27463 if (value == null) { 27464 throw new NullPointerException(); 27465 } 27466 ensureUninterpretedOptionIsMutable(); 27467 uninterpretedOption_.add(value); 27468 onChanged(); 27469 } else { 27470 uninterpretedOptionBuilder_.addMessage(value); 27471 } 27472 return this; 27473 } 27474 /** 27475 * <pre> 27476 * The parser stores options it doesn't recognize here. See above. 27477 * </pre> 27478 * 27479 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27480 */ 27481 public Builder addUninterpretedOption( 27482 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) { 27483 if (uninterpretedOptionBuilder_ == null) { 27484 if (value == null) { 27485 throw new NullPointerException(); 27486 } 27487 ensureUninterpretedOptionIsMutable(); 27488 uninterpretedOption_.add(index, value); 27489 onChanged(); 27490 } else { 27491 uninterpretedOptionBuilder_.addMessage(index, value); 27492 } 27493 return this; 27494 } 27495 /** 27496 * <pre> 27497 * The parser stores options it doesn't recognize here. See above. 27498 * </pre> 27499 * 27500 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27501 */ 27502 public Builder addUninterpretedOption( 27503 com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 27504 if (uninterpretedOptionBuilder_ == null) { 27505 ensureUninterpretedOptionIsMutable(); 27506 uninterpretedOption_.add(builderForValue.build()); 27507 onChanged(); 27508 } else { 27509 uninterpretedOptionBuilder_.addMessage(builderForValue.build()); 27510 } 27511 return this; 27512 } 27513 /** 27514 * <pre> 27515 * The parser stores options it doesn't recognize here. See above. 27516 * </pre> 27517 * 27518 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27519 */ 27520 public Builder addUninterpretedOption( 27521 int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) { 27522 if (uninterpretedOptionBuilder_ == null) { 27523 ensureUninterpretedOptionIsMutable(); 27524 uninterpretedOption_.add(index, builderForValue.build()); 27525 onChanged(); 27526 } else { 27527 uninterpretedOptionBuilder_.addMessage(index, builderForValue.build()); 27528 } 27529 return this; 27530 } 27531 /** 27532 * <pre> 27533 * The parser stores options it doesn't recognize here. See above. 27534 * </pre> 27535 * 27536 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27537 */ 27538 public Builder addAllUninterpretedOption( 27539 java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) { 27540 if (uninterpretedOptionBuilder_ == null) { 27541 ensureUninterpretedOptionIsMutable(); 27542 com.google.protobuf.AbstractMessageLite.Builder.addAll( 27543 values, uninterpretedOption_); 27544 onChanged(); 27545 } else { 27546 uninterpretedOptionBuilder_.addAllMessages(values); 27547 } 27548 return this; 27549 } 27550 /** 27551 * <pre> 27552 * The parser stores options it doesn't recognize here. See above. 27553 * </pre> 27554 * 27555 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27556 */ 27557 public Builder clearUninterpretedOption() { 27558 if (uninterpretedOptionBuilder_ == null) { 27559 uninterpretedOption_ = java.util.Collections.emptyList(); 27560 bitField0_ = (bitField0_ & ~0x00000001); 27561 onChanged(); 27562 } else { 27563 uninterpretedOptionBuilder_.clear(); 27564 } 27565 return this; 27566 } 27567 /** 27568 * <pre> 27569 * The parser stores options it doesn't recognize here. See above. 27570 * </pre> 27571 * 27572 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27573 */ 27574 public Builder removeUninterpretedOption(int index) { 27575 if (uninterpretedOptionBuilder_ == null) { 27576 ensureUninterpretedOptionIsMutable(); 27577 uninterpretedOption_.remove(index); 27578 onChanged(); 27579 } else { 27580 uninterpretedOptionBuilder_.remove(index); 27581 } 27582 return this; 27583 } 27584 /** 27585 * <pre> 27586 * The parser stores options it doesn't recognize here. See above. 27587 * </pre> 27588 * 27589 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27590 */ 27591 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( 27592 int index) { 27593 return getUninterpretedOptionFieldBuilder().getBuilder(index); 27594 } 27595 /** 27596 * <pre> 27597 * The parser stores options it doesn't recognize here. See above. 27598 * </pre> 27599 * 27600 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27601 */ 27602 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 27603 int index) { 27604 if (uninterpretedOptionBuilder_ == null) { 27605 return uninterpretedOption_.get(index); } else { 27606 return uninterpretedOptionBuilder_.getMessageOrBuilder(index); 27607 } 27608 } 27609 /** 27610 * <pre> 27611 * The parser stores options it doesn't recognize here. See above. 27612 * </pre> 27613 * 27614 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27615 */ 27616 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 27617 getUninterpretedOptionOrBuilderList() { 27618 if (uninterpretedOptionBuilder_ != null) { 27619 return uninterpretedOptionBuilder_.getMessageOrBuilderList(); 27620 } else { 27621 return java.util.Collections.unmodifiableList(uninterpretedOption_); 27622 } 27623 } 27624 /** 27625 * <pre> 27626 * The parser stores options it doesn't recognize here. See above. 27627 * </pre> 27628 * 27629 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27630 */ 27631 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { 27632 return getUninterpretedOptionFieldBuilder().addBuilder( 27633 com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance()); 27634 } 27635 /** 27636 * <pre> 27637 * The parser stores options it doesn't recognize here. See above. 27638 * </pre> 27639 * 27640 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27641 */ 27642 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( 27643 int index) { 27644 return getUninterpretedOptionFieldBuilder().addBuilder( 27645 index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance()); 27646 } 27647 /** 27648 * <pre> 27649 * The parser stores options it doesn't recognize here. See above. 27650 * </pre> 27651 * 27652 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27653 */ 27654 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 27655 getUninterpretedOptionBuilderList() { 27656 return getUninterpretedOptionFieldBuilder().getBuilderList(); 27657 } 27658 private com.google.protobuf.RepeatedFieldBuilderV3< 27659 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 27660 getUninterpretedOptionFieldBuilder() { 27661 if (uninterpretedOptionBuilder_ == null) { 27662 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 27663 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 27664 uninterpretedOption_, 27665 ((bitField0_ & 0x00000001) == 0x00000001), 27666 getParentForChildren(), 27667 isClean()); 27668 uninterpretedOption_ = null; 27669 } 27670 return uninterpretedOptionBuilder_; 27671 } 27672 public final Builder setUnknownFields( 27673 final com.google.protobuf.UnknownFieldSet unknownFields) { 27674 return super.setUnknownFields(unknownFields); 27675 } 27676 27677 public final Builder mergeUnknownFields( 27678 final com.google.protobuf.UnknownFieldSet unknownFields) { 27679 return super.mergeUnknownFields(unknownFields); 27680 } 27681 27682 27683 // @@protoc_insertion_point(builder_scope:google.protobuf.OneofOptions) 27684 } 27685 27686 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) 27687 private static final com.google.protobuf.DescriptorProtos.OneofOptions DEFAULT_INSTANCE; 27688 static { 27689 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.OneofOptions(); 27690 } 27691 27692 public static com.google.protobuf.DescriptorProtos.OneofOptions getDefaultInstance() { 27693 return DEFAULT_INSTANCE; 27694 } 27695 27696 @java.lang.Deprecated public static final com.google.protobuf.Parser<OneofOptions> 27697 PARSER = new com.google.protobuf.AbstractParser<OneofOptions>() { 27698 public OneofOptions parsePartialFrom( 27699 com.google.protobuf.CodedInputStream input, 27700 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27701 throws com.google.protobuf.InvalidProtocolBufferException { 27702 return new OneofOptions(input, extensionRegistry); 27703 } 27704 }; 27705 27706 public static com.google.protobuf.Parser<OneofOptions> parser() { 27707 return PARSER; 27708 } 27709 27710 @java.lang.Override 27711 public com.google.protobuf.Parser<OneofOptions> getParserForType() { 27712 return PARSER; 27713 } 27714 27715 public com.google.protobuf.DescriptorProtos.OneofOptions getDefaultInstanceForType() { 27716 return DEFAULT_INSTANCE; 27717 } 27718 27719 } 27720 27721 public interface EnumOptionsOrBuilder extends 27722 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumOptions) 27723 com.google.protobuf.GeneratedMessageV3. 27724 ExtendableMessageOrBuilder<EnumOptions> { 27725 27726 /** 27727 * <pre> 27728 * Set this option to true to allow mapping different tag names to the same 27729 * value. 27730 * </pre> 27731 * 27732 * <code>optional bool allow_alias = 2;</code> 27733 */ 27734 boolean hasAllowAlias(); 27735 /** 27736 * <pre> 27737 * Set this option to true to allow mapping different tag names to the same 27738 * value. 27739 * </pre> 27740 * 27741 * <code>optional bool allow_alias = 2;</code> 27742 */ 27743 boolean getAllowAlias(); 27744 27745 /** 27746 * <pre> 27747 * Is this enum deprecated? 27748 * Depending on the target platform, this can emit Deprecated annotations 27749 * for the enum, or it will be completely ignored; in the very least, this 27750 * is a formalization for deprecating enums. 27751 * </pre> 27752 * 27753 * <code>optional bool deprecated = 3 [default = false];</code> 27754 */ 27755 boolean hasDeprecated(); 27756 /** 27757 * <pre> 27758 * Is this enum deprecated? 27759 * Depending on the target platform, this can emit Deprecated annotations 27760 * for the enum, or it will be completely ignored; in the very least, this 27761 * is a formalization for deprecating enums. 27762 * </pre> 27763 * 27764 * <code>optional bool deprecated = 3 [default = false];</code> 27765 */ 27766 boolean getDeprecated(); 27767 27768 /** 27769 * <pre> 27770 * The parser stores options it doesn't recognize here. See above. 27771 * </pre> 27772 * 27773 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27774 */ 27775 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 27776 getUninterpretedOptionList(); 27777 /** 27778 * <pre> 27779 * The parser stores options it doesn't recognize here. See above. 27780 * </pre> 27781 * 27782 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27783 */ 27784 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 27785 /** 27786 * <pre> 27787 * The parser stores options it doesn't recognize here. See above. 27788 * </pre> 27789 * 27790 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27791 */ 27792 int getUninterpretedOptionCount(); 27793 /** 27794 * <pre> 27795 * The parser stores options it doesn't recognize here. See above. 27796 * </pre> 27797 * 27798 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27799 */ 27800 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 27801 getUninterpretedOptionOrBuilderList(); 27802 /** 27803 * <pre> 27804 * The parser stores options it doesn't recognize here. See above. 27805 * </pre> 27806 * 27807 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27808 */ 27809 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 27810 int index); 27811 } 27812 /** 27813 * Protobuf type {@code google.protobuf.EnumOptions} 27814 */ 27815 public static final class EnumOptions extends 27816 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 27817 EnumOptions> implements 27818 // @@protoc_insertion_point(message_implements:google.protobuf.EnumOptions) 27819 EnumOptionsOrBuilder { 27820 private static final long serialVersionUID = 0L; 27821 // Use EnumOptions.newBuilder() to construct. 27822 private EnumOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumOptions, ?> builder) { 27823 super(builder); 27824 } 27825 private EnumOptions() { 27826 allowAlias_ = false; 27827 deprecated_ = false; 27828 uninterpretedOption_ = java.util.Collections.emptyList(); 27829 } 27830 27831 @java.lang.Override 27832 public final com.google.protobuf.UnknownFieldSet 27833 getUnknownFields() { 27834 return this.unknownFields; 27835 } 27836 private EnumOptions( 27837 com.google.protobuf.CodedInputStream input, 27838 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27839 throws com.google.protobuf.InvalidProtocolBufferException { 27840 this(); 27841 int mutable_bitField0_ = 0; 27842 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 27843 com.google.protobuf.UnknownFieldSet.newBuilder(); 27844 try { 27845 boolean done = false; 27846 while (!done) { 27847 int tag = input.readTag(); 27848 switch (tag) { 27849 case 0: 27850 done = true; 27851 break; 27852 default: { 27853 if (!parseUnknownField( 27854 input, unknownFields, extensionRegistry, tag)) { 21095 27855 done = true; 21096 27856 } … … 21109 27869 case 7994: { 21110 27870 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 21111 uninterpretedOption_ = new java.util.ArrayList<>(); 27871 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 21112 27872 mutable_bitField0_ |= 0x00000004; 21113 27873 } 21114 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 27874 uninterpretedOption_.add( 27875 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 21115 27876 break; 21116 27877 } … … 21121 27882 } catch (java.io.IOException e) { 21122 27883 throw new com.google.protobuf.InvalidProtocolBufferException( 21123 e .getMessage()).setUnfinishedMessage(this);27884 e).setUnfinishedMessage(this); 21124 27885 } finally { 21125 27886 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { … … 21135 27896 } 21136 27897 21137 @Override 21138 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 27898 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 21139 27899 internalGetFieldAccessorTable() { 21140 27900 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable … … 21143 27903 } 21144 27904 21145 public static com.google.protobuf.Parser<EnumOptions> PARSER =21146 new com.google.protobuf.AbstractParser<EnumOptions>() {21147 @Override21148 public EnumOptions parsePartialFrom(21149 com.google.protobuf.CodedInputStream input,21150 com.google.protobuf.ExtensionRegistryLite extensionRegistry)21151 throws com.google.protobuf.InvalidProtocolBufferException {21152 return new EnumOptions(input, extensionRegistry);21153 }21154 };21155 21156 @java.lang.Override21157 public com.google.protobuf.Parser<EnumOptions> getParserForType() {21158 return PARSER;21159 }21160 21161 27905 private int bitField0_; 21162 27906 public static final int ALLOW_ALIAS_FIELD_NUMBER = 2; 21163 27907 private boolean allowAlias_; 21164 27908 /** 21165 * <code>optional bool allow_alias = 2;</code>21166 *21167 27909 * <pre> 21168 27910 * Set this option to true to allow mapping different tag names to the same 21169 27911 * value. 21170 27912 * </pre> 21171 */ 21172 @Override 21173 public boolean hasAllowAlias() { 27913 * 27914 * <code>optional bool allow_alias = 2;</code> 27915 */ 27916 public boolean hasAllowAlias() { 21174 27917 return ((bitField0_ & 0x00000001) == 0x00000001); 21175 27918 } 21176 27919 /** 21177 * <code>optional bool allow_alias = 2;</code>21178 *21179 27920 * <pre> 21180 27921 * Set this option to true to allow mapping different tag names to the same 21181 27922 * value. 21182 27923 * </pre> 21183 */ 21184 @Override 21185 public boolean getAllowAlias() { 27924 * 27925 * <code>optional bool allow_alias = 2;</code> 27926 */ 27927 public boolean getAllowAlias() { 21186 27928 return allowAlias_; 21187 27929 } … … 21190 27932 private boolean deprecated_; 21191 27933 /** 21192 * <code>optional bool deprecated = 3 [default = false];</code>21193 *21194 27934 * <pre> 21195 27935 * Is this enum deprecated? … … 21198 27938 * is a formalization for deprecating enums. 21199 27939 * </pre> 21200 */ 21201 @Override 21202 public boolean hasDeprecated() { 27940 * 27941 * <code>optional bool deprecated = 3 [default = false];</code> 27942 */ 27943 public boolean hasDeprecated() { 21203 27944 return ((bitField0_ & 0x00000002) == 0x00000002); 21204 27945 } 21205 27946 /** 21206 * <code>optional bool deprecated = 3 [default = false];</code>21207 *21208 27947 * <pre> 21209 27948 * Is this enum deprecated? … … 21212 27951 * is a formalization for deprecating enums. 21213 27952 * </pre> 21214 */ 21215 @Override 21216 public boolean getDeprecated() { 27953 * 27954 * <code>optional bool deprecated = 3 [default = false];</code> 27955 */ 27956 public boolean getDeprecated() { 21217 27957 return deprecated_; 21218 27958 } … … 21221 27961 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 21222 27962 /** 21223 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21224 *21225 27963 * <pre> 21226 27964 * The parser stores options it doesn't recognize here. See above. 21227 27965 * </pre> 21228 */ 21229 @Override 21230 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 27966 * 27967 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27968 */ 27969 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 21231 27970 return uninterpretedOption_; 21232 27971 } 21233 27972 /** 21234 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21235 *21236 27973 * <pre> 21237 27974 * The parser stores options it doesn't recognize here. See above. 21238 27975 * </pre> 21239 */ 21240 @Override 21241 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 27976 * 27977 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27978 */ 27979 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 21242 27980 getUninterpretedOptionOrBuilderList() { 21243 27981 return uninterpretedOption_; 21244 27982 } 21245 27983 /** 21246 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21247 *21248 27984 * <pre> 21249 27985 * The parser stores options it doesn't recognize here. See above. 21250 27986 * </pre> 21251 */ 21252 @Override 21253 public int getUninterpretedOptionCount() { 27987 * 27988 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27989 */ 27990 public int getUninterpretedOptionCount() { 21254 27991 return uninterpretedOption_.size(); 21255 27992 } 21256 27993 /** 21257 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21258 *21259 27994 * <pre> 21260 27995 * The parser stores options it doesn't recognize here. See above. 21261 27996 * </pre> 21262 */ 21263 @Override 21264 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 27997 * 27998 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 27999 */ 28000 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 21265 28001 return uninterpretedOption_.get(index); 21266 28002 } 21267 28003 /** 21268 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>21269 *21270 28004 * <pre> 21271 28005 * The parser stores options it doesn't recognize here. See above. 21272 28006 * </pre> 21273 */ 21274 @Override 21275 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 28007 * 28008 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 28009 */ 28010 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 21276 28011 int index) { 21277 28012 return uninterpretedOption_.get(index); 21278 28013 } 21279 28014 21280 private void initFields() {21281 allowAlias_ = false;21282 deprecated_ = false;21283 uninterpretedOption_ = java.util.Collections.emptyList();21284 }21285 28015 private byte memoizedIsInitialized = -1; 21286 @Override 21287 public final boolean isInitialized() { 28016 public final boolean isInitialized() { 21288 28017 byte isInitialized = memoizedIsInitialized; 21289 28018 if (isInitialized == 1) return true; … … 21304 28033 } 21305 28034 21306 @Override 21307 public void writeTo(com.google.protobuf.CodedOutputStream output) 28035 public void writeTo(com.google.protobuf.CodedOutputStream output) 21308 28036 throws java.io.IOException { 21309 getSerializedSize(); 21310 com.google.protobuf.GeneratedMessage 21311 .ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumOptions>.ExtensionWriter extensionWriter = 21312 newExtensionWriter(); 28037 com.google.protobuf.GeneratedMessageV3 28038 .ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumOptions>.ExtensionWriter 28039 extensionWriter = newExtensionWriter(); 21313 28040 if (((bitField0_ & 0x00000001) == 0x00000001)) { 21314 28041 output.writeBool(2, allowAlias_); … … 21321 28048 } 21322 28049 extensionWriter.writeUntil(536870912, output); 21323 getUnknownFields().writeTo(output); 21324 } 21325 21326 private int memoizedSerializedSize = -1; 21327 @Override 21328 public int getSerializedSize() { 21329 int size = memoizedSerializedSize; 28050 unknownFields.writeTo(output); 28051 } 28052 28053 public int getSerializedSize() { 28054 int size = memoizedSize; 21330 28055 if (size != -1) return size; 21331 28056 … … 21344 28069 } 21345 28070 size += extensionsSerializedSize(); 21346 size += getUnknownFields().getSerializedSize();21347 memoizedS erializedSize = size;28071 size += unknownFields.getSerializedSize(); 28072 memoizedSize = size; 21348 28073 return size; 21349 28074 } 21350 28075 21351 private static final long serialVersionUID = 0L;21352 28076 @java.lang.Override 21353 protected java.lang.Object writeReplace() 21354 throws java.io.ObjectStreamException { 21355 return super.writeReplace(); 21356 } 21357 28077 public boolean equals(final java.lang.Object obj) { 28078 if (obj == this) { 28079 return true; 28080 } 28081 if (!(obj instanceof com.google.protobuf.DescriptorProtos.EnumOptions)) { 28082 return super.equals(obj); 28083 } 28084 com.google.protobuf.DescriptorProtos.EnumOptions other = (com.google.protobuf.DescriptorProtos.EnumOptions) obj; 28085 28086 boolean result = true; 28087 result = result && (hasAllowAlias() == other.hasAllowAlias()); 28088 if (hasAllowAlias()) { 28089 result = result && (getAllowAlias() 28090 == other.getAllowAlias()); 28091 } 28092 result = result && (hasDeprecated() == other.hasDeprecated()); 28093 if (hasDeprecated()) { 28094 result = result && (getDeprecated() 28095 == other.getDeprecated()); 28096 } 28097 result = result && getUninterpretedOptionList() 28098 .equals(other.getUninterpretedOptionList()); 28099 result = result && unknownFields.equals(other.unknownFields); 28100 result = result && 28101 getExtensionFields().equals(other.getExtensionFields()); 28102 return result; 28103 } 28104 28105 @java.lang.Override 28106 public int hashCode() { 28107 if (memoizedHashCode != 0) { 28108 return memoizedHashCode; 28109 } 28110 int hash = 41; 28111 hash = (19 * hash) + getDescriptor().hashCode(); 28112 if (hasAllowAlias()) { 28113 hash = (37 * hash) + ALLOW_ALIAS_FIELD_NUMBER; 28114 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 28115 getAllowAlias()); 28116 } 28117 if (hasDeprecated()) { 28118 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 28119 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 28120 getDeprecated()); 28121 } 28122 if (getUninterpretedOptionCount() > 0) { 28123 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 28124 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 28125 } 28126 hash = hashFields(hash, getExtensionFields()); 28127 hash = (29 * hash) + unknownFields.hashCode(); 28128 memoizedHashCode = hash; 28129 return hash; 28130 } 28131 28132 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( 28133 java.nio.ByteBuffer data) 28134 throws com.google.protobuf.InvalidProtocolBufferException { 28135 return PARSER.parseFrom(data); 28136 } 28137 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( 28138 java.nio.ByteBuffer data, 28139 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 28140 throws com.google.protobuf.InvalidProtocolBufferException { 28141 return PARSER.parseFrom(data, extensionRegistry); 28142 } 21358 28143 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( 21359 28144 com.google.protobuf.ByteString data) … … 21379 28164 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input) 21380 28165 throws java.io.IOException { 21381 return PARSER.parseFrom(input); 28166 return com.google.protobuf.GeneratedMessageV3 28167 .parseWithIOException(PARSER, input); 21382 28168 } 21383 28169 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( … … 21385 28171 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 21386 28172 throws java.io.IOException { 21387 return PARSER.parseFrom(input, extensionRegistry); 28173 return com.google.protobuf.GeneratedMessageV3 28174 .parseWithIOException(PARSER, input, extensionRegistry); 21388 28175 } 21389 28176 public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input) 21390 28177 throws java.io.IOException { 21391 return PARSER.parseDelimitedFrom(input); 28178 return com.google.protobuf.GeneratedMessageV3 28179 .parseDelimitedWithIOException(PARSER, input); 21392 28180 } 21393 28181 public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom( … … 21395 28183 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 21396 28184 throws java.io.IOException { 21397 return PARSER.parseDelimitedFrom(input, extensionRegistry); 28185 return com.google.protobuf.GeneratedMessageV3 28186 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 21398 28187 } 21399 28188 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( 21400 28189 com.google.protobuf.CodedInputStream input) 21401 28190 throws java.io.IOException { 21402 return PARSER.parseFrom(input); 28191 return com.google.protobuf.GeneratedMessageV3 28192 .parseWithIOException(PARSER, input); 21403 28193 } 21404 28194 public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom( … … 21406 28196 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 21407 28197 throws java.io.IOException { 21408 return PARSER.parseFrom(input, extensionRegistry); 21409 } 21410 21411 public static Builder newBuilder() { return Builder.create(); } 21412 @Override 21413 public Builder newBuilderForType() { return newBuilder(); } 28198 return com.google.protobuf.GeneratedMessageV3 28199 .parseWithIOException(PARSER, input, extensionRegistry); 28200 } 28201 28202 public Builder newBuilderForType() { return newBuilder(); } 28203 public static Builder newBuilder() { 28204 return DEFAULT_INSTANCE.toBuilder(); 28205 } 21414 28206 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumOptions prototype) { 21415 return newBuilder().mergeFrom(prototype); 21416 } 21417 @Override 21418 public Builder toBuilder() { return newBuilder(this); } 28207 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 28208 } 28209 public Builder toBuilder() { 28210 return this == DEFAULT_INSTANCE 28211 ? new Builder() : new Builder().mergeFrom(this); 28212 } 21419 28213 21420 28214 @java.lang.Override 21421 28215 protected Builder newBuilderForType( 21422 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 28216 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 21423 28217 Builder builder = new Builder(parent); 21424 28218 return builder; … … 21428 28222 */ 21429 28223 public static final class Builder extends 21430 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 28224 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 21431 28225 com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements 21432 28226 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumOptions) … … 21437 28231 } 21438 28232 21439 @Override 21440 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 28233 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 21441 28234 internalGetFieldAccessorTable() { 21442 28235 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable … … 21451 28244 21452 28245 private Builder( 21453 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 28246 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 21454 28247 super(parent); 21455 28248 maybeForceBuilderInitialization(); 21456 28249 } 21457 28250 private void maybeForceBuilderInitialization() { 21458 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 28251 if (com.google.protobuf.GeneratedMessageV3 28252 .alwaysUseFieldBuilders) { 21459 28253 getUninterpretedOptionFieldBuilder(); 21460 28254 } 21461 28255 } 21462 private static Builder create() { 21463 return new Builder(); 21464 } 21465 21466 @Override 21467 public Builder clear() { 28256 public Builder clear() { 21468 28257 super.clear(); 21469 28258 allowAlias_ = false; … … 21480 28269 } 21481 28270 21482 @Override 21483 public Builder clone() { 21484 return create().mergeFrom(buildPartial()); 21485 } 21486 21487 @Override 21488 public com.google.protobuf.Descriptors.Descriptor 28271 public com.google.protobuf.Descriptors.Descriptor 21489 28272 getDescriptorForType() { 21490 28273 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor; 21491 28274 } 21492 28275 21493 @Override 21494 public com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstanceForType() { 28276 public com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstanceForType() { 21495 28277 return com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance(); 21496 28278 } 21497 28279 21498 @Override 21499 public com.google.protobuf.DescriptorProtos.EnumOptions build() { 28280 public com.google.protobuf.DescriptorProtos.EnumOptions build() { 21500 28281 com.google.protobuf.DescriptorProtos.EnumOptions result = buildPartial(); 21501 28282 if (!result.isInitialized()) { … … 21505 28286 } 21506 28287 21507 @Override 21508 public com.google.protobuf.DescriptorProtos.EnumOptions buildPartial() { 28288 public com.google.protobuf.DescriptorProtos.EnumOptions buildPartial() { 21509 28289 com.google.protobuf.DescriptorProtos.EnumOptions result = new com.google.protobuf.DescriptorProtos.EnumOptions(this); 21510 28290 int from_bitField0_ = bitField0_; … … 21532 28312 } 21533 28313 21534 @Override 21535 public Builder mergeFrom(com.google.protobuf.Message other) { 28314 public Builder clone() { 28315 return (Builder) super.clone(); 28316 } 28317 public Builder setField( 28318 com.google.protobuf.Descriptors.FieldDescriptor field, 28319 java.lang.Object value) { 28320 return (Builder) super.setField(field, value); 28321 } 28322 public Builder clearField( 28323 com.google.protobuf.Descriptors.FieldDescriptor field) { 28324 return (Builder) super.clearField(field); 28325 } 28326 public Builder clearOneof( 28327 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 28328 return (Builder) super.clearOneof(oneof); 28329 } 28330 public Builder setRepeatedField( 28331 com.google.protobuf.Descriptors.FieldDescriptor field, 28332 int index, java.lang.Object value) { 28333 return (Builder) super.setRepeatedField(field, index, value); 28334 } 28335 public Builder addRepeatedField( 28336 com.google.protobuf.Descriptors.FieldDescriptor field, 28337 java.lang.Object value) { 28338 return (Builder) super.addRepeatedField(field, value); 28339 } 28340 public <Type> Builder setExtension( 28341 com.google.protobuf.GeneratedMessage.GeneratedExtension< 28342 com.google.protobuf.DescriptorProtos.EnumOptions, Type> extension, 28343 Type value) { 28344 return (Builder) super.setExtension(extension, value); 28345 } 28346 public <Type> Builder setExtension( 28347 com.google.protobuf.GeneratedMessage.GeneratedExtension< 28348 com.google.protobuf.DescriptorProtos.EnumOptions, java.util.List<Type>> extension, 28349 int index, Type value) { 28350 return (Builder) super.setExtension(extension, index, value); 28351 } 28352 public <Type> Builder addExtension( 28353 com.google.protobuf.GeneratedMessage.GeneratedExtension< 28354 com.google.protobuf.DescriptorProtos.EnumOptions, java.util.List<Type>> extension, 28355 Type value) { 28356 return (Builder) super.addExtension(extension, value); 28357 } 28358 public <Type> Builder clearExtension( 28359 com.google.protobuf.GeneratedMessage.GeneratedExtension< 28360 com.google.protobuf.DescriptorProtos.EnumOptions, ?> extension) { 28361 return (Builder) super.clearExtension(extension); 28362 } 28363 public Builder mergeFrom(com.google.protobuf.Message other) { 21536 28364 if (other instanceof com.google.protobuf.DescriptorProtos.EnumOptions) { 21537 28365 return mergeFrom((com.google.protobuf.DescriptorProtos.EnumOptions)other); … … 21568 28396 uninterpretedOption_ = other.uninterpretedOption_; 21569 28397 bitField0_ = (bitField0_ & ~0x00000004); 21570 uninterpretedOptionBuilder_ = 21571 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 28398 uninterpretedOptionBuilder_ = 28399 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 21572 28400 getUninterpretedOptionFieldBuilder() : null; 21573 28401 } else { … … 21577 28405 } 21578 28406 this.mergeExtensionFields(other); 21579 this.mergeUnknownFields(other. getUnknownFields());21580 return this;21581 }21582 21583 @Override 21584 28407 this.mergeUnknownFields(other.unknownFields); 28408 onChanged(); 28409 return this; 28410 } 28411 28412 public final boolean isInitialized() { 21585 28413 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 21586 28414 if (!getUninterpretedOption(i).isInitialized()) { 21587 21588 28415 return false; 21589 28416 } 21590 28417 } 21591 28418 if (!extensionsAreInitialized()) { 21592 21593 28419 return false; 21594 28420 } … … 21596 28422 } 21597 28423 21598 @Override 21599 public Builder mergeFrom( 28424 public Builder mergeFrom( 21600 28425 com.google.protobuf.CodedInputStream input, 21601 28426 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 21606 28431 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 21607 28432 parsedMessage = (com.google.protobuf.DescriptorProtos.EnumOptions) e.getUnfinishedMessage(); 21608 throw e; 28433 throw e.unwrapIOException(); 21609 28434 } finally { 21610 28435 if (parsedMessage != null) { … … 21618 28443 private boolean allowAlias_ ; 21619 28444 /** 21620 * <code>optional bool allow_alias = 2;</code>21621 *21622 28445 * <pre> 21623 28446 * Set this option to true to allow mapping different tag names to the same 21624 28447 * value. 21625 28448 * </pre> 21626 */ 21627 @Override 21628 public boolean hasAllowAlias() { 28449 * 28450 * <code>optional bool allow_alias = 2;</code> 28451 */ 28452 public boolean hasAllowAlias() { 21629 28453 return ((bitField0_ & 0x00000001) == 0x00000001); 21630 28454 } 21631 28455 /** 21632 * <code>optional bool allow_alias = 2;</code>21633 *21634 28456 * <pre> 21635 28457 * Set this option to true to allow mapping different tag names to the same 21636 28458 * value. 21637 28459 * </pre> 21638 */ 21639 @Override 21640 public boolean getAllowAlias() { 28460 * 28461 * <code>optional bool allow_alias = 2;</code> 28462 */ 28463 public boolean getAllowAlias() { 21641 28464 return allowAlias_; 21642 28465 } 21643 28466 /** 21644 * <code>optional bool allow_alias = 2;</code>21645 *21646 28467 * <pre> 21647 28468 * Set this option to true to allow mapping different tag names to the same 21648 28469 * value. 21649 28470 * </pre> 28471 * 28472 * <code>optional bool allow_alias = 2;</code> 21650 28473 */ 21651 28474 public Builder setAllowAlias(boolean value) { … … 21656 28479 } 21657 28480 /** 21658 * <code>optional bool allow_alias = 2;</code>21659 *21660 28481 * <pre> 21661 28482 * Set this option to true to allow mapping different tag names to the same 21662 28483 * value. 21663 28484 * </pre> 28485 * 28486 * <code>optional bool allow_alias = 2;</code> 21664 28487 */ 21665 28488 public Builder clearAllowAlias() { … … 21672 28495 private boolean deprecated_ ; 21673 28496 /** 21674 * <code>optional bool deprecated = 3 [default = false];</code>21675 *21676 28497 * <pre> 21677 28498 * Is this enum deprecated? … … 21680 28501 * is a formalization for deprecating enums. 21681 28502 * </pre> 21682 */ 21683 @Override 21684 public boolean hasDeprecated() { 28503 * 28504 * <code>optional bool deprecated = 3 [default = false];</code> 28505 */ 28506 public boolean hasDeprecated() { 21685 28507 return ((bitField0_ & 0x00000002) == 0x00000002); 21686 28508 } 21687 28509 /** 21688 * <code>optional bool deprecated = 3 [default = false];</code>21689 *21690 28510 * <pre> 21691 28511 * Is this enum deprecated? … … 21694 28514 * is a formalization for deprecating enums. 21695 28515 * </pre> 21696 */ 21697 @Override 21698 public boolean getDeprecated() { 28516 * 28517 * <code>optional bool deprecated = 3 [default = false];</code> 28518 */ 28519 public boolean getDeprecated() { 21699 28520 return deprecated_; 21700 28521 } 21701 28522 /** 21702 * <code>optional bool deprecated = 3 [default = false];</code>21703 *21704 28523 * <pre> 21705 28524 * Is this enum deprecated? … … 21708 28527 * is a formalization for deprecating enums. 21709 28528 * </pre> 28529 * 28530 * <code>optional bool deprecated = 3 [default = false];</code> 21710 28531 */ 21711 28532 public Builder setDeprecated(boolean value) { … … 21716 28537 } 21717 28538 /** 21718 * <code>optional bool deprecated = 3 [default = false];</code>21719 *21720 28539 * <pre> 21721 28540 * Is this enum deprecated? … … 21724 28543 * is a formalization for deprecating enums. 21725 28544 * </pre> 28545 * 28546 * <code>optional bool deprecated = 3 [default = false];</code> 21726 28547 */ 21727 28548 public Builder clearDeprecated() { … … 21736 28557 private void ensureUninterpretedOptionIsMutable() { 21737 28558 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 21738 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 28559 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 21739 28560 bitField0_ |= 0x00000004; 21740 28561 } 21741 28562 } 21742 28563 21743 private com.google.protobuf.RepeatedFieldBuilder< 28564 private com.google.protobuf.RepeatedFieldBuilderV3< 21744 28565 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 21745 28566 21746 28567 /** 28568 * <pre> 28569 * The parser stores options it doesn't recognize here. See above. 28570 * </pre> 28571 * 21747 28572 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21748 * 21749 * <pre> 21750 * The parser stores options it doesn't recognize here. See above. 21751 * </pre> 21752 */ 21753 @Override 21754 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 28573 */ 28574 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 21755 28575 if (uninterpretedOptionBuilder_ == null) { 21756 28576 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 21760 28580 } 21761 28581 /** 28582 * <pre> 28583 * The parser stores options it doesn't recognize here. See above. 28584 * </pre> 28585 * 21762 28586 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21763 * 21764 * <pre> 21765 * The parser stores options it doesn't recognize here. See above. 21766 * </pre> 21767 */ 21768 @Override 21769 public int getUninterpretedOptionCount() { 28587 */ 28588 public int getUninterpretedOptionCount() { 21770 28589 if (uninterpretedOptionBuilder_ == null) { 21771 28590 return uninterpretedOption_.size(); … … 21775 28594 } 21776 28595 /** 28596 * <pre> 28597 * The parser stores options it doesn't recognize here. See above. 28598 * </pre> 28599 * 21777 28600 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21778 * 21779 * <pre> 21780 * The parser stores options it doesn't recognize here. See above. 21781 * </pre> 21782 */ 21783 @Override 21784 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 28601 */ 28602 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 21785 28603 if (uninterpretedOptionBuilder_ == null) { 21786 28604 return uninterpretedOption_.get(index); … … 21790 28608 } 21791 28609 /** 28610 * <pre> 28611 * The parser stores options it doesn't recognize here. See above. 28612 * </pre> 28613 * 21792 28614 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21793 *21794 * <pre>21795 * The parser stores options it doesn't recognize here. See above.21796 * </pre>21797 28615 */ 21798 28616 public Builder setUninterpretedOption( … … 21811 28629 } 21812 28630 /** 28631 * <pre> 28632 * The parser stores options it doesn't recognize here. See above. 28633 * </pre> 28634 * 21813 28635 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21814 *21815 * <pre>21816 * The parser stores options it doesn't recognize here. See above.21817 * </pre>21818 28636 */ 21819 28637 public Builder setUninterpretedOption( … … 21829 28647 } 21830 28648 /** 28649 * <pre> 28650 * The parser stores options it doesn't recognize here. See above. 28651 * </pre> 28652 * 21831 28653 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21832 *21833 * <pre>21834 * The parser stores options it doesn't recognize here. See above.21835 * </pre>21836 28654 */ 21837 28655 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 21849 28667 } 21850 28668 /** 28669 * <pre> 28670 * The parser stores options it doesn't recognize here. See above. 28671 * </pre> 28672 * 21851 28673 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21852 *21853 * <pre>21854 * The parser stores options it doesn't recognize here. See above.21855 * </pre>21856 28674 */ 21857 28675 public Builder addUninterpretedOption( … … 21870 28688 } 21871 28689 /** 28690 * <pre> 28691 * The parser stores options it doesn't recognize here. See above. 28692 * </pre> 28693 * 21872 28694 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21873 *21874 * <pre>21875 * The parser stores options it doesn't recognize here. See above.21876 * </pre>21877 28695 */ 21878 28696 public Builder addUninterpretedOption( … … 21888 28706 } 21889 28707 /** 28708 * <pre> 28709 * The parser stores options it doesn't recognize here. See above. 28710 * </pre> 28711 * 21890 28712 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21891 *21892 * <pre>21893 * The parser stores options it doesn't recognize here. See above.21894 * </pre>21895 28713 */ 21896 28714 public Builder addUninterpretedOption( … … 21906 28724 } 21907 28725 /** 28726 * <pre> 28727 * The parser stores options it doesn't recognize here. See above. 28728 * </pre> 28729 * 21908 28730 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21909 *21910 * <pre>21911 * The parser stores options it doesn't recognize here. See above.21912 * </pre>21913 28731 */ 21914 28732 public Builder addAllUninterpretedOption( … … 21925 28743 } 21926 28744 /** 28745 * <pre> 28746 * The parser stores options it doesn't recognize here. See above. 28747 * </pre> 28748 * 21927 28749 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21928 *21929 * <pre>21930 * The parser stores options it doesn't recognize here. See above.21931 * </pre>21932 28750 */ 21933 28751 public Builder clearUninterpretedOption() { … … 21942 28760 } 21943 28761 /** 28762 * <pre> 28763 * The parser stores options it doesn't recognize here. See above. 28764 * </pre> 28765 * 21944 28766 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21945 *21946 * <pre>21947 * The parser stores options it doesn't recognize here. See above.21948 * </pre>21949 28767 */ 21950 28768 public Builder removeUninterpretedOption(int index) { … … 21959 28777 } 21960 28778 /** 28779 * <pre> 28780 * The parser stores options it doesn't recognize here. See above. 28781 * </pre> 28782 * 21961 28783 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21962 *21963 * <pre>21964 * The parser stores options it doesn't recognize here. See above.21965 * </pre>21966 28784 */ 21967 28785 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 21970 28788 } 21971 28789 /** 28790 * <pre> 28791 * The parser stores options it doesn't recognize here. See above. 28792 * </pre> 28793 * 21972 28794 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21973 * 21974 * <pre> 21975 * The parser stores options it doesn't recognize here. See above. 21976 * </pre> 21977 */ 21978 @Override 21979 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 28795 */ 28796 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 21980 28797 int index) { 21981 28798 if (uninterpretedOptionBuilder_ == null) { … … 21985 28802 } 21986 28803 /** 28804 * <pre> 28805 * The parser stores options it doesn't recognize here. See above. 28806 * </pre> 28807 * 21987 28808 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 21988 * 21989 * <pre> 21990 * The parser stores options it doesn't recognize here. See above. 21991 * </pre> 21992 */ 21993 @Override 21994 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 28809 */ 28810 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 21995 28811 getUninterpretedOptionOrBuilderList() { 21996 28812 if (uninterpretedOptionBuilder_ != null) { … … 22001 28817 } 22002 28818 /** 28819 * <pre> 28820 * The parser stores options it doesn't recognize here. See above. 28821 * </pre> 28822 * 22003 28823 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22004 *22005 * <pre>22006 * The parser stores options it doesn't recognize here. See above.22007 * </pre>22008 28824 */ 22009 28825 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 22012 28828 } 22013 28829 /** 28830 * <pre> 28831 * The parser stores options it doesn't recognize here. See above. 28832 * </pre> 28833 * 22014 28834 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22015 *22016 * <pre>22017 * The parser stores options it doesn't recognize here. See above.22018 * </pre>22019 28835 */ 22020 28836 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 22024 28840 } 22025 28841 /** 28842 * <pre> 28843 * The parser stores options it doesn't recognize here. See above. 28844 * </pre> 28845 * 22026 28846 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22027 * 22028 * <pre> 22029 * The parser stores options it doesn't recognize here. See above. 22030 * </pre> 22031 */ 22032 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 28847 */ 28848 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 22033 28849 getUninterpretedOptionBuilderList() { 22034 28850 return getUninterpretedOptionFieldBuilder().getBuilderList(); 22035 28851 } 22036 private com.google.protobuf.RepeatedFieldBuilder< 22037 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 28852 private com.google.protobuf.RepeatedFieldBuilderV3< 28853 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22038 28854 getUninterpretedOptionFieldBuilder() { 22039 28855 if (uninterpretedOptionBuilder_ == null) { 22040 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 28856 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 28857 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 22041 28858 uninterpretedOption_, 22042 28859 ((bitField0_ & 0x00000004) == 0x00000004), … … 22047 28864 return uninterpretedOptionBuilder_; 22048 28865 } 28866 public final Builder setUnknownFields( 28867 final com.google.protobuf.UnknownFieldSet unknownFields) { 28868 return super.setUnknownFields(unknownFields); 28869 } 28870 28871 public final Builder mergeUnknownFields( 28872 final com.google.protobuf.UnknownFieldSet unknownFields) { 28873 return super.mergeUnknownFields(unknownFields); 28874 } 28875 22049 28876 22050 28877 // @@protoc_insertion_point(builder_scope:google.protobuf.EnumOptions) 22051 28878 } 22052 28879 28880 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) 28881 private static final com.google.protobuf.DescriptorProtos.EnumOptions DEFAULT_INSTANCE; 22053 28882 static { 22054 defaultInstance = new EnumOptions(true); 22055 defaultInstance.initFields(); 22056 } 22057 22058 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) 28883 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.EnumOptions(); 28884 } 28885 28886 public static com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstance() { 28887 return DEFAULT_INSTANCE; 28888 } 28889 28890 @java.lang.Deprecated public static final com.google.protobuf.Parser<EnumOptions> 28891 PARSER = new com.google.protobuf.AbstractParser<EnumOptions>() { 28892 public EnumOptions parsePartialFrom( 28893 com.google.protobuf.CodedInputStream input, 28894 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 28895 throws com.google.protobuf.InvalidProtocolBufferException { 28896 return new EnumOptions(input, extensionRegistry); 28897 } 28898 }; 28899 28900 public static com.google.protobuf.Parser<EnumOptions> parser() { 28901 return PARSER; 28902 } 28903 28904 @java.lang.Override 28905 public com.google.protobuf.Parser<EnumOptions> getParserForType() { 28906 return PARSER; 28907 } 28908 28909 public com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstanceForType() { 28910 return DEFAULT_INSTANCE; 28911 } 28912 22059 28913 } 22060 28914 22061 28915 public interface EnumValueOptionsOrBuilder extends 22062 28916 // @@protoc_insertion_point(interface_extends:google.protobuf.EnumValueOptions) 22063 com.google.protobuf.GeneratedMessage. 28917 com.google.protobuf.GeneratedMessageV3. 22064 28918 ExtendableMessageOrBuilder<EnumValueOptions> { 22065 28919 22066 28920 /** 22067 * <code>optional bool deprecated = 1 [default = false];</code>22068 *22069 28921 * <pre> 22070 28922 * Is this enum value deprecated? … … 22073 28925 * this is a formalization for deprecating enum values. 22074 28926 * </pre> 28927 * 28928 * <code>optional bool deprecated = 1 [default = false];</code> 22075 28929 */ 22076 28930 boolean hasDeprecated(); 22077 28931 /** 22078 * <code>optional bool deprecated = 1 [default = false];</code>22079 *22080 28932 * <pre> 22081 28933 * Is this enum value deprecated? … … 22084 28936 * this is a formalization for deprecating enum values. 22085 28937 * </pre> 28938 * 28939 * <code>optional bool deprecated = 1 [default = false];</code> 22086 28940 */ 22087 28941 boolean getDeprecated(); 22088 28942 22089 28943 /** 22090 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22091 *22092 28944 * <pre> 22093 28945 * The parser stores options it doesn't recognize here. See above. 22094 28946 * </pre> 22095 */ 22096 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 28947 * 28948 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 28949 */ 28950 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 22097 28951 getUninterpretedOptionList(); 22098 28952 /** 22099 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22100 *22101 28953 * <pre> 22102 28954 * The parser stores options it doesn't recognize here. See above. 22103 28955 * </pre> 28956 * 28957 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22104 28958 */ 22105 28959 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 22106 28960 /** 22107 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22108 *22109 28961 * <pre> 22110 28962 * The parser stores options it doesn't recognize here. See above. 22111 28963 * </pre> 28964 * 28965 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22112 28966 */ 22113 28967 int getUninterpretedOptionCount(); 22114 28968 /** 22115 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22116 *22117 28969 * <pre> 22118 28970 * The parser stores options it doesn't recognize here. See above. 22119 28971 * </pre> 22120 */ 22121 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 28972 * 28973 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 28974 */ 28975 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22122 28976 getUninterpretedOptionOrBuilderList(); 22123 28977 /** 22124 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22125 *22126 28978 * <pre> 22127 28979 * The parser stores options it doesn't recognize here. See above. 22128 28980 * </pre> 28981 * 28982 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22129 28983 */ 22130 28984 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 22134 28988 * Protobuf type {@code google.protobuf.EnumValueOptions} 22135 28989 */ 22136 public static final class EnumValueOptions extends 22137 com.google.protobuf.GeneratedMessage.ExtendableMessage< 28990 public static final class EnumValueOptions extends 28991 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 22138 28992 EnumValueOptions> implements 22139 28993 // @@protoc_insertion_point(message_implements:google.protobuf.EnumValueOptions) 22140 28994 EnumValueOptionsOrBuilder { 28995 private static final long serialVersionUID = 0L; 22141 28996 // Use EnumValueOptions.newBuilder() to construct. 22142 private EnumValueOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumValueOptions, ?> builder) { 28997 private EnumValueOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.EnumValueOptions, ?> builder) { 22143 28998 super(builder); 22144 this.unknownFields = builder.getUnknownFields(); 22145 } 22146 private EnumValueOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 22147 22148 private static final EnumValueOptions defaultInstance; 22149 public static EnumValueOptions getDefaultInstance() { 22150 return defaultInstance; 22151 } 22152 22153 @Override 22154 public EnumValueOptions getDefaultInstanceForType() { 22155 return defaultInstance; 22156 } 22157 22158 private final com.google.protobuf.UnknownFieldSet unknownFields; 28999 } 29000 private EnumValueOptions() { 29001 deprecated_ = false; 29002 uninterpretedOption_ = java.util.Collections.emptyList(); 29003 } 29004 22159 29005 @java.lang.Override 22160 29006 public final com.google.protobuf.UnknownFieldSet 22161 29007 getUnknownFields() { 22162 29008 return this.unknownFields; 22163 29009 } … … 22166 29012 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 22167 29013 throws com.google.protobuf.InvalidProtocolBufferException { 22168 initFields();29014 this(); 22169 29015 int mutable_bitField0_ = 0; 22170 29016 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 22179 29025 break; 22180 29026 default: { 22181 if (!parseUnknownField( input, unknownFields,22182 29027 if (!parseUnknownField( 29028 input, unknownFields, extensionRegistry, tag)) { 22183 29029 done = true; 22184 29030 } … … 22192 29038 case 7994: { 22193 29039 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 22194 uninterpretedOption_ = new java.util.ArrayList<>(); 29040 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 22195 29041 mutable_bitField0_ |= 0x00000002; 22196 29042 } 22197 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 29043 uninterpretedOption_.add( 29044 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 22198 29045 break; 22199 29046 } … … 22204 29051 } catch (java.io.IOException e) { 22205 29052 throw new com.google.protobuf.InvalidProtocolBufferException( 22206 e .getMessage()).setUnfinishedMessage(this);29053 e).setUnfinishedMessage(this); 22207 29054 } finally { 22208 29055 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { … … 22218 29065 } 22219 29066 22220 @Override 22221 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 29067 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 22222 29068 internalGetFieldAccessorTable() { 22223 29069 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable … … 22226 29072 } 22227 29073 22228 public static com.google.protobuf.Parser<EnumValueOptions> PARSER =22229 new com.google.protobuf.AbstractParser<EnumValueOptions>() {22230 @Override22231 public EnumValueOptions parsePartialFrom(22232 com.google.protobuf.CodedInputStream input,22233 com.google.protobuf.ExtensionRegistryLite extensionRegistry)22234 throws com.google.protobuf.InvalidProtocolBufferException {22235 return new EnumValueOptions(input, extensionRegistry);22236 }22237 };22238 22239 @java.lang.Override22240 public com.google.protobuf.Parser<EnumValueOptions> getParserForType() {22241 return PARSER;22242 }22243 22244 29074 private int bitField0_; 22245 29075 public static final int DEPRECATED_FIELD_NUMBER = 1; 22246 29076 private boolean deprecated_; 22247 29077 /** 22248 * <code>optional bool deprecated = 1 [default = false];</code>22249 *22250 29078 * <pre> 22251 29079 * Is this enum value deprecated? … … 22254 29082 * this is a formalization for deprecating enum values. 22255 29083 * </pre> 22256 */ 22257 @Override 22258 public boolean hasDeprecated() { 29084 * 29085 * <code>optional bool deprecated = 1 [default = false];</code> 29086 */ 29087 public boolean hasDeprecated() { 22259 29088 return ((bitField0_ & 0x00000001) == 0x00000001); 22260 29089 } 22261 29090 /** 22262 * <code>optional bool deprecated = 1 [default = false];</code>22263 *22264 29091 * <pre> 22265 29092 * Is this enum value deprecated? … … 22268 29095 * this is a formalization for deprecating enum values. 22269 29096 * </pre> 22270 */ 22271 @Override 22272 public boolean getDeprecated() { 29097 * 29098 * <code>optional bool deprecated = 1 [default = false];</code> 29099 */ 29100 public boolean getDeprecated() { 22273 29101 return deprecated_; 22274 29102 } … … 22277 29105 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 22278 29106 /** 22279 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22280 *22281 29107 * <pre> 22282 29108 * The parser stores options it doesn't recognize here. See above. 22283 29109 * </pre> 22284 */ 22285 @Override 22286 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 29110 * 29111 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 29112 */ 29113 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 22287 29114 return uninterpretedOption_; 22288 29115 } 22289 29116 /** 22290 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22291 *22292 29117 * <pre> 22293 29118 * The parser stores options it doesn't recognize here. See above. 22294 29119 * </pre> 22295 */ 22296 @Override 22297 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 29120 * 29121 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 29122 */ 29123 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22298 29124 getUninterpretedOptionOrBuilderList() { 22299 29125 return uninterpretedOption_; 22300 29126 } 22301 29127 /** 22302 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22303 *22304 29128 * <pre> 22305 29129 * The parser stores options it doesn't recognize here. See above. 22306 29130 * </pre> 22307 */ 22308 @Override 22309 public int getUninterpretedOptionCount() { 29131 * 29132 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 29133 */ 29134 public int getUninterpretedOptionCount() { 22310 29135 return uninterpretedOption_.size(); 22311 29136 } 22312 29137 /** 22313 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22314 *22315 29138 * <pre> 22316 29139 * The parser stores options it doesn't recognize here. See above. 22317 29140 * </pre> 22318 */ 22319 @Override 22320 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 29141 * 29142 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 29143 */ 29144 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 22321 29145 return uninterpretedOption_.get(index); 22322 29146 } 22323 29147 /** 22324 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>22325 *22326 29148 * <pre> 22327 29149 * The parser stores options it doesn't recognize here. See above. 22328 29150 * </pre> 22329 */ 22330 @Override 22331 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 29151 * 29152 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 29153 */ 29154 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 22332 29155 int index) { 22333 29156 return uninterpretedOption_.get(index); 22334 29157 } 22335 29158 22336 private void initFields() {22337 deprecated_ = false;22338 uninterpretedOption_ = java.util.Collections.emptyList();22339 }22340 29159 private byte memoizedIsInitialized = -1; 22341 @Override 22342 public final boolean isInitialized() { 29160 public final boolean isInitialized() { 22343 29161 byte isInitialized = memoizedIsInitialized; 22344 29162 if (isInitialized == 1) return true; … … 22359 29177 } 22360 29178 22361 @Override 22362 public void writeTo(com.google.protobuf.CodedOutputStream output) 29179 public void writeTo(com.google.protobuf.CodedOutputStream output) 22363 29180 throws java.io.IOException { 22364 getSerializedSize(); 22365 com.google.protobuf.GeneratedMessage 22366 .ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumValueOptions>.ExtensionWriter extensionWriter = 22367 newExtensionWriter(); 29181 com.google.protobuf.GeneratedMessageV3 29182 .ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumValueOptions>.ExtensionWriter 29183 extensionWriter = newExtensionWriter(); 22368 29184 if (((bitField0_ & 0x00000001) == 0x00000001)) { 22369 29185 output.writeBool(1, deprecated_); … … 22373 29189 } 22374 29190 extensionWriter.writeUntil(536870912, output); 22375 getUnknownFields().writeTo(output); 22376 } 22377 22378 private int memoizedSerializedSize = -1; 22379 @Override 22380 public int getSerializedSize() { 22381 int size = memoizedSerializedSize; 29191 unknownFields.writeTo(output); 29192 } 29193 29194 public int getSerializedSize() { 29195 int size = memoizedSize; 22382 29196 if (size != -1) return size; 22383 29197 … … 22392 29206 } 22393 29207 size += extensionsSerializedSize(); 22394 size += getUnknownFields().getSerializedSize();22395 memoizedS erializedSize = size;29208 size += unknownFields.getSerializedSize(); 29209 memoizedSize = size; 22396 29210 return size; 22397 29211 } 22398 29212 22399 private static final long serialVersionUID = 0L;22400 29213 @java.lang.Override 22401 protected java.lang.Object writeReplace() 22402 throws java.io.ObjectStreamException { 22403 return super.writeReplace(); 22404 } 22405 29214 public boolean equals(final java.lang.Object obj) { 29215 if (obj == this) { 29216 return true; 29217 } 29218 if (!(obj instanceof com.google.protobuf.DescriptorProtos.EnumValueOptions)) { 29219 return super.equals(obj); 29220 } 29221 com.google.protobuf.DescriptorProtos.EnumValueOptions other = (com.google.protobuf.DescriptorProtos.EnumValueOptions) obj; 29222 29223 boolean result = true; 29224 result = result && (hasDeprecated() == other.hasDeprecated()); 29225 if (hasDeprecated()) { 29226 result = result && (getDeprecated() 29227 == other.getDeprecated()); 29228 } 29229 result = result && getUninterpretedOptionList() 29230 .equals(other.getUninterpretedOptionList()); 29231 result = result && unknownFields.equals(other.unknownFields); 29232 result = result && 29233 getExtensionFields().equals(other.getExtensionFields()); 29234 return result; 29235 } 29236 29237 @java.lang.Override 29238 public int hashCode() { 29239 if (memoizedHashCode != 0) { 29240 return memoizedHashCode; 29241 } 29242 int hash = 41; 29243 hash = (19 * hash) + getDescriptor().hashCode(); 29244 if (hasDeprecated()) { 29245 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 29246 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 29247 getDeprecated()); 29248 } 29249 if (getUninterpretedOptionCount() > 0) { 29250 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 29251 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 29252 } 29253 hash = hashFields(hash, getExtensionFields()); 29254 hash = (29 * hash) + unknownFields.hashCode(); 29255 memoizedHashCode = hash; 29256 return hash; 29257 } 29258 29259 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( 29260 java.nio.ByteBuffer data) 29261 throws com.google.protobuf.InvalidProtocolBufferException { 29262 return PARSER.parseFrom(data); 29263 } 29264 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( 29265 java.nio.ByteBuffer data, 29266 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 29267 throws com.google.protobuf.InvalidProtocolBufferException { 29268 return PARSER.parseFrom(data, extensionRegistry); 29269 } 22406 29270 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( 22407 29271 com.google.protobuf.ByteString data) … … 22427 29291 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(java.io.InputStream input) 22428 29292 throws java.io.IOException { 22429 return PARSER.parseFrom(input); 29293 return com.google.protobuf.GeneratedMessageV3 29294 .parseWithIOException(PARSER, input); 22430 29295 } 22431 29296 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( … … 22433 29298 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 22434 29299 throws java.io.IOException { 22435 return PARSER.parseFrom(input, extensionRegistry); 29300 return com.google.protobuf.GeneratedMessageV3 29301 .parseWithIOException(PARSER, input, extensionRegistry); 22436 29302 } 22437 29303 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom(java.io.InputStream input) 22438 29304 throws java.io.IOException { 22439 return PARSER.parseDelimitedFrom(input); 29305 return com.google.protobuf.GeneratedMessageV3 29306 .parseDelimitedWithIOException(PARSER, input); 22440 29307 } 22441 29308 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom( … … 22443 29310 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 22444 29311 throws java.io.IOException { 22445 return PARSER.parseDelimitedFrom(input, extensionRegistry); 29312 return com.google.protobuf.GeneratedMessageV3 29313 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 22446 29314 } 22447 29315 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( 22448 29316 com.google.protobuf.CodedInputStream input) 22449 29317 throws java.io.IOException { 22450 return PARSER.parseFrom(input); 29318 return com.google.protobuf.GeneratedMessageV3 29319 .parseWithIOException(PARSER, input); 22451 29320 } 22452 29321 public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom( … … 22454 29323 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 22455 29324 throws java.io.IOException { 22456 return PARSER.parseFrom(input, extensionRegistry); 22457 } 22458 22459 public static Builder newBuilder() { return Builder.create(); } 22460 @Override 22461 public Builder newBuilderForType() { return newBuilder(); } 29325 return com.google.protobuf.GeneratedMessageV3 29326 .parseWithIOException(PARSER, input, extensionRegistry); 29327 } 29328 29329 public Builder newBuilderForType() { return newBuilder(); } 29330 public static Builder newBuilder() { 29331 return DEFAULT_INSTANCE.toBuilder(); 29332 } 22462 29333 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueOptions prototype) { 22463 return newBuilder().mergeFrom(prototype); 22464 } 22465 @Override 22466 public Builder toBuilder() { return newBuilder(this); } 29334 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 29335 } 29336 public Builder toBuilder() { 29337 return this == DEFAULT_INSTANCE 29338 ? new Builder() : new Builder().mergeFrom(this); 29339 } 22467 29340 22468 29341 @java.lang.Override 22469 29342 protected Builder newBuilderForType( 22470 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 29343 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 22471 29344 Builder builder = new Builder(parent); 22472 29345 return builder; … … 22476 29349 */ 22477 29350 public static final class Builder extends 22478 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 29351 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 22479 29352 com.google.protobuf.DescriptorProtos.EnumValueOptions, Builder> implements 22480 29353 // @@protoc_insertion_point(builder_implements:google.protobuf.EnumValueOptions) … … 22485 29358 } 22486 29359 22487 @Override 22488 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 29360 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 22489 29361 internalGetFieldAccessorTable() { 22490 29362 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable … … 22499 29371 22500 29372 private Builder( 22501 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 29373 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 22502 29374 super(parent); 22503 29375 maybeForceBuilderInitialization(); 22504 29376 } 22505 29377 private void maybeForceBuilderInitialization() { 22506 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 29378 if (com.google.protobuf.GeneratedMessageV3 29379 .alwaysUseFieldBuilders) { 22507 29380 getUninterpretedOptionFieldBuilder(); 22508 29381 } 22509 29382 } 22510 private static Builder create() { 22511 return new Builder(); 22512 } 22513 22514 @Override 22515 public Builder clear() { 29383 public Builder clear() { 22516 29384 super.clear(); 22517 29385 deprecated_ = false; … … 22526 29394 } 22527 29395 22528 @Override 22529 public Builder clone() { 22530 return create().mergeFrom(buildPartial()); 22531 } 22532 22533 @Override 22534 public com.google.protobuf.Descriptors.Descriptor 29396 public com.google.protobuf.Descriptors.Descriptor 22535 29397 getDescriptorForType() { 22536 29398 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor; 22537 29399 } 22538 29400 22539 @Override 22540 public com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstanceForType() { 29401 public com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstanceForType() { 22541 29402 return com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance(); 22542 29403 } 22543 29404 22544 @Override 22545 public com.google.protobuf.DescriptorProtos.EnumValueOptions build() { 29405 public com.google.protobuf.DescriptorProtos.EnumValueOptions build() { 22546 29406 com.google.protobuf.DescriptorProtos.EnumValueOptions result = buildPartial(); 22547 29407 if (!result.isInitialized()) { … … 22551 29411 } 22552 29412 22553 @Override 22554 public com.google.protobuf.DescriptorProtos.EnumValueOptions buildPartial() { 29413 public com.google.protobuf.DescriptorProtos.EnumValueOptions buildPartial() { 22555 29414 com.google.protobuf.DescriptorProtos.EnumValueOptions result = new com.google.protobuf.DescriptorProtos.EnumValueOptions(this); 22556 29415 int from_bitField0_ = bitField0_; … … 22574 29433 } 22575 29434 22576 @Override 22577 public Builder mergeFrom(com.google.protobuf.Message other) { 29435 public Builder clone() { 29436 return (Builder) super.clone(); 29437 } 29438 public Builder setField( 29439 com.google.protobuf.Descriptors.FieldDescriptor field, 29440 java.lang.Object value) { 29441 return (Builder) super.setField(field, value); 29442 } 29443 public Builder clearField( 29444 com.google.protobuf.Descriptors.FieldDescriptor field) { 29445 return (Builder) super.clearField(field); 29446 } 29447 public Builder clearOneof( 29448 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 29449 return (Builder) super.clearOneof(oneof); 29450 } 29451 public Builder setRepeatedField( 29452 com.google.protobuf.Descriptors.FieldDescriptor field, 29453 int index, java.lang.Object value) { 29454 return (Builder) super.setRepeatedField(field, index, value); 29455 } 29456 public Builder addRepeatedField( 29457 com.google.protobuf.Descriptors.FieldDescriptor field, 29458 java.lang.Object value) { 29459 return (Builder) super.addRepeatedField(field, value); 29460 } 29461 public <Type> Builder setExtension( 29462 com.google.protobuf.GeneratedMessage.GeneratedExtension< 29463 com.google.protobuf.DescriptorProtos.EnumValueOptions, Type> extension, 29464 Type value) { 29465 return (Builder) super.setExtension(extension, value); 29466 } 29467 public <Type> Builder setExtension( 29468 com.google.protobuf.GeneratedMessage.GeneratedExtension< 29469 com.google.protobuf.DescriptorProtos.EnumValueOptions, java.util.List<Type>> extension, 29470 int index, Type value) { 29471 return (Builder) super.setExtension(extension, index, value); 29472 } 29473 public <Type> Builder addExtension( 29474 com.google.protobuf.GeneratedMessage.GeneratedExtension< 29475 com.google.protobuf.DescriptorProtos.EnumValueOptions, java.util.List<Type>> extension, 29476 Type value) { 29477 return (Builder) super.addExtension(extension, value); 29478 } 29479 public <Type> Builder clearExtension( 29480 com.google.protobuf.GeneratedMessage.GeneratedExtension< 29481 com.google.protobuf.DescriptorProtos.EnumValueOptions, ?> extension) { 29482 return (Builder) super.clearExtension(extension); 29483 } 29484 public Builder mergeFrom(com.google.protobuf.Message other) { 22578 29485 if (other instanceof com.google.protobuf.DescriptorProtos.EnumValueOptions) { 22579 29486 return mergeFrom((com.google.protobuf.DescriptorProtos.EnumValueOptions)other); … … 22607 29514 uninterpretedOption_ = other.uninterpretedOption_; 22608 29515 bitField0_ = (bitField0_ & ~0x00000002); 22609 uninterpretedOptionBuilder_ = 22610 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 29516 uninterpretedOptionBuilder_ = 29517 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 22611 29518 getUninterpretedOptionFieldBuilder() : null; 22612 29519 } else { … … 22616 29523 } 22617 29524 this.mergeExtensionFields(other); 22618 this.mergeUnknownFields(other. getUnknownFields());22619 return this;22620 }22621 22622 @Override 22623 29525 this.mergeUnknownFields(other.unknownFields); 29526 onChanged(); 29527 return this; 29528 } 29529 29530 public final boolean isInitialized() { 22624 29531 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 22625 29532 if (!getUninterpretedOption(i).isInitialized()) { 22626 22627 29533 return false; 22628 29534 } 22629 29535 } 22630 29536 if (!extensionsAreInitialized()) { 22631 22632 29537 return false; 22633 29538 } … … 22635 29540 } 22636 29541 22637 @Override 22638 public Builder mergeFrom( 29542 public Builder mergeFrom( 22639 29543 com.google.protobuf.CodedInputStream input, 22640 29544 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 22645 29549 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 22646 29550 parsedMessage = (com.google.protobuf.DescriptorProtos.EnumValueOptions) e.getUnfinishedMessage(); 22647 throw e; 29551 throw e.unwrapIOException(); 22648 29552 } finally { 22649 29553 if (parsedMessage != null) { … … 22657 29561 private boolean deprecated_ ; 22658 29562 /** 22659 * <code>optional bool deprecated = 1 [default = false];</code>22660 *22661 29563 * <pre> 22662 29564 * Is this enum value deprecated? … … 22665 29567 * this is a formalization for deprecating enum values. 22666 29568 * </pre> 22667 */ 22668 @Override 22669 public boolean hasDeprecated() { 29569 * 29570 * <code>optional bool deprecated = 1 [default = false];</code> 29571 */ 29572 public boolean hasDeprecated() { 22670 29573 return ((bitField0_ & 0x00000001) == 0x00000001); 22671 29574 } 22672 29575 /** 22673 * <code>optional bool deprecated = 1 [default = false];</code>22674 *22675 29576 * <pre> 22676 29577 * Is this enum value deprecated? … … 22679 29580 * this is a formalization for deprecating enum values. 22680 29581 * </pre> 22681 */ 22682 @Override 22683 public boolean getDeprecated() { 29582 * 29583 * <code>optional bool deprecated = 1 [default = false];</code> 29584 */ 29585 public boolean getDeprecated() { 22684 29586 return deprecated_; 22685 29587 } 22686 29588 /** 22687 * <code>optional bool deprecated = 1 [default = false];</code>22688 *22689 29589 * <pre> 22690 29590 * Is this enum value deprecated? … … 22693 29593 * this is a formalization for deprecating enum values. 22694 29594 * </pre> 29595 * 29596 * <code>optional bool deprecated = 1 [default = false];</code> 22695 29597 */ 22696 29598 public Builder setDeprecated(boolean value) { … … 22701 29603 } 22702 29604 /** 22703 * <code>optional bool deprecated = 1 [default = false];</code>22704 *22705 29605 * <pre> 22706 29606 * Is this enum value deprecated? … … 22709 29609 * this is a formalization for deprecating enum values. 22710 29610 * </pre> 29611 * 29612 * <code>optional bool deprecated = 1 [default = false];</code> 22711 29613 */ 22712 29614 public Builder clearDeprecated() { … … 22721 29623 private void ensureUninterpretedOptionIsMutable() { 22722 29624 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 22723 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 29625 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 22724 29626 bitField0_ |= 0x00000002; 22725 29627 } 22726 29628 } 22727 29629 22728 private com.google.protobuf.RepeatedFieldBuilder< 29630 private com.google.protobuf.RepeatedFieldBuilderV3< 22729 29631 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 22730 29632 22731 29633 /** 29634 * <pre> 29635 * The parser stores options it doesn't recognize here. See above. 29636 * </pre> 29637 * 22732 29638 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22733 * 22734 * <pre> 22735 * The parser stores options it doesn't recognize here. See above. 22736 * </pre> 22737 */ 22738 @Override 22739 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 29639 */ 29640 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 22740 29641 if (uninterpretedOptionBuilder_ == null) { 22741 29642 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 22745 29646 } 22746 29647 /** 29648 * <pre> 29649 * The parser stores options it doesn't recognize here. See above. 29650 * </pre> 29651 * 22747 29652 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22748 * 22749 * <pre> 22750 * The parser stores options it doesn't recognize here. See above. 22751 * </pre> 22752 */ 22753 @Override 22754 public int getUninterpretedOptionCount() { 29653 */ 29654 public int getUninterpretedOptionCount() { 22755 29655 if (uninterpretedOptionBuilder_ == null) { 22756 29656 return uninterpretedOption_.size(); … … 22760 29660 } 22761 29661 /** 29662 * <pre> 29663 * The parser stores options it doesn't recognize here. See above. 29664 * </pre> 29665 * 22762 29666 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22763 * 22764 * <pre> 22765 * The parser stores options it doesn't recognize here. See above. 22766 * </pre> 22767 */ 22768 @Override 22769 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 29667 */ 29668 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 22770 29669 if (uninterpretedOptionBuilder_ == null) { 22771 29670 return uninterpretedOption_.get(index); … … 22775 29674 } 22776 29675 /** 29676 * <pre> 29677 * The parser stores options it doesn't recognize here. See above. 29678 * </pre> 29679 * 22777 29680 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22778 *22779 * <pre>22780 * The parser stores options it doesn't recognize here. See above.22781 * </pre>22782 29681 */ 22783 29682 public Builder setUninterpretedOption( … … 22796 29695 } 22797 29696 /** 29697 * <pre> 29698 * The parser stores options it doesn't recognize here. See above. 29699 * </pre> 29700 * 22798 29701 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22799 *22800 * <pre>22801 * The parser stores options it doesn't recognize here. See above.22802 * </pre>22803 29702 */ 22804 29703 public Builder setUninterpretedOption( … … 22814 29713 } 22815 29714 /** 29715 * <pre> 29716 * The parser stores options it doesn't recognize here. See above. 29717 * </pre> 29718 * 22816 29719 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22817 *22818 * <pre>22819 * The parser stores options it doesn't recognize here. See above.22820 * </pre>22821 29720 */ 22822 29721 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 22834 29733 } 22835 29734 /** 29735 * <pre> 29736 * The parser stores options it doesn't recognize here. See above. 29737 * </pre> 29738 * 22836 29739 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22837 *22838 * <pre>22839 * The parser stores options it doesn't recognize here. See above.22840 * </pre>22841 29740 */ 22842 29741 public Builder addUninterpretedOption( … … 22855 29754 } 22856 29755 /** 29756 * <pre> 29757 * The parser stores options it doesn't recognize here. See above. 29758 * </pre> 29759 * 22857 29760 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22858 *22859 * <pre>22860 * The parser stores options it doesn't recognize here. See above.22861 * </pre>22862 29761 */ 22863 29762 public Builder addUninterpretedOption( … … 22873 29772 } 22874 29773 /** 29774 * <pre> 29775 * The parser stores options it doesn't recognize here. See above. 29776 * </pre> 29777 * 22875 29778 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22876 *22877 * <pre>22878 * The parser stores options it doesn't recognize here. See above.22879 * </pre>22880 29779 */ 22881 29780 public Builder addUninterpretedOption( … … 22891 29790 } 22892 29791 /** 29792 * <pre> 29793 * The parser stores options it doesn't recognize here. See above. 29794 * </pre> 29795 * 22893 29796 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22894 *22895 * <pre>22896 * The parser stores options it doesn't recognize here. See above.22897 * </pre>22898 29797 */ 22899 29798 public Builder addAllUninterpretedOption( … … 22910 29809 } 22911 29810 /** 29811 * <pre> 29812 * The parser stores options it doesn't recognize here. See above. 29813 * </pre> 29814 * 22912 29815 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22913 *22914 * <pre>22915 * The parser stores options it doesn't recognize here. See above.22916 * </pre>22917 29816 */ 22918 29817 public Builder clearUninterpretedOption() { … … 22927 29826 } 22928 29827 /** 29828 * <pre> 29829 * The parser stores options it doesn't recognize here. See above. 29830 * </pre> 29831 * 22929 29832 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22930 *22931 * <pre>22932 * The parser stores options it doesn't recognize here. See above.22933 * </pre>22934 29833 */ 22935 29834 public Builder removeUninterpretedOption(int index) { … … 22944 29843 } 22945 29844 /** 29845 * <pre> 29846 * The parser stores options it doesn't recognize here. See above. 29847 * </pre> 29848 * 22946 29849 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22947 *22948 * <pre>22949 * The parser stores options it doesn't recognize here. See above.22950 * </pre>22951 29850 */ 22952 29851 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 22955 29854 } 22956 29855 /** 29856 * <pre> 29857 * The parser stores options it doesn't recognize here. See above. 29858 * </pre> 29859 * 22957 29860 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22958 * 22959 * <pre> 22960 * The parser stores options it doesn't recognize here. See above. 22961 * </pre> 22962 */ 22963 @Override 22964 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 29861 */ 29862 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 22965 29863 int index) { 22966 29864 if (uninterpretedOptionBuilder_ == null) { … … 22970 29868 } 22971 29869 /** 29870 * <pre> 29871 * The parser stores options it doesn't recognize here. See above. 29872 * </pre> 29873 * 22972 29874 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22973 * 22974 * <pre> 22975 * The parser stores options it doesn't recognize here. See above. 22976 * </pre> 22977 */ 22978 @Override 22979 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 29875 */ 29876 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 22980 29877 getUninterpretedOptionOrBuilderList() { 22981 29878 if (uninterpretedOptionBuilder_ != null) { … … 22986 29883 } 22987 29884 /** 29885 * <pre> 29886 * The parser stores options it doesn't recognize here. See above. 29887 * </pre> 29888 * 22988 29889 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 22989 *22990 * <pre>22991 * The parser stores options it doesn't recognize here. See above.22992 * </pre>22993 29890 */ 22994 29891 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 22997 29894 } 22998 29895 /** 29896 * <pre> 29897 * The parser stores options it doesn't recognize here. See above. 29898 * </pre> 29899 * 22999 29900 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23000 *23001 * <pre>23002 * The parser stores options it doesn't recognize here. See above.23003 * </pre>23004 29901 */ 23005 29902 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 23009 29906 } 23010 29907 /** 29908 * <pre> 29909 * The parser stores options it doesn't recognize here. See above. 29910 * </pre> 29911 * 23011 29912 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23012 * 23013 * <pre> 23014 * The parser stores options it doesn't recognize here. See above. 23015 * </pre> 23016 */ 23017 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 29913 */ 29914 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 23018 29915 getUninterpretedOptionBuilderList() { 23019 29916 return getUninterpretedOptionFieldBuilder().getBuilderList(); 23020 29917 } 23021 private com.google.protobuf.RepeatedFieldBuilder< 23022 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 29918 private com.google.protobuf.RepeatedFieldBuilderV3< 29919 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23023 29920 getUninterpretedOptionFieldBuilder() { 23024 29921 if (uninterpretedOptionBuilder_ == null) { 23025 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 29922 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 29923 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 23026 29924 uninterpretedOption_, 23027 29925 ((bitField0_ & 0x00000002) == 0x00000002), … … 23032 29930 return uninterpretedOptionBuilder_; 23033 29931 } 29932 public final Builder setUnknownFields( 29933 final com.google.protobuf.UnknownFieldSet unknownFields) { 29934 return super.setUnknownFields(unknownFields); 29935 } 29936 29937 public final Builder mergeUnknownFields( 29938 final com.google.protobuf.UnknownFieldSet unknownFields) { 29939 return super.mergeUnknownFields(unknownFields); 29940 } 29941 23034 29942 23035 29943 // @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueOptions) 23036 29944 } 23037 29945 29946 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) 29947 private static final com.google.protobuf.DescriptorProtos.EnumValueOptions DEFAULT_INSTANCE; 23038 29948 static { 23039 defaultInstance = new EnumValueOptions(true); 23040 defaultInstance.initFields(); 23041 } 23042 23043 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) 29949 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.EnumValueOptions(); 29950 } 29951 29952 public static com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstance() { 29953 return DEFAULT_INSTANCE; 29954 } 29955 29956 @java.lang.Deprecated public static final com.google.protobuf.Parser<EnumValueOptions> 29957 PARSER = new com.google.protobuf.AbstractParser<EnumValueOptions>() { 29958 public EnumValueOptions parsePartialFrom( 29959 com.google.protobuf.CodedInputStream input, 29960 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 29961 throws com.google.protobuf.InvalidProtocolBufferException { 29962 return new EnumValueOptions(input, extensionRegistry); 29963 } 29964 }; 29965 29966 public static com.google.protobuf.Parser<EnumValueOptions> parser() { 29967 return PARSER; 29968 } 29969 29970 @java.lang.Override 29971 public com.google.protobuf.Parser<EnumValueOptions> getParserForType() { 29972 return PARSER; 29973 } 29974 29975 public com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstanceForType() { 29976 return DEFAULT_INSTANCE; 29977 } 29978 23044 29979 } 23045 29980 23046 29981 public interface ServiceOptionsOrBuilder extends 23047 29982 // @@protoc_insertion_point(interface_extends:google.protobuf.ServiceOptions) 23048 com.google.protobuf.GeneratedMessage. 29983 com.google.protobuf.GeneratedMessageV3. 23049 29984 ExtendableMessageOrBuilder<ServiceOptions> { 23050 29985 23051 29986 /** 23052 * <code>optional bool deprecated = 33 [default = false];</code>23053 *23054 29987 * <pre> 23055 29988 * Is this service deprecated? … … 23058 29991 * this is a formalization for deprecating services. 23059 29992 * </pre> 29993 * 29994 * <code>optional bool deprecated = 33 [default = false];</code> 23060 29995 */ 23061 29996 boolean hasDeprecated(); 23062 29997 /** 23063 * <code>optional bool deprecated = 33 [default = false];</code>23064 *23065 29998 * <pre> 23066 29999 * Is this service deprecated? … … 23069 30002 * this is a formalization for deprecating services. 23070 30003 * </pre> 30004 * 30005 * <code>optional bool deprecated = 33 [default = false];</code> 23071 30006 */ 23072 30007 boolean getDeprecated(); 23073 30008 23074 30009 /** 23075 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23076 *23077 30010 * <pre> 23078 30011 * The parser stores options it doesn't recognize here. See above. 23079 30012 * </pre> 23080 */ 23081 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 30013 * 30014 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30015 */ 30016 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 23082 30017 getUninterpretedOptionList(); 23083 30018 /** 23084 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23085 *23086 30019 * <pre> 23087 30020 * The parser stores options it doesn't recognize here. See above. 23088 30021 * </pre> 30022 * 30023 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23089 30024 */ 23090 30025 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 23091 30026 /** 23092 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23093 *23094 30027 * <pre> 23095 30028 * The parser stores options it doesn't recognize here. See above. 23096 30029 * </pre> 30030 * 30031 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23097 30032 */ 23098 30033 int getUninterpretedOptionCount(); 23099 30034 /** 23100 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23101 *23102 30035 * <pre> 23103 30036 * The parser stores options it doesn't recognize here. See above. 23104 30037 * </pre> 23105 */ 23106 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 30038 * 30039 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30040 */ 30041 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23107 30042 getUninterpretedOptionOrBuilderList(); 23108 30043 /** 23109 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23110 *23111 30044 * <pre> 23112 30045 * The parser stores options it doesn't recognize here. See above. 23113 30046 * </pre> 30047 * 30048 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23114 30049 */ 23115 30050 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 23119 30054 * Protobuf type {@code google.protobuf.ServiceOptions} 23120 30055 */ 23121 public static final class ServiceOptions extends 23122 com.google.protobuf.GeneratedMessage.ExtendableMessage< 30056 public static final class ServiceOptions extends 30057 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 23123 30058 ServiceOptions> implements 23124 30059 // @@protoc_insertion_point(message_implements:google.protobuf.ServiceOptions) 23125 30060 ServiceOptionsOrBuilder { 30061 private static final long serialVersionUID = 0L; 23126 30062 // Use ServiceOptions.newBuilder() to construct. 23127 private ServiceOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.ServiceOptions, ?> builder) { 30063 private ServiceOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.ServiceOptions, ?> builder) { 23128 30064 super(builder); 23129 this.unknownFields = builder.getUnknownFields(); 23130 } 23131 private ServiceOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 23132 23133 private static final ServiceOptions defaultInstance; 23134 public static ServiceOptions getDefaultInstance() { 23135 return defaultInstance; 23136 } 23137 23138 @Override 23139 public ServiceOptions getDefaultInstanceForType() { 23140 return defaultInstance; 23141 } 23142 23143 private final com.google.protobuf.UnknownFieldSet unknownFields; 30065 } 30066 private ServiceOptions() { 30067 deprecated_ = false; 30068 uninterpretedOption_ = java.util.Collections.emptyList(); 30069 } 30070 23144 30071 @java.lang.Override 23145 30072 public final com.google.protobuf.UnknownFieldSet 23146 30073 getUnknownFields() { 23147 30074 return this.unknownFields; 23148 30075 } … … 23151 30078 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 23152 30079 throws com.google.protobuf.InvalidProtocolBufferException { 23153 initFields();30080 this(); 23154 30081 int mutable_bitField0_ = 0; 23155 30082 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 23164 30091 break; 23165 30092 default: { 23166 if (!parseUnknownField( input, unknownFields,23167 30093 if (!parseUnknownField( 30094 input, unknownFields, extensionRegistry, tag)) { 23168 30095 done = true; 23169 30096 } … … 23177 30104 case 7994: { 23178 30105 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 23179 uninterpretedOption_ = new java.util.ArrayList<>(); 30106 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 23180 30107 mutable_bitField0_ |= 0x00000002; 23181 30108 } 23182 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 30109 uninterpretedOption_.add( 30110 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 23183 30111 break; 23184 30112 } … … 23189 30117 } catch (java.io.IOException e) { 23190 30118 throw new com.google.protobuf.InvalidProtocolBufferException( 23191 e .getMessage()).setUnfinishedMessage(this);30119 e).setUnfinishedMessage(this); 23192 30120 } finally { 23193 30121 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { … … 23203 30131 } 23204 30132 23205 @Override 23206 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 30133 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 23207 30134 internalGetFieldAccessorTable() { 23208 30135 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable … … 23211 30138 } 23212 30139 23213 public static com.google.protobuf.Parser<ServiceOptions> PARSER =23214 new com.google.protobuf.AbstractParser<ServiceOptions>() {23215 @Override23216 public ServiceOptions parsePartialFrom(23217 com.google.protobuf.CodedInputStream input,23218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)23219 throws com.google.protobuf.InvalidProtocolBufferException {23220 return new ServiceOptions(input, extensionRegistry);23221 }23222 };23223 23224 @java.lang.Override23225 public com.google.protobuf.Parser<ServiceOptions> getParserForType() {23226 return PARSER;23227 }23228 23229 30140 private int bitField0_; 23230 30141 public static final int DEPRECATED_FIELD_NUMBER = 33; 23231 30142 private boolean deprecated_; 23232 30143 /** 23233 * <code>optional bool deprecated = 33 [default = false];</code>23234 *23235 30144 * <pre> 23236 30145 * Is this service deprecated? … … 23239 30148 * this is a formalization for deprecating services. 23240 30149 * </pre> 23241 */ 23242 @Override 23243 public boolean hasDeprecated() { 30150 * 30151 * <code>optional bool deprecated = 33 [default = false];</code> 30152 */ 30153 public boolean hasDeprecated() { 23244 30154 return ((bitField0_ & 0x00000001) == 0x00000001); 23245 30155 } 23246 30156 /** 23247 * <code>optional bool deprecated = 33 [default = false];</code>23248 *23249 30157 * <pre> 23250 30158 * Is this service deprecated? … … 23253 30161 * this is a formalization for deprecating services. 23254 30162 * </pre> 23255 */ 23256 @Override 23257 public boolean getDeprecated() { 30163 * 30164 * <code>optional bool deprecated = 33 [default = false];</code> 30165 */ 30166 public boolean getDeprecated() { 23258 30167 return deprecated_; 23259 30168 } … … 23262 30171 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 23263 30172 /** 23264 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23265 *23266 30173 * <pre> 23267 30174 * The parser stores options it doesn't recognize here. See above. 23268 30175 * </pre> 23269 */ 23270 @Override 23271 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 30176 * 30177 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30178 */ 30179 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 23272 30180 return uninterpretedOption_; 23273 30181 } 23274 30182 /** 23275 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23276 *23277 30183 * <pre> 23278 30184 * The parser stores options it doesn't recognize here. See above. 23279 30185 * </pre> 23280 */ 23281 @Override 23282 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 30186 * 30187 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30188 */ 30189 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23283 30190 getUninterpretedOptionOrBuilderList() { 23284 30191 return uninterpretedOption_; 23285 30192 } 23286 30193 /** 23287 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23288 *23289 30194 * <pre> 23290 30195 * The parser stores options it doesn't recognize here. See above. 23291 30196 * </pre> 23292 */ 23293 @Override 23294 public int getUninterpretedOptionCount() { 30197 * 30198 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30199 */ 30200 public int getUninterpretedOptionCount() { 23295 30201 return uninterpretedOption_.size(); 23296 30202 } 23297 30203 /** 23298 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23299 *23300 30204 * <pre> 23301 30205 * The parser stores options it doesn't recognize here. See above. 23302 30206 * </pre> 23303 */ 23304 @Override 23305 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 30207 * 30208 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30209 */ 30210 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 23306 30211 return uninterpretedOption_.get(index); 23307 30212 } 23308 30213 /** 23309 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>23310 *23311 30214 * <pre> 23312 30215 * The parser stores options it doesn't recognize here. See above. 23313 30216 * </pre> 23314 */ 23315 @Override 23316 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 30217 * 30218 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 30219 */ 30220 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 23317 30221 int index) { 23318 30222 return uninterpretedOption_.get(index); 23319 30223 } 23320 30224 23321 private void initFields() {23322 deprecated_ = false;23323 uninterpretedOption_ = java.util.Collections.emptyList();23324 }23325 30225 private byte memoizedIsInitialized = -1; 23326 @Override 23327 public final boolean isInitialized() { 30226 public final boolean isInitialized() { 23328 30227 byte isInitialized = memoizedIsInitialized; 23329 30228 if (isInitialized == 1) return true; … … 23344 30243 } 23345 30244 23346 @Override 23347 public void writeTo(com.google.protobuf.CodedOutputStream output) 30245 public void writeTo(com.google.protobuf.CodedOutputStream output) 23348 30246 throws java.io.IOException { 23349 getSerializedSize(); 23350 com.google.protobuf.GeneratedMessage 23351 .ExtendableMessage<com.google.protobuf.DescriptorProtos.ServiceOptions>.ExtensionWriter extensionWriter = 23352 newExtensionWriter(); 30247 com.google.protobuf.GeneratedMessageV3 30248 .ExtendableMessage<com.google.protobuf.DescriptorProtos.ServiceOptions>.ExtensionWriter 30249 extensionWriter = newExtensionWriter(); 23353 30250 if (((bitField0_ & 0x00000001) == 0x00000001)) { 23354 30251 output.writeBool(33, deprecated_); … … 23358 30255 } 23359 30256 extensionWriter.writeUntil(536870912, output); 23360 getUnknownFields().writeTo(output); 23361 } 23362 23363 private int memoizedSerializedSize = -1; 23364 @Override 23365 public int getSerializedSize() { 23366 int size = memoizedSerializedSize; 30257 unknownFields.writeTo(output); 30258 } 30259 30260 public int getSerializedSize() { 30261 int size = memoizedSize; 23367 30262 if (size != -1) return size; 23368 30263 … … 23377 30272 } 23378 30273 size += extensionsSerializedSize(); 23379 size += getUnknownFields().getSerializedSize();23380 memoizedS erializedSize = size;30274 size += unknownFields.getSerializedSize(); 30275 memoizedSize = size; 23381 30276 return size; 23382 30277 } 23383 30278 23384 private static final long serialVersionUID = 0L;23385 30279 @java.lang.Override 23386 protected java.lang.Object writeReplace() 23387 throws java.io.ObjectStreamException { 23388 return super.writeReplace(); 23389 } 23390 30280 public boolean equals(final java.lang.Object obj) { 30281 if (obj == this) { 30282 return true; 30283 } 30284 if (!(obj instanceof com.google.protobuf.DescriptorProtos.ServiceOptions)) { 30285 return super.equals(obj); 30286 } 30287 com.google.protobuf.DescriptorProtos.ServiceOptions other = (com.google.protobuf.DescriptorProtos.ServiceOptions) obj; 30288 30289 boolean result = true; 30290 result = result && (hasDeprecated() == other.hasDeprecated()); 30291 if (hasDeprecated()) { 30292 result = result && (getDeprecated() 30293 == other.getDeprecated()); 30294 } 30295 result = result && getUninterpretedOptionList() 30296 .equals(other.getUninterpretedOptionList()); 30297 result = result && unknownFields.equals(other.unknownFields); 30298 result = result && 30299 getExtensionFields().equals(other.getExtensionFields()); 30300 return result; 30301 } 30302 30303 @java.lang.Override 30304 public int hashCode() { 30305 if (memoizedHashCode != 0) { 30306 return memoizedHashCode; 30307 } 30308 int hash = 41; 30309 hash = (19 * hash) + getDescriptor().hashCode(); 30310 if (hasDeprecated()) { 30311 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 30312 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 30313 getDeprecated()); 30314 } 30315 if (getUninterpretedOptionCount() > 0) { 30316 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 30317 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 30318 } 30319 hash = hashFields(hash, getExtensionFields()); 30320 hash = (29 * hash) + unknownFields.hashCode(); 30321 memoizedHashCode = hash; 30322 return hash; 30323 } 30324 30325 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( 30326 java.nio.ByteBuffer data) 30327 throws com.google.protobuf.InvalidProtocolBufferException { 30328 return PARSER.parseFrom(data); 30329 } 30330 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( 30331 java.nio.ByteBuffer data, 30332 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 30333 throws com.google.protobuf.InvalidProtocolBufferException { 30334 return PARSER.parseFrom(data, extensionRegistry); 30335 } 23391 30336 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( 23392 30337 com.google.protobuf.ByteString data) … … 23412 30357 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(java.io.InputStream input) 23413 30358 throws java.io.IOException { 23414 return PARSER.parseFrom(input); 30359 return com.google.protobuf.GeneratedMessageV3 30360 .parseWithIOException(PARSER, input); 23415 30361 } 23416 30362 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( … … 23418 30364 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 23419 30365 throws java.io.IOException { 23420 return PARSER.parseFrom(input, extensionRegistry); 30366 return com.google.protobuf.GeneratedMessageV3 30367 .parseWithIOException(PARSER, input, extensionRegistry); 23421 30368 } 23422 30369 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom(java.io.InputStream input) 23423 30370 throws java.io.IOException { 23424 return PARSER.parseDelimitedFrom(input); 30371 return com.google.protobuf.GeneratedMessageV3 30372 .parseDelimitedWithIOException(PARSER, input); 23425 30373 } 23426 30374 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom( … … 23428 30376 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 23429 30377 throws java.io.IOException { 23430 return PARSER.parseDelimitedFrom(input, extensionRegistry); 30378 return com.google.protobuf.GeneratedMessageV3 30379 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 23431 30380 } 23432 30381 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( 23433 30382 com.google.protobuf.CodedInputStream input) 23434 30383 throws java.io.IOException { 23435 return PARSER.parseFrom(input); 30384 return com.google.protobuf.GeneratedMessageV3 30385 .parseWithIOException(PARSER, input); 23436 30386 } 23437 30387 public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom( … … 23439 30389 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 23440 30390 throws java.io.IOException { 23441 return PARSER.parseFrom(input, extensionRegistry); 23442 } 23443 23444 public static Builder newBuilder() { return Builder.create(); } 23445 @Override 23446 public Builder newBuilderForType() { return newBuilder(); } 30391 return com.google.protobuf.GeneratedMessageV3 30392 .parseWithIOException(PARSER, input, extensionRegistry); 30393 } 30394 30395 public Builder newBuilderForType() { return newBuilder(); } 30396 public static Builder newBuilder() { 30397 return DEFAULT_INSTANCE.toBuilder(); 30398 } 23447 30399 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceOptions prototype) { 23448 return newBuilder().mergeFrom(prototype); 23449 } 23450 @Override 23451 public Builder toBuilder() { return newBuilder(this); } 30400 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 30401 } 30402 public Builder toBuilder() { 30403 return this == DEFAULT_INSTANCE 30404 ? new Builder() : new Builder().mergeFrom(this); 30405 } 23452 30406 23453 30407 @java.lang.Override 23454 30408 protected Builder newBuilderForType( 23455 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 30409 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 23456 30410 Builder builder = new Builder(parent); 23457 30411 return builder; … … 23461 30415 */ 23462 30416 public static final class Builder extends 23463 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 30417 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 23464 30418 com.google.protobuf.DescriptorProtos.ServiceOptions, Builder> implements 23465 30419 // @@protoc_insertion_point(builder_implements:google.protobuf.ServiceOptions) … … 23470 30424 } 23471 30425 23472 @Override 23473 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 30426 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 23474 30427 internalGetFieldAccessorTable() { 23475 30428 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable … … 23484 30437 23485 30438 private Builder( 23486 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 30439 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 23487 30440 super(parent); 23488 30441 maybeForceBuilderInitialization(); 23489 30442 } 23490 30443 private void maybeForceBuilderInitialization() { 23491 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 30444 if (com.google.protobuf.GeneratedMessageV3 30445 .alwaysUseFieldBuilders) { 23492 30446 getUninterpretedOptionFieldBuilder(); 23493 30447 } 23494 30448 } 23495 private static Builder create() { 23496 return new Builder(); 23497 } 23498 23499 @Override 23500 public Builder clear() { 30449 public Builder clear() { 23501 30450 super.clear(); 23502 30451 deprecated_ = false; … … 23511 30460 } 23512 30461 23513 @Override 23514 public Builder clone() { 23515 return create().mergeFrom(buildPartial()); 23516 } 23517 23518 @Override 23519 public com.google.protobuf.Descriptors.Descriptor 30462 public com.google.protobuf.Descriptors.Descriptor 23520 30463 getDescriptorForType() { 23521 30464 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor; 23522 30465 } 23523 30466 23524 @Override 23525 public com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstanceForType() { 30467 public com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstanceForType() { 23526 30468 return com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance(); 23527 30469 } 23528 30470 23529 @Override 23530 public com.google.protobuf.DescriptorProtos.ServiceOptions build() { 30471 public com.google.protobuf.DescriptorProtos.ServiceOptions build() { 23531 30472 com.google.protobuf.DescriptorProtos.ServiceOptions result = buildPartial(); 23532 30473 if (!result.isInitialized()) { … … 23536 30477 } 23537 30478 23538 @Override 23539 public com.google.protobuf.DescriptorProtos.ServiceOptions buildPartial() { 30479 public com.google.protobuf.DescriptorProtos.ServiceOptions buildPartial() { 23540 30480 com.google.protobuf.DescriptorProtos.ServiceOptions result = new com.google.protobuf.DescriptorProtos.ServiceOptions(this); 23541 30481 int from_bitField0_ = bitField0_; … … 23559 30499 } 23560 30500 23561 @Override 23562 public Builder mergeFrom(com.google.protobuf.Message other) { 30501 public Builder clone() { 30502 return (Builder) super.clone(); 30503 } 30504 public Builder setField( 30505 com.google.protobuf.Descriptors.FieldDescriptor field, 30506 java.lang.Object value) { 30507 return (Builder) super.setField(field, value); 30508 } 30509 public Builder clearField( 30510 com.google.protobuf.Descriptors.FieldDescriptor field) { 30511 return (Builder) super.clearField(field); 30512 } 30513 public Builder clearOneof( 30514 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 30515 return (Builder) super.clearOneof(oneof); 30516 } 30517 public Builder setRepeatedField( 30518 com.google.protobuf.Descriptors.FieldDescriptor field, 30519 int index, java.lang.Object value) { 30520 return (Builder) super.setRepeatedField(field, index, value); 30521 } 30522 public Builder addRepeatedField( 30523 com.google.protobuf.Descriptors.FieldDescriptor field, 30524 java.lang.Object value) { 30525 return (Builder) super.addRepeatedField(field, value); 30526 } 30527 public <Type> Builder setExtension( 30528 com.google.protobuf.GeneratedMessage.GeneratedExtension< 30529 com.google.protobuf.DescriptorProtos.ServiceOptions, Type> extension, 30530 Type value) { 30531 return (Builder) super.setExtension(extension, value); 30532 } 30533 public <Type> Builder setExtension( 30534 com.google.protobuf.GeneratedMessage.GeneratedExtension< 30535 com.google.protobuf.DescriptorProtos.ServiceOptions, java.util.List<Type>> extension, 30536 int index, Type value) { 30537 return (Builder) super.setExtension(extension, index, value); 30538 } 30539 public <Type> Builder addExtension( 30540 com.google.protobuf.GeneratedMessage.GeneratedExtension< 30541 com.google.protobuf.DescriptorProtos.ServiceOptions, java.util.List<Type>> extension, 30542 Type value) { 30543 return (Builder) super.addExtension(extension, value); 30544 } 30545 public <Type> Builder clearExtension( 30546 com.google.protobuf.GeneratedMessage.GeneratedExtension< 30547 com.google.protobuf.DescriptorProtos.ServiceOptions, ?> extension) { 30548 return (Builder) super.clearExtension(extension); 30549 } 30550 public Builder mergeFrom(com.google.protobuf.Message other) { 23563 30551 if (other instanceof com.google.protobuf.DescriptorProtos.ServiceOptions) { 23564 30552 return mergeFrom((com.google.protobuf.DescriptorProtos.ServiceOptions)other); … … 23592 30580 uninterpretedOption_ = other.uninterpretedOption_; 23593 30581 bitField0_ = (bitField0_ & ~0x00000002); 23594 uninterpretedOptionBuilder_ = 23595 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 30582 uninterpretedOptionBuilder_ = 30583 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 23596 30584 getUninterpretedOptionFieldBuilder() : null; 23597 30585 } else { … … 23601 30589 } 23602 30590 this.mergeExtensionFields(other); 23603 this.mergeUnknownFields(other. getUnknownFields());23604 return this;23605 }23606 23607 @Override 23608 30591 this.mergeUnknownFields(other.unknownFields); 30592 onChanged(); 30593 return this; 30594 } 30595 30596 public final boolean isInitialized() { 23609 30597 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 23610 30598 if (!getUninterpretedOption(i).isInitialized()) { 23611 23612 30599 return false; 23613 30600 } 23614 30601 } 23615 30602 if (!extensionsAreInitialized()) { 23616 23617 30603 return false; 23618 30604 } … … 23620 30606 } 23621 30607 23622 @Override 23623 public Builder mergeFrom( 30608 public Builder mergeFrom( 23624 30609 com.google.protobuf.CodedInputStream input, 23625 30610 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 23630 30615 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 23631 30616 parsedMessage = (com.google.protobuf.DescriptorProtos.ServiceOptions) e.getUnfinishedMessage(); 23632 throw e; 30617 throw e.unwrapIOException(); 23633 30618 } finally { 23634 30619 if (parsedMessage != null) { … … 23642 30627 private boolean deprecated_ ; 23643 30628 /** 23644 * <code>optional bool deprecated = 33 [default = false];</code>23645 *23646 30629 * <pre> 23647 30630 * Is this service deprecated? … … 23650 30633 * this is a formalization for deprecating services. 23651 30634 * </pre> 23652 */ 23653 @Override 23654 public boolean hasDeprecated() { 30635 * 30636 * <code>optional bool deprecated = 33 [default = false];</code> 30637 */ 30638 public boolean hasDeprecated() { 23655 30639 return ((bitField0_ & 0x00000001) == 0x00000001); 23656 30640 } 23657 30641 /** 23658 * <code>optional bool deprecated = 33 [default = false];</code>23659 *23660 30642 * <pre> 23661 30643 * Is this service deprecated? … … 23664 30646 * this is a formalization for deprecating services. 23665 30647 * </pre> 23666 */ 23667 @Override 23668 public boolean getDeprecated() { 30648 * 30649 * <code>optional bool deprecated = 33 [default = false];</code> 30650 */ 30651 public boolean getDeprecated() { 23669 30652 return deprecated_; 23670 30653 } 23671 30654 /** 23672 * <code>optional bool deprecated = 33 [default = false];</code>23673 *23674 30655 * <pre> 23675 30656 * Is this service deprecated? … … 23678 30659 * this is a formalization for deprecating services. 23679 30660 * </pre> 30661 * 30662 * <code>optional bool deprecated = 33 [default = false];</code> 23680 30663 */ 23681 30664 public Builder setDeprecated(boolean value) { … … 23686 30669 } 23687 30670 /** 23688 * <code>optional bool deprecated = 33 [default = false];</code>23689 *23690 30671 * <pre> 23691 30672 * Is this service deprecated? … … 23694 30675 * this is a formalization for deprecating services. 23695 30676 * </pre> 30677 * 30678 * <code>optional bool deprecated = 33 [default = false];</code> 23696 30679 */ 23697 30680 public Builder clearDeprecated() { … … 23706 30689 private void ensureUninterpretedOptionIsMutable() { 23707 30690 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 23708 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 30691 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 23709 30692 bitField0_ |= 0x00000002; 23710 30693 } 23711 30694 } 23712 30695 23713 private com.google.protobuf.RepeatedFieldBuilder< 30696 private com.google.protobuf.RepeatedFieldBuilderV3< 23714 30697 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 23715 30698 23716 30699 /** 30700 * <pre> 30701 * The parser stores options it doesn't recognize here. See above. 30702 * </pre> 30703 * 23717 30704 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23718 * 23719 * <pre> 23720 * The parser stores options it doesn't recognize here. See above. 23721 * </pre> 23722 */ 23723 @Override 23724 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 30705 */ 30706 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 23725 30707 if (uninterpretedOptionBuilder_ == null) { 23726 30708 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 23730 30712 } 23731 30713 /** 30714 * <pre> 30715 * The parser stores options it doesn't recognize here. See above. 30716 * </pre> 30717 * 23732 30718 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23733 * 23734 * <pre> 23735 * The parser stores options it doesn't recognize here. See above. 23736 * </pre> 23737 */ 23738 @Override 23739 public int getUninterpretedOptionCount() { 30719 */ 30720 public int getUninterpretedOptionCount() { 23740 30721 if (uninterpretedOptionBuilder_ == null) { 23741 30722 return uninterpretedOption_.size(); … … 23745 30726 } 23746 30727 /** 30728 * <pre> 30729 * The parser stores options it doesn't recognize here. See above. 30730 * </pre> 30731 * 23747 30732 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23748 * 23749 * <pre> 23750 * The parser stores options it doesn't recognize here. See above. 23751 * </pre> 23752 */ 23753 @Override 23754 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 30733 */ 30734 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 23755 30735 if (uninterpretedOptionBuilder_ == null) { 23756 30736 return uninterpretedOption_.get(index); … … 23760 30740 } 23761 30741 /** 30742 * <pre> 30743 * The parser stores options it doesn't recognize here. See above. 30744 * </pre> 30745 * 23762 30746 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23763 *23764 * <pre>23765 * The parser stores options it doesn't recognize here. See above.23766 * </pre>23767 30747 */ 23768 30748 public Builder setUninterpretedOption( … … 23781 30761 } 23782 30762 /** 30763 * <pre> 30764 * The parser stores options it doesn't recognize here. See above. 30765 * </pre> 30766 * 23783 30767 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23784 *23785 * <pre>23786 * The parser stores options it doesn't recognize here. See above.23787 * </pre>23788 30768 */ 23789 30769 public Builder setUninterpretedOption( … … 23799 30779 } 23800 30780 /** 30781 * <pre> 30782 * The parser stores options it doesn't recognize here. See above. 30783 * </pre> 30784 * 23801 30785 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23802 *23803 * <pre>23804 * The parser stores options it doesn't recognize here. See above.23805 * </pre>23806 30786 */ 23807 30787 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 23819 30799 } 23820 30800 /** 30801 * <pre> 30802 * The parser stores options it doesn't recognize here. See above. 30803 * </pre> 30804 * 23821 30805 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23822 *23823 * <pre>23824 * The parser stores options it doesn't recognize here. See above.23825 * </pre>23826 30806 */ 23827 30807 public Builder addUninterpretedOption( … … 23840 30820 } 23841 30821 /** 30822 * <pre> 30823 * The parser stores options it doesn't recognize here. See above. 30824 * </pre> 30825 * 23842 30826 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23843 *23844 * <pre>23845 * The parser stores options it doesn't recognize here. See above.23846 * </pre>23847 30827 */ 23848 30828 public Builder addUninterpretedOption( … … 23858 30838 } 23859 30839 /** 30840 * <pre> 30841 * The parser stores options it doesn't recognize here. See above. 30842 * </pre> 30843 * 23860 30844 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23861 *23862 * <pre>23863 * The parser stores options it doesn't recognize here. See above.23864 * </pre>23865 30845 */ 23866 30846 public Builder addUninterpretedOption( … … 23876 30856 } 23877 30857 /** 30858 * <pre> 30859 * The parser stores options it doesn't recognize here. See above. 30860 * </pre> 30861 * 23878 30862 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23879 *23880 * <pre>23881 * The parser stores options it doesn't recognize here. See above.23882 * </pre>23883 30863 */ 23884 30864 public Builder addAllUninterpretedOption( … … 23895 30875 } 23896 30876 /** 30877 * <pre> 30878 * The parser stores options it doesn't recognize here. See above. 30879 * </pre> 30880 * 23897 30881 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23898 *23899 * <pre>23900 * The parser stores options it doesn't recognize here. See above.23901 * </pre>23902 30882 */ 23903 30883 public Builder clearUninterpretedOption() { … … 23912 30892 } 23913 30893 /** 30894 * <pre> 30895 * The parser stores options it doesn't recognize here. See above. 30896 * </pre> 30897 * 23914 30898 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23915 *23916 * <pre>23917 * The parser stores options it doesn't recognize here. See above.23918 * </pre>23919 30899 */ 23920 30900 public Builder removeUninterpretedOption(int index) { … … 23929 30909 } 23930 30910 /** 30911 * <pre> 30912 * The parser stores options it doesn't recognize here. See above. 30913 * </pre> 30914 * 23931 30915 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23932 *23933 * <pre>23934 * The parser stores options it doesn't recognize here. See above.23935 * </pre>23936 30916 */ 23937 30917 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 23940 30920 } 23941 30921 /** 30922 * <pre> 30923 * The parser stores options it doesn't recognize here. See above. 30924 * </pre> 30925 * 23942 30926 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23943 * 23944 * <pre> 23945 * The parser stores options it doesn't recognize here. See above. 23946 * </pre> 23947 */ 23948 @Override 23949 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 30927 */ 30928 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 23950 30929 int index) { 23951 30930 if (uninterpretedOptionBuilder_ == null) { … … 23955 30934 } 23956 30935 /** 30936 * <pre> 30937 * The parser stores options it doesn't recognize here. See above. 30938 * </pre> 30939 * 23957 30940 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23958 * 23959 * <pre> 23960 * The parser stores options it doesn't recognize here. See above. 23961 * </pre> 23962 */ 23963 @Override 23964 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 30941 */ 30942 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 23965 30943 getUninterpretedOptionOrBuilderList() { 23966 30944 if (uninterpretedOptionBuilder_ != null) { … … 23971 30949 } 23972 30950 /** 30951 * <pre> 30952 * The parser stores options it doesn't recognize here. See above. 30953 * </pre> 30954 * 23973 30955 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23974 *23975 * <pre>23976 * The parser stores options it doesn't recognize here. See above.23977 * </pre>23978 30956 */ 23979 30957 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 23982 30960 } 23983 30961 /** 30962 * <pre> 30963 * The parser stores options it doesn't recognize here. See above. 30964 * </pre> 30965 * 23984 30966 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23985 *23986 * <pre>23987 * The parser stores options it doesn't recognize here. See above.23988 * </pre>23989 30967 */ 23990 30968 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 23994 30972 } 23995 30973 /** 30974 * <pre> 30975 * The parser stores options it doesn't recognize here. See above. 30976 * </pre> 30977 * 23996 30978 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 23997 * 23998 * <pre> 23999 * The parser stores options it doesn't recognize here. See above. 24000 * </pre> 24001 */ 24002 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 30979 */ 30980 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 24003 30981 getUninterpretedOptionBuilderList() { 24004 30982 return getUninterpretedOptionFieldBuilder().getBuilderList(); 24005 30983 } 24006 private com.google.protobuf.RepeatedFieldBuilder< 24007 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 30984 private com.google.protobuf.RepeatedFieldBuilderV3< 30985 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24008 30986 getUninterpretedOptionFieldBuilder() { 24009 30987 if (uninterpretedOptionBuilder_ == null) { 24010 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 30988 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 30989 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 24011 30990 uninterpretedOption_, 24012 30991 ((bitField0_ & 0x00000002) == 0x00000002), … … 24017 30996 return uninterpretedOptionBuilder_; 24018 30997 } 30998 public final Builder setUnknownFields( 30999 final com.google.protobuf.UnknownFieldSet unknownFields) { 31000 return super.setUnknownFields(unknownFields); 31001 } 31002 31003 public final Builder mergeUnknownFields( 31004 final com.google.protobuf.UnknownFieldSet unknownFields) { 31005 return super.mergeUnknownFields(unknownFields); 31006 } 31007 24019 31008 24020 31009 // @@protoc_insertion_point(builder_scope:google.protobuf.ServiceOptions) 24021 31010 } 24022 31011 31012 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) 31013 private static final com.google.protobuf.DescriptorProtos.ServiceOptions DEFAULT_INSTANCE; 24023 31014 static { 24024 defaultInstance = new ServiceOptions(true); 24025 defaultInstance.initFields(); 24026 } 24027 24028 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) 31015 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.ServiceOptions(); 31016 } 31017 31018 public static com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstance() { 31019 return DEFAULT_INSTANCE; 31020 } 31021 31022 @java.lang.Deprecated public static final com.google.protobuf.Parser<ServiceOptions> 31023 PARSER = new com.google.protobuf.AbstractParser<ServiceOptions>() { 31024 public ServiceOptions parsePartialFrom( 31025 com.google.protobuf.CodedInputStream input, 31026 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 31027 throws com.google.protobuf.InvalidProtocolBufferException { 31028 return new ServiceOptions(input, extensionRegistry); 31029 } 31030 }; 31031 31032 public static com.google.protobuf.Parser<ServiceOptions> parser() { 31033 return PARSER; 31034 } 31035 31036 @java.lang.Override 31037 public com.google.protobuf.Parser<ServiceOptions> getParserForType() { 31038 return PARSER; 31039 } 31040 31041 public com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstanceForType() { 31042 return DEFAULT_INSTANCE; 31043 } 31044 24029 31045 } 24030 31046 24031 31047 public interface MethodOptionsOrBuilder extends 24032 31048 // @@protoc_insertion_point(interface_extends:google.protobuf.MethodOptions) 24033 com.google.protobuf.GeneratedMessage. 31049 com.google.protobuf.GeneratedMessageV3. 24034 31050 ExtendableMessageOrBuilder<MethodOptions> { 24035 31051 24036 31052 /** 24037 * <code>optional bool deprecated = 33 [default = false];</code>24038 *24039 31053 * <pre> 24040 31054 * Is this method deprecated? … … 24043 31057 * this is a formalization for deprecating methods. 24044 31058 * </pre> 31059 * 31060 * <code>optional bool deprecated = 33 [default = false];</code> 24045 31061 */ 24046 31062 boolean hasDeprecated(); 24047 31063 /** 24048 * <code>optional bool deprecated = 33 [default = false];</code>24049 *24050 31064 * <pre> 24051 31065 * Is this method deprecated? … … 24054 31068 * this is a formalization for deprecating methods. 24055 31069 * </pre> 31070 * 31071 * <code>optional bool deprecated = 33 [default = false];</code> 24056 31072 */ 24057 31073 boolean getDeprecated(); 24058 31074 24059 31075 /** 24060 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24061 * 31076 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31077 */ 31078 boolean hasIdempotencyLevel(); 31079 /** 31080 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31081 */ 31082 com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel(); 31083 31084 /** 24062 31085 * <pre> 24063 31086 * The parser stores options it doesn't recognize here. See above. 24064 31087 * </pre> 24065 */ 24066 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 31088 * 31089 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31090 */ 31091 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> 24067 31092 getUninterpretedOptionList(); 24068 31093 /** 24069 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24070 *24071 31094 * <pre> 24072 31095 * The parser stores options it doesn't recognize here. See above. 24073 31096 * </pre> 31097 * 31098 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24074 31099 */ 24075 31100 com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index); 24076 31101 /** 24077 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24078 *24079 31102 * <pre> 24080 31103 * The parser stores options it doesn't recognize here. See above. 24081 31104 * </pre> 31105 * 31106 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24082 31107 */ 24083 31108 int getUninterpretedOptionCount(); 24084 31109 /** 24085 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24086 *24087 31110 * <pre> 24088 31111 * The parser stores options it doesn't recognize here. See above. 24089 31112 * </pre> 24090 */ 24091 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 31113 * 31114 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31115 */ 31116 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24092 31117 getUninterpretedOptionOrBuilderList(); 24093 31118 /** 24094 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24095 *24096 31119 * <pre> 24097 31120 * The parser stores options it doesn't recognize here. See above. 24098 31121 * </pre> 31122 * 31123 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24099 31124 */ 24100 31125 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( … … 24104 31129 * Protobuf type {@code google.protobuf.MethodOptions} 24105 31130 */ 24106 public static final class MethodOptions extends 24107 com.google.protobuf.GeneratedMessage.ExtendableMessage< 31131 public static final class MethodOptions extends 31132 com.google.protobuf.GeneratedMessageV3.ExtendableMessage< 24108 31133 MethodOptions> implements 24109 31134 // @@protoc_insertion_point(message_implements:google.protobuf.MethodOptions) 24110 31135 MethodOptionsOrBuilder { 31136 private static final long serialVersionUID = 0L; 24111 31137 // Use MethodOptions.newBuilder() to construct. 24112 private MethodOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MethodOptions, ?> builder) { 31138 private MethodOptions(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<com.google.protobuf.DescriptorProtos.MethodOptions, ?> builder) { 24113 31139 super(builder); 24114 this.unknownFields = builder.getUnknownFields(); 24115 } 24116 private MethodOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 24117 24118 private static final MethodOptions defaultInstance; 24119 public static MethodOptions getDefaultInstance() { 24120 return defaultInstance; 24121 } 24122 24123 @Override 24124 public MethodOptions getDefaultInstanceForType() { 24125 return defaultInstance; 24126 } 24127 24128 private final com.google.protobuf.UnknownFieldSet unknownFields; 31140 } 31141 private MethodOptions() { 31142 deprecated_ = false; 31143 idempotencyLevel_ = 0; 31144 uninterpretedOption_ = java.util.Collections.emptyList(); 31145 } 31146 24129 31147 @java.lang.Override 24130 31148 public final com.google.protobuf.UnknownFieldSet 24131 31149 getUnknownFields() { 24132 31150 return this.unknownFields; 24133 31151 } … … 24136 31154 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24137 31155 throws com.google.protobuf.InvalidProtocolBufferException { 24138 initFields();31156 this(); 24139 31157 int mutable_bitField0_ = 0; 24140 31158 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 24149 31167 break; 24150 31168 default: { 24151 if (!parseUnknownField( input, unknownFields,24152 31169 if (!parseUnknownField( 31170 input, unknownFields, extensionRegistry, tag)) { 24153 31171 done = true; 24154 31172 } … … 24160 31178 break; 24161 31179 } 31180 case 272: { 31181 int rawValue = input.readEnum(); 31182 com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel value = com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel.valueOf(rawValue); 31183 if (value == null) { 31184 unknownFields.mergeVarintField(34, rawValue); 31185 } else { 31186 bitField0_ |= 0x00000002; 31187 idempotencyLevel_ = rawValue; 31188 } 31189 break; 31190 } 24162 31191 case 7994: { 24163 if (!((mutable_bitField0_ & 0x0000000 2) == 0x00000002)) {24164 uninterpretedOption_ = new java.util.ArrayList<>(); 24165 mutable_bitField0_ |= 0x0000000 2;31192 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 31193 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(); 31194 mutable_bitField0_ |= 0x00000004; 24166 31195 } 24167 uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 31196 uninterpretedOption_.add( 31197 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry)); 24168 31198 break; 24169 31199 } … … 24174 31204 } catch (java.io.IOException e) { 24175 31205 throw new com.google.protobuf.InvalidProtocolBufferException( 24176 e .getMessage()).setUnfinishedMessage(this);31206 e).setUnfinishedMessage(this); 24177 31207 } finally { 24178 if (((mutable_bitField0_ & 0x0000000 2) == 0x00000002)) {31208 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 24179 31209 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 24180 31210 } … … 24188 31218 } 24189 31219 24190 @Override 24191 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 31220 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 24192 31221 internalGetFieldAccessorTable() { 24193 31222 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_fieldAccessorTable … … 24196 31225 } 24197 31226 24198 public static com.google.protobuf.Parser<MethodOptions> PARSER = 24199 new com.google.protobuf.AbstractParser<MethodOptions>() { 24200 @Override 24201 public MethodOptions parsePartialFrom( 24202 com.google.protobuf.CodedInputStream input, 24203 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24204 throws com.google.protobuf.InvalidProtocolBufferException { 24205 return new MethodOptions(input, extensionRegistry); 24206 } 24207 }; 24208 24209 @java.lang.Override 24210 public com.google.protobuf.Parser<MethodOptions> getParserForType() { 24211 return PARSER; 31227 /** 31228 * <pre> 31229 * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, 31230 * or neither? HTTP based RPC implementation may choose GET verb for safe 31231 * methods, and PUT verb for idempotent methods instead of the default POST. 31232 * </pre> 31233 * 31234 * Protobuf enum {@code google.protobuf.MethodOptions.IdempotencyLevel} 31235 */ 31236 public enum IdempotencyLevel 31237 implements com.google.protobuf.ProtocolMessageEnum { 31238 /** 31239 * <code>IDEMPOTENCY_UNKNOWN = 0;</code> 31240 */ 31241 IDEMPOTENCY_UNKNOWN(0), 31242 /** 31243 * <pre> 31244 * implies idempotent 31245 * </pre> 31246 * 31247 * <code>NO_SIDE_EFFECTS = 1;</code> 31248 */ 31249 NO_SIDE_EFFECTS(1), 31250 /** 31251 * <pre> 31252 * idempotent, but may have side effects 31253 * </pre> 31254 * 31255 * <code>IDEMPOTENT = 2;</code> 31256 */ 31257 IDEMPOTENT(2), 31258 ; 31259 31260 /** 31261 * <code>IDEMPOTENCY_UNKNOWN = 0;</code> 31262 */ 31263 public static final int IDEMPOTENCY_UNKNOWN_VALUE = 0; 31264 /** 31265 * <pre> 31266 * implies idempotent 31267 * </pre> 31268 * 31269 * <code>NO_SIDE_EFFECTS = 1;</code> 31270 */ 31271 public static final int NO_SIDE_EFFECTS_VALUE = 1; 31272 /** 31273 * <pre> 31274 * idempotent, but may have side effects 31275 * </pre> 31276 * 31277 * <code>IDEMPOTENT = 2;</code> 31278 */ 31279 public static final int IDEMPOTENT_VALUE = 2; 31280 31281 31282 public final int getNumber() { 31283 return value; 31284 } 31285 31286 /** 31287 * @deprecated Use {@link #forNumber(int)} instead. 31288 */ 31289 @java.lang.Deprecated 31290 public static IdempotencyLevel valueOf(int value) { 31291 return forNumber(value); 31292 } 31293 31294 public static IdempotencyLevel forNumber(int value) { 31295 switch (value) { 31296 case 0: return IDEMPOTENCY_UNKNOWN; 31297 case 1: return NO_SIDE_EFFECTS; 31298 case 2: return IDEMPOTENT; 31299 default: return null; 31300 } 31301 } 31302 31303 public static com.google.protobuf.Internal.EnumLiteMap<IdempotencyLevel> 31304 internalGetValueMap() { 31305 return internalValueMap; 31306 } 31307 private static final com.google.protobuf.Internal.EnumLiteMap< 31308 IdempotencyLevel> internalValueMap = 31309 new com.google.protobuf.Internal.EnumLiteMap<IdempotencyLevel>() { 31310 public IdempotencyLevel findValueByNumber(int number) { 31311 return IdempotencyLevel.forNumber(number); 31312 } 31313 }; 31314 31315 public final com.google.protobuf.Descriptors.EnumValueDescriptor 31316 getValueDescriptor() { 31317 return getDescriptor().getValues().get(ordinal()); 31318 } 31319 public final com.google.protobuf.Descriptors.EnumDescriptor 31320 getDescriptorForType() { 31321 return getDescriptor(); 31322 } 31323 public static final com.google.protobuf.Descriptors.EnumDescriptor 31324 getDescriptor() { 31325 return com.google.protobuf.DescriptorProtos.MethodOptions.getDescriptor().getEnumTypes().get(0); 31326 } 31327 31328 private static final IdempotencyLevel[] VALUES = values(); 31329 31330 public static IdempotencyLevel valueOf( 31331 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 31332 if (desc.getType() != getDescriptor()) { 31333 throw new java.lang.IllegalArgumentException( 31334 "EnumValueDescriptor is not for this type."); 31335 } 31336 return VALUES[desc.getIndex()]; 31337 } 31338 31339 private final int value; 31340 31341 private IdempotencyLevel(int value) { 31342 this.value = value; 31343 } 31344 31345 // @@protoc_insertion_point(enum_scope:google.protobuf.MethodOptions.IdempotencyLevel) 24212 31346 } 24213 31347 … … 24216 31350 private boolean deprecated_; 24217 31351 /** 24218 * <code>optional bool deprecated = 33 [default = false];</code>24219 *24220 31352 * <pre> 24221 31353 * Is this method deprecated? … … 24224 31356 * this is a formalization for deprecating methods. 24225 31357 * </pre> 24226 */ 24227 @Override 24228 public boolean hasDeprecated() { 31358 * 31359 * <code>optional bool deprecated = 33 [default = false];</code> 31360 */ 31361 public boolean hasDeprecated() { 24229 31362 return ((bitField0_ & 0x00000001) == 0x00000001); 24230 31363 } 24231 31364 /** 24232 * <code>optional bool deprecated = 33 [default = false];</code>24233 *24234 31365 * <pre> 24235 31366 * Is this method deprecated? … … 24238 31369 * this is a formalization for deprecating methods. 24239 31370 * </pre> 24240 */ 24241 @Override 24242 public boolean getDeprecated() { 31371 * 31372 * <code>optional bool deprecated = 33 [default = false];</code> 31373 */ 31374 public boolean getDeprecated() { 24243 31375 return deprecated_; 31376 } 31377 31378 public static final int IDEMPOTENCY_LEVEL_FIELD_NUMBER = 34; 31379 private int idempotencyLevel_; 31380 /** 31381 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31382 */ 31383 public boolean hasIdempotencyLevel() { 31384 return ((bitField0_ & 0x00000002) == 0x00000002); 31385 } 31386 /** 31387 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31388 */ 31389 public com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel() { 31390 com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel result = com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel.valueOf(idempotencyLevel_); 31391 return result == null ? com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel.IDEMPOTENCY_UNKNOWN : result; 24244 31392 } 24245 31393 … … 24247 31395 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_; 24248 31396 /** 24249 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24250 *24251 31397 * <pre> 24252 31398 * The parser stores options it doesn't recognize here. See above. 24253 31399 * </pre> 24254 */ 24255 @Override 24256 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 31400 * 31401 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31402 */ 31403 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 24257 31404 return uninterpretedOption_; 24258 31405 } 24259 31406 /** 24260 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24261 *24262 31407 * <pre> 24263 31408 * The parser stores options it doesn't recognize here. See above. 24264 31409 * </pre> 24265 */ 24266 @Override 24267 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 31410 * 31411 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31412 */ 31413 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24268 31414 getUninterpretedOptionOrBuilderList() { 24269 31415 return uninterpretedOption_; 24270 31416 } 24271 31417 /** 24272 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24273 *24274 31418 * <pre> 24275 31419 * The parser stores options it doesn't recognize here. See above. 24276 31420 * </pre> 24277 */ 24278 @Override 24279 public int getUninterpretedOptionCount() { 31421 * 31422 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31423 */ 31424 public int getUninterpretedOptionCount() { 24280 31425 return uninterpretedOption_.size(); 24281 31426 } 24282 31427 /** 24283 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24284 *24285 31428 * <pre> 24286 31429 * The parser stores options it doesn't recognize here. See above. 24287 31430 * </pre> 24288 */ 24289 @Override 24290 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 31431 * 31432 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31433 */ 31434 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 24291 31435 return uninterpretedOption_.get(index); 24292 31436 } 24293 31437 /** 24294 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>24295 *24296 31438 * <pre> 24297 31439 * The parser stores options it doesn't recognize here. See above. 24298 31440 * </pre> 24299 */ 24300 @Override 24301 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 31441 * 31442 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 31443 */ 31444 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 24302 31445 int index) { 24303 31446 return uninterpretedOption_.get(index); 24304 31447 } 24305 31448 24306 private void initFields() {24307 deprecated_ = false;24308 uninterpretedOption_ = java.util.Collections.emptyList();24309 }24310 31449 private byte memoizedIsInitialized = -1; 24311 @Override 24312 public final boolean isInitialized() { 31450 public final boolean isInitialized() { 24313 31451 byte isInitialized = memoizedIsInitialized; 24314 31452 if (isInitialized == 1) return true; … … 24329 31467 } 24330 31468 24331 @Override 24332 public void writeTo(com.google.protobuf.CodedOutputStream output) 31469 public void writeTo(com.google.protobuf.CodedOutputStream output) 24333 31470 throws java.io.IOException { 24334 getSerializedSize(); 24335 com.google.protobuf.GeneratedMessage 24336 .ExtendableMessage<com.google.protobuf.DescriptorProtos.MethodOptions>.ExtensionWriter extensionWriter = 24337 newExtensionWriter(); 31471 com.google.protobuf.GeneratedMessageV3 31472 .ExtendableMessage<com.google.protobuf.DescriptorProtos.MethodOptions>.ExtensionWriter 31473 extensionWriter = newExtensionWriter(); 24338 31474 if (((bitField0_ & 0x00000001) == 0x00000001)) { 24339 31475 output.writeBool(33, deprecated_); 24340 31476 } 31477 if (((bitField0_ & 0x00000002) == 0x00000002)) { 31478 output.writeEnum(34, idempotencyLevel_); 31479 } 24341 31480 for (int i = 0; i < uninterpretedOption_.size(); i++) { 24342 31481 output.writeMessage(999, uninterpretedOption_.get(i)); 24343 31482 } 24344 31483 extensionWriter.writeUntil(536870912, output); 24345 getUnknownFields().writeTo(output); 24346 } 24347 24348 private int memoizedSerializedSize = -1; 24349 @Override 24350 public int getSerializedSize() { 24351 int size = memoizedSerializedSize; 31484 unknownFields.writeTo(output); 31485 } 31486 31487 public int getSerializedSize() { 31488 int size = memoizedSize; 24352 31489 if (size != -1) return size; 24353 31490 … … 24357 31494 .computeBoolSize(33, deprecated_); 24358 31495 } 31496 if (((bitField0_ & 0x00000002) == 0x00000002)) { 31497 size += com.google.protobuf.CodedOutputStream 31498 .computeEnumSize(34, idempotencyLevel_); 31499 } 24359 31500 for (int i = 0; i < uninterpretedOption_.size(); i++) { 24360 31501 size += com.google.protobuf.CodedOutputStream … … 24362 31503 } 24363 31504 size += extensionsSerializedSize(); 24364 size += getUnknownFields().getSerializedSize();24365 memoizedS erializedSize = size;31505 size += unknownFields.getSerializedSize(); 31506 memoizedSize = size; 24366 31507 return size; 24367 31508 } 24368 31509 24369 private static final long serialVersionUID = 0L;24370 31510 @java.lang.Override 24371 protected java.lang.Object writeReplace() 24372 throws java.io.ObjectStreamException { 24373 return super.writeReplace(); 24374 } 24375 31511 public boolean equals(final java.lang.Object obj) { 31512 if (obj == this) { 31513 return true; 31514 } 31515 if (!(obj instanceof com.google.protobuf.DescriptorProtos.MethodOptions)) { 31516 return super.equals(obj); 31517 } 31518 com.google.protobuf.DescriptorProtos.MethodOptions other = (com.google.protobuf.DescriptorProtos.MethodOptions) obj; 31519 31520 boolean result = true; 31521 result = result && (hasDeprecated() == other.hasDeprecated()); 31522 if (hasDeprecated()) { 31523 result = result && (getDeprecated() 31524 == other.getDeprecated()); 31525 } 31526 result = result && (hasIdempotencyLevel() == other.hasIdempotencyLevel()); 31527 if (hasIdempotencyLevel()) { 31528 result = result && idempotencyLevel_ == other.idempotencyLevel_; 31529 } 31530 result = result && getUninterpretedOptionList() 31531 .equals(other.getUninterpretedOptionList()); 31532 result = result && unknownFields.equals(other.unknownFields); 31533 result = result && 31534 getExtensionFields().equals(other.getExtensionFields()); 31535 return result; 31536 } 31537 31538 @java.lang.Override 31539 public int hashCode() { 31540 if (memoizedHashCode != 0) { 31541 return memoizedHashCode; 31542 } 31543 int hash = 41; 31544 hash = (19 * hash) + getDescriptor().hashCode(); 31545 if (hasDeprecated()) { 31546 hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; 31547 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 31548 getDeprecated()); 31549 } 31550 if (hasIdempotencyLevel()) { 31551 hash = (37 * hash) + IDEMPOTENCY_LEVEL_FIELD_NUMBER; 31552 hash = (53 * hash) + idempotencyLevel_; 31553 } 31554 if (getUninterpretedOptionCount() > 0) { 31555 hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; 31556 hash = (53 * hash) + getUninterpretedOptionList().hashCode(); 31557 } 31558 hash = hashFields(hash, getExtensionFields()); 31559 hash = (29 * hash) + unknownFields.hashCode(); 31560 memoizedHashCode = hash; 31561 return hash; 31562 } 31563 31564 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( 31565 java.nio.ByteBuffer data) 31566 throws com.google.protobuf.InvalidProtocolBufferException { 31567 return PARSER.parseFrom(data); 31568 } 31569 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( 31570 java.nio.ByteBuffer data, 31571 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 31572 throws com.google.protobuf.InvalidProtocolBufferException { 31573 return PARSER.parseFrom(data, extensionRegistry); 31574 } 24376 31575 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( 24377 31576 com.google.protobuf.ByteString data) … … 24397 31596 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(java.io.InputStream input) 24398 31597 throws java.io.IOException { 24399 return PARSER.parseFrom(input); 31598 return com.google.protobuf.GeneratedMessageV3 31599 .parseWithIOException(PARSER, input); 24400 31600 } 24401 31601 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( … … 24403 31603 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24404 31604 throws java.io.IOException { 24405 return PARSER.parseFrom(input, extensionRegistry); 31605 return com.google.protobuf.GeneratedMessageV3 31606 .parseWithIOException(PARSER, input, extensionRegistry); 24406 31607 } 24407 31608 public static com.google.protobuf.DescriptorProtos.MethodOptions parseDelimitedFrom(java.io.InputStream input) 24408 31609 throws java.io.IOException { 24409 return PARSER.parseDelimitedFrom(input); 31610 return com.google.protobuf.GeneratedMessageV3 31611 .parseDelimitedWithIOException(PARSER, input); 24410 31612 } 24411 31613 public static com.google.protobuf.DescriptorProtos.MethodOptions parseDelimitedFrom( … … 24413 31615 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24414 31616 throws java.io.IOException { 24415 return PARSER.parseDelimitedFrom(input, extensionRegistry); 31617 return com.google.protobuf.GeneratedMessageV3 31618 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 24416 31619 } 24417 31620 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( 24418 31621 com.google.protobuf.CodedInputStream input) 24419 31622 throws java.io.IOException { 24420 return PARSER.parseFrom(input); 31623 return com.google.protobuf.GeneratedMessageV3 31624 .parseWithIOException(PARSER, input); 24421 31625 } 24422 31626 public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom( … … 24424 31628 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 24425 31629 throws java.io.IOException { 24426 return PARSER.parseFrom(input, extensionRegistry); 24427 } 24428 24429 public static Builder newBuilder() { return Builder.create(); } 24430 @Override 24431 public Builder newBuilderForType() { return newBuilder(); } 31630 return com.google.protobuf.GeneratedMessageV3 31631 .parseWithIOException(PARSER, input, extensionRegistry); 31632 } 31633 31634 public Builder newBuilderForType() { return newBuilder(); } 31635 public static Builder newBuilder() { 31636 return DEFAULT_INSTANCE.toBuilder(); 31637 } 24432 31638 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MethodOptions prototype) { 24433 return newBuilder().mergeFrom(prototype); 24434 } 24435 @Override 24436 public Builder toBuilder() { return newBuilder(this); } 31639 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 31640 } 31641 public Builder toBuilder() { 31642 return this == DEFAULT_INSTANCE 31643 ? new Builder() : new Builder().mergeFrom(this); 31644 } 24437 31645 24438 31646 @java.lang.Override 24439 31647 protected Builder newBuilderForType( 24440 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 31648 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 24441 31649 Builder builder = new Builder(parent); 24442 31650 return builder; … … 24446 31654 */ 24447 31655 public static final class Builder extends 24448 com.google.protobuf.GeneratedMessage.ExtendableBuilder< 31656 com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< 24449 31657 com.google.protobuf.DescriptorProtos.MethodOptions, Builder> implements 24450 31658 // @@protoc_insertion_point(builder_implements:google.protobuf.MethodOptions) … … 24455 31663 } 24456 31664 24457 @Override 24458 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 31665 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 24459 31666 internalGetFieldAccessorTable() { 24460 31667 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_fieldAccessorTable … … 24469 31676 24470 31677 private Builder( 24471 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 31678 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 24472 31679 super(parent); 24473 31680 maybeForceBuilderInitialization(); 24474 31681 } 24475 31682 private void maybeForceBuilderInitialization() { 24476 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 31683 if (com.google.protobuf.GeneratedMessageV3 31684 .alwaysUseFieldBuilders) { 24477 31685 getUninterpretedOptionFieldBuilder(); 24478 31686 } 24479 31687 } 24480 private static Builder create() { 24481 return new Builder(); 24482 } 24483 24484 @Override 24485 public Builder clear() { 31688 public Builder clear() { 24486 31689 super.clear(); 24487 31690 deprecated_ = false; 24488 31691 bitField0_ = (bitField0_ & ~0x00000001); 31692 idempotencyLevel_ = 0; 31693 bitField0_ = (bitField0_ & ~0x00000002); 24489 31694 if (uninterpretedOptionBuilder_ == null) { 24490 31695 uninterpretedOption_ = java.util.Collections.emptyList(); 24491 bitField0_ = (bitField0_ & ~0x0000000 2);31696 bitField0_ = (bitField0_ & ~0x00000004); 24492 31697 } else { 24493 31698 uninterpretedOptionBuilder_.clear(); … … 24496 31701 } 24497 31702 24498 @Override 24499 public Builder clone() { 24500 return create().mergeFrom(buildPartial()); 24501 } 24502 24503 @Override 24504 public com.google.protobuf.Descriptors.Descriptor 31703 public com.google.protobuf.Descriptors.Descriptor 24505 31704 getDescriptorForType() { 24506 31705 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_descriptor; 24507 31706 } 24508 31707 24509 @Override 24510 public com.google.protobuf.DescriptorProtos.MethodOptions getDefaultInstanceForType() { 31708 public com.google.protobuf.DescriptorProtos.MethodOptions getDefaultInstanceForType() { 24511 31709 return com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance(); 24512 31710 } 24513 31711 24514 @Override 24515 public com.google.protobuf.DescriptorProtos.MethodOptions build() { 31712 public com.google.protobuf.DescriptorProtos.MethodOptions build() { 24516 31713 com.google.protobuf.DescriptorProtos.MethodOptions result = buildPartial(); 24517 31714 if (!result.isInitialized()) { … … 24521 31718 } 24522 31719 24523 @Override 24524 public com.google.protobuf.DescriptorProtos.MethodOptions buildPartial() { 31720 public com.google.protobuf.DescriptorProtos.MethodOptions buildPartial() { 24525 31721 com.google.protobuf.DescriptorProtos.MethodOptions result = new com.google.protobuf.DescriptorProtos.MethodOptions(this); 24526 31722 int from_bitField0_ = bitField0_; … … 24530 31726 } 24531 31727 result.deprecated_ = deprecated_; 31728 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 31729 to_bitField0_ |= 0x00000002; 31730 } 31731 result.idempotencyLevel_ = idempotencyLevel_; 24532 31732 if (uninterpretedOptionBuilder_ == null) { 24533 if (((bitField0_ & 0x0000000 2) == 0x00000002)) {31733 if (((bitField0_ & 0x00000004) == 0x00000004)) { 24534 31734 uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); 24535 bitField0_ = (bitField0_ & ~0x0000000 2);31735 bitField0_ = (bitField0_ & ~0x00000004); 24536 31736 } 24537 31737 result.uninterpretedOption_ = uninterpretedOption_; … … 24544 31744 } 24545 31745 24546 @Override 24547 public Builder mergeFrom(com.google.protobuf.Message other) { 31746 public Builder clone() { 31747 return (Builder) super.clone(); 31748 } 31749 public Builder setField( 31750 com.google.protobuf.Descriptors.FieldDescriptor field, 31751 java.lang.Object value) { 31752 return (Builder) super.setField(field, value); 31753 } 31754 public Builder clearField( 31755 com.google.protobuf.Descriptors.FieldDescriptor field) { 31756 return (Builder) super.clearField(field); 31757 } 31758 public Builder clearOneof( 31759 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 31760 return (Builder) super.clearOneof(oneof); 31761 } 31762 public Builder setRepeatedField( 31763 com.google.protobuf.Descriptors.FieldDescriptor field, 31764 int index, java.lang.Object value) { 31765 return (Builder) super.setRepeatedField(field, index, value); 31766 } 31767 public Builder addRepeatedField( 31768 com.google.protobuf.Descriptors.FieldDescriptor field, 31769 java.lang.Object value) { 31770 return (Builder) super.addRepeatedField(field, value); 31771 } 31772 public <Type> Builder setExtension( 31773 com.google.protobuf.GeneratedMessage.GeneratedExtension< 31774 com.google.protobuf.DescriptorProtos.MethodOptions, Type> extension, 31775 Type value) { 31776 return (Builder) super.setExtension(extension, value); 31777 } 31778 public <Type> Builder setExtension( 31779 com.google.protobuf.GeneratedMessage.GeneratedExtension< 31780 com.google.protobuf.DescriptorProtos.MethodOptions, java.util.List<Type>> extension, 31781 int index, Type value) { 31782 return (Builder) super.setExtension(extension, index, value); 31783 } 31784 public <Type> Builder addExtension( 31785 com.google.protobuf.GeneratedMessage.GeneratedExtension< 31786 com.google.protobuf.DescriptorProtos.MethodOptions, java.util.List<Type>> extension, 31787 Type value) { 31788 return (Builder) super.addExtension(extension, value); 31789 } 31790 public <Type> Builder clearExtension( 31791 com.google.protobuf.GeneratedMessage.GeneratedExtension< 31792 com.google.protobuf.DescriptorProtos.MethodOptions, ?> extension) { 31793 return (Builder) super.clearExtension(extension); 31794 } 31795 public Builder mergeFrom(com.google.protobuf.Message other) { 24548 31796 if (other instanceof com.google.protobuf.DescriptorProtos.MethodOptions) { 24549 31797 return mergeFrom((com.google.protobuf.DescriptorProtos.MethodOptions)other); … … 24559 31807 setDeprecated(other.getDeprecated()); 24560 31808 } 31809 if (other.hasIdempotencyLevel()) { 31810 setIdempotencyLevel(other.getIdempotencyLevel()); 31811 } 24561 31812 if (uninterpretedOptionBuilder_ == null) { 24562 31813 if (!other.uninterpretedOption_.isEmpty()) { 24563 31814 if (uninterpretedOption_.isEmpty()) { 24564 31815 uninterpretedOption_ = other.uninterpretedOption_; 24565 bitField0_ = (bitField0_ & ~0x0000000 2);31816 bitField0_ = (bitField0_ & ~0x00000004); 24566 31817 } else { 24567 31818 ensureUninterpretedOptionIsMutable(); … … 24576 31827 uninterpretedOptionBuilder_ = null; 24577 31828 uninterpretedOption_ = other.uninterpretedOption_; 24578 bitField0_ = (bitField0_ & ~0x0000000 2);24579 uninterpretedOptionBuilder_ = 24580 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 31829 bitField0_ = (bitField0_ & ~0x00000004); 31830 uninterpretedOptionBuilder_ = 31831 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 24581 31832 getUninterpretedOptionFieldBuilder() : null; 24582 31833 } else { … … 24586 31837 } 24587 31838 this.mergeExtensionFields(other); 24588 this.mergeUnknownFields(other. getUnknownFields());24589 return this;24590 }24591 24592 @Override 24593 31839 this.mergeUnknownFields(other.unknownFields); 31840 onChanged(); 31841 return this; 31842 } 31843 31844 public final boolean isInitialized() { 24594 31845 for (int i = 0; i < getUninterpretedOptionCount(); i++) { 24595 31846 if (!getUninterpretedOption(i).isInitialized()) { 24596 24597 31847 return false; 24598 31848 } 24599 31849 } 24600 31850 if (!extensionsAreInitialized()) { 24601 24602 31851 return false; 24603 31852 } … … 24605 31854 } 24606 31855 24607 @Override 24608 public Builder mergeFrom( 31856 public Builder mergeFrom( 24609 31857 com.google.protobuf.CodedInputStream input, 24610 31858 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 24615 31863 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 24616 31864 parsedMessage = (com.google.protobuf.DescriptorProtos.MethodOptions) e.getUnfinishedMessage(); 24617 throw e; 31865 throw e.unwrapIOException(); 24618 31866 } finally { 24619 31867 if (parsedMessage != null) { … … 24627 31875 private boolean deprecated_ ; 24628 31876 /** 24629 * <code>optional bool deprecated = 33 [default = false];</code>24630 *24631 31877 * <pre> 24632 31878 * Is this method deprecated? … … 24635 31881 * this is a formalization for deprecating methods. 24636 31882 * </pre> 24637 */ 24638 @Override 24639 public boolean hasDeprecated() { 31883 * 31884 * <code>optional bool deprecated = 33 [default = false];</code> 31885 */ 31886 public boolean hasDeprecated() { 24640 31887 return ((bitField0_ & 0x00000001) == 0x00000001); 24641 31888 } 24642 31889 /** 24643 * <code>optional bool deprecated = 33 [default = false];</code>24644 *24645 31890 * <pre> 24646 31891 * Is this method deprecated? … … 24649 31894 * this is a formalization for deprecating methods. 24650 31895 * </pre> 24651 */ 24652 @Override 24653 public boolean getDeprecated() { 31896 * 31897 * <code>optional bool deprecated = 33 [default = false];</code> 31898 */ 31899 public boolean getDeprecated() { 24654 31900 return deprecated_; 24655 31901 } 24656 31902 /** 24657 * <code>optional bool deprecated = 33 [default = false];</code>24658 *24659 31903 * <pre> 24660 31904 * Is this method deprecated? … … 24663 31907 * this is a formalization for deprecating methods. 24664 31908 * </pre> 31909 * 31910 * <code>optional bool deprecated = 33 [default = false];</code> 24665 31911 */ 24666 31912 public Builder setDeprecated(boolean value) { … … 24671 31917 } 24672 31918 /** 24673 * <code>optional bool deprecated = 33 [default = false];</code>24674 *24675 31919 * <pre> 24676 31920 * Is this method deprecated? … … 24679 31923 * this is a formalization for deprecating methods. 24680 31924 * </pre> 31925 * 31926 * <code>optional bool deprecated = 33 [default = false];</code> 24681 31927 */ 24682 31928 public Builder clearDeprecated() { … … 24687 31933 } 24688 31934 31935 private int idempotencyLevel_ = 0; 31936 /** 31937 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31938 */ 31939 public boolean hasIdempotencyLevel() { 31940 return ((bitField0_ & 0x00000002) == 0x00000002); 31941 } 31942 /** 31943 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31944 */ 31945 public com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel() { 31946 com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel result = com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel.valueOf(idempotencyLevel_); 31947 return result == null ? com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel.IDEMPOTENCY_UNKNOWN : result; 31948 } 31949 /** 31950 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31951 */ 31952 public Builder setIdempotencyLevel(com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel value) { 31953 if (value == null) { 31954 throw new NullPointerException(); 31955 } 31956 bitField0_ |= 0x00000002; 31957 idempotencyLevel_ = value.getNumber(); 31958 onChanged(); 31959 return this; 31960 } 31961 /** 31962 * <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code> 31963 */ 31964 public Builder clearIdempotencyLevel() { 31965 bitField0_ = (bitField0_ & ~0x00000002); 31966 idempotencyLevel_ = 0; 31967 onChanged(); 31968 return this; 31969 } 31970 24689 31971 private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = 24690 31972 java.util.Collections.emptyList(); 24691 31973 private void ensureUninterpretedOptionIsMutable() { 24692 if (!((bitField0_ & 0x0000000 2) == 0x00000002)) {24693 uninterpretedOption_ = new java.util.ArrayList<>(uninterpretedOption_); 24694 bitField0_ |= 0x0000000 2;31974 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 31975 uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_); 31976 bitField0_ |= 0x00000004; 24695 31977 } 24696 31978 } 24697 31979 24698 private com.google.protobuf.RepeatedFieldBuilder< 31980 private com.google.protobuf.RepeatedFieldBuilderV3< 24699 31981 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; 24700 31982 24701 31983 /** 31984 * <pre> 31985 * The parser stores options it doesn't recognize here. See above. 31986 * </pre> 31987 * 24702 31988 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24703 * 24704 * <pre> 24705 * The parser stores options it doesn't recognize here. See above. 24706 * </pre> 24707 */ 24708 @Override 24709 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 31989 */ 31990 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() { 24710 31991 if (uninterpretedOptionBuilder_ == null) { 24711 31992 return java.util.Collections.unmodifiableList(uninterpretedOption_); … … 24715 31996 } 24716 31997 /** 31998 * <pre> 31999 * The parser stores options it doesn't recognize here. See above. 32000 * </pre> 32001 * 24717 32002 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24718 * 24719 * <pre> 24720 * The parser stores options it doesn't recognize here. See above. 24721 * </pre> 24722 */ 24723 @Override 24724 public int getUninterpretedOptionCount() { 32003 */ 32004 public int getUninterpretedOptionCount() { 24725 32005 if (uninterpretedOptionBuilder_ == null) { 24726 32006 return uninterpretedOption_.size(); … … 24730 32010 } 24731 32011 /** 32012 * <pre> 32013 * The parser stores options it doesn't recognize here. See above. 32014 * </pre> 32015 * 24732 32016 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24733 * 24734 * <pre> 24735 * The parser stores options it doesn't recognize here. See above. 24736 * </pre> 24737 */ 24738 @Override 24739 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 32017 */ 32018 public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) { 24740 32019 if (uninterpretedOptionBuilder_ == null) { 24741 32020 return uninterpretedOption_.get(index); … … 24745 32024 } 24746 32025 /** 32026 * <pre> 32027 * The parser stores options it doesn't recognize here. See above. 32028 * </pre> 32029 * 24747 32030 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24748 *24749 * <pre>24750 * The parser stores options it doesn't recognize here. See above.24751 * </pre>24752 32031 */ 24753 32032 public Builder setUninterpretedOption( … … 24766 32045 } 24767 32046 /** 32047 * <pre> 32048 * The parser stores options it doesn't recognize here. See above. 32049 * </pre> 32050 * 24768 32051 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24769 *24770 * <pre>24771 * The parser stores options it doesn't recognize here. See above.24772 * </pre>24773 32052 */ 24774 32053 public Builder setUninterpretedOption( … … 24784 32063 } 24785 32064 /** 32065 * <pre> 32066 * The parser stores options it doesn't recognize here. See above. 32067 * </pre> 32068 * 24786 32069 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24787 *24788 * <pre>24789 * The parser stores options it doesn't recognize here. See above.24790 * </pre>24791 32070 */ 24792 32071 public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) { … … 24804 32083 } 24805 32084 /** 32085 * <pre> 32086 * The parser stores options it doesn't recognize here. See above. 32087 * </pre> 32088 * 24806 32089 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24807 *24808 * <pre>24809 * The parser stores options it doesn't recognize here. See above.24810 * </pre>24811 32090 */ 24812 32091 public Builder addUninterpretedOption( … … 24825 32104 } 24826 32105 /** 32106 * <pre> 32107 * The parser stores options it doesn't recognize here. See above. 32108 * </pre> 32109 * 24827 32110 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24828 *24829 * <pre>24830 * The parser stores options it doesn't recognize here. See above.24831 * </pre>24832 32111 */ 24833 32112 public Builder addUninterpretedOption( … … 24843 32122 } 24844 32123 /** 32124 * <pre> 32125 * The parser stores options it doesn't recognize here. See above. 32126 * </pre> 32127 * 24845 32128 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24846 *24847 * <pre>24848 * The parser stores options it doesn't recognize here. See above.24849 * </pre>24850 32129 */ 24851 32130 public Builder addUninterpretedOption( … … 24861 32140 } 24862 32141 /** 32142 * <pre> 32143 * The parser stores options it doesn't recognize here. See above. 32144 * </pre> 32145 * 24863 32146 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24864 *24865 * <pre>24866 * The parser stores options it doesn't recognize here. See above.24867 * </pre>24868 32147 */ 24869 32148 public Builder addAllUninterpretedOption( … … 24880 32159 } 24881 32160 /** 32161 * <pre> 32162 * The parser stores options it doesn't recognize here. See above. 32163 * </pre> 32164 * 24882 32165 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24883 *24884 * <pre>24885 * The parser stores options it doesn't recognize here. See above.24886 * </pre>24887 32166 */ 24888 32167 public Builder clearUninterpretedOption() { 24889 32168 if (uninterpretedOptionBuilder_ == null) { 24890 32169 uninterpretedOption_ = java.util.Collections.emptyList(); 24891 bitField0_ = (bitField0_ & ~0x0000000 2);32170 bitField0_ = (bitField0_ & ~0x00000004); 24892 32171 onChanged(); 24893 32172 } else { … … 24897 32176 } 24898 32177 /** 32178 * <pre> 32179 * The parser stores options it doesn't recognize here. See above. 32180 * </pre> 32181 * 24899 32182 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24900 *24901 * <pre>24902 * The parser stores options it doesn't recognize here. See above.24903 * </pre>24904 32183 */ 24905 32184 public Builder removeUninterpretedOption(int index) { … … 24914 32193 } 24915 32194 /** 32195 * <pre> 32196 * The parser stores options it doesn't recognize here. See above. 32197 * </pre> 32198 * 24916 32199 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24917 *24918 * <pre>24919 * The parser stores options it doesn't recognize here. See above.24920 * </pre>24921 32200 */ 24922 32201 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder( … … 24925 32204 } 24926 32205 /** 32206 * <pre> 32207 * The parser stores options it doesn't recognize here. See above. 32208 * </pre> 32209 * 24927 32210 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24928 * 24929 * <pre> 24930 * The parser stores options it doesn't recognize here. See above. 24931 * </pre> 24932 */ 24933 @Override 24934 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 32211 */ 32212 public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( 24935 32213 int index) { 24936 32214 if (uninterpretedOptionBuilder_ == null) { … … 24940 32218 } 24941 32219 /** 32220 * <pre> 32221 * The parser stores options it doesn't recognize here. See above. 32222 * </pre> 32223 * 24942 32224 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24943 * 24944 * <pre> 24945 * The parser stores options it doesn't recognize here. See above. 24946 * </pre> 24947 */ 24948 @Override 24949 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 32225 */ 32226 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24950 32227 getUninterpretedOptionOrBuilderList() { 24951 32228 if (uninterpretedOptionBuilder_ != null) { … … 24956 32233 } 24957 32234 /** 32235 * <pre> 32236 * The parser stores options it doesn't recognize here. See above. 32237 * </pre> 32238 * 24958 32239 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24959 *24960 * <pre>24961 * The parser stores options it doesn't recognize here. See above.24962 * </pre>24963 32240 */ 24964 32241 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() { … … 24967 32244 } 24968 32245 /** 32246 * <pre> 32247 * The parser stores options it doesn't recognize here. See above. 32248 * </pre> 32249 * 24969 32250 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24970 *24971 * <pre>24972 * The parser stores options it doesn't recognize here. See above.24973 * </pre>24974 32251 */ 24975 32252 public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder( … … 24979 32256 } 24980 32257 /** 32258 * <pre> 32259 * The parser stores options it doesn't recognize here. See above. 32260 * </pre> 32261 * 24981 32262 * <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code> 24982 * 24983 * <pre> 24984 * The parser stores options it doesn't recognize here. See above. 24985 * </pre> 24986 */ 24987 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 32263 */ 32264 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder> 24988 32265 getUninterpretedOptionBuilderList() { 24989 32266 return getUninterpretedOptionFieldBuilder().getBuilderList(); 24990 32267 } 24991 private com.google.protobuf.RepeatedFieldBuilder< 24992 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 32268 private com.google.protobuf.RepeatedFieldBuilderV3< 32269 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> 24993 32270 getUninterpretedOptionFieldBuilder() { 24994 32271 if (uninterpretedOptionBuilder_ == null) { 24995 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 32272 uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 32273 com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>( 24996 32274 uninterpretedOption_, 24997 ((bitField0_ & 0x0000000 2) == 0x00000002),32275 ((bitField0_ & 0x00000004) == 0x00000004), 24998 32276 getParentForChildren(), 24999 32277 isClean()); … … 25002 32280 return uninterpretedOptionBuilder_; 25003 32281 } 32282 public final Builder setUnknownFields( 32283 final com.google.protobuf.UnknownFieldSet unknownFields) { 32284 return super.setUnknownFields(unknownFields); 32285 } 32286 32287 public final Builder mergeUnknownFields( 32288 final com.google.protobuf.UnknownFieldSet unknownFields) { 32289 return super.mergeUnknownFields(unknownFields); 32290 } 32291 25004 32292 25005 32293 // @@protoc_insertion_point(builder_scope:google.protobuf.MethodOptions) 25006 32294 } 25007 32295 32296 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) 32297 private static final com.google.protobuf.DescriptorProtos.MethodOptions DEFAULT_INSTANCE; 25008 32298 static { 25009 defaultInstance = new MethodOptions(true); 25010 defaultInstance.initFields(); 25011 } 25012 25013 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) 32299 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.MethodOptions(); 32300 } 32301 32302 public static com.google.protobuf.DescriptorProtos.MethodOptions getDefaultInstance() { 32303 return DEFAULT_INSTANCE; 32304 } 32305 32306 @java.lang.Deprecated public static final com.google.protobuf.Parser<MethodOptions> 32307 PARSER = new com.google.protobuf.AbstractParser<MethodOptions>() { 32308 public MethodOptions parsePartialFrom( 32309 com.google.protobuf.CodedInputStream input, 32310 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 32311 throws com.google.protobuf.InvalidProtocolBufferException { 32312 return new MethodOptions(input, extensionRegistry); 32313 } 32314 }; 32315 32316 public static com.google.protobuf.Parser<MethodOptions> parser() { 32317 return PARSER; 32318 } 32319 32320 @java.lang.Override 32321 public com.google.protobuf.Parser<MethodOptions> getParserForType() { 32322 return PARSER; 32323 } 32324 32325 public com.google.protobuf.DescriptorProtos.MethodOptions getDefaultInstanceForType() { 32326 return DEFAULT_INSTANCE; 32327 } 32328 25014 32329 } 25015 32330 … … 25021 32336 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25022 32337 */ 25023 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> 32338 java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> 25024 32339 getNameList(); 25025 32340 /** … … 25034 32349 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25035 32350 */ 25036 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 32351 java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 25037 32352 getNameOrBuilderList(); 25038 32353 /** … … 25043 32358 25044 32359 /** 25045 * <code>optional string identifier_value = 3;</code>25046 *25047 32360 * <pre> 25048 32361 * The value of the uninterpreted option, in whatever type the tokenizer 25049 32362 * identified it as during parsing. Exactly one of these should be set. 25050 32363 * </pre> 32364 * 32365 * <code>optional string identifier_value = 3;</code> 25051 32366 */ 25052 32367 boolean hasIdentifierValue(); 25053 32368 /** 25054 * <code>optional string identifier_value = 3;</code>25055 *25056 32369 * <pre> 25057 32370 * The value of the uninterpreted option, in whatever type the tokenizer 25058 32371 * identified it as during parsing. Exactly one of these should be set. 25059 32372 * </pre> 32373 * 32374 * <code>optional string identifier_value = 3;</code> 25060 32375 */ 25061 32376 java.lang.String getIdentifierValue(); 25062 32377 /** 25063 * <code>optional string identifier_value = 3;</code>25064 *25065 32378 * <pre> 25066 32379 * The value of the uninterpreted option, in whatever type the tokenizer 25067 32380 * identified it as during parsing. Exactly one of these should be set. 25068 32381 * </pre> 32382 * 32383 * <code>optional string identifier_value = 3;</code> 25069 32384 */ 25070 32385 com.google.protobuf.ByteString … … 25122 32437 } 25123 32438 /** 25124 * Protobuf type {@code google.protobuf.UninterpretedOption}25125 *25126 32439 * <pre> 25127 32440 * A message representing a option the parser does not recognize. This only … … 25132 32445 * in them. 25133 32446 * </pre> 32447 * 32448 * Protobuf type {@code google.protobuf.UninterpretedOption} 25134 32449 */ 25135 public static final class UninterpretedOption extends 25136 com.google.protobuf.GeneratedMessage implements 32450 public static final class UninterpretedOption extends 32451 com.google.protobuf.GeneratedMessageV3 implements 25137 32452 // @@protoc_insertion_point(message_implements:google.protobuf.UninterpretedOption) 25138 32453 UninterpretedOptionOrBuilder { 32454 private static final long serialVersionUID = 0L; 25139 32455 // Use UninterpretedOption.newBuilder() to construct. 25140 private UninterpretedOption(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 32456 private UninterpretedOption(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 25141 32457 super(builder); 25142 this.unknownFields = builder.getUnknownFields(); 25143 } 25144 private UninterpretedOption(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 25145 25146 private static final UninterpretedOption defaultInstance; 25147 public static UninterpretedOption getDefaultInstance() { 25148 return defaultInstance; 25149 } 25150 25151 @Override 25152 public UninterpretedOption getDefaultInstanceForType() { 25153 return defaultInstance; 25154 } 25155 25156 private final com.google.protobuf.UnknownFieldSet unknownFields; 32458 } 32459 private UninterpretedOption() { 32460 name_ = java.util.Collections.emptyList(); 32461 identifierValue_ = ""; 32462 positiveIntValue_ = 0L; 32463 negativeIntValue_ = 0L; 32464 doubleValue_ = 0D; 32465 stringValue_ = com.google.protobuf.ByteString.EMPTY; 32466 aggregateValue_ = ""; 32467 } 32468 25157 32469 @java.lang.Override 25158 32470 public final com.google.protobuf.UnknownFieldSet 25159 32471 getUnknownFields() { 25160 32472 return this.unknownFields; 25161 32473 } … … 25164 32476 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25165 32477 throws com.google.protobuf.InvalidProtocolBufferException { 25166 initFields();32478 this(); 25167 32479 int mutable_bitField0_ = 0; 25168 32480 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 25177 32489 break; 25178 32490 default: { 25179 if (!parseUnknownField( input, unknownFields,25180 32491 if (!parseUnknownField( 32492 input, unknownFields, extensionRegistry, tag)) { 25181 32493 done = true; 25182 32494 } … … 25185 32497 case 18: { 25186 32498 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 25187 name_ = new java.util.ArrayList<>(); 32499 name_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart>(); 25188 32500 mutable_bitField0_ |= 0x00000001; 25189 32501 } 25190 name_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.PARSER, extensionRegistry)); 32502 name_.add( 32503 input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.PARSER, extensionRegistry)); 25191 32504 break; 25192 32505 } … … 25229 32542 } catch (java.io.IOException e) { 25230 32543 throw new com.google.protobuf.InvalidProtocolBufferException( 25231 e .getMessage()).setUnfinishedMessage(this);32544 e).setUnfinishedMessage(this); 25232 32545 } finally { 25233 32546 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { … … 25243 32556 } 25244 32557 25245 @Override 25246 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 32558 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 25247 32559 internalGetFieldAccessorTable() { 25248 32560 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable … … 25251 32563 } 25252 32564 25253 public static com.google.protobuf.Parser<UninterpretedOption> PARSER =25254 new com.google.protobuf.AbstractParser<UninterpretedOption>() {25255 @Override25256 public UninterpretedOption parsePartialFrom(25257 com.google.protobuf.CodedInputStream input,25258 com.google.protobuf.ExtensionRegistryLite extensionRegistry)25259 throws com.google.protobuf.InvalidProtocolBufferException {25260 return new UninterpretedOption(input, extensionRegistry);25261 }25262 };25263 25264 @java.lang.Override25265 public com.google.protobuf.Parser<UninterpretedOption> getParserForType() {25266 return PARSER;25267 }25268 25269 32565 public interface NamePartOrBuilder extends 25270 32566 // @@protoc_insertion_point(interface_extends:google.protobuf.UninterpretedOption.NamePart) … … 25295 32591 } 25296 32592 /** 25297 * Protobuf type {@code google.protobuf.UninterpretedOption.NamePart}25298 *25299 32593 * <pre> 25300 32594 * The name of the uninterpreted option. Each string represents a segment in … … 25304 32598 * "foo.(bar.baz).qux". 25305 32599 * </pre> 25306 */ 25307 public static final class NamePart extends 25308 com.google.protobuf.GeneratedMessage implements 32600 * 32601 * Protobuf type {@code google.protobuf.UninterpretedOption.NamePart} 32602 */ 32603 public static final class NamePart extends 32604 com.google.protobuf.GeneratedMessageV3 implements 25309 32605 // @@protoc_insertion_point(message_implements:google.protobuf.UninterpretedOption.NamePart) 25310 32606 NamePartOrBuilder { 32607 private static final long serialVersionUID = 0L; 25311 32608 // Use NamePart.newBuilder() to construct. 25312 private NamePart(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 32609 private NamePart(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 25313 32610 super(builder); 25314 this.unknownFields = builder.getUnknownFields(); 25315 } 25316 private NamePart(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 25317 25318 private static final NamePart defaultInstance; 25319 public static NamePart getDefaultInstance() { 25320 return defaultInstance; 25321 } 25322 25323 @Override 25324 public NamePart getDefaultInstanceForType() { 25325 return defaultInstance; 25326 } 25327 25328 private final com.google.protobuf.UnknownFieldSet unknownFields; 32611 } 32612 private NamePart() { 32613 namePart_ = ""; 32614 isExtension_ = false; 32615 } 32616 25329 32617 @java.lang.Override 25330 32618 public final com.google.protobuf.UnknownFieldSet 25331 32619 getUnknownFields() { 25332 32620 return this.unknownFields; 25333 32621 } … … 25336 32624 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25337 32625 throws com.google.protobuf.InvalidProtocolBufferException { 25338 initFields();32626 this(); 25339 32627 int mutable_bitField0_ = 0; 25340 32628 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 25349 32637 break; 25350 32638 default: { 25351 if (!parseUnknownField( input, unknownFields,25352 32639 if (!parseUnknownField( 32640 input, unknownFields, extensionRegistry, tag)) { 25353 32641 done = true; 25354 32642 } … … 25372 32660 } catch (java.io.IOException e) { 25373 32661 throw new com.google.protobuf.InvalidProtocolBufferException( 25374 e .getMessage()).setUnfinishedMessage(this);32662 e).setUnfinishedMessage(this); 25375 32663 } finally { 25376 32664 this.unknownFields = unknownFields.build(); … … 25383 32671 } 25384 32672 25385 @Override 25386 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 32673 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 25387 32674 internalGetFieldAccessorTable() { 25388 32675 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable … … 25391 32678 } 25392 32679 25393 public static com.google.protobuf.Parser<NamePart> PARSER =25394 new com.google.protobuf.AbstractParser<NamePart>() {25395 @Override25396 public NamePart parsePartialFrom(25397 com.google.protobuf.CodedInputStream input,25398 com.google.protobuf.ExtensionRegistryLite extensionRegistry)25399 throws com.google.protobuf.InvalidProtocolBufferException {25400 return new NamePart(input, extensionRegistry);25401 }25402 };25403 25404 @java.lang.Override25405 public com.google.protobuf.Parser<NamePart> getParserForType() {25406 return PARSER;25407 }25408 25409 32680 private int bitField0_; 25410 32681 public static final int NAME_PART_FIELD_NUMBER = 1; 25411 private java.lang.Object namePart_; 32682 private volatile java.lang.Object namePart_; 25412 32683 /** 25413 32684 * <code>required string name_part = 1;</code> 25414 32685 */ 25415 @Override 25416 public boolean hasNamePart() { 32686 public boolean hasNamePart() { 25417 32687 return ((bitField0_ & 0x00000001) == 0x00000001); 25418 32688 } … … 25420 32690 * <code>required string name_part = 1;</code> 25421 32691 */ 25422 @Override 25423 public java.lang.String getNamePart() { 32692 public java.lang.String getNamePart() { 25424 32693 java.lang.Object ref = namePart_; 25425 32694 if (ref instanceof java.lang.String) { 25426 32695 return (java.lang.String) ref; 25427 32696 } else { 25428 com.google.protobuf.ByteString bs = 32697 com.google.protobuf.ByteString bs = 25429 32698 (com.google.protobuf.ByteString) ref; 25430 32699 java.lang.String s = bs.toStringUtf8(); … … 25438 32707 * <code>required string name_part = 1;</code> 25439 32708 */ 25440 @Override 25441 public com.google.protobuf.ByteString 32709 public com.google.protobuf.ByteString 25442 32710 getNamePartBytes() { 25443 32711 java.lang.Object ref = namePart_; 25444 32712 if (ref instanceof java.lang.String) { 25445 com.google.protobuf.ByteString b = 32713 com.google.protobuf.ByteString b = 25446 32714 com.google.protobuf.ByteString.copyFromUtf8( 25447 32715 (java.lang.String) ref); … … 25458 32726 * <code>required bool is_extension = 2;</code> 25459 32727 */ 25460 @Override 25461 public boolean hasIsExtension() { 32728 public boolean hasIsExtension() { 25462 32729 return ((bitField0_ & 0x00000002) == 0x00000002); 25463 32730 } … … 25465 32732 * <code>required bool is_extension = 2;</code> 25466 32733 */ 25467 @Override 25468 public boolean getIsExtension() { 32734 public boolean getIsExtension() { 25469 32735 return isExtension_; 25470 32736 } 25471 32737 25472 private void initFields() {25473 namePart_ = "";25474 isExtension_ = false;25475 }25476 32738 private byte memoizedIsInitialized = -1; 25477 @Override 25478 public final boolean isInitialized() { 32739 public final boolean isInitialized() { 25479 32740 byte isInitialized = memoizedIsInitialized; 25480 32741 if (isInitialized == 1) return true; … … 25493 32754 } 25494 32755 25495 @Override 25496 public void writeTo(com.google.protobuf.CodedOutputStream output) 32756 public void writeTo(com.google.protobuf.CodedOutputStream output) 25497 32757 throws java.io.IOException { 25498 getSerializedSize();25499 32758 if (((bitField0_ & 0x00000001) == 0x00000001)) { 25500 output.writeBytes(1, getNamePartBytes());32759 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namePart_); 25501 32760 } 25502 32761 if (((bitField0_ & 0x00000002) == 0x00000002)) { 25503 32762 output.writeBool(2, isExtension_); 25504 32763 } 25505 getUnknownFields().writeTo(output); 25506 } 25507 25508 private int memoizedSerializedSize = -1; 25509 @Override 25510 public int getSerializedSize() { 25511 int size = memoizedSerializedSize; 32764 unknownFields.writeTo(output); 32765 } 32766 32767 public int getSerializedSize() { 32768 int size = memoizedSize; 25512 32769 if (size != -1) return size; 25513 32770 25514 32771 size = 0; 25515 32772 if (((bitField0_ & 0x00000001) == 0x00000001)) { 25516 size += com.google.protobuf.CodedOutputStream 25517 .computeBytesSize(1, getNamePartBytes()); 32773 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namePart_); 25518 32774 } 25519 32775 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 25521 32777 .computeBoolSize(2, isExtension_); 25522 32778 } 25523 size += getUnknownFields().getSerializedSize();25524 memoizedS erializedSize = size;32779 size += unknownFields.getSerializedSize(); 32780 memoizedSize = size; 25525 32781 return size; 25526 32782 } 25527 32783 25528 private static final long serialVersionUID = 0L;25529 32784 @java.lang.Override 25530 protected java.lang.Object writeReplace() 25531 throws java.io.ObjectStreamException { 25532 return super.writeReplace(); 25533 } 25534 32785 public boolean equals(final java.lang.Object obj) { 32786 if (obj == this) { 32787 return true; 32788 } 32789 if (!(obj instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart)) { 32790 return super.equals(obj); 32791 } 32792 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart other = (com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart) obj; 32793 32794 boolean result = true; 32795 result = result && (hasNamePart() == other.hasNamePart()); 32796 if (hasNamePart()) { 32797 result = result && getNamePart() 32798 .equals(other.getNamePart()); 32799 } 32800 result = result && (hasIsExtension() == other.hasIsExtension()); 32801 if (hasIsExtension()) { 32802 result = result && (getIsExtension() 32803 == other.getIsExtension()); 32804 } 32805 result = result && unknownFields.equals(other.unknownFields); 32806 return result; 32807 } 32808 32809 @java.lang.Override 32810 public int hashCode() { 32811 if (memoizedHashCode != 0) { 32812 return memoizedHashCode; 32813 } 32814 int hash = 41; 32815 hash = (19 * hash) + getDescriptor().hashCode(); 32816 if (hasNamePart()) { 32817 hash = (37 * hash) + NAME_PART_FIELD_NUMBER; 32818 hash = (53 * hash) + getNamePart().hashCode(); 32819 } 32820 if (hasIsExtension()) { 32821 hash = (37 * hash) + IS_EXTENSION_FIELD_NUMBER; 32822 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 32823 getIsExtension()); 32824 } 32825 hash = (29 * hash) + unknownFields.hashCode(); 32826 memoizedHashCode = hash; 32827 return hash; 32828 } 32829 32830 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( 32831 java.nio.ByteBuffer data) 32832 throws com.google.protobuf.InvalidProtocolBufferException { 32833 return PARSER.parseFrom(data); 32834 } 32835 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( 32836 java.nio.ByteBuffer data, 32837 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 32838 throws com.google.protobuf.InvalidProtocolBufferException { 32839 return PARSER.parseFrom(data, extensionRegistry); 32840 } 25535 32841 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( 25536 32842 com.google.protobuf.ByteString data) … … 25556 32862 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(java.io.InputStream input) 25557 32863 throws java.io.IOException { 25558 return PARSER.parseFrom(input); 32864 return com.google.protobuf.GeneratedMessageV3 32865 .parseWithIOException(PARSER, input); 25559 32866 } 25560 32867 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( … … 25562 32869 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25563 32870 throws java.io.IOException { 25564 return PARSER.parseFrom(input, extensionRegistry); 32871 return com.google.protobuf.GeneratedMessageV3 32872 .parseWithIOException(PARSER, input, extensionRegistry); 25565 32873 } 25566 32874 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom(java.io.InputStream input) 25567 32875 throws java.io.IOException { 25568 return PARSER.parseDelimitedFrom(input); 32876 return com.google.protobuf.GeneratedMessageV3 32877 .parseDelimitedWithIOException(PARSER, input); 25569 32878 } 25570 32879 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom( … … 25572 32881 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25573 32882 throws java.io.IOException { 25574 return PARSER.parseDelimitedFrom(input, extensionRegistry); 32883 return com.google.protobuf.GeneratedMessageV3 32884 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 25575 32885 } 25576 32886 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( 25577 32887 com.google.protobuf.CodedInputStream input) 25578 32888 throws java.io.IOException { 25579 return PARSER.parseFrom(input); 32889 return com.google.protobuf.GeneratedMessageV3 32890 .parseWithIOException(PARSER, input); 25580 32891 } 25581 32892 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom( … … 25583 32894 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 25584 32895 throws java.io.IOException { 25585 return PARSER.parseFrom(input, extensionRegistry); 25586 } 25587 25588 public static Builder newBuilder() { return Builder.create(); } 25589 @Override 25590 public Builder newBuilderForType() { return newBuilder(); } 32896 return com.google.protobuf.GeneratedMessageV3 32897 .parseWithIOException(PARSER, input, extensionRegistry); 32898 } 32899 32900 public Builder newBuilderForType() { return newBuilder(); } 32901 public static Builder newBuilder() { 32902 return DEFAULT_INSTANCE.toBuilder(); 32903 } 25591 32904 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart prototype) { 25592 return newBuilder().mergeFrom(prototype); 25593 } 25594 @Override 25595 public Builder toBuilder() { return newBuilder(this); } 32905 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 32906 } 32907 public Builder toBuilder() { 32908 return this == DEFAULT_INSTANCE 32909 ? new Builder() : new Builder().mergeFrom(this); 32910 } 25596 32911 25597 32912 @java.lang.Override 25598 32913 protected Builder newBuilderForType( 25599 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 32914 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 25600 32915 Builder builder = new Builder(parent); 25601 32916 return builder; 25602 32917 } 25603 32918 /** 25604 * Protobuf type {@code google.protobuf.UninterpretedOption.NamePart}25605 *25606 32919 * <pre> 25607 32920 * The name of the uninterpreted option. Each string represents a segment in … … 25611 32924 * "foo.(bar.baz).qux". 25612 32925 * </pre> 32926 * 32927 * Protobuf type {@code google.protobuf.UninterpretedOption.NamePart} 25613 32928 */ 25614 32929 public static final class Builder extends 25615 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 32930 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 25616 32931 // @@protoc_insertion_point(builder_implements:google.protobuf.UninterpretedOption.NamePart) 25617 32932 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder { … … 25621 32936 } 25622 32937 25623 @Override 25624 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 32938 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 25625 32939 internalGetFieldAccessorTable() { 25626 32940 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable … … 25635 32949 25636 32950 private Builder( 25637 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 32951 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 25638 32952 super(parent); 25639 32953 maybeForceBuilderInitialization(); 25640 32954 } 25641 32955 private void maybeForceBuilderInitialization() { 25642 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 32956 if (com.google.protobuf.GeneratedMessageV3 32957 .alwaysUseFieldBuilders) { 25643 32958 } 25644 32959 } 25645 private static Builder create() { 25646 return new Builder(); 25647 } 25648 25649 @Override 25650 public Builder clear() { 32960 public Builder clear() { 25651 32961 super.clear(); 25652 32962 namePart_ = ""; … … 25657 32967 } 25658 32968 25659 @Override 25660 public Builder clone() { 25661 return create().mergeFrom(buildPartial()); 25662 } 25663 25664 @Override 25665 public com.google.protobuf.Descriptors.Descriptor 32969 public com.google.protobuf.Descriptors.Descriptor 25666 32970 getDescriptorForType() { 25667 32971 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor; 25668 32972 } 25669 32973 25670 @Override 25671 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getDefaultInstanceForType() { 32974 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getDefaultInstanceForType() { 25672 32975 return com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDefaultInstance(); 25673 32976 } 25674 32977 25675 @Override 25676 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart build() { 32978 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart build() { 25677 32979 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart result = buildPartial(); 25678 32980 if (!result.isInitialized()) { … … 25682 32984 } 25683 32985 25684 @Override 25685 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart buildPartial() { 32986 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart buildPartial() { 25686 32987 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart result = new com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart(this); 25687 32988 int from_bitField0_ = bitField0_; … … 25700 33001 } 25701 33002 25702 @Override 25703 public Builder mergeFrom(com.google.protobuf.Message other) { 33003 public Builder clone() { 33004 return (Builder) super.clone(); 33005 } 33006 public Builder setField( 33007 com.google.protobuf.Descriptors.FieldDescriptor field, 33008 java.lang.Object value) { 33009 return (Builder) super.setField(field, value); 33010 } 33011 public Builder clearField( 33012 com.google.protobuf.Descriptors.FieldDescriptor field) { 33013 return (Builder) super.clearField(field); 33014 } 33015 public Builder clearOneof( 33016 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 33017 return (Builder) super.clearOneof(oneof); 33018 } 33019 public Builder setRepeatedField( 33020 com.google.protobuf.Descriptors.FieldDescriptor field, 33021 int index, java.lang.Object value) { 33022 return (Builder) super.setRepeatedField(field, index, value); 33023 } 33024 public Builder addRepeatedField( 33025 com.google.protobuf.Descriptors.FieldDescriptor field, 33026 java.lang.Object value) { 33027 return (Builder) super.addRepeatedField(field, value); 33028 } 33029 public Builder mergeFrom(com.google.protobuf.Message other) { 25704 33030 if (other instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart) { 25705 33031 return mergeFrom((com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart)other); … … 25720 33046 setIsExtension(other.getIsExtension()); 25721 33047 } 25722 this.mergeUnknownFields(other.getUnknownFields()); 33048 this.mergeUnknownFields(other.unknownFields); 33049 onChanged(); 25723 33050 return this; 25724 33051 } 25725 33052 25726 @Override 25727 public final boolean isInitialized() { 33053 public final boolean isInitialized() { 25728 33054 if (!hasNamePart()) { 25729 25730 33055 return false; 25731 33056 } 25732 33057 if (!hasIsExtension()) { 25733 25734 33058 return false; 25735 33059 } … … 25737 33061 } 25738 33062 25739 @Override 25740 public Builder mergeFrom( 33063 public Builder mergeFrom( 25741 33064 com.google.protobuf.CodedInputStream input, 25742 33065 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 25747 33070 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 25748 33071 parsedMessage = (com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart) e.getUnfinishedMessage(); 25749 throw e; 33072 throw e.unwrapIOException(); 25750 33073 } finally { 25751 33074 if (parsedMessage != null) { … … 25761 33084 * <code>required string name_part = 1;</code> 25762 33085 */ 25763 @Override 25764 public boolean hasNamePart() { 33086 public boolean hasNamePart() { 25765 33087 return ((bitField0_ & 0x00000001) == 0x00000001); 25766 33088 } … … 25768 33090 * <code>required string name_part = 1;</code> 25769 33091 */ 25770 @Override 25771 public java.lang.String getNamePart() { 33092 public java.lang.String getNamePart() { 25772 33093 java.lang.Object ref = namePart_; 25773 33094 if (!(ref instanceof java.lang.String)) { … … 25786 33107 * <code>required string name_part = 1;</code> 25787 33108 */ 25788 @Override 25789 public com.google.protobuf.ByteString 33109 public com.google.protobuf.ByteString 25790 33110 getNamePartBytes() { 25791 33111 java.lang.Object ref = namePart_; 25792 33112 if (ref instanceof String) { 25793 com.google.protobuf.ByteString b = 33113 com.google.protobuf.ByteString b = 25794 33114 com.google.protobuf.ByteString.copyFromUtf8( 25795 33115 (java.lang.String) ref); … … 25840 33160 * <code>required bool is_extension = 2;</code> 25841 33161 */ 25842 @Override 25843 public boolean hasIsExtension() { 33162 public boolean hasIsExtension() { 25844 33163 return ((bitField0_ & 0x00000002) == 0x00000002); 25845 33164 } … … 25847 33166 * <code>required bool is_extension = 2;</code> 25848 33167 */ 25849 @Override 25850 public boolean getIsExtension() { 33168 public boolean getIsExtension() { 25851 33169 return isExtension_; 25852 33170 } … … 25869 33187 return this; 25870 33188 } 33189 public final Builder setUnknownFields( 33190 final com.google.protobuf.UnknownFieldSet unknownFields) { 33191 return super.setUnknownFields(unknownFields); 33192 } 33193 33194 public final Builder mergeUnknownFields( 33195 final com.google.protobuf.UnknownFieldSet unknownFields) { 33196 return super.mergeUnknownFields(unknownFields); 33197 } 33198 25871 33199 25872 33200 // @@protoc_insertion_point(builder_scope:google.protobuf.UninterpretedOption.NamePart) 25873 33201 } 25874 33202 33203 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) 33204 private static final com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart DEFAULT_INSTANCE; 25875 33205 static { 25876 defaultInstance = new NamePart(true); 25877 defaultInstance.initFields(); 25878 } 25879 25880 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) 33206 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart(); 33207 } 33208 33209 public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getDefaultInstance() { 33210 return DEFAULT_INSTANCE; 33211 } 33212 33213 @java.lang.Deprecated public static final com.google.protobuf.Parser<NamePart> 33214 PARSER = new com.google.protobuf.AbstractParser<NamePart>() { 33215 public NamePart parsePartialFrom( 33216 com.google.protobuf.CodedInputStream input, 33217 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 33218 throws com.google.protobuf.InvalidProtocolBufferException { 33219 return new NamePart(input, extensionRegistry); 33220 } 33221 }; 33222 33223 public static com.google.protobuf.Parser<NamePart> parser() { 33224 return PARSER; 33225 } 33226 33227 @java.lang.Override 33228 public com.google.protobuf.Parser<NamePart> getParserForType() { 33229 return PARSER; 33230 } 33231 33232 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getDefaultInstanceForType() { 33233 return DEFAULT_INSTANCE; 33234 } 33235 25881 33236 } 25882 33237 … … 25887 33242 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25888 33243 */ 25889 @Override 25890 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() { 33244 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() { 25891 33245 return name_; 25892 33246 } … … 25894 33248 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25895 33249 */ 25896 @Override 25897 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 33250 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 25898 33251 getNameOrBuilderList() { 25899 33252 return name_; … … 25902 33255 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25903 33256 */ 25904 @Override 25905 public int getNameCount() { 33257 public int getNameCount() { 25906 33258 return name_.size(); 25907 33259 } … … 25909 33261 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25910 33262 */ 25911 @Override 25912 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) { 33263 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) { 25913 33264 return name_.get(index); 25914 33265 } … … 25916 33267 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 25917 33268 */ 25918 @Override 25919 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder( 33269 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder( 25920 33270 int index) { 25921 33271 return name_.get(index); … … 25923 33273 25924 33274 public static final int IDENTIFIER_VALUE_FIELD_NUMBER = 3; 25925 private java.lang.Object identifierValue_; 25926 /** 25927 * <code>optional string identifier_value = 3;</code> 25928 * 33275 private volatile java.lang.Object identifierValue_; 33276 /** 25929 33277 * <pre> 25930 33278 * The value of the uninterpreted option, in whatever type the tokenizer 25931 33279 * identified it as during parsing. Exactly one of these should be set. 25932 33280 * </pre> 25933 */ 25934 @Override 25935 public boolean hasIdentifierValue() { 33281 * 33282 * <code>optional string identifier_value = 3;</code> 33283 */ 33284 public boolean hasIdentifierValue() { 25936 33285 return ((bitField0_ & 0x00000001) == 0x00000001); 25937 33286 } 25938 33287 /** 25939 * <code>optional string identifier_value = 3;</code>25940 *25941 33288 * <pre> 25942 33289 * The value of the uninterpreted option, in whatever type the tokenizer 25943 33290 * identified it as during parsing. Exactly one of these should be set. 25944 33291 * </pre> 25945 */ 25946 @Override 25947 public java.lang.String getIdentifierValue() { 33292 * 33293 * <code>optional string identifier_value = 3;</code> 33294 */ 33295 public java.lang.String getIdentifierValue() { 25948 33296 java.lang.Object ref = identifierValue_; 25949 33297 if (ref instanceof java.lang.String) { 25950 33298 return (java.lang.String) ref; 25951 33299 } else { 25952 com.google.protobuf.ByteString bs = 33300 com.google.protobuf.ByteString bs = 25953 33301 (com.google.protobuf.ByteString) ref; 25954 33302 java.lang.String s = bs.toStringUtf8(); … … 25960 33308 } 25961 33309 /** 25962 * <code>optional string identifier_value = 3;</code>25963 *25964 33310 * <pre> 25965 33311 * The value of the uninterpreted option, in whatever type the tokenizer 25966 33312 * identified it as during parsing. Exactly one of these should be set. 25967 33313 * </pre> 25968 */ 25969 @Override 25970 public com.google.protobuf.ByteString 33314 * 33315 * <code>optional string identifier_value = 3;</code> 33316 */ 33317 public com.google.protobuf.ByteString 25971 33318 getIdentifierValueBytes() { 25972 33319 java.lang.Object ref = identifierValue_; 25973 33320 if (ref instanceof java.lang.String) { 25974 com.google.protobuf.ByteString b = 33321 com.google.protobuf.ByteString b = 25975 33322 com.google.protobuf.ByteString.copyFromUtf8( 25976 33323 (java.lang.String) ref); … … 25987 33334 * <code>optional uint64 positive_int_value = 4;</code> 25988 33335 */ 25989 @Override 25990 public boolean hasPositiveIntValue() { 33336 public boolean hasPositiveIntValue() { 25991 33337 return ((bitField0_ & 0x00000002) == 0x00000002); 25992 33338 } … … 25994 33340 * <code>optional uint64 positive_int_value = 4;</code> 25995 33341 */ 25996 @Override 25997 public long getPositiveIntValue() { 33342 public long getPositiveIntValue() { 25998 33343 return positiveIntValue_; 25999 33344 } … … 26004 33349 * <code>optional int64 negative_int_value = 5;</code> 26005 33350 */ 26006 @Override 26007 public boolean hasNegativeIntValue() { 33351 public boolean hasNegativeIntValue() { 26008 33352 return ((bitField0_ & 0x00000004) == 0x00000004); 26009 33353 } … … 26011 33355 * <code>optional int64 negative_int_value = 5;</code> 26012 33356 */ 26013 @Override 26014 public long getNegativeIntValue() { 33357 public long getNegativeIntValue() { 26015 33358 return negativeIntValue_; 26016 33359 } … … 26021 33364 * <code>optional double double_value = 6;</code> 26022 33365 */ 26023 @Override 26024 public boolean hasDoubleValue() { 33366 public boolean hasDoubleValue() { 26025 33367 return ((bitField0_ & 0x00000008) == 0x00000008); 26026 33368 } … … 26028 33370 * <code>optional double double_value = 6;</code> 26029 33371 */ 26030 @Override 26031 public double getDoubleValue() { 33372 public double getDoubleValue() { 26032 33373 return doubleValue_; 26033 33374 } … … 26038 33379 * <code>optional bytes string_value = 7;</code> 26039 33380 */ 26040 @Override 26041 public boolean hasStringValue() { 33381 public boolean hasStringValue() { 26042 33382 return ((bitField0_ & 0x00000010) == 0x00000010); 26043 33383 } … … 26045 33385 * <code>optional bytes string_value = 7;</code> 26046 33386 */ 26047 @Override 26048 public com.google.protobuf.ByteString getStringValue() { 33387 public com.google.protobuf.ByteString getStringValue() { 26049 33388 return stringValue_; 26050 33389 } 26051 33390 26052 33391 public static final int AGGREGATE_VALUE_FIELD_NUMBER = 8; 26053 private java.lang.Object aggregateValue_; 33392 private volatile java.lang.Object aggregateValue_; 26054 33393 /** 26055 33394 * <code>optional string aggregate_value = 8;</code> 26056 33395 */ 26057 @Override 26058 public boolean hasAggregateValue() { 33396 public boolean hasAggregateValue() { 26059 33397 return ((bitField0_ & 0x00000020) == 0x00000020); 26060 33398 } … … 26062 33400 * <code>optional string aggregate_value = 8;</code> 26063 33401 */ 26064 @Override 26065 public java.lang.String getAggregateValue() { 33402 public java.lang.String getAggregateValue() { 26066 33403 java.lang.Object ref = aggregateValue_; 26067 33404 if (ref instanceof java.lang.String) { 26068 33405 return (java.lang.String) ref; 26069 33406 } else { 26070 com.google.protobuf.ByteString bs = 33407 com.google.protobuf.ByteString bs = 26071 33408 (com.google.protobuf.ByteString) ref; 26072 33409 java.lang.String s = bs.toStringUtf8(); … … 26080 33417 * <code>optional string aggregate_value = 8;</code> 26081 33418 */ 26082 @Override 26083 public com.google.protobuf.ByteString 33419 public com.google.protobuf.ByteString 26084 33420 getAggregateValueBytes() { 26085 33421 java.lang.Object ref = aggregateValue_; 26086 33422 if (ref instanceof java.lang.String) { 26087 com.google.protobuf.ByteString b = 33423 com.google.protobuf.ByteString b = 26088 33424 com.google.protobuf.ByteString.copyFromUtf8( 26089 33425 (java.lang.String) ref); … … 26095 33431 } 26096 33432 26097 private void initFields() {26098 name_ = java.util.Collections.emptyList();26099 identifierValue_ = "";26100 positiveIntValue_ = 0L;26101 negativeIntValue_ = 0L;26102 doubleValue_ = 0D;26103 stringValue_ = com.google.protobuf.ByteString.EMPTY;26104 aggregateValue_ = "";26105 }26106 33433 private byte memoizedIsInitialized = -1; 26107 @Override 26108 public final boolean isInitialized() { 33434 public final boolean isInitialized() { 26109 33435 byte isInitialized = memoizedIsInitialized; 26110 33436 if (isInitialized == 1) return true; … … 26121 33447 } 26122 33448 26123 @Override 26124 public void writeTo(com.google.protobuf.CodedOutputStream output) 33449 public void writeTo(com.google.protobuf.CodedOutputStream output) 26125 33450 throws java.io.IOException { 26126 getSerializedSize();26127 33451 for (int i = 0; i < name_.size(); i++) { 26128 33452 output.writeMessage(2, name_.get(i)); 26129 33453 } 26130 33454 if (((bitField0_ & 0x00000001) == 0x00000001)) { 26131 output.writeBytes(3, getIdentifierValueBytes());33455 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, identifierValue_); 26132 33456 } 26133 33457 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 26144 33468 } 26145 33469 if (((bitField0_ & 0x00000020) == 0x00000020)) { 26146 output.writeBytes(8, getAggregateValueBytes()); 26147 } 26148 getUnknownFields().writeTo(output); 26149 } 26150 26151 private int memoizedSerializedSize = -1; 26152 @Override 26153 public int getSerializedSize() { 26154 int size = memoizedSerializedSize; 33470 com.google.protobuf.GeneratedMessageV3.writeString(output, 8, aggregateValue_); 33471 } 33472 unknownFields.writeTo(output); 33473 } 33474 33475 public int getSerializedSize() { 33476 int size = memoizedSize; 26155 33477 if (size != -1) return size; 26156 33478 … … 26161 33483 } 26162 33484 if (((bitField0_ & 0x00000001) == 0x00000001)) { 26163 size += com.google.protobuf.CodedOutputStream 26164 .computeBytesSize(3, getIdentifierValueBytes()); 33485 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, identifierValue_); 26165 33486 } 26166 33487 if (((bitField0_ & 0x00000002) == 0x00000002)) { … … 26181 33502 } 26182 33503 if (((bitField0_ & 0x00000020) == 0x00000020)) { 26183 size += com.google.protobuf.CodedOutputStream 26184 .computeBytesSize(8, getAggregateValueBytes()); 26185 } 26186 size += getUnknownFields().getSerializedSize(); 26187 memoizedSerializedSize = size; 33504 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, aggregateValue_); 33505 } 33506 size += unknownFields.getSerializedSize(); 33507 memoizedSize = size; 26188 33508 return size; 26189 33509 } 26190 33510 26191 private static final long serialVersionUID = 0L;26192 33511 @java.lang.Override 26193 protected java.lang.Object writeReplace() 26194 throws java.io.ObjectStreamException { 26195 return super.writeReplace(); 26196 } 26197 33512 public boolean equals(final java.lang.Object obj) { 33513 if (obj == this) { 33514 return true; 33515 } 33516 if (!(obj instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption)) { 33517 return super.equals(obj); 33518 } 33519 com.google.protobuf.DescriptorProtos.UninterpretedOption other = (com.google.protobuf.DescriptorProtos.UninterpretedOption) obj; 33520 33521 boolean result = true; 33522 result = result && getNameList() 33523 .equals(other.getNameList()); 33524 result = result && (hasIdentifierValue() == other.hasIdentifierValue()); 33525 if (hasIdentifierValue()) { 33526 result = result && getIdentifierValue() 33527 .equals(other.getIdentifierValue()); 33528 } 33529 result = result && (hasPositiveIntValue() == other.hasPositiveIntValue()); 33530 if (hasPositiveIntValue()) { 33531 result = result && (getPositiveIntValue() 33532 == other.getPositiveIntValue()); 33533 } 33534 result = result && (hasNegativeIntValue() == other.hasNegativeIntValue()); 33535 if (hasNegativeIntValue()) { 33536 result = result && (getNegativeIntValue() 33537 == other.getNegativeIntValue()); 33538 } 33539 result = result && (hasDoubleValue() == other.hasDoubleValue()); 33540 if (hasDoubleValue()) { 33541 result = result && ( 33542 java.lang.Double.doubleToLongBits(getDoubleValue()) 33543 == java.lang.Double.doubleToLongBits( 33544 other.getDoubleValue())); 33545 } 33546 result = result && (hasStringValue() == other.hasStringValue()); 33547 if (hasStringValue()) { 33548 result = result && getStringValue() 33549 .equals(other.getStringValue()); 33550 } 33551 result = result && (hasAggregateValue() == other.hasAggregateValue()); 33552 if (hasAggregateValue()) { 33553 result = result && getAggregateValue() 33554 .equals(other.getAggregateValue()); 33555 } 33556 result = result && unknownFields.equals(other.unknownFields); 33557 return result; 33558 } 33559 33560 @java.lang.Override 33561 public int hashCode() { 33562 if (memoizedHashCode != 0) { 33563 return memoizedHashCode; 33564 } 33565 int hash = 41; 33566 hash = (19 * hash) + getDescriptor().hashCode(); 33567 if (getNameCount() > 0) { 33568 hash = (37 * hash) + NAME_FIELD_NUMBER; 33569 hash = (53 * hash) + getNameList().hashCode(); 33570 } 33571 if (hasIdentifierValue()) { 33572 hash = (37 * hash) + IDENTIFIER_VALUE_FIELD_NUMBER; 33573 hash = (53 * hash) + getIdentifierValue().hashCode(); 33574 } 33575 if (hasPositiveIntValue()) { 33576 hash = (37 * hash) + POSITIVE_INT_VALUE_FIELD_NUMBER; 33577 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 33578 getPositiveIntValue()); 33579 } 33580 if (hasNegativeIntValue()) { 33581 hash = (37 * hash) + NEGATIVE_INT_VALUE_FIELD_NUMBER; 33582 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 33583 getNegativeIntValue()); 33584 } 33585 if (hasDoubleValue()) { 33586 hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; 33587 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 33588 java.lang.Double.doubleToLongBits(getDoubleValue())); 33589 } 33590 if (hasStringValue()) { 33591 hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; 33592 hash = (53 * hash) + getStringValue().hashCode(); 33593 } 33594 if (hasAggregateValue()) { 33595 hash = (37 * hash) + AGGREGATE_VALUE_FIELD_NUMBER; 33596 hash = (53 * hash) + getAggregateValue().hashCode(); 33597 } 33598 hash = (29 * hash) + unknownFields.hashCode(); 33599 memoizedHashCode = hash; 33600 return hash; 33601 } 33602 33603 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( 33604 java.nio.ByteBuffer data) 33605 throws com.google.protobuf.InvalidProtocolBufferException { 33606 return PARSER.parseFrom(data); 33607 } 33608 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( 33609 java.nio.ByteBuffer data, 33610 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 33611 throws com.google.protobuf.InvalidProtocolBufferException { 33612 return PARSER.parseFrom(data, extensionRegistry); 33613 } 26198 33614 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( 26199 33615 com.google.protobuf.ByteString data) … … 26219 33635 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input) 26220 33636 throws java.io.IOException { 26221 return PARSER.parseFrom(input); 33637 return com.google.protobuf.GeneratedMessageV3 33638 .parseWithIOException(PARSER, input); 26222 33639 } 26223 33640 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( … … 26225 33642 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 26226 33643 throws java.io.IOException { 26227 return PARSER.parseFrom(input, extensionRegistry); 33644 return com.google.protobuf.GeneratedMessageV3 33645 .parseWithIOException(PARSER, input, extensionRegistry); 26228 33646 } 26229 33647 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseDelimitedFrom(java.io.InputStream input) 26230 33648 throws java.io.IOException { 26231 return PARSER.parseDelimitedFrom(input); 33649 return com.google.protobuf.GeneratedMessageV3 33650 .parseDelimitedWithIOException(PARSER, input); 26232 33651 } 26233 33652 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseDelimitedFrom( … … 26235 33654 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 26236 33655 throws java.io.IOException { 26237 return PARSER.parseDelimitedFrom(input, extensionRegistry); 33656 return com.google.protobuf.GeneratedMessageV3 33657 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 26238 33658 } 26239 33659 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( 26240 33660 com.google.protobuf.CodedInputStream input) 26241 33661 throws java.io.IOException { 26242 return PARSER.parseFrom(input); 33662 return com.google.protobuf.GeneratedMessageV3 33663 .parseWithIOException(PARSER, input); 26243 33664 } 26244 33665 public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom( … … 26246 33667 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 26247 33668 throws java.io.IOException { 26248 return PARSER.parseFrom(input, extensionRegistry); 26249 } 26250 26251 public static Builder newBuilder() { return Builder.create(); } 26252 @Override 26253 public Builder newBuilderForType() { return newBuilder(); } 33669 return com.google.protobuf.GeneratedMessageV3 33670 .parseWithIOException(PARSER, input, extensionRegistry); 33671 } 33672 33673 public Builder newBuilderForType() { return newBuilder(); } 33674 public static Builder newBuilder() { 33675 return DEFAULT_INSTANCE.toBuilder(); 33676 } 26254 33677 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.UninterpretedOption prototype) { 26255 return newBuilder().mergeFrom(prototype); 26256 } 26257 @Override 26258 public Builder toBuilder() { return newBuilder(this); } 33678 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 33679 } 33680 public Builder toBuilder() { 33681 return this == DEFAULT_INSTANCE 33682 ? new Builder() : new Builder().mergeFrom(this); 33683 } 26259 33684 26260 33685 @java.lang.Override 26261 33686 protected Builder newBuilderForType( 26262 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 33687 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 26263 33688 Builder builder = new Builder(parent); 26264 33689 return builder; 26265 33690 } 26266 33691 /** 26267 * Protobuf type {@code google.protobuf.UninterpretedOption}26268 *26269 33692 * <pre> 26270 33693 * A message representing a option the parser does not recognize. This only … … 26275 33698 * in them. 26276 33699 * </pre> 33700 * 33701 * Protobuf type {@code google.protobuf.UninterpretedOption} 26277 33702 */ 26278 33703 public static final class Builder extends 26279 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 33704 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 26280 33705 // @@protoc_insertion_point(builder_implements:google.protobuf.UninterpretedOption) 26281 33706 com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder { … … 26285 33710 } 26286 33711 26287 @Override 26288 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 33712 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 26289 33713 internalGetFieldAccessorTable() { 26290 33714 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable … … 26299 33723 26300 33724 private Builder( 26301 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 33725 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 26302 33726 super(parent); 26303 33727 maybeForceBuilderInitialization(); 26304 33728 } 26305 33729 private void maybeForceBuilderInitialization() { 26306 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 33730 if (com.google.protobuf.GeneratedMessageV3 33731 .alwaysUseFieldBuilders) { 26307 33732 getNameFieldBuilder(); 26308 33733 } 26309 33734 } 26310 private static Builder create() { 26311 return new Builder(); 26312 } 26313 26314 @Override 26315 public Builder clear() { 33735 public Builder clear() { 26316 33736 super.clear(); 26317 33737 if (nameBuilder_ == null) { … … 26336 33756 } 26337 33757 26338 @Override 26339 public Builder clone() { 26340 return create().mergeFrom(buildPartial()); 26341 } 26342 26343 @Override 26344 public com.google.protobuf.Descriptors.Descriptor 33758 public com.google.protobuf.Descriptors.Descriptor 26345 33759 getDescriptorForType() { 26346 33760 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_descriptor; 26347 33761 } 26348 33762 26349 @Override 26350 public com.google.protobuf.DescriptorProtos.UninterpretedOption getDefaultInstanceForType() { 33763 public com.google.protobuf.DescriptorProtos.UninterpretedOption getDefaultInstanceForType() { 26351 33764 return com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance(); 26352 33765 } 26353 33766 26354 @Override 26355 public com.google.protobuf.DescriptorProtos.UninterpretedOption build() { 33767 public com.google.protobuf.DescriptorProtos.UninterpretedOption build() { 26356 33768 com.google.protobuf.DescriptorProtos.UninterpretedOption result = buildPartial(); 26357 33769 if (!result.isInitialized()) { … … 26361 33773 } 26362 33774 26363 @Override 26364 public com.google.protobuf.DescriptorProtos.UninterpretedOption buildPartial() { 33775 public com.google.protobuf.DescriptorProtos.UninterpretedOption buildPartial() { 26365 33776 com.google.protobuf.DescriptorProtos.UninterpretedOption result = new com.google.protobuf.DescriptorProtos.UninterpretedOption(this); 26366 33777 int from_bitField0_ = bitField0_; … … 26404 33815 } 26405 33816 26406 @Override 26407 public Builder mergeFrom(com.google.protobuf.Message other) { 33817 public Builder clone() { 33818 return (Builder) super.clone(); 33819 } 33820 public Builder setField( 33821 com.google.protobuf.Descriptors.FieldDescriptor field, 33822 java.lang.Object value) { 33823 return (Builder) super.setField(field, value); 33824 } 33825 public Builder clearField( 33826 com.google.protobuf.Descriptors.FieldDescriptor field) { 33827 return (Builder) super.clearField(field); 33828 } 33829 public Builder clearOneof( 33830 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 33831 return (Builder) super.clearOneof(oneof); 33832 } 33833 public Builder setRepeatedField( 33834 com.google.protobuf.Descriptors.FieldDescriptor field, 33835 int index, java.lang.Object value) { 33836 return (Builder) super.setRepeatedField(field, index, value); 33837 } 33838 public Builder addRepeatedField( 33839 com.google.protobuf.Descriptors.FieldDescriptor field, 33840 java.lang.Object value) { 33841 return (Builder) super.addRepeatedField(field, value); 33842 } 33843 public Builder mergeFrom(com.google.protobuf.Message other) { 26408 33844 if (other instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption) { 26409 33845 return mergeFrom((com.google.protobuf.DescriptorProtos.UninterpretedOption)other); … … 26434 33870 name_ = other.name_; 26435 33871 bitField0_ = (bitField0_ & ~0x00000001); 26436 nameBuilder_ = 26437 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 33872 nameBuilder_ = 33873 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 26438 33874 getNameFieldBuilder() : null; 26439 33875 } else { … … 26464 33900 onChanged(); 26465 33901 } 26466 this.mergeUnknownFields(other. getUnknownFields());26467 return this;26468 }26469 26470 @Override 26471 33902 this.mergeUnknownFields(other.unknownFields); 33903 onChanged(); 33904 return this; 33905 } 33906 33907 public final boolean isInitialized() { 26472 33908 for (int i = 0; i < getNameCount(); i++) { 26473 33909 if (!getName(i).isInitialized()) { 26474 26475 33910 return false; 26476 33911 } … … 26479 33914 } 26480 33915 26481 @Override 26482 public Builder mergeFrom( 33916 public Builder mergeFrom( 26483 33917 com.google.protobuf.CodedInputStream input, 26484 33918 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 26489 33923 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 26490 33924 parsedMessage = (com.google.protobuf.DescriptorProtos.UninterpretedOption) e.getUnfinishedMessage(); 26491 throw e; 33925 throw e.unwrapIOException(); 26492 33926 } finally { 26493 33927 if (parsedMessage != null) { … … 26503 33937 private void ensureNameIsMutable() { 26504 33938 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 26505 name_ = new java.util.ArrayList<>(name_); 33939 name_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart>(name_); 26506 33940 bitField0_ |= 0x00000001; 26507 33941 } 26508 33942 } 26509 33943 26510 private com.google.protobuf.RepeatedFieldBuilder< 33944 private com.google.protobuf.RepeatedFieldBuilderV3< 26511 33945 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> nameBuilder_; 26512 33946 … … 26514 33948 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26515 33949 */ 26516 @Override 26517 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() { 33950 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() { 26518 33951 if (nameBuilder_ == null) { 26519 33952 return java.util.Collections.unmodifiableList(name_); … … 26525 33958 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26526 33959 */ 26527 @Override 26528 public int getNameCount() { 33960 public int getNameCount() { 26529 33961 if (nameBuilder_ == null) { 26530 33962 return name_.size(); … … 26536 33968 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26537 33969 */ 26538 @Override 26539 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) { 33970 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) { 26540 33971 if (nameBuilder_ == null) { 26541 33972 return name_.get(index); … … 26687 34118 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26688 34119 */ 26689 @Override 26690 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder( 34120 public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder( 26691 34121 int index) { 26692 34122 if (nameBuilder_ == null) { … … 26698 34128 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26699 34129 */ 26700 @Override 26701 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 34130 public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 26702 34131 getNameOrBuilderList() { 26703 34132 if (nameBuilder_ != null) { … … 26725 34154 * <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code> 26726 34155 */ 26727 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder> 34156 public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder> 26728 34157 getNameBuilderList() { 26729 34158 return getNameFieldBuilder().getBuilderList(); 26730 34159 } 26731 private com.google.protobuf.RepeatedFieldBuilder< 26732 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 34160 private com.google.protobuf.RepeatedFieldBuilderV3< 34161 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> 26733 34162 getNameFieldBuilder() { 26734 34163 if (nameBuilder_ == null) { 26735 nameBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 34164 nameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 34165 com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>( 26736 34166 name_, 26737 34167 ((bitField0_ & 0x00000001) == 0x00000001), … … 26745 34175 private java.lang.Object identifierValue_ = ""; 26746 34176 /** 26747 * <code>optional string identifier_value = 3;</code>26748 *26749 34177 * <pre> 26750 34178 * The value of the uninterpreted option, in whatever type the tokenizer 26751 34179 * identified it as during parsing. Exactly one of these should be set. 26752 34180 * </pre> 26753 */ 26754 @Override 26755 public boolean hasIdentifierValue() { 34181 * 34182 * <code>optional string identifier_value = 3;</code> 34183 */ 34184 public boolean hasIdentifierValue() { 26756 34185 return ((bitField0_ & 0x00000002) == 0x00000002); 26757 34186 } 26758 34187 /** 26759 * <code>optional string identifier_value = 3;</code>26760 *26761 34188 * <pre> 26762 34189 * The value of the uninterpreted option, in whatever type the tokenizer 26763 34190 * identified it as during parsing. Exactly one of these should be set. 26764 34191 * </pre> 26765 */ 26766 @Override 26767 public java.lang.String getIdentifierValue() { 34192 * 34193 * <code>optional string identifier_value = 3;</code> 34194 */ 34195 public java.lang.String getIdentifierValue() { 26768 34196 java.lang.Object ref = identifierValue_; 26769 34197 if (!(ref instanceof java.lang.String)) { … … 26780 34208 } 26781 34209 /** 26782 * <code>optional string identifier_value = 3;</code>26783 *26784 34210 * <pre> 26785 34211 * The value of the uninterpreted option, in whatever type the tokenizer 26786 34212 * identified it as during parsing. Exactly one of these should be set. 26787 34213 * </pre> 26788 */ 26789 @Override 26790 public com.google.protobuf.ByteString 34214 * 34215 * <code>optional string identifier_value = 3;</code> 34216 */ 34217 public com.google.protobuf.ByteString 26791 34218 getIdentifierValueBytes() { 26792 34219 java.lang.Object ref = identifierValue_; 26793 34220 if (ref instanceof String) { 26794 com.google.protobuf.ByteString b = 34221 com.google.protobuf.ByteString b = 26795 34222 com.google.protobuf.ByteString.copyFromUtf8( 26796 34223 (java.lang.String) ref); … … 26802 34229 } 26803 34230 /** 26804 * <code>optional string identifier_value = 3;</code>26805 *26806 34231 * <pre> 26807 34232 * The value of the uninterpreted option, in whatever type the tokenizer 26808 34233 * identified it as during parsing. Exactly one of these should be set. 26809 34234 * </pre> 34235 * 34236 * <code>optional string identifier_value = 3;</code> 26810 34237 */ 26811 34238 public Builder setIdentifierValue( … … 26820 34247 } 26821 34248 /** 26822 * <code>optional string identifier_value = 3;</code>26823 *26824 34249 * <pre> 26825 34250 * The value of the uninterpreted option, in whatever type the tokenizer 26826 34251 * identified it as during parsing. Exactly one of these should be set. 26827 34252 * </pre> 34253 * 34254 * <code>optional string identifier_value = 3;</code> 26828 34255 */ 26829 34256 public Builder clearIdentifierValue() { … … 26834 34261 } 26835 34262 /** 26836 * <code>optional string identifier_value = 3;</code>26837 *26838 34263 * <pre> 26839 34264 * The value of the uninterpreted option, in whatever type the tokenizer 26840 34265 * identified it as during parsing. Exactly one of these should be set. 26841 34266 * </pre> 34267 * 34268 * <code>optional string identifier_value = 3;</code> 26842 34269 */ 26843 34270 public Builder setIdentifierValueBytes( … … 26856 34283 * <code>optional uint64 positive_int_value = 4;</code> 26857 34284 */ 26858 @Override 26859 public boolean hasPositiveIntValue() { 34285 public boolean hasPositiveIntValue() { 26860 34286 return ((bitField0_ & 0x00000004) == 0x00000004); 26861 34287 } … … 26863 34289 * <code>optional uint64 positive_int_value = 4;</code> 26864 34290 */ 26865 @Override 26866 public long getPositiveIntValue() { 34291 public long getPositiveIntValue() { 26867 34292 return positiveIntValue_; 26868 34293 } … … 26890 34315 * <code>optional int64 negative_int_value = 5;</code> 26891 34316 */ 26892 @Override 26893 public boolean hasNegativeIntValue() { 34317 public boolean hasNegativeIntValue() { 26894 34318 return ((bitField0_ & 0x00000008) == 0x00000008); 26895 34319 } … … 26897 34321 * <code>optional int64 negative_int_value = 5;</code> 26898 34322 */ 26899 @Override 26900 public long getNegativeIntValue() { 34323 public long getNegativeIntValue() { 26901 34324 return negativeIntValue_; 26902 34325 } … … 26924 34347 * <code>optional double double_value = 6;</code> 26925 34348 */ 26926 @Override 26927 public boolean hasDoubleValue() { 34349 public boolean hasDoubleValue() { 26928 34350 return ((bitField0_ & 0x00000010) == 0x00000010); 26929 34351 } … … 26931 34353 * <code>optional double double_value = 6;</code> 26932 34354 */ 26933 @Override 26934 public double getDoubleValue() { 34355 public double getDoubleValue() { 26935 34356 return doubleValue_; 26936 34357 } … … 26958 34379 * <code>optional bytes string_value = 7;</code> 26959 34380 */ 26960 @Override 26961 public boolean hasStringValue() { 34381 public boolean hasStringValue() { 26962 34382 return ((bitField0_ & 0x00000020) == 0x00000020); 26963 34383 } … … 26965 34385 * <code>optional bytes string_value = 7;</code> 26966 34386 */ 26967 @Override 26968 public com.google.protobuf.ByteString getStringValue() { 34387 public com.google.protobuf.ByteString getStringValue() { 26969 34388 return stringValue_; 26970 34389 } … … 26995 34414 * <code>optional string aggregate_value = 8;</code> 26996 34415 */ 26997 @Override 26998 public boolean hasAggregateValue() { 34416 public boolean hasAggregateValue() { 26999 34417 return ((bitField0_ & 0x00000040) == 0x00000040); 27000 34418 } … … 27002 34420 * <code>optional string aggregate_value = 8;</code> 27003 34421 */ 27004 @Override 27005 public java.lang.String getAggregateValue() { 34422 public java.lang.String getAggregateValue() { 27006 34423 java.lang.Object ref = aggregateValue_; 27007 34424 if (!(ref instanceof java.lang.String)) { … … 27020 34437 * <code>optional string aggregate_value = 8;</code> 27021 34438 */ 27022 @Override 27023 public com.google.protobuf.ByteString 34439 public com.google.protobuf.ByteString 27024 34440 getAggregateValueBytes() { 27025 34441 java.lang.Object ref = aggregateValue_; 27026 34442 if (ref instanceof String) { 27027 com.google.protobuf.ByteString b = 34443 com.google.protobuf.ByteString b = 27028 34444 com.google.protobuf.ByteString.copyFromUtf8( 27029 34445 (java.lang.String) ref); … … 27069 34485 return this; 27070 34486 } 34487 public final Builder setUnknownFields( 34488 final com.google.protobuf.UnknownFieldSet unknownFields) { 34489 return super.setUnknownFields(unknownFields); 34490 } 34491 34492 public final Builder mergeUnknownFields( 34493 final com.google.protobuf.UnknownFieldSet unknownFields) { 34494 return super.mergeUnknownFields(unknownFields); 34495 } 34496 27071 34497 27072 34498 // @@protoc_insertion_point(builder_scope:google.protobuf.UninterpretedOption) 27073 34499 } 27074 34500 34501 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) 34502 private static final com.google.protobuf.DescriptorProtos.UninterpretedOption DEFAULT_INSTANCE; 27075 34503 static { 27076 defaultInstance = new UninterpretedOption(true); 27077 defaultInstance.initFields(); 27078 } 27079 27080 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) 34504 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.UninterpretedOption(); 34505 } 34506 34507 public static com.google.protobuf.DescriptorProtos.UninterpretedOption getDefaultInstance() { 34508 return DEFAULT_INSTANCE; 34509 } 34510 34511 @java.lang.Deprecated public static final com.google.protobuf.Parser<UninterpretedOption> 34512 PARSER = new com.google.protobuf.AbstractParser<UninterpretedOption>() { 34513 public UninterpretedOption parsePartialFrom( 34514 com.google.protobuf.CodedInputStream input, 34515 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 34516 throws com.google.protobuf.InvalidProtocolBufferException { 34517 return new UninterpretedOption(input, extensionRegistry); 34518 } 34519 }; 34520 34521 public static com.google.protobuf.Parser<UninterpretedOption> parser() { 34522 return PARSER; 34523 } 34524 34525 @java.lang.Override 34526 public com.google.protobuf.Parser<UninterpretedOption> getParserForType() { 34527 return PARSER; 34528 } 34529 34530 public com.google.protobuf.DescriptorProtos.UninterpretedOption getDefaultInstanceForType() { 34531 return DEFAULT_INSTANCE; 34532 } 34533 27081 34534 } 27082 34535 … … 27086 34539 27087 34540 /** 27088 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>27089 *27090 34541 * <pre> 27091 34542 * A Location identifies a piece of source code in a .proto file which … … 27131 34582 * be recorded in the future. 27132 34583 * </pre> 27133 */ 27134 java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> 34584 * 34585 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 34586 */ 34587 java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> 27135 34588 getLocationList(); 27136 34589 /** 27137 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>27138 *27139 34590 * <pre> 27140 34591 * A Location identifies a piece of source code in a .proto file which … … 27180 34631 * be recorded in the future. 27181 34632 * </pre> 34633 * 34634 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 27182 34635 */ 27183 34636 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index); 27184 34637 /** 27185 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>27186 *27187 34638 * <pre> 27188 34639 * A Location identifies a piece of source code in a .proto file which … … 27228 34679 * be recorded in the future. 27229 34680 * </pre> 34681 * 34682 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 27230 34683 */ 27231 34684 int getLocationCount(); 27232 34685 /** 27233 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>27234 *27235 34686 * <pre> 27236 34687 * A Location identifies a piece of source code in a .proto file which … … 27276 34727 * be recorded in the future. 27277 34728 * </pre> 27278 */ 27279 java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 34729 * 34730 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 34731 */ 34732 java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 27280 34733 getLocationOrBuilderList(); 27281 34734 /** 27282 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>27283 *27284 34735 * <pre> 27285 34736 * A Location identifies a piece of source code in a .proto file which … … 27325 34776 * be recorded in the future. 27326 34777 * </pre> 34778 * 34779 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 27327 34780 */ 27328 34781 com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder( … … 27330 34783 } 27331 34784 /** 27332 * Protobuf type {@code google.protobuf.SourceCodeInfo}27333 *27334 34785 * <pre> 27335 34786 * Encapsulates information about the original source file from which a 27336 34787 * FileDescriptorProto was generated. 27337 34788 * </pre> 34789 * 34790 * Protobuf type {@code google.protobuf.SourceCodeInfo} 27338 34791 */ 27339 public static final class SourceCodeInfo extends 27340 com.google.protobuf.GeneratedMessage implements 34792 public static final class SourceCodeInfo extends 34793 com.google.protobuf.GeneratedMessageV3 implements 27341 34794 // @@protoc_insertion_point(message_implements:google.protobuf.SourceCodeInfo) 27342 34795 SourceCodeInfoOrBuilder { 34796 private static final long serialVersionUID = 0L; 27343 34797 // Use SourceCodeInfo.newBuilder() to construct. 27344 private SourceCodeInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 34798 private SourceCodeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 27345 34799 super(builder); 27346 this.unknownFields = builder.getUnknownFields(); 27347 } 27348 private SourceCodeInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 27349 27350 private static final SourceCodeInfo defaultInstance; 27351 public static SourceCodeInfo getDefaultInstance() { 27352 return defaultInstance; 27353 } 27354 27355 @Override 27356 public SourceCodeInfo getDefaultInstanceForType() { 27357 return defaultInstance; 27358 } 27359 27360 private final com.google.protobuf.UnknownFieldSet unknownFields; 34800 } 34801 private SourceCodeInfo() { 34802 location_ = java.util.Collections.emptyList(); 34803 } 34804 27361 34805 @java.lang.Override 27362 34806 public final com.google.protobuf.UnknownFieldSet 27363 34807 getUnknownFields() { 27364 34808 return this.unknownFields; 27365 34809 } … … 27368 34812 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27369 34813 throws com.google.protobuf.InvalidProtocolBufferException { 27370 initFields();34814 this(); 27371 34815 int mutable_bitField0_ = 0; 27372 34816 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 27381 34825 break; 27382 34826 default: { 27383 if (!parseUnknownField( input, unknownFields,27384 34827 if (!parseUnknownField( 34828 input, unknownFields, extensionRegistry, tag)) { 27385 34829 done = true; 27386 34830 } … … 27389 34833 case 10: { 27390 34834 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 27391 location_ = new java.util.ArrayList<>(); 34835 location_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location>(); 27392 34836 mutable_bitField0_ |= 0x00000001; 27393 34837 } 27394 location_.add(input.readMessage(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.PARSER, extensionRegistry)); 34838 location_.add( 34839 input.readMessage(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.PARSER, extensionRegistry)); 27395 34840 break; 27396 34841 } … … 27401 34846 } catch (java.io.IOException e) { 27402 34847 throw new com.google.protobuf.InvalidProtocolBufferException( 27403 e .getMessage()).setUnfinishedMessage(this);34848 e).setUnfinishedMessage(this); 27404 34849 } finally { 27405 34850 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { … … 27415 34860 } 27416 34861 27417 @Override 27418 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 34862 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 27419 34863 internalGetFieldAccessorTable() { 27420 34864 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable … … 27423 34867 } 27424 34868 27425 public static com.google.protobuf.Parser<SourceCodeInfo> PARSER =27426 new com.google.protobuf.AbstractParser<SourceCodeInfo>() {27427 @Override27428 public SourceCodeInfo parsePartialFrom(27429 com.google.protobuf.CodedInputStream input,27430 com.google.protobuf.ExtensionRegistryLite extensionRegistry)27431 throws com.google.protobuf.InvalidProtocolBufferException {27432 return new SourceCodeInfo(input, extensionRegistry);27433 }27434 };27435 27436 @java.lang.Override27437 public com.google.protobuf.Parser<SourceCodeInfo> getParserForType() {27438 return PARSER;27439 }27440 27441 34869 public interface LocationOrBuilder extends 27442 34870 // @@protoc_insertion_point(interface_extends:google.protobuf.SourceCodeInfo.Location) … … 27444 34872 27445 34873 /** 27446 * <code>repeated int32 path = 1 [packed = true];</code>27447 *27448 34874 * <pre> 27449 34875 * Identifies which part of the FileDescriptorProto was defined at this … … 27469 34895 * of the label to the terminating semicolon). 27470 34896 * </pre> 34897 * 34898 * <code>repeated int32 path = 1 [packed = true];</code> 27471 34899 */ 27472 34900 java.util.List<java.lang.Integer> getPathList(); 27473 34901 /** 27474 * <code>repeated int32 path = 1 [packed = true];</code>27475 *27476 34902 * <pre> 27477 34903 * Identifies which part of the FileDescriptorProto was defined at this … … 27497 34923 * of the label to the terminating semicolon). 27498 34924 * </pre> 34925 * 34926 * <code>repeated int32 path = 1 [packed = true];</code> 27499 34927 */ 27500 34928 int getPathCount(); 27501 34929 /** 27502 * <code>repeated int32 path = 1 [packed = true];</code>27503 *27504 34930 * <pre> 27505 34931 * Identifies which part of the FileDescriptorProto was defined at this … … 27525 34951 * of the label to the terminating semicolon). 27526 34952 * </pre> 34953 * 34954 * <code>repeated int32 path = 1 [packed = true];</code> 27527 34955 */ 27528 34956 int getPath(int index); 27529 34957 27530 34958 /** 27531 * <code>repeated int32 span = 2 [packed = true];</code>27532 *27533 34959 * <pre> 27534 34960 * Always has exactly three or four elements: start line, start column, … … 27538 34964 * 1 to each before displaying to a user. 27539 34965 * </pre> 34966 * 34967 * <code>repeated int32 span = 2 [packed = true];</code> 27540 34968 */ 27541 34969 java.util.List<java.lang.Integer> getSpanList(); 27542 34970 /** 27543 * <code>repeated int32 span = 2 [packed = true];</code>27544 *27545 34971 * <pre> 27546 34972 * Always has exactly three or four elements: start line, start column, … … 27550 34976 * 1 to each before displaying to a user. 27551 34977 * </pre> 34978 * 34979 * <code>repeated int32 span = 2 [packed = true];</code> 27552 34980 */ 27553 34981 int getSpanCount(); 27554 34982 /** 27555 * <code>repeated int32 span = 2 [packed = true];</code>27556 *27557 34983 * <pre> 27558 34984 * Always has exactly three or four elements: start line, start column, … … 27562 34988 * 1 to each before displaying to a user. 27563 34989 * </pre> 34990 * 34991 * <code>repeated int32 span = 2 [packed = true];</code> 27564 34992 */ 27565 34993 int getSpan(int index); 27566 34994 27567 34995 /** 27568 * <code>optional string leading_comments = 3;</code>27569 *27570 34996 * <pre> 27571 34997 * If this SourceCodeInfo represents a complete declaration, these are any … … 27574 35000 * A series of line comments appearing on consecutive lines, with no other 27575 35001 * tokens appearing on those lines, will be treated as a single comment. 35002 * leading_detached_comments will keep paragraphs of comments that appear 35003 * before (but not connected to) the current element. Each paragraph, 35004 * separated by empty lines, will be one comment element in the repeated 35005 * field. 27576 35006 * Only the comment content is provided; comment markers (e.g. //) are 27577 35007 * stripped out. For block comments, leading whitespace and an asterisk … … 27589 35019 * // Another line attached to qux. 27590 35020 * optional double qux = 4; 35021 * // Detached comment for corge. This is not leading or trailing comments 35022 * // to qux or corge because there are blank lines separating it from 35023 * // both. 35024 * // Detached comment for corge paragraph 2. 27591 35025 * optional string corge = 5; 27592 35026 * /* Block comment attached … … 27596 35030 * * grault. */ 27597 35031 * optional int32 grault = 6; 27598 * </pre> 35032 * // ignored detached comments. 35033 * </pre> 35034 * 35035 * <code>optional string leading_comments = 3;</code> 27599 35036 */ 27600 35037 boolean hasLeadingComments(); 27601 35038 /** 27602 * <code>optional string leading_comments = 3;</code>27603 *27604 35039 * <pre> 27605 35040 * If this SourceCodeInfo represents a complete declaration, these are any … … 27608 35043 * A series of line comments appearing on consecutive lines, with no other 27609 35044 * tokens appearing on those lines, will be treated as a single comment. 35045 * leading_detached_comments will keep paragraphs of comments that appear 35046 * before (but not connected to) the current element. Each paragraph, 35047 * separated by empty lines, will be one comment element in the repeated 35048 * field. 27610 35049 * Only the comment content is provided; comment markers (e.g. //) are 27611 35050 * stripped out. For block comments, leading whitespace and an asterisk … … 27623 35062 * // Another line attached to qux. 27624 35063 * optional double qux = 4; 35064 * // Detached comment for corge. This is not leading or trailing comments 35065 * // to qux or corge because there are blank lines separating it from 35066 * // both. 35067 * // Detached comment for corge paragraph 2. 27625 35068 * optional string corge = 5; 27626 35069 * /* Block comment attached … … 27630 35073 * * grault. */ 27631 35074 * optional int32 grault = 6; 27632 * </pre> 35075 * // ignored detached comments. 35076 * </pre> 35077 * 35078 * <code>optional string leading_comments = 3;</code> 27633 35079 */ 27634 35080 java.lang.String getLeadingComments(); 27635 35081 /** 27636 * <code>optional string leading_comments = 3;</code>27637 *27638 35082 * <pre> 27639 35083 * If this SourceCodeInfo represents a complete declaration, these are any … … 27642 35086 * A series of line comments appearing on consecutive lines, with no other 27643 35087 * tokens appearing on those lines, will be treated as a single comment. 35088 * leading_detached_comments will keep paragraphs of comments that appear 35089 * before (but not connected to) the current element. Each paragraph, 35090 * separated by empty lines, will be one comment element in the repeated 35091 * field. 27644 35092 * Only the comment content is provided; comment markers (e.g. //) are 27645 35093 * stripped out. For block comments, leading whitespace and an asterisk … … 27657 35105 * // Another line attached to qux. 27658 35106 * optional double qux = 4; 35107 * // Detached comment for corge. This is not leading or trailing comments 35108 * // to qux or corge because there are blank lines separating it from 35109 * // both. 35110 * // Detached comment for corge paragraph 2. 27659 35111 * optional string corge = 5; 27660 35112 * /* Block comment attached … … 27664 35116 * * grault. */ 27665 35117 * optional int32 grault = 6; 27666 * </pre> 35118 * // ignored detached comments. 35119 * </pre> 35120 * 35121 * <code>optional string leading_comments = 3;</code> 27667 35122 */ 27668 35123 com.google.protobuf.ByteString … … 27682 35137 com.google.protobuf.ByteString 27683 35138 getTrailingCommentsBytes(); 35139 35140 /** 35141 * <code>repeated string leading_detached_comments = 6;</code> 35142 */ 35143 java.util.List<java.lang.String> 35144 getLeadingDetachedCommentsList(); 35145 /** 35146 * <code>repeated string leading_detached_comments = 6;</code> 35147 */ 35148 int getLeadingDetachedCommentsCount(); 35149 /** 35150 * <code>repeated string leading_detached_comments = 6;</code> 35151 */ 35152 java.lang.String getLeadingDetachedComments(int index); 35153 /** 35154 * <code>repeated string leading_detached_comments = 6;</code> 35155 */ 35156 com.google.protobuf.ByteString 35157 getLeadingDetachedCommentsBytes(int index); 27684 35158 } 27685 35159 /** 27686 35160 * Protobuf type {@code google.protobuf.SourceCodeInfo.Location} 27687 35161 */ 27688 public static final class Location extends 27689 com.google.protobuf.GeneratedMessage implements 35162 public static final class Location extends 35163 com.google.protobuf.GeneratedMessageV3 implements 27690 35164 // @@protoc_insertion_point(message_implements:google.protobuf.SourceCodeInfo.Location) 27691 35165 LocationOrBuilder { 35166 private static final long serialVersionUID = 0L; 27692 35167 // Use Location.newBuilder() to construct. 27693 private Location(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 35168 private Location(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 27694 35169 super(builder); 27695 this.unknownFields = builder.getUnknownFields(); 27696 } 27697 private Location(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 27698 27699 private static final Location defaultInstance; 27700 public static Location getDefaultInstance() { 27701 return defaultInstance; 27702 } 27703 27704 @Override 27705 public Location getDefaultInstanceForType() { 27706 return defaultInstance; 27707 } 27708 27709 private final com.google.protobuf.UnknownFieldSet unknownFields; 35170 } 35171 private Location() { 35172 path_ = java.util.Collections.emptyList(); 35173 span_ = java.util.Collections.emptyList(); 35174 leadingComments_ = ""; 35175 trailingComments_ = ""; 35176 leadingDetachedComments_ = com.google.protobuf.LazyStringArrayList.EMPTY; 35177 } 35178 27710 35179 @java.lang.Override 27711 35180 public final com.google.protobuf.UnknownFieldSet 27712 35181 getUnknownFields() { 27713 35182 return this.unknownFields; 27714 35183 } … … 27717 35186 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 27718 35187 throws com.google.protobuf.InvalidProtocolBufferException { 27719 initFields();35188 this(); 27720 35189 int mutable_bitField0_ = 0; 27721 35190 com.google.protobuf.UnknownFieldSet.Builder unknownFields = … … 27730 35199 break; 27731 35200 default: { 27732 if (!parseUnknownField( input, unknownFields,27733 35201 if (!parseUnknownField( 35202 input, unknownFields, extensionRegistry, tag)) { 27734 35203 done = true; 27735 35204 } … … 27738 35207 case 8: { 27739 35208 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 27740 path_ = new java.util.ArrayList<>(); 35209 path_ = new java.util.ArrayList<java.lang.Integer>(); 27741 35210 mutable_bitField0_ |= 0x00000001; 27742 35211 } … … 27748 35217 int limit = input.pushLimit(length); 27749 35218 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { 27750 path_ = new java.util.ArrayList<>(); 35219 path_ = new java.util.ArrayList<java.lang.Integer>(); 27751 35220 mutable_bitField0_ |= 0x00000001; 27752 35221 } … … 27759 35228 case 16: { 27760 35229 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 27761 span_ = new java.util.ArrayList<>(); 35230 span_ = new java.util.ArrayList<java.lang.Integer>(); 27762 35231 mutable_bitField0_ |= 0x00000002; 27763 35232 } … … 27769 35238 int limit = input.pushLimit(length); 27770 35239 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { 27771 span_ = new java.util.ArrayList<>(); 35240 span_ = new java.util.ArrayList<java.lang.Integer>(); 27772 35241 mutable_bitField0_ |= 0x00000002; 27773 35242 } … … 27790 35259 break; 27791 35260 } 35261 case 50: { 35262 com.google.protobuf.ByteString bs = input.readBytes(); 35263 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 35264 leadingDetachedComments_ = new com.google.protobuf.LazyStringArrayList(); 35265 mutable_bitField0_ |= 0x00000010; 35266 } 35267 leadingDetachedComments_.add(bs); 35268 break; 35269 } 27792 35270 } 27793 35271 } … … 27796 35274 } catch (java.io.IOException e) { 27797 35275 throw new com.google.protobuf.InvalidProtocolBufferException( 27798 e .getMessage()).setUnfinishedMessage(this);35276 e).setUnfinishedMessage(this); 27799 35277 } finally { 27800 35278 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { … … 27804 35282 span_ = java.util.Collections.unmodifiableList(span_); 27805 35283 } 35284 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 35285 leadingDetachedComments_ = leadingDetachedComments_.getUnmodifiableView(); 35286 } 27806 35287 this.unknownFields = unknownFields.build(); 27807 35288 makeExtensionsImmutable(); … … 27813 35294 } 27814 35295 27815 @Override 27816 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 35296 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 27817 35297 internalGetFieldAccessorTable() { 27818 35298 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable … … 27821 35301 } 27822 35302 27823 public static com.google.protobuf.Parser<Location> PARSER =27824 new com.google.protobuf.AbstractParser<Location>() {27825 @Override27826 public Location parsePartialFrom(27827 com.google.protobuf.CodedInputStream input,27828 com.google.protobuf.ExtensionRegistryLite extensionRegistry)27829 throws com.google.protobuf.InvalidProtocolBufferException {27830 return new Location(input, extensionRegistry);27831 }27832 };27833 27834 @java.lang.Override27835 public com.google.protobuf.Parser<Location> getParserForType() {27836 return PARSER;27837 }27838 27839 35303 private int bitField0_; 27840 35304 public static final int PATH_FIELD_NUMBER = 1; 27841 35305 private java.util.List<java.lang.Integer> path_; 27842 35306 /** 27843 * <code>repeated int32 path = 1 [packed = true];</code>27844 *27845 35307 * <pre> 27846 35308 * Identifies which part of the FileDescriptorProto was defined at this … … 27866 35328 * of the label to the terminating semicolon). 27867 35329 * </pre> 27868 */ 27869 @Override 27870 public java.util.List<java.lang.Integer> 35330 * 35331 * <code>repeated int32 path = 1 [packed = true];</code> 35332 */ 35333 public java.util.List<java.lang.Integer> 27871 35334 getPathList() { 27872 35335 return path_; 27873 35336 } 27874 35337 /** 27875 * <code>repeated int32 path = 1 [packed = true];</code>27876 *27877 35338 * <pre> 27878 35339 * Identifies which part of the FileDescriptorProto was defined at this … … 27898 35359 * of the label to the terminating semicolon). 27899 35360 * </pre> 27900 */ 27901 @Override 27902 public int getPathCount() { 35361 * 35362 * <code>repeated int32 path = 1 [packed = true];</code> 35363 */ 35364 public int getPathCount() { 27903 35365 return path_.size(); 27904 35366 } 27905 35367 /** 27906 * <code>repeated int32 path = 1 [packed = true];</code>27907 *27908 35368 * <pre> 27909 35369 * Identifies which part of the FileDescriptorProto was defined at this … … 27929 35389 * of the label to the terminating semicolon). 27930 35390 * </pre> 27931 */ 27932 @Override 27933 public int getPath(int index) { 35391 * 35392 * <code>repeated int32 path = 1 [packed = true];</code> 35393 */ 35394 public int getPath(int index) { 27934 35395 return path_.get(index); 27935 35396 } … … 27939 35400 private java.util.List<java.lang.Integer> span_; 27940 35401 /** 27941 * <code>repeated int32 span = 2 [packed = true];</code>27942 *27943 35402 * <pre> 27944 35403 * Always has exactly three or four elements: start line, start column, … … 27948 35407 * 1 to each before displaying to a user. 27949 35408 * </pre> 27950 */ 27951 @Override 27952 public java.util.List<java.lang.Integer> 35409 * 35410 * <code>repeated int32 span = 2 [packed = true];</code> 35411 */ 35412 public java.util.List<java.lang.Integer> 27953 35413 getSpanList() { 27954 35414 return span_; 27955 35415 } 27956 35416 /** 27957 * <code>repeated int32 span = 2 [packed = true];</code>27958 *27959 35417 * <pre> 27960 35418 * Always has exactly three or four elements: start line, start column, … … 27964 35422 * 1 to each before displaying to a user. 27965 35423 * </pre> 27966 */ 27967 @Override 27968 public int getSpanCount() { 35424 * 35425 * <code>repeated int32 span = 2 [packed = true];</code> 35426 */ 35427 public int getSpanCount() { 27969 35428 return span_.size(); 27970 35429 } 27971 35430 /** 27972 * <code>repeated int32 span = 2 [packed = true];</code>27973 *27974 35431 * <pre> 27975 35432 * Always has exactly three or four elements: start line, start column, … … 27979 35436 * 1 to each before displaying to a user. 27980 35437 * </pre> 27981 */ 27982 @Override 27983 public int getSpan(int index) { 35438 * 35439 * <code>repeated int32 span = 2 [packed = true];</code> 35440 */ 35441 public int getSpan(int index) { 27984 35442 return span_.get(index); 27985 35443 } … … 27987 35445 27988 35446 public static final int LEADING_COMMENTS_FIELD_NUMBER = 3; 27989 private java.lang.Object leadingComments_; 27990 /** 27991 * <code>optional string leading_comments = 3;</code> 27992 * 35447 private volatile java.lang.Object leadingComments_; 35448 /** 27993 35449 * <pre> 27994 35450 * If this SourceCodeInfo represents a complete declaration, these are any … … 27997 35453 * A series of line comments appearing on consecutive lines, with no other 27998 35454 * tokens appearing on those lines, will be treated as a single comment. 35455 * leading_detached_comments will keep paragraphs of comments that appear 35456 * before (but not connected to) the current element. Each paragraph, 35457 * separated by empty lines, will be one comment element in the repeated 35458 * field. 27999 35459 * Only the comment content is provided; comment markers (e.g. //) are 28000 35460 * stripped out. For block comments, leading whitespace and an asterisk … … 28012 35472 * // Another line attached to qux. 28013 35473 * optional double qux = 4; 35474 * // Detached comment for corge. This is not leading or trailing comments 35475 * // to qux or corge because there are blank lines separating it from 35476 * // both. 35477 * // Detached comment for corge paragraph 2. 28014 35478 * optional string corge = 5; 28015 35479 * /* Block comment attached … … 28019 35483 * * grault. */ 28020 35484 * optional int32 grault = 6; 28021 * </pre> 28022 */ 28023 @Override 28024 public boolean hasLeadingComments() { 35485 * // ignored detached comments. 35486 * </pre> 35487 * 35488 * <code>optional string leading_comments = 3;</code> 35489 */ 35490 public boolean hasLeadingComments() { 28025 35491 return ((bitField0_ & 0x00000001) == 0x00000001); 28026 35492 } 28027 35493 /** 28028 * <code>optional string leading_comments = 3;</code>28029 *28030 35494 * <pre> 28031 35495 * If this SourceCodeInfo represents a complete declaration, these are any … … 28034 35498 * A series of line comments appearing on consecutive lines, with no other 28035 35499 * tokens appearing on those lines, will be treated as a single comment. 35500 * leading_detached_comments will keep paragraphs of comments that appear 35501 * before (but not connected to) the current element. Each paragraph, 35502 * separated by empty lines, will be one comment element in the repeated 35503 * field. 28036 35504 * Only the comment content is provided; comment markers (e.g. //) are 28037 35505 * stripped out. For block comments, leading whitespace and an asterisk … … 28049 35517 * // Another line attached to qux. 28050 35518 * optional double qux = 4; 35519 * // Detached comment for corge. This is not leading or trailing comments 35520 * // to qux or corge because there are blank lines separating it from 35521 * // both. 35522 * // Detached comment for corge paragraph 2. 28051 35523 * optional string corge = 5; 28052 35524 * /* Block comment attached … … 28056 35528 * * grault. */ 28057 35529 * optional int32 grault = 6; 28058 * </pre> 28059 */ 28060 @Override 28061 public java.lang.String getLeadingComments() { 35530 * // ignored detached comments. 35531 * </pre> 35532 * 35533 * <code>optional string leading_comments = 3;</code> 35534 */ 35535 public java.lang.String getLeadingComments() { 28062 35536 java.lang.Object ref = leadingComments_; 28063 35537 if (ref instanceof java.lang.String) { 28064 35538 return (java.lang.String) ref; 28065 35539 } else { 28066 com.google.protobuf.ByteString bs = 35540 com.google.protobuf.ByteString bs = 28067 35541 (com.google.protobuf.ByteString) ref; 28068 35542 java.lang.String s = bs.toStringUtf8(); … … 28074 35548 } 28075 35549 /** 28076 * <code>optional string leading_comments = 3;</code>28077 *28078 35550 * <pre> 28079 35551 * If this SourceCodeInfo represents a complete declaration, these are any … … 28082 35554 * A series of line comments appearing on consecutive lines, with no other 28083 35555 * tokens appearing on those lines, will be treated as a single comment. 35556 * leading_detached_comments will keep paragraphs of comments that appear 35557 * before (but not connected to) the current element. Each paragraph, 35558 * separated by empty lines, will be one comment element in the repeated 35559 * field. 28084 35560 * Only the comment content is provided; comment markers (e.g. //) are 28085 35561 * stripped out. For block comments, leading whitespace and an asterisk … … 28097 35573 * // Another line attached to qux. 28098 35574 * optional double qux = 4; 35575 * // Detached comment for corge. This is not leading or trailing comments 35576 * // to qux or corge because there are blank lines separating it from 35577 * // both. 35578 * // Detached comment for corge paragraph 2. 28099 35579 * optional string corge = 5; 28100 35580 * /* Block comment attached … … 28104 35584 * * grault. */ 28105 35585 * optional int32 grault = 6; 28106 * </pre> 28107 */ 28108 @Override 28109 public com.google.protobuf.ByteString 35586 * // ignored detached comments. 35587 * </pre> 35588 * 35589 * <code>optional string leading_comments = 3;</code> 35590 */ 35591 public com.google.protobuf.ByteString 28110 35592 getLeadingCommentsBytes() { 28111 35593 java.lang.Object ref = leadingComments_; 28112 35594 if (ref instanceof java.lang.String) { 28113 com.google.protobuf.ByteString b = 35595 com.google.protobuf.ByteString b = 28114 35596 com.google.protobuf.ByteString.copyFromUtf8( 28115 35597 (java.lang.String) ref); … … 28122 35604 28123 35605 public static final int TRAILING_COMMENTS_FIELD_NUMBER = 4; 28124 private java.lang.Object trailingComments_; 35606 private volatile java.lang.Object trailingComments_; 28125 35607 /** 28126 35608 * <code>optional string trailing_comments = 4;</code> 28127 35609 */ 28128 @Override 28129 public boolean hasTrailingComments() { 35610 public boolean hasTrailingComments() { 28130 35611 return ((bitField0_ & 0x00000002) == 0x00000002); 28131 35612 } … … 28133 35614 * <code>optional string trailing_comments = 4;</code> 28134 35615 */ 28135 @Override 28136 public java.lang.String getTrailingComments() { 35616 public java.lang.String getTrailingComments() { 28137 35617 java.lang.Object ref = trailingComments_; 28138 35618 if (ref instanceof java.lang.String) { 28139 35619 return (java.lang.String) ref; 28140 35620 } else { 28141 com.google.protobuf.ByteString bs = 35621 com.google.protobuf.ByteString bs = 28142 35622 (com.google.protobuf.ByteString) ref; 28143 35623 java.lang.String s = bs.toStringUtf8(); … … 28151 35631 * <code>optional string trailing_comments = 4;</code> 28152 35632 */ 28153 @Override 28154 public com.google.protobuf.ByteString 35633 public com.google.protobuf.ByteString 28155 35634 getTrailingCommentsBytes() { 28156 35635 java.lang.Object ref = trailingComments_; 28157 35636 if (ref instanceof java.lang.String) { 28158 com.google.protobuf.ByteString b = 35637 com.google.protobuf.ByteString b = 28159 35638 com.google.protobuf.ByteString.copyFromUtf8( 28160 35639 (java.lang.String) ref); … … 28166 35645 } 28167 35646 28168 private void initFields() { 28169 path_ = java.util.Collections.emptyList(); 28170 span_ = java.util.Collections.emptyList(); 28171 leadingComments_ = ""; 28172 trailingComments_ = ""; 28173 } 35647 public static final int LEADING_DETACHED_COMMENTS_FIELD_NUMBER = 6; 35648 private com.google.protobuf.LazyStringList leadingDetachedComments_; 35649 /** 35650 * <code>repeated string leading_detached_comments = 6;</code> 35651 */ 35652 public com.google.protobuf.ProtocolStringList 35653 getLeadingDetachedCommentsList() { 35654 return leadingDetachedComments_; 35655 } 35656 /** 35657 * <code>repeated string leading_detached_comments = 6;</code> 35658 */ 35659 public int getLeadingDetachedCommentsCount() { 35660 return leadingDetachedComments_.size(); 35661 } 35662 /** 35663 * <code>repeated string leading_detached_comments = 6;</code> 35664 */ 35665 public java.lang.String getLeadingDetachedComments(int index) { 35666 return leadingDetachedComments_.get(index); 35667 } 35668 /** 35669 * <code>repeated string leading_detached_comments = 6;</code> 35670 */ 35671 public com.google.protobuf.ByteString 35672 getLeadingDetachedCommentsBytes(int index) { 35673 return leadingDetachedComments_.getByteString(index); 35674 } 35675 28174 35676 private byte memoizedIsInitialized = -1; 28175 @Override 28176 public final boolean isInitialized() { 35677 public final boolean isInitialized() { 28177 35678 byte isInitialized = memoizedIsInitialized; 28178 35679 if (isInitialized == 1) return true; … … 28183 35684 } 28184 35685 28185 @Override 28186 public void writeTo(com.google.protobuf.CodedOutputStream output) 35686 public void writeTo(com.google.protobuf.CodedOutputStream output) 28187 35687 throws java.io.IOException { 28188 35688 getSerializedSize(); 28189 35689 if (getPathList().size() > 0) { 28190 output.write RawVarint32(10);28191 output.write RawVarint32(pathMemoizedSerializedSize);35690 output.writeUInt32NoTag(10); 35691 output.writeUInt32NoTag(pathMemoizedSerializedSize); 28192 35692 } 28193 35693 for (int i = 0; i < path_.size(); i++) { … … 28195 35695 } 28196 35696 if (getSpanList().size() > 0) { 28197 output.write RawVarint32(18);28198 output.write RawVarint32(spanMemoizedSerializedSize);35697 output.writeUInt32NoTag(18); 35698 output.writeUInt32NoTag(spanMemoizedSerializedSize); 28199 35699 } 28200 35700 for (int i = 0; i < span_.size(); i++) { … … 28202 35702 } 28203 35703 if (((bitField0_ & 0x00000001) == 0x00000001)) { 28204 output.writeBytes(3, getLeadingCommentsBytes());35704 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, leadingComments_); 28205 35705 } 28206 35706 if (((bitField0_ & 0x00000002) == 0x00000002)) { 28207 output.writeBytes(4, getTrailingCommentsBytes()); 28208 } 28209 getUnknownFields().writeTo(output); 28210 } 28211 28212 private int memoizedSerializedSize = -1; 28213 @Override 28214 public int getSerializedSize() { 28215 int size = memoizedSerializedSize; 35707 com.google.protobuf.GeneratedMessageV3.writeString(output, 4, trailingComments_); 35708 } 35709 for (int i = 0; i < leadingDetachedComments_.size(); i++) { 35710 com.google.protobuf.GeneratedMessageV3.writeString(output, 6, leadingDetachedComments_.getRaw(i)); 35711 } 35712 unknownFields.writeTo(output); 35713 } 35714 35715 public int getSerializedSize() { 35716 int size = memoizedSize; 28216 35717 if (size != -1) return size; 28217 35718 … … 28246 35747 } 28247 35748 if (((bitField0_ & 0x00000001) == 0x00000001)) { 28248 size += com.google.protobuf.CodedOutputStream 28249 .computeBytesSize(3, getLeadingCommentsBytes()); 35749 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, leadingComments_); 28250 35750 } 28251 35751 if (((bitField0_ & 0x00000002) == 0x00000002)) { 28252 size += com.google.protobuf.CodedOutputStream 28253 .computeBytesSize(4, getTrailingCommentsBytes()); 28254 } 28255 size += getUnknownFields().getSerializedSize(); 28256 memoizedSerializedSize = size; 35752 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, trailingComments_); 35753 } 35754 { 35755 int dataSize = 0; 35756 for (int i = 0; i < leadingDetachedComments_.size(); i++) { 35757 dataSize += computeStringSizeNoTag(leadingDetachedComments_.getRaw(i)); 35758 } 35759 size += dataSize; 35760 size += 1 * getLeadingDetachedCommentsList().size(); 35761 } 35762 size += unknownFields.getSerializedSize(); 35763 memoizedSize = size; 28257 35764 return size; 28258 35765 } 28259 35766 28260 private static final long serialVersionUID = 0L;28261 35767 @java.lang.Override 28262 protected java.lang.Object writeReplace() 28263 throws java.io.ObjectStreamException { 28264 return super.writeReplace(); 28265 } 28266 35768 public boolean equals(final java.lang.Object obj) { 35769 if (obj == this) { 35770 return true; 35771 } 35772 if (!(obj instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location)) { 35773 return super.equals(obj); 35774 } 35775 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location other = (com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location) obj; 35776 35777 boolean result = true; 35778 result = result && getPathList() 35779 .equals(other.getPathList()); 35780 result = result && getSpanList() 35781 .equals(other.getSpanList()); 35782 result = result && (hasLeadingComments() == other.hasLeadingComments()); 35783 if (hasLeadingComments()) { 35784 result = result && getLeadingComments() 35785 .equals(other.getLeadingComments()); 35786 } 35787 result = result && (hasTrailingComments() == other.hasTrailingComments()); 35788 if (hasTrailingComments()) { 35789 result = result && getTrailingComments() 35790 .equals(other.getTrailingComments()); 35791 } 35792 result = result && getLeadingDetachedCommentsList() 35793 .equals(other.getLeadingDetachedCommentsList()); 35794 result = result && unknownFields.equals(other.unknownFields); 35795 return result; 35796 } 35797 35798 @java.lang.Override 35799 public int hashCode() { 35800 if (memoizedHashCode != 0) { 35801 return memoizedHashCode; 35802 } 35803 int hash = 41; 35804 hash = (19 * hash) + getDescriptor().hashCode(); 35805 if (getPathCount() > 0) { 35806 hash = (37 * hash) + PATH_FIELD_NUMBER; 35807 hash = (53 * hash) + getPathList().hashCode(); 35808 } 35809 if (getSpanCount() > 0) { 35810 hash = (37 * hash) + SPAN_FIELD_NUMBER; 35811 hash = (53 * hash) + getSpanList().hashCode(); 35812 } 35813 if (hasLeadingComments()) { 35814 hash = (37 * hash) + LEADING_COMMENTS_FIELD_NUMBER; 35815 hash = (53 * hash) + getLeadingComments().hashCode(); 35816 } 35817 if (hasTrailingComments()) { 35818 hash = (37 * hash) + TRAILING_COMMENTS_FIELD_NUMBER; 35819 hash = (53 * hash) + getTrailingComments().hashCode(); 35820 } 35821 if (getLeadingDetachedCommentsCount() > 0) { 35822 hash = (37 * hash) + LEADING_DETACHED_COMMENTS_FIELD_NUMBER; 35823 hash = (53 * hash) + getLeadingDetachedCommentsList().hashCode(); 35824 } 35825 hash = (29 * hash) + unknownFields.hashCode(); 35826 memoizedHashCode = hash; 35827 return hash; 35828 } 35829 35830 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( 35831 java.nio.ByteBuffer data) 35832 throws com.google.protobuf.InvalidProtocolBufferException { 35833 return PARSER.parseFrom(data); 35834 } 35835 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( 35836 java.nio.ByteBuffer data, 35837 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 35838 throws com.google.protobuf.InvalidProtocolBufferException { 35839 return PARSER.parseFrom(data, extensionRegistry); 35840 } 28267 35841 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( 28268 35842 com.google.protobuf.ByteString data) … … 28288 35862 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(java.io.InputStream input) 28289 35863 throws java.io.IOException { 28290 return PARSER.parseFrom(input); 35864 return com.google.protobuf.GeneratedMessageV3 35865 .parseWithIOException(PARSER, input); 28291 35866 } 28292 35867 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( … … 28294 35869 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 28295 35870 throws java.io.IOException { 28296 return PARSER.parseFrom(input, extensionRegistry); 35871 return com.google.protobuf.GeneratedMessageV3 35872 .parseWithIOException(PARSER, input, extensionRegistry); 28297 35873 } 28298 35874 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseDelimitedFrom(java.io.InputStream input) 28299 35875 throws java.io.IOException { 28300 return PARSER.parseDelimitedFrom(input); 35876 return com.google.protobuf.GeneratedMessageV3 35877 .parseDelimitedWithIOException(PARSER, input); 28301 35878 } 28302 35879 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseDelimitedFrom( … … 28304 35881 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 28305 35882 throws java.io.IOException { 28306 return PARSER.parseDelimitedFrom(input, extensionRegistry); 35883 return com.google.protobuf.GeneratedMessageV3 35884 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 28307 35885 } 28308 35886 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( 28309 35887 com.google.protobuf.CodedInputStream input) 28310 35888 throws java.io.IOException { 28311 return PARSER.parseFrom(input); 35889 return com.google.protobuf.GeneratedMessageV3 35890 .parseWithIOException(PARSER, input); 28312 35891 } 28313 35892 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom( … … 28315 35894 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 28316 35895 throws java.io.IOException { 28317 return PARSER.parseFrom(input, extensionRegistry); 28318 } 28319 28320 public static Builder newBuilder() { return Builder.create(); } 28321 @Override 28322 public Builder newBuilderForType() { return newBuilder(); } 35896 return com.google.protobuf.GeneratedMessageV3 35897 .parseWithIOException(PARSER, input, extensionRegistry); 35898 } 35899 35900 public Builder newBuilderForType() { return newBuilder(); } 35901 public static Builder newBuilder() { 35902 return DEFAULT_INSTANCE.toBuilder(); 35903 } 28323 35904 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location prototype) { 28324 return newBuilder().mergeFrom(prototype); 28325 } 28326 @Override 28327 public Builder toBuilder() { return newBuilder(this); } 35905 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 35906 } 35907 public Builder toBuilder() { 35908 return this == DEFAULT_INSTANCE 35909 ? new Builder() : new Builder().mergeFrom(this); 35910 } 28328 35911 28329 35912 @java.lang.Override 28330 35913 protected Builder newBuilderForType( 28331 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 35914 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 28332 35915 Builder builder = new Builder(parent); 28333 35916 return builder; … … 28337 35920 */ 28338 35921 public static final class Builder extends 28339 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 35922 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 28340 35923 // @@protoc_insertion_point(builder_implements:google.protobuf.SourceCodeInfo.Location) 28341 35924 com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder { … … 28345 35928 } 28346 35929 28347 @Override 28348 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 35930 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 28349 35931 internalGetFieldAccessorTable() { 28350 35932 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable … … 28359 35941 28360 35942 private Builder( 28361 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 35943 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 28362 35944 super(parent); 28363 35945 maybeForceBuilderInitialization(); 28364 35946 } 28365 35947 private void maybeForceBuilderInitialization() { 28366 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 35948 if (com.google.protobuf.GeneratedMessageV3 35949 .alwaysUseFieldBuilders) { 28367 35950 } 28368 35951 } 28369 private static Builder create() { 28370 return new Builder(); 28371 } 28372 28373 @Override 28374 public Builder clear() { 35952 public Builder clear() { 28375 35953 super.clear(); 28376 35954 path_ = java.util.Collections.emptyList(); … … 28382 35960 trailingComments_ = ""; 28383 35961 bitField0_ = (bitField0_ & ~0x00000008); 35962 leadingDetachedComments_ = com.google.protobuf.LazyStringArrayList.EMPTY; 35963 bitField0_ = (bitField0_ & ~0x00000010); 28384 35964 return this; 28385 35965 } 28386 35966 28387 @Override 28388 public Builder clone() { 28389 return create().mergeFrom(buildPartial()); 28390 } 28391 28392 @Override 28393 public com.google.protobuf.Descriptors.Descriptor 35967 public com.google.protobuf.Descriptors.Descriptor 28394 35968 getDescriptorForType() { 28395 35969 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_descriptor; 28396 35970 } 28397 35971 28398 @Override 28399 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getDefaultInstanceForType() { 35972 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getDefaultInstanceForType() { 28400 35973 return com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDefaultInstance(); 28401 35974 } 28402 35975 28403 @Override 28404 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location build() { 35976 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location build() { 28405 35977 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location result = buildPartial(); 28406 35978 if (!result.isInitialized()) { … … 28410 35982 } 28411 35983 28412 @Override 28413 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location buildPartial() { 35984 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location buildPartial() { 28414 35985 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location result = new com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location(this); 28415 35986 int from_bitField0_ = bitField0_; … … 28433 36004 } 28434 36005 result.trailingComments_ = trailingComments_; 36006 if (((bitField0_ & 0x00000010) == 0x00000010)) { 36007 leadingDetachedComments_ = leadingDetachedComments_.getUnmodifiableView(); 36008 bitField0_ = (bitField0_ & ~0x00000010); 36009 } 36010 result.leadingDetachedComments_ = leadingDetachedComments_; 28435 36011 result.bitField0_ = to_bitField0_; 28436 36012 onBuilt(); … … 28438 36014 } 28439 36015 28440 @Override 28441 public Builder mergeFrom(com.google.protobuf.Message other) { 36016 public Builder clone() { 36017 return (Builder) super.clone(); 36018 } 36019 public Builder setField( 36020 com.google.protobuf.Descriptors.FieldDescriptor field, 36021 java.lang.Object value) { 36022 return (Builder) super.setField(field, value); 36023 } 36024 public Builder clearField( 36025 com.google.protobuf.Descriptors.FieldDescriptor field) { 36026 return (Builder) super.clearField(field); 36027 } 36028 public Builder clearOneof( 36029 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 36030 return (Builder) super.clearOneof(oneof); 36031 } 36032 public Builder setRepeatedField( 36033 com.google.protobuf.Descriptors.FieldDescriptor field, 36034 int index, java.lang.Object value) { 36035 return (Builder) super.setRepeatedField(field, index, value); 36036 } 36037 public Builder addRepeatedField( 36038 com.google.protobuf.Descriptors.FieldDescriptor field, 36039 java.lang.Object value) { 36040 return (Builder) super.addRepeatedField(field, value); 36041 } 36042 public Builder mergeFrom(com.google.protobuf.Message other) { 28442 36043 if (other instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location) { 28443 36044 return mergeFrom((com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location)other); … … 28480 36081 onChanged(); 28481 36082 } 28482 this.mergeUnknownFields(other.getUnknownFields()); 36083 if (!other.leadingDetachedComments_.isEmpty()) { 36084 if (leadingDetachedComments_.isEmpty()) { 36085 leadingDetachedComments_ = other.leadingDetachedComments_; 36086 bitField0_ = (bitField0_ & ~0x00000010); 36087 } else { 36088 ensureLeadingDetachedCommentsIsMutable(); 36089 leadingDetachedComments_.addAll(other.leadingDetachedComments_); 36090 } 36091 onChanged(); 36092 } 36093 this.mergeUnknownFields(other.unknownFields); 36094 onChanged(); 28483 36095 return this; 28484 36096 } 28485 36097 28486 @Override 28487 public final boolean isInitialized() { 36098 public final boolean isInitialized() { 28488 36099 return true; 28489 36100 } 28490 36101 28491 @Override 28492 public Builder mergeFrom( 36102 public Builder mergeFrom( 28493 36103 com.google.protobuf.CodedInputStream input, 28494 36104 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 28499 36109 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 28500 36110 parsedMessage = (com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location) e.getUnfinishedMessage(); 28501 throw e; 36111 throw e.unwrapIOException(); 28502 36112 } finally { 28503 36113 if (parsedMessage != null) { … … 28512 36122 private void ensurePathIsMutable() { 28513 36123 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 28514 path_ = new java.util.ArrayList<>(path_); 36124 path_ = new java.util.ArrayList<java.lang.Integer>(path_); 28515 36125 bitField0_ |= 0x00000001; 28516 36126 } 28517 36127 } 28518 36128 /** 28519 * <code>repeated int32 path = 1 [packed = true];</code>28520 *28521 36129 * <pre> 28522 36130 * Identifies which part of the FileDescriptorProto was defined at this … … 28542 36150 * of the label to the terminating semicolon). 28543 36151 * </pre> 36152 * 36153 * <code>repeated int32 path = 1 [packed = true];</code> 28544 36154 */ 28545 @Override 28546 public java.util.List<java.lang.Integer> 36155 public java.util.List<java.lang.Integer> 28547 36156 getPathList() { 28548 36157 return java.util.Collections.unmodifiableList(path_); 28549 36158 } 28550 36159 /** 28551 * <code>repeated int32 path = 1 [packed = true];</code>28552 *28553 36160 * <pre> 28554 36161 * Identifies which part of the FileDescriptorProto was defined at this … … 28574 36181 * of the label to the terminating semicolon). 28575 36182 * </pre> 36183 * 36184 * <code>repeated int32 path = 1 [packed = true];</code> 28576 36185 */ 28577 @Override 28578 public int getPathCount() { 36186 public int getPathCount() { 28579 36187 return path_.size(); 28580 36188 } 28581 36189 /** 28582 * <code>repeated int32 path = 1 [packed = true];</code>28583 *28584 36190 * <pre> 28585 36191 * Identifies which part of the FileDescriptorProto was defined at this … … 28605 36211 * of the label to the terminating semicolon). 28606 36212 * </pre> 36213 * 36214 * <code>repeated int32 path = 1 [packed = true];</code> 28607 36215 */ 28608 @Override 28609 public int getPath(int index) { 36216 public int getPath(int index) { 28610 36217 return path_.get(index); 28611 36218 } 28612 36219 /** 28613 * <code>repeated int32 path = 1 [packed = true];</code>28614 *28615 36220 * <pre> 28616 36221 * Identifies which part of the FileDescriptorProto was defined at this … … 28636 36241 * of the label to the terminating semicolon). 28637 36242 * </pre> 36243 * 36244 * <code>repeated int32 path = 1 [packed = true];</code> 28638 36245 */ 28639 36246 public Builder setPath( … … 28645 36252 } 28646 36253 /** 28647 * <code>repeated int32 path = 1 [packed = true];</code>28648 *28649 36254 * <pre> 28650 36255 * Identifies which part of the FileDescriptorProto was defined at this … … 28670 36275 * of the label to the terminating semicolon). 28671 36276 * </pre> 36277 * 36278 * <code>repeated int32 path = 1 [packed = true];</code> 28672 36279 */ 28673 36280 public Builder addPath(int value) { … … 28678 36285 } 28679 36286 /** 28680 * <code>repeated int32 path = 1 [packed = true];</code>28681 *28682 36287 * <pre> 28683 36288 * Identifies which part of the FileDescriptorProto was defined at this … … 28703 36308 * of the label to the terminating semicolon). 28704 36309 * </pre> 36310 * 36311 * <code>repeated int32 path = 1 [packed = true];</code> 28705 36312 */ 28706 36313 public Builder addAllPath( … … 28713 36320 } 28714 36321 /** 28715 * <code>repeated int32 path = 1 [packed = true];</code>28716 *28717 36322 * <pre> 28718 36323 * Identifies which part of the FileDescriptorProto was defined at this … … 28738 36343 * of the label to the terminating semicolon). 28739 36344 * </pre> 36345 * 36346 * <code>repeated int32 path = 1 [packed = true];</code> 28740 36347 */ 28741 36348 public Builder clearPath() { … … 28749 36356 private void ensureSpanIsMutable() { 28750 36357 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 28751 span_ = new java.util.ArrayList<>(span_); 36358 span_ = new java.util.ArrayList<java.lang.Integer>(span_); 28752 36359 bitField0_ |= 0x00000002; 28753 36360 } 28754 36361 } 28755 36362 /** 28756 * <code>repeated int32 span = 2 [packed = true];</code>28757 *28758 36363 * <pre> 28759 36364 * Always has exactly three or four elements: start line, start column, … … 28763 36368 * 1 to each before displaying to a user. 28764 36369 * </pre> 36370 * 36371 * <code>repeated int32 span = 2 [packed = true];</code> 28765 36372 */ 28766 @Override 28767 public java.util.List<java.lang.Integer> 36373 public java.util.List<java.lang.Integer> 28768 36374 getSpanList() { 28769 36375 return java.util.Collections.unmodifiableList(span_); 28770 36376 } 28771 36377 /** 28772 * <code>repeated int32 span = 2 [packed = true];</code>28773 *28774 36378 * <pre> 28775 36379 * Always has exactly three or four elements: start line, start column, … … 28779 36383 * 1 to each before displaying to a user. 28780 36384 * </pre> 36385 * 36386 * <code>repeated int32 span = 2 [packed = true];</code> 28781 36387 */ 28782 @Override 28783 public int getSpanCount() { 36388 public int getSpanCount() { 28784 36389 return span_.size(); 28785 36390 } 28786 36391 /** 28787 * <code>repeated int32 span = 2 [packed = true];</code>28788 *28789 36392 * <pre> 28790 36393 * Always has exactly three or four elements: start line, start column, … … 28794 36397 * 1 to each before displaying to a user. 28795 36398 * </pre> 36399 * 36400 * <code>repeated int32 span = 2 [packed = true];</code> 28796 36401 */ 28797 @Override 28798 public int getSpan(int index) { 36402 public int getSpan(int index) { 28799 36403 return span_.get(index); 28800 36404 } 28801 36405 /** 28802 * <code>repeated int32 span = 2 [packed = true];</code>28803 *28804 36406 * <pre> 28805 36407 * Always has exactly three or four elements: start line, start column, … … 28809 36411 * 1 to each before displaying to a user. 28810 36412 * </pre> 36413 * 36414 * <code>repeated int32 span = 2 [packed = true];</code> 28811 36415 */ 28812 36416 public Builder setSpan( … … 28818 36422 } 28819 36423 /** 28820 * <code>repeated int32 span = 2 [packed = true];</code>28821 *28822 36424 * <pre> 28823 36425 * Always has exactly three or four elements: start line, start column, … … 28827 36429 * 1 to each before displaying to a user. 28828 36430 * </pre> 36431 * 36432 * <code>repeated int32 span = 2 [packed = true];</code> 28829 36433 */ 28830 36434 public Builder addSpan(int value) { … … 28835 36439 } 28836 36440 /** 28837 * <code>repeated int32 span = 2 [packed = true];</code>28838 *28839 36441 * <pre> 28840 36442 * Always has exactly three or four elements: start line, start column, … … 28844 36446 * 1 to each before displaying to a user. 28845 36447 * </pre> 36448 * 36449 * <code>repeated int32 span = 2 [packed = true];</code> 28846 36450 */ 28847 36451 public Builder addAllSpan( … … 28854 36458 } 28855 36459 /** 28856 * <code>repeated int32 span = 2 [packed = true];</code>28857 *28858 36460 * <pre> 28859 36461 * Always has exactly three or four elements: start line, start column, … … 28863 36465 * 1 to each before displaying to a user. 28864 36466 * </pre> 36467 * 36468 * <code>repeated int32 span = 2 [packed = true];</code> 28865 36469 */ 28866 36470 public Builder clearSpan() { … … 28873 36477 private java.lang.Object leadingComments_ = ""; 28874 36478 /** 28875 * <code>optional string leading_comments = 3;</code>28876 *28877 36479 * <pre> 28878 36480 * If this SourceCodeInfo represents a complete declaration, these are any … … 28881 36483 * A series of line comments appearing on consecutive lines, with no other 28882 36484 * tokens appearing on those lines, will be treated as a single comment. 36485 * leading_detached_comments will keep paragraphs of comments that appear 36486 * before (but not connected to) the current element. Each paragraph, 36487 * separated by empty lines, will be one comment element in the repeated 36488 * field. 28883 36489 * Only the comment content is provided; comment markers (e.g. //) are 28884 36490 * stripped out. For block comments, leading whitespace and an asterisk … … 28896 36502 * // Another line attached to qux. 28897 36503 * optional double qux = 4; 36504 * // Detached comment for corge. This is not leading or trailing comments 36505 * // to qux or corge because there are blank lines separating it from 36506 * // both. 36507 * // Detached comment for corge paragraph 2. 28898 36508 * optional string corge = 5; 28899 36509 * /* Block comment attached … … 28903 36513 * * grault. */ 28904 36514 * optional int32 grault = 6; 36515 * // ignored detached comments. 28905 36516 * </pre> 36517 * 36518 * <code>optional string leading_comments = 3;</code> 28906 36519 */ 28907 @Override 28908 public boolean hasLeadingComments() { 36520 public boolean hasLeadingComments() { 28909 36521 return ((bitField0_ & 0x00000004) == 0x00000004); 28910 36522 } 28911 36523 /** 28912 * <code>optional string leading_comments = 3;</code>28913 *28914 36524 * <pre> 28915 36525 * If this SourceCodeInfo represents a complete declaration, these are any … … 28918 36528 * A series of line comments appearing on consecutive lines, with no other 28919 36529 * tokens appearing on those lines, will be treated as a single comment. 36530 * leading_detached_comments will keep paragraphs of comments that appear 36531 * before (but not connected to) the current element. Each paragraph, 36532 * separated by empty lines, will be one comment element in the repeated 36533 * field. 28920 36534 * Only the comment content is provided; comment markers (e.g. //) are 28921 36535 * stripped out. For block comments, leading whitespace and an asterisk … … 28933 36547 * // Another line attached to qux. 28934 36548 * optional double qux = 4; 36549 * // Detached comment for corge. This is not leading or trailing comments 36550 * // to qux or corge because there are blank lines separating it from 36551 * // both. 36552 * // Detached comment for corge paragraph 2. 28935 36553 * optional string corge = 5; 28936 36554 * /* Block comment attached … … 28940 36558 * * grault. */ 28941 36559 * optional int32 grault = 6; 36560 * // ignored detached comments. 28942 36561 * </pre> 36562 * 36563 * <code>optional string leading_comments = 3;</code> 28943 36564 */ 28944 @Override 28945 public java.lang.String getLeadingComments() { 36565 public java.lang.String getLeadingComments() { 28946 36566 java.lang.Object ref = leadingComments_; 28947 36567 if (!(ref instanceof java.lang.String)) { … … 28958 36578 } 28959 36579 /** 28960 * <code>optional string leading_comments = 3;</code>28961 *28962 36580 * <pre> 28963 36581 * If this SourceCodeInfo represents a complete declaration, these are any … … 28966 36584 * A series of line comments appearing on consecutive lines, with no other 28967 36585 * tokens appearing on those lines, will be treated as a single comment. 36586 * leading_detached_comments will keep paragraphs of comments that appear 36587 * before (but not connected to) the current element. Each paragraph, 36588 * separated by empty lines, will be one comment element in the repeated 36589 * field. 28968 36590 * Only the comment content is provided; comment markers (e.g. //) are 28969 36591 * stripped out. For block comments, leading whitespace and an asterisk … … 28981 36603 * // Another line attached to qux. 28982 36604 * optional double qux = 4; 36605 * // Detached comment for corge. This is not leading or trailing comments 36606 * // to qux or corge because there are blank lines separating it from 36607 * // both. 36608 * // Detached comment for corge paragraph 2. 28983 36609 * optional string corge = 5; 28984 36610 * /* Block comment attached … … 28988 36614 * * grault. */ 28989 36615 * optional int32 grault = 6; 36616 * // ignored detached comments. 28990 36617 * </pre> 36618 * 36619 * <code>optional string leading_comments = 3;</code> 28991 36620 */ 28992 @Override 28993 public com.google.protobuf.ByteString 36621 public com.google.protobuf.ByteString 28994 36622 getLeadingCommentsBytes() { 28995 36623 java.lang.Object ref = leadingComments_; 28996 36624 if (ref instanceof String) { 28997 com.google.protobuf.ByteString b = 36625 com.google.protobuf.ByteString b = 28998 36626 com.google.protobuf.ByteString.copyFromUtf8( 28999 36627 (java.lang.String) ref); … … 29005 36633 } 29006 36634 /** 29007 * <code>optional string leading_comments = 3;</code>29008 *29009 36635 * <pre> 29010 36636 * If this SourceCodeInfo represents a complete declaration, these are any … … 29013 36639 * A series of line comments appearing on consecutive lines, with no other 29014 36640 * tokens appearing on those lines, will be treated as a single comment. 36641 * leading_detached_comments will keep paragraphs of comments that appear 36642 * before (but not connected to) the current element. Each paragraph, 36643 * separated by empty lines, will be one comment element in the repeated 36644 * field. 29015 36645 * Only the comment content is provided; comment markers (e.g. //) are 29016 36646 * stripped out. For block comments, leading whitespace and an asterisk … … 29028 36658 * // Another line attached to qux. 29029 36659 * optional double qux = 4; 36660 * // Detached comment for corge. This is not leading or trailing comments 36661 * // to qux or corge because there are blank lines separating it from 36662 * // both. 36663 * // Detached comment for corge paragraph 2. 29030 36664 * optional string corge = 5; 29031 36665 * /* Block comment attached … … 29035 36669 * * grault. */ 29036 36670 * optional int32 grault = 6; 36671 * // ignored detached comments. 29037 36672 * </pre> 36673 * 36674 * <code>optional string leading_comments = 3;</code> 29038 36675 */ 29039 36676 public Builder setLeadingComments( … … 29048 36685 } 29049 36686 /** 29050 * <code>optional string leading_comments = 3;</code>29051 *29052 36687 * <pre> 29053 36688 * If this SourceCodeInfo represents a complete declaration, these are any … … 29056 36691 * A series of line comments appearing on consecutive lines, with no other 29057 36692 * tokens appearing on those lines, will be treated as a single comment. 36693 * leading_detached_comments will keep paragraphs of comments that appear 36694 * before (but not connected to) the current element. Each paragraph, 36695 * separated by empty lines, will be one comment element in the repeated 36696 * field. 29058 36697 * Only the comment content is provided; comment markers (e.g. //) are 29059 36698 * stripped out. For block comments, leading whitespace and an asterisk … … 29071 36710 * // Another line attached to qux. 29072 36711 * optional double qux = 4; 36712 * // Detached comment for corge. This is not leading or trailing comments 36713 * // to qux or corge because there are blank lines separating it from 36714 * // both. 36715 * // Detached comment for corge paragraph 2. 29073 36716 * optional string corge = 5; 29074 36717 * /* Block comment attached … … 29078 36721 * * grault. */ 29079 36722 * optional int32 grault = 6; 36723 * // ignored detached comments. 29080 36724 * </pre> 36725 * 36726 * <code>optional string leading_comments = 3;</code> 29081 36727 */ 29082 36728 public Builder clearLeadingComments() { … … 29087 36733 } 29088 36734 /** 29089 * <code>optional string leading_comments = 3;</code>29090 *29091 36735 * <pre> 29092 36736 * If this SourceCodeInfo represents a complete declaration, these are any … … 29095 36739 * A series of line comments appearing on consecutive lines, with no other 29096 36740 * tokens appearing on those lines, will be treated as a single comment. 36741 * leading_detached_comments will keep paragraphs of comments that appear 36742 * before (but not connected to) the current element. Each paragraph, 36743 * separated by empty lines, will be one comment element in the repeated 36744 * field. 29097 36745 * Only the comment content is provided; comment markers (e.g. //) are 29098 36746 * stripped out. For block comments, leading whitespace and an asterisk … … 29110 36758 * // Another line attached to qux. 29111 36759 * optional double qux = 4; 36760 * // Detached comment for corge. This is not leading or trailing comments 36761 * // to qux or corge because there are blank lines separating it from 36762 * // both. 36763 * // Detached comment for corge paragraph 2. 29112 36764 * optional string corge = 5; 29113 36765 * /* Block comment attached … … 29117 36769 * * grault. */ 29118 36770 * optional int32 grault = 6; 36771 * // ignored detached comments. 29119 36772 * </pre> 36773 * 36774 * <code>optional string leading_comments = 3;</code> 29120 36775 */ 29121 36776 public Builder setLeadingCommentsBytes( … … 29134 36789 * <code>optional string trailing_comments = 4;</code> 29135 36790 */ 29136 @Override 29137 public boolean hasTrailingComments() { 36791 public boolean hasTrailingComments() { 29138 36792 return ((bitField0_ & 0x00000008) == 0x00000008); 29139 36793 } … … 29141 36795 * <code>optional string trailing_comments = 4;</code> 29142 36796 */ 29143 @Override 29144 public java.lang.String getTrailingComments() { 36797 public java.lang.String getTrailingComments() { 29145 36798 java.lang.Object ref = trailingComments_; 29146 36799 if (!(ref instanceof java.lang.String)) { … … 29159 36812 * <code>optional string trailing_comments = 4;</code> 29160 36813 */ 29161 @Override 29162 public com.google.protobuf.ByteString 36814 public com.google.protobuf.ByteString 29163 36815 getTrailingCommentsBytes() { 29164 36816 java.lang.Object ref = trailingComments_; 29165 36817 if (ref instanceof String) { 29166 com.google.protobuf.ByteString b = 36818 com.google.protobuf.ByteString b = 29167 36819 com.google.protobuf.ByteString.copyFromUtf8( 29168 36820 (java.lang.String) ref); … … 29209 36861 } 29210 36862 36863 private com.google.protobuf.LazyStringList leadingDetachedComments_ = com.google.protobuf.LazyStringArrayList.EMPTY; 36864 private void ensureLeadingDetachedCommentsIsMutable() { 36865 if (!((bitField0_ & 0x00000010) == 0x00000010)) { 36866 leadingDetachedComments_ = new com.google.protobuf.LazyStringArrayList(leadingDetachedComments_); 36867 bitField0_ |= 0x00000010; 36868 } 36869 } 36870 /** 36871 * <code>repeated string leading_detached_comments = 6;</code> 36872 */ 36873 public com.google.protobuf.ProtocolStringList 36874 getLeadingDetachedCommentsList() { 36875 return leadingDetachedComments_.getUnmodifiableView(); 36876 } 36877 /** 36878 * <code>repeated string leading_detached_comments = 6;</code> 36879 */ 36880 public int getLeadingDetachedCommentsCount() { 36881 return leadingDetachedComments_.size(); 36882 } 36883 /** 36884 * <code>repeated string leading_detached_comments = 6;</code> 36885 */ 36886 public java.lang.String getLeadingDetachedComments(int index) { 36887 return leadingDetachedComments_.get(index); 36888 } 36889 /** 36890 * <code>repeated string leading_detached_comments = 6;</code> 36891 */ 36892 public com.google.protobuf.ByteString 36893 getLeadingDetachedCommentsBytes(int index) { 36894 return leadingDetachedComments_.getByteString(index); 36895 } 36896 /** 36897 * <code>repeated string leading_detached_comments = 6;</code> 36898 */ 36899 public Builder setLeadingDetachedComments( 36900 int index, java.lang.String value) { 36901 if (value == null) { 36902 throw new NullPointerException(); 36903 } 36904 ensureLeadingDetachedCommentsIsMutable(); 36905 leadingDetachedComments_.set(index, value); 36906 onChanged(); 36907 return this; 36908 } 36909 /** 36910 * <code>repeated string leading_detached_comments = 6;</code> 36911 */ 36912 public Builder addLeadingDetachedComments( 36913 java.lang.String value) { 36914 if (value == null) { 36915 throw new NullPointerException(); 36916 } 36917 ensureLeadingDetachedCommentsIsMutable(); 36918 leadingDetachedComments_.add(value); 36919 onChanged(); 36920 return this; 36921 } 36922 /** 36923 * <code>repeated string leading_detached_comments = 6;</code> 36924 */ 36925 public Builder addAllLeadingDetachedComments( 36926 java.lang.Iterable<java.lang.String> values) { 36927 ensureLeadingDetachedCommentsIsMutable(); 36928 com.google.protobuf.AbstractMessageLite.Builder.addAll( 36929 values, leadingDetachedComments_); 36930 onChanged(); 36931 return this; 36932 } 36933 /** 36934 * <code>repeated string leading_detached_comments = 6;</code> 36935 */ 36936 public Builder clearLeadingDetachedComments() { 36937 leadingDetachedComments_ = com.google.protobuf.LazyStringArrayList.EMPTY; 36938 bitField0_ = (bitField0_ & ~0x00000010); 36939 onChanged(); 36940 return this; 36941 } 36942 /** 36943 * <code>repeated string leading_detached_comments = 6;</code> 36944 */ 36945 public Builder addLeadingDetachedCommentsBytes( 36946 com.google.protobuf.ByteString value) { 36947 if (value == null) { 36948 throw new NullPointerException(); 36949 } 36950 ensureLeadingDetachedCommentsIsMutable(); 36951 leadingDetachedComments_.add(value); 36952 onChanged(); 36953 return this; 36954 } 36955 public final Builder setUnknownFields( 36956 final com.google.protobuf.UnknownFieldSet unknownFields) { 36957 return super.setUnknownFields(unknownFields); 36958 } 36959 36960 public final Builder mergeUnknownFields( 36961 final com.google.protobuf.UnknownFieldSet unknownFields) { 36962 return super.mergeUnknownFields(unknownFields); 36963 } 36964 36965 29211 36966 // @@protoc_insertion_point(builder_scope:google.protobuf.SourceCodeInfo.Location) 29212 36967 } 29213 36968 36969 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) 36970 private static final com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location DEFAULT_INSTANCE; 29214 36971 static { 29215 defaultInstance = new Location(true); 29216 defaultInstance.initFields(); 29217 } 29218 29219 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) 36972 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location(); 36973 } 36974 36975 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getDefaultInstance() { 36976 return DEFAULT_INSTANCE; 36977 } 36978 36979 @java.lang.Deprecated public static final com.google.protobuf.Parser<Location> 36980 PARSER = new com.google.protobuf.AbstractParser<Location>() { 36981 public Location parsePartialFrom( 36982 com.google.protobuf.CodedInputStream input, 36983 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 36984 throws com.google.protobuf.InvalidProtocolBufferException { 36985 return new Location(input, extensionRegistry); 36986 } 36987 }; 36988 36989 public static com.google.protobuf.Parser<Location> parser() { 36990 return PARSER; 36991 } 36992 36993 @java.lang.Override 36994 public com.google.protobuf.Parser<Location> getParserForType() { 36995 return PARSER; 36996 } 36997 36998 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getDefaultInstanceForType() { 36999 return DEFAULT_INSTANCE; 37000 } 37001 29220 37002 } 29221 37003 … … 29223 37005 private java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> location_; 29224 37006 /** 29225 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29226 *29227 37007 * <pre> 29228 37008 * A Location identifies a piece of source code in a .proto file which … … 29268 37048 * be recorded in the future. 29269 37049 * </pre> 29270 */ 29271 @Override 29272 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() { 37050 * 37051 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37052 */ 37053 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() { 29273 37054 return location_; 29274 37055 } 29275 37056 /** 29276 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29277 *29278 37057 * <pre> 29279 37058 * A Location identifies a piece of source code in a .proto file which … … 29319 37098 * be recorded in the future. 29320 37099 * </pre> 29321 */ 29322 @Override 29323 public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 37100 * 37101 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37102 */ 37103 public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 29324 37104 getLocationOrBuilderList() { 29325 37105 return location_; 29326 37106 } 29327 37107 /** 29328 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29329 *29330 37108 * <pre> 29331 37109 * A Location identifies a piece of source code in a .proto file which … … 29371 37149 * be recorded in the future. 29372 37150 * </pre> 29373 */ 29374 @Override 29375 public int getLocationCount() { 37151 * 37152 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37153 */ 37154 public int getLocationCount() { 29376 37155 return location_.size(); 29377 37156 } 29378 37157 /** 29379 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29380 *29381 37158 * <pre> 29382 37159 * A Location identifies a piece of source code in a .proto file which … … 29422 37199 * be recorded in the future. 29423 37200 * </pre> 29424 */ 29425 @Override 29426 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) { 37201 * 37202 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37203 */ 37204 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) { 29427 37205 return location_.get(index); 29428 37206 } 29429 37207 /** 29430 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29431 *29432 37208 * <pre> 29433 37209 * A Location identifies a piece of source code in a .proto file which … … 29473 37249 * be recorded in the future. 29474 37250 * </pre> 29475 */ 29476 @Override 29477 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder( 37251 * 37252 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37253 */ 37254 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder( 29478 37255 int index) { 29479 37256 return location_.get(index); 29480 37257 } 29481 37258 29482 private void initFields() {29483 location_ = java.util.Collections.emptyList();29484 }29485 37259 private byte memoizedIsInitialized = -1; 29486 @Override 29487 public final boolean isInitialized() { 37260 public final boolean isInitialized() { 29488 37261 byte isInitialized = memoizedIsInitialized; 29489 37262 if (isInitialized == 1) return true; … … 29494 37267 } 29495 37268 29496 @Override 29497 public void writeTo(com.google.protobuf.CodedOutputStream output) 37269 public void writeTo(com.google.protobuf.CodedOutputStream output) 29498 37270 throws java.io.IOException { 29499 getSerializedSize();29500 37271 for (int i = 0; i < location_.size(); i++) { 29501 37272 output.writeMessage(1, location_.get(i)); 29502 37273 } 29503 getUnknownFields().writeTo(output); 29504 } 29505 29506 private int memoizedSerializedSize = -1; 29507 @Override 29508 public int getSerializedSize() { 29509 int size = memoizedSerializedSize; 37274 unknownFields.writeTo(output); 37275 } 37276 37277 public int getSerializedSize() { 37278 int size = memoizedSize; 29510 37279 if (size != -1) return size; 29511 37280 … … 29515 37284 .computeMessageSize(1, location_.get(i)); 29516 37285 } 29517 size += getUnknownFields().getSerializedSize();29518 memoizedS erializedSize = size;37286 size += unknownFields.getSerializedSize(); 37287 memoizedSize = size; 29519 37288 return size; 29520 37289 } 29521 37290 29522 private static final long serialVersionUID = 0L;29523 37291 @java.lang.Override 29524 protected java.lang.Object writeReplace() 29525 throws java.io.ObjectStreamException { 29526 return super.writeReplace(); 29527 } 29528 37292 public boolean equals(final java.lang.Object obj) { 37293 if (obj == this) { 37294 return true; 37295 } 37296 if (!(obj instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo)) { 37297 return super.equals(obj); 37298 } 37299 com.google.protobuf.DescriptorProtos.SourceCodeInfo other = (com.google.protobuf.DescriptorProtos.SourceCodeInfo) obj; 37300 37301 boolean result = true; 37302 result = result && getLocationList() 37303 .equals(other.getLocationList()); 37304 result = result && unknownFields.equals(other.unknownFields); 37305 return result; 37306 } 37307 37308 @java.lang.Override 37309 public int hashCode() { 37310 if (memoizedHashCode != 0) { 37311 return memoizedHashCode; 37312 } 37313 int hash = 41; 37314 hash = (19 * hash) + getDescriptor().hashCode(); 37315 if (getLocationCount() > 0) { 37316 hash = (37 * hash) + LOCATION_FIELD_NUMBER; 37317 hash = (53 * hash) + getLocationList().hashCode(); 37318 } 37319 hash = (29 * hash) + unknownFields.hashCode(); 37320 memoizedHashCode = hash; 37321 return hash; 37322 } 37323 37324 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( 37325 java.nio.ByteBuffer data) 37326 throws com.google.protobuf.InvalidProtocolBufferException { 37327 return PARSER.parseFrom(data); 37328 } 37329 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( 37330 java.nio.ByteBuffer data, 37331 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 37332 throws com.google.protobuf.InvalidProtocolBufferException { 37333 return PARSER.parseFrom(data, extensionRegistry); 37334 } 29529 37335 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( 29530 37336 com.google.protobuf.ByteString data) … … 29550 37356 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(java.io.InputStream input) 29551 37357 throws java.io.IOException { 29552 return PARSER.parseFrom(input); 37358 return com.google.protobuf.GeneratedMessageV3 37359 .parseWithIOException(PARSER, input); 29553 37360 } 29554 37361 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( … … 29556 37363 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 29557 37364 throws java.io.IOException { 29558 return PARSER.parseFrom(input, extensionRegistry); 37365 return com.google.protobuf.GeneratedMessageV3 37366 .parseWithIOException(PARSER, input, extensionRegistry); 29559 37367 } 29560 37368 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseDelimitedFrom(java.io.InputStream input) 29561 37369 throws java.io.IOException { 29562 return PARSER.parseDelimitedFrom(input); 37370 return com.google.protobuf.GeneratedMessageV3 37371 .parseDelimitedWithIOException(PARSER, input); 29563 37372 } 29564 37373 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseDelimitedFrom( … … 29566 37375 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 29567 37376 throws java.io.IOException { 29568 return PARSER.parseDelimitedFrom(input, extensionRegistry); 37377 return com.google.protobuf.GeneratedMessageV3 37378 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 29569 37379 } 29570 37380 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( 29571 37381 com.google.protobuf.CodedInputStream input) 29572 37382 throws java.io.IOException { 29573 return PARSER.parseFrom(input); 37383 return com.google.protobuf.GeneratedMessageV3 37384 .parseWithIOException(PARSER, input); 29574 37385 } 29575 37386 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom( … … 29577 37388 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 29578 37389 throws java.io.IOException { 29579 return PARSER.parseFrom(input, extensionRegistry); 29580 } 29581 29582 public static Builder newBuilder() { return Builder.create(); } 29583 @Override 29584 public Builder newBuilderForType() { return newBuilder(); } 37390 return com.google.protobuf.GeneratedMessageV3 37391 .parseWithIOException(PARSER, input, extensionRegistry); 37392 } 37393 37394 public Builder newBuilderForType() { return newBuilder(); } 37395 public static Builder newBuilder() { 37396 return DEFAULT_INSTANCE.toBuilder(); 37397 } 29585 37398 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.SourceCodeInfo prototype) { 29586 return newBuilder().mergeFrom(prototype); 29587 } 29588 @Override 29589 public Builder toBuilder() { return newBuilder(this); } 37399 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 37400 } 37401 public Builder toBuilder() { 37402 return this == DEFAULT_INSTANCE 37403 ? new Builder() : new Builder().mergeFrom(this); 37404 } 29590 37405 29591 37406 @java.lang.Override 29592 37407 protected Builder newBuilderForType( 29593 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 37408 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 29594 37409 Builder builder = new Builder(parent); 29595 37410 return builder; 29596 37411 } 29597 37412 /** 29598 * Protobuf type {@code google.protobuf.SourceCodeInfo}29599 *29600 37413 * <pre> 29601 37414 * Encapsulates information about the original source file from which a 29602 37415 * FileDescriptorProto was generated. 29603 37416 * </pre> 37417 * 37418 * Protobuf type {@code google.protobuf.SourceCodeInfo} 29604 37419 */ 29605 37420 public static final class Builder extends 29606 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 37421 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 29607 37422 // @@protoc_insertion_point(builder_implements:google.protobuf.SourceCodeInfo) 29608 37423 com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder { … … 29612 37427 } 29613 37428 29614 @Override 29615 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 37429 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 29616 37430 internalGetFieldAccessorTable() { 29617 37431 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable … … 29626 37440 29627 37441 private Builder( 29628 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 37442 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 29629 37443 super(parent); 29630 37444 maybeForceBuilderInitialization(); 29631 37445 } 29632 37446 private void maybeForceBuilderInitialization() { 29633 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 37447 if (com.google.protobuf.GeneratedMessageV3 37448 .alwaysUseFieldBuilders) { 29634 37449 getLocationFieldBuilder(); 29635 37450 } 29636 37451 } 29637 private static Builder create() { 29638 return new Builder(); 29639 } 29640 29641 @Override 29642 public Builder clear() { 37452 public Builder clear() { 29643 37453 super.clear(); 29644 37454 if (locationBuilder_ == null) { … … 29651 37461 } 29652 37462 29653 @Override 29654 public Builder clone() { 29655 return create().mergeFrom(buildPartial()); 29656 } 29657 29658 @Override 29659 public com.google.protobuf.Descriptors.Descriptor 37463 public com.google.protobuf.Descriptors.Descriptor 29660 37464 getDescriptorForType() { 29661 37465 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_descriptor; 29662 37466 } 29663 37467 29664 @Override 29665 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getDefaultInstanceForType() { 37468 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getDefaultInstanceForType() { 29666 37469 return com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance(); 29667 37470 } 29668 37471 29669 @Override 29670 public com.google.protobuf.DescriptorProtos.SourceCodeInfo build() { 37472 public com.google.protobuf.DescriptorProtos.SourceCodeInfo build() { 29671 37473 com.google.protobuf.DescriptorProtos.SourceCodeInfo result = buildPartial(); 29672 37474 if (!result.isInitialized()) { … … 29676 37478 } 29677 37479 29678 @Override 29679 public com.google.protobuf.DescriptorProtos.SourceCodeInfo buildPartial() { 37480 public com.google.protobuf.DescriptorProtos.SourceCodeInfo buildPartial() { 29680 37481 com.google.protobuf.DescriptorProtos.SourceCodeInfo result = new com.google.protobuf.DescriptorProtos.SourceCodeInfo(this); 29681 37482 int from_bitField0_ = bitField0_; … … 29693 37494 } 29694 37495 29695 @Override 29696 public Builder mergeFrom(com.google.protobuf.Message other) { 37496 public Builder clone() { 37497 return (Builder) super.clone(); 37498 } 37499 public Builder setField( 37500 com.google.protobuf.Descriptors.FieldDescriptor field, 37501 java.lang.Object value) { 37502 return (Builder) super.setField(field, value); 37503 } 37504 public Builder clearField( 37505 com.google.protobuf.Descriptors.FieldDescriptor field) { 37506 return (Builder) super.clearField(field); 37507 } 37508 public Builder clearOneof( 37509 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 37510 return (Builder) super.clearOneof(oneof); 37511 } 37512 public Builder setRepeatedField( 37513 com.google.protobuf.Descriptors.FieldDescriptor field, 37514 int index, java.lang.Object value) { 37515 return (Builder) super.setRepeatedField(field, index, value); 37516 } 37517 public Builder addRepeatedField( 37518 com.google.protobuf.Descriptors.FieldDescriptor field, 37519 java.lang.Object value) { 37520 return (Builder) super.addRepeatedField(field, value); 37521 } 37522 public Builder mergeFrom(com.google.protobuf.Message other) { 29697 37523 if (other instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo) { 29698 37524 return mergeFrom((com.google.protobuf.DescriptorProtos.SourceCodeInfo)other); … … 29723 37549 location_ = other.location_; 29724 37550 bitField0_ = (bitField0_ & ~0x00000001); 29725 locationBuilder_ = 29726 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 37551 locationBuilder_ = 37552 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 29727 37553 getLocationFieldBuilder() : null; 29728 37554 } else { … … 29731 37557 } 29732 37558 } 29733 this.mergeUnknownFields(other. getUnknownFields());29734 return this;29735 }29736 29737 @Override 29738 37559 this.mergeUnknownFields(other.unknownFields); 37560 onChanged(); 37561 return this; 37562 } 37563 37564 public final boolean isInitialized() { 29739 37565 return true; 29740 37566 } 29741 37567 29742 @Override 29743 public Builder mergeFrom( 37568 public Builder mergeFrom( 29744 37569 com.google.protobuf.CodedInputStream input, 29745 37570 com.google.protobuf.ExtensionRegistryLite extensionRegistry) … … 29750 37575 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 29751 37576 parsedMessage = (com.google.protobuf.DescriptorProtos.SourceCodeInfo) e.getUnfinishedMessage(); 29752 throw e; 37577 throw e.unwrapIOException(); 29753 37578 } finally { 29754 37579 if (parsedMessage != null) { … … 29764 37589 private void ensureLocationIsMutable() { 29765 37590 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 29766 location_ = new java.util.ArrayList<>(location_); 37591 location_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location>(location_); 29767 37592 bitField0_ |= 0x00000001; 29768 37593 } 29769 37594 } 29770 37595 29771 private com.google.protobuf.RepeatedFieldBuilder< 37596 private com.google.protobuf.RepeatedFieldBuilderV3< 29772 37597 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> locationBuilder_; 29773 37598 29774 37599 /** 29775 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29776 *29777 37600 * <pre> 29778 37601 * A Location identifies a piece of source code in a .proto file which … … 29818 37641 * be recorded in the future. 29819 37642 * </pre> 29820 */ 29821 @Override 29822 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() { 37643 * 37644 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37645 */ 37646 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() { 29823 37647 if (locationBuilder_ == null) { 29824 37648 return java.util.Collections.unmodifiableList(location_); … … 29828 37652 } 29829 37653 /** 29830 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29831 *29832 37654 * <pre> 29833 37655 * A Location identifies a piece of source code in a .proto file which … … 29873 37695 * be recorded in the future. 29874 37696 * </pre> 29875 */ 29876 @Override 29877 public int getLocationCount() { 37697 * 37698 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37699 */ 37700 public int getLocationCount() { 29878 37701 if (locationBuilder_ == null) { 29879 37702 return location_.size(); … … 29883 37706 } 29884 37707 /** 29885 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29886 *29887 37708 * <pre> 29888 37709 * A Location identifies a piece of source code in a .proto file which … … 29928 37749 * be recorded in the future. 29929 37750 * </pre> 29930 */ 29931 @Override 29932 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) { 37751 * 37752 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 37753 */ 37754 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) { 29933 37755 if (locationBuilder_ == null) { 29934 37756 return location_.get(index); … … 29938 37760 } 29939 37761 /** 29940 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>29941 *29942 37762 * <pre> 29943 37763 * A Location identifies a piece of source code in a .proto file which … … 29983 37803 * be recorded in the future. 29984 37804 * </pre> 37805 * 37806 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 29985 37807 */ 29986 37808 public Builder setLocation( … … 29999 37821 } 30000 37822 /** 30001 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30002 *30003 37823 * <pre> 30004 37824 * A Location identifies a piece of source code in a .proto file which … … 30044 37864 * be recorded in the future. 30045 37865 * </pre> 37866 * 37867 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30046 37868 */ 30047 37869 public Builder setLocation( … … 30057 37879 } 30058 37880 /** 30059 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30060 *30061 37881 * <pre> 30062 37882 * A Location identifies a piece of source code in a .proto file which … … 30102 37922 * be recorded in the future. 30103 37923 * </pre> 37924 * 37925 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30104 37926 */ 30105 37927 public Builder addLocation(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location value) { … … 30117 37939 } 30118 37940 /** 30119 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30120 *30121 37941 * <pre> 30122 37942 * A Location identifies a piece of source code in a .proto file which … … 30162 37982 * be recorded in the future. 30163 37983 * </pre> 37984 * 37985 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30164 37986 */ 30165 37987 public Builder addLocation( … … 30178 38000 } 30179 38001 /** 30180 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30181 *30182 38002 * <pre> 30183 38003 * A Location identifies a piece of source code in a .proto file which … … 30223 38043 * be recorded in the future. 30224 38044 * </pre> 38045 * 38046 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30225 38047 */ 30226 38048 public Builder addLocation( … … 30236 38058 } 30237 38059 /** 30238 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30239 *30240 38060 * <pre> 30241 38061 * A Location identifies a piece of source code in a .proto file which … … 30281 38101 * be recorded in the future. 30282 38102 * </pre> 38103 * 38104 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30283 38105 */ 30284 38106 public Builder addLocation( … … 30294 38116 } 30295 38117 /** 30296 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30297 *30298 38118 * <pre> 30299 38119 * A Location identifies a piece of source code in a .proto file which … … 30339 38159 * be recorded in the future. 30340 38160 * </pre> 38161 * 38162 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30341 38163 */ 30342 38164 public Builder addAllLocation( … … 30353 38175 } 30354 38176 /** 30355 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30356 *30357 38177 * <pre> 30358 38178 * A Location identifies a piece of source code in a .proto file which … … 30398 38218 * be recorded in the future. 30399 38219 * </pre> 38220 * 38221 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30400 38222 */ 30401 38223 public Builder clearLocation() { … … 30410 38232 } 30411 38233 /** 30412 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30413 *30414 38234 * <pre> 30415 38235 * A Location identifies a piece of source code in a .proto file which … … 30455 38275 * be recorded in the future. 30456 38276 * </pre> 38277 * 38278 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30457 38279 */ 30458 38280 public Builder removeLocation(int index) { … … 30467 38289 } 30468 38290 /** 30469 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30470 *30471 38291 * <pre> 30472 38292 * A Location identifies a piece of source code in a .proto file which … … 30512 38332 * be recorded in the future. 30513 38333 * </pre> 38334 * 38335 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30514 38336 */ 30515 38337 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder getLocationBuilder( … … 30518 38340 } 30519 38341 /** 30520 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30521 *30522 38342 * <pre> 30523 38343 * A Location identifies a piece of source code in a .proto file which … … 30563 38383 * be recorded in the future. 30564 38384 * </pre> 30565 */ 30566 @Override 30567 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder( 38385 * 38386 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 38387 */ 38388 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder( 30568 38389 int index) { 30569 38390 if (locationBuilder_ == null) { … … 30573 38394 } 30574 38395 /** 30575 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30576 *30577 38396 * <pre> 30578 38397 * A Location identifies a piece of source code in a .proto file which … … 30618 38437 * be recorded in the future. 30619 38438 * </pre> 30620 */ 30621 @Override 30622 public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 38439 * 38440 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 38441 */ 38442 public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 30623 38443 getLocationOrBuilderList() { 30624 38444 if (locationBuilder_ != null) { … … 30629 38449 } 30630 38450 /** 30631 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30632 *30633 38451 * <pre> 30634 38452 * A Location identifies a piece of source code in a .proto file which … … 30674 38492 * be recorded in the future. 30675 38493 * </pre> 38494 * 38495 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30676 38496 */ 30677 38497 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder addLocationBuilder() { … … 30680 38500 } 30681 38501 /** 30682 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30683 *30684 38502 * <pre> 30685 38503 * A Location identifies a piece of source code in a .proto file which … … 30725 38543 * be recorded in the future. 30726 38544 * </pre> 38545 * 38546 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 30727 38547 */ 30728 38548 public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder addLocationBuilder( … … 30732 38552 } 30733 38553 /** 30734 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>30735 *30736 38554 * <pre> 30737 38555 * A Location identifies a piece of source code in a .proto file which … … 30777 38595 * be recorded in the future. 30778 38596 * </pre> 30779 */ 30780 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder> 38597 * 38598 * <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code> 38599 */ 38600 public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder> 30781 38601 getLocationBuilderList() { 30782 38602 return getLocationFieldBuilder().getBuilderList(); 30783 38603 } 30784 private com.google.protobuf.RepeatedFieldBuilder< 30785 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 38604 private com.google.protobuf.RepeatedFieldBuilderV3< 38605 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> 30786 38606 getLocationFieldBuilder() { 30787 38607 if (locationBuilder_ == null) { 30788 locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<>( 38608 locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 38609 com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>( 30789 38610 location_, 30790 38611 ((bitField0_ & 0x00000001) == 0x00000001), … … 30795 38616 return locationBuilder_; 30796 38617 } 38618 public final Builder setUnknownFields( 38619 final com.google.protobuf.UnknownFieldSet unknownFields) { 38620 return super.setUnknownFields(unknownFields); 38621 } 38622 38623 public final Builder mergeUnknownFields( 38624 final com.google.protobuf.UnknownFieldSet unknownFields) { 38625 return super.mergeUnknownFields(unknownFields); 38626 } 38627 30797 38628 30798 38629 // @@protoc_insertion_point(builder_scope:google.protobuf.SourceCodeInfo) 30799 38630 } 30800 38631 38632 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) 38633 private static final com.google.protobuf.DescriptorProtos.SourceCodeInfo DEFAULT_INSTANCE; 30801 38634 static { 30802 defaultInstance = new SourceCodeInfo(true); 30803 defaultInstance.initFields(); 30804 } 30805 30806 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) 38635 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.SourceCodeInfo(); 38636 } 38637 38638 public static com.google.protobuf.DescriptorProtos.SourceCodeInfo getDefaultInstance() { 38639 return DEFAULT_INSTANCE; 38640 } 38641 38642 @java.lang.Deprecated public static final com.google.protobuf.Parser<SourceCodeInfo> 38643 PARSER = new com.google.protobuf.AbstractParser<SourceCodeInfo>() { 38644 public SourceCodeInfo parsePartialFrom( 38645 com.google.protobuf.CodedInputStream input, 38646 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 38647 throws com.google.protobuf.InvalidProtocolBufferException { 38648 return new SourceCodeInfo(input, extensionRegistry); 38649 } 38650 }; 38651 38652 public static com.google.protobuf.Parser<SourceCodeInfo> parser() { 38653 return PARSER; 38654 } 38655 38656 @java.lang.Override 38657 public com.google.protobuf.Parser<SourceCodeInfo> getParserForType() { 38658 return PARSER; 38659 } 38660 38661 public com.google.protobuf.DescriptorProtos.SourceCodeInfo getDefaultInstanceForType() { 38662 return DEFAULT_INSTANCE; 38663 } 38664 38665 } 38666 38667 public interface GeneratedCodeInfoOrBuilder extends 38668 // @@protoc_insertion_point(interface_extends:google.protobuf.GeneratedCodeInfo) 38669 com.google.protobuf.MessageOrBuilder { 38670 38671 /** 38672 * <pre> 38673 * An Annotation connects some span of text in generated code to an element 38674 * of its generating .proto file. 38675 * </pre> 38676 * 38677 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 38678 */ 38679 java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> 38680 getAnnotationList(); 38681 /** 38682 * <pre> 38683 * An Annotation connects some span of text in generated code to an element 38684 * of its generating .proto file. 38685 * </pre> 38686 * 38687 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 38688 */ 38689 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getAnnotation(int index); 38690 /** 38691 * <pre> 38692 * An Annotation connects some span of text in generated code to an element 38693 * of its generating .proto file. 38694 * </pre> 38695 * 38696 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 38697 */ 38698 int getAnnotationCount(); 38699 /** 38700 * <pre> 38701 * An Annotation connects some span of text in generated code to an element 38702 * of its generating .proto file. 38703 * </pre> 38704 * 38705 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 38706 */ 38707 java.util.List<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> 38708 getAnnotationOrBuilderList(); 38709 /** 38710 * <pre> 38711 * An Annotation connects some span of text in generated code to an element 38712 * of its generating .proto file. 38713 * </pre> 38714 * 38715 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 38716 */ 38717 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder getAnnotationOrBuilder( 38718 int index); 38719 } 38720 /** 38721 * <pre> 38722 * Describes the relationship between generated code and its original source 38723 * file. A GeneratedCodeInfo message is associated with only one generated 38724 * source file, but may contain references to different source .proto files. 38725 * </pre> 38726 * 38727 * Protobuf type {@code google.protobuf.GeneratedCodeInfo} 38728 */ 38729 public static final class GeneratedCodeInfo extends 38730 com.google.protobuf.GeneratedMessageV3 implements 38731 // @@protoc_insertion_point(message_implements:google.protobuf.GeneratedCodeInfo) 38732 GeneratedCodeInfoOrBuilder { 38733 private static final long serialVersionUID = 0L; 38734 // Use GeneratedCodeInfo.newBuilder() to construct. 38735 private GeneratedCodeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 38736 super(builder); 38737 } 38738 private GeneratedCodeInfo() { 38739 annotation_ = java.util.Collections.emptyList(); 38740 } 38741 38742 @java.lang.Override 38743 public final com.google.protobuf.UnknownFieldSet 38744 getUnknownFields() { 38745 return this.unknownFields; 38746 } 38747 private GeneratedCodeInfo( 38748 com.google.protobuf.CodedInputStream input, 38749 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 38750 throws com.google.protobuf.InvalidProtocolBufferException { 38751 this(); 38752 int mutable_bitField0_ = 0; 38753 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 38754 com.google.protobuf.UnknownFieldSet.newBuilder(); 38755 try { 38756 boolean done = false; 38757 while (!done) { 38758 int tag = input.readTag(); 38759 switch (tag) { 38760 case 0: 38761 done = true; 38762 break; 38763 default: { 38764 if (!parseUnknownField( 38765 input, unknownFields, extensionRegistry, tag)) { 38766 done = true; 38767 } 38768 break; 38769 } 38770 case 10: { 38771 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 38772 annotation_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation>(); 38773 mutable_bitField0_ |= 0x00000001; 38774 } 38775 annotation_.add( 38776 input.readMessage(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.PARSER, extensionRegistry)); 38777 break; 38778 } 38779 } 38780 } 38781 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 38782 throw e.setUnfinishedMessage(this); 38783 } catch (java.io.IOException e) { 38784 throw new com.google.protobuf.InvalidProtocolBufferException( 38785 e).setUnfinishedMessage(this); 38786 } finally { 38787 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 38788 annotation_ = java.util.Collections.unmodifiableList(annotation_); 38789 } 38790 this.unknownFields = unknownFields.build(); 38791 makeExtensionsImmutable(); 38792 } 38793 } 38794 public static final com.google.protobuf.Descriptors.Descriptor 38795 getDescriptor() { 38796 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_descriptor; 38797 } 38798 38799 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 38800 internalGetFieldAccessorTable() { 38801 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_fieldAccessorTable 38802 .ensureFieldAccessorsInitialized( 38803 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.class, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Builder.class); 38804 } 38805 38806 public interface AnnotationOrBuilder extends 38807 // @@protoc_insertion_point(interface_extends:google.protobuf.GeneratedCodeInfo.Annotation) 38808 com.google.protobuf.MessageOrBuilder { 38809 38810 /** 38811 * <pre> 38812 * Identifies the element in the original source .proto file. This field 38813 * is formatted the same as SourceCodeInfo.Location.path. 38814 * </pre> 38815 * 38816 * <code>repeated int32 path = 1 [packed = true];</code> 38817 */ 38818 java.util.List<java.lang.Integer> getPathList(); 38819 /** 38820 * <pre> 38821 * Identifies the element in the original source .proto file. This field 38822 * is formatted the same as SourceCodeInfo.Location.path. 38823 * </pre> 38824 * 38825 * <code>repeated int32 path = 1 [packed = true];</code> 38826 */ 38827 int getPathCount(); 38828 /** 38829 * <pre> 38830 * Identifies the element in the original source .proto file. This field 38831 * is formatted the same as SourceCodeInfo.Location.path. 38832 * </pre> 38833 * 38834 * <code>repeated int32 path = 1 [packed = true];</code> 38835 */ 38836 int getPath(int index); 38837 38838 /** 38839 * <pre> 38840 * Identifies the filesystem path to the original source .proto. 38841 * </pre> 38842 * 38843 * <code>optional string source_file = 2;</code> 38844 */ 38845 boolean hasSourceFile(); 38846 /** 38847 * <pre> 38848 * Identifies the filesystem path to the original source .proto. 38849 * </pre> 38850 * 38851 * <code>optional string source_file = 2;</code> 38852 */ 38853 java.lang.String getSourceFile(); 38854 /** 38855 * <pre> 38856 * Identifies the filesystem path to the original source .proto. 38857 * </pre> 38858 * 38859 * <code>optional string source_file = 2;</code> 38860 */ 38861 com.google.protobuf.ByteString 38862 getSourceFileBytes(); 38863 38864 /** 38865 * <pre> 38866 * Identifies the starting offset in bytes in the generated code 38867 * that relates to the identified object. 38868 * </pre> 38869 * 38870 * <code>optional int32 begin = 3;</code> 38871 */ 38872 boolean hasBegin(); 38873 /** 38874 * <pre> 38875 * Identifies the starting offset in bytes in the generated code 38876 * that relates to the identified object. 38877 * </pre> 38878 * 38879 * <code>optional int32 begin = 3;</code> 38880 */ 38881 int getBegin(); 38882 38883 /** 38884 * <pre> 38885 * Identifies the ending offset in bytes in the generated code that 38886 * relates to the identified offset. The end offset should be one past 38887 * the last relevant byte (so the length of the text = end - begin). 38888 * </pre> 38889 * 38890 * <code>optional int32 end = 4;</code> 38891 */ 38892 boolean hasEnd(); 38893 /** 38894 * <pre> 38895 * Identifies the ending offset in bytes in the generated code that 38896 * relates to the identified offset. The end offset should be one past 38897 * the last relevant byte (so the length of the text = end - begin). 38898 * </pre> 38899 * 38900 * <code>optional int32 end = 4;</code> 38901 */ 38902 int getEnd(); 38903 } 38904 /** 38905 * Protobuf type {@code google.protobuf.GeneratedCodeInfo.Annotation} 38906 */ 38907 public static final class Annotation extends 38908 com.google.protobuf.GeneratedMessageV3 implements 38909 // @@protoc_insertion_point(message_implements:google.protobuf.GeneratedCodeInfo.Annotation) 38910 AnnotationOrBuilder { 38911 private static final long serialVersionUID = 0L; 38912 // Use Annotation.newBuilder() to construct. 38913 private Annotation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 38914 super(builder); 38915 } 38916 private Annotation() { 38917 path_ = java.util.Collections.emptyList(); 38918 sourceFile_ = ""; 38919 begin_ = 0; 38920 end_ = 0; 38921 } 38922 38923 @java.lang.Override 38924 public final com.google.protobuf.UnknownFieldSet 38925 getUnknownFields() { 38926 return this.unknownFields; 38927 } 38928 private Annotation( 38929 com.google.protobuf.CodedInputStream input, 38930 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 38931 throws com.google.protobuf.InvalidProtocolBufferException { 38932 this(); 38933 int mutable_bitField0_ = 0; 38934 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 38935 com.google.protobuf.UnknownFieldSet.newBuilder(); 38936 try { 38937 boolean done = false; 38938 while (!done) { 38939 int tag = input.readTag(); 38940 switch (tag) { 38941 case 0: 38942 done = true; 38943 break; 38944 default: { 38945 if (!parseUnknownField( 38946 input, unknownFields, extensionRegistry, tag)) { 38947 done = true; 38948 } 38949 break; 38950 } 38951 case 8: { 38952 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 38953 path_ = new java.util.ArrayList<java.lang.Integer>(); 38954 mutable_bitField0_ |= 0x00000001; 38955 } 38956 path_.add(input.readInt32()); 38957 break; 38958 } 38959 case 10: { 38960 int length = input.readRawVarint32(); 38961 int limit = input.pushLimit(length); 38962 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { 38963 path_ = new java.util.ArrayList<java.lang.Integer>(); 38964 mutable_bitField0_ |= 0x00000001; 38965 } 38966 while (input.getBytesUntilLimit() > 0) { 38967 path_.add(input.readInt32()); 38968 } 38969 input.popLimit(limit); 38970 break; 38971 } 38972 case 18: { 38973 com.google.protobuf.ByteString bs = input.readBytes(); 38974 bitField0_ |= 0x00000001; 38975 sourceFile_ = bs; 38976 break; 38977 } 38978 case 24: { 38979 bitField0_ |= 0x00000002; 38980 begin_ = input.readInt32(); 38981 break; 38982 } 38983 case 32: { 38984 bitField0_ |= 0x00000004; 38985 end_ = input.readInt32(); 38986 break; 38987 } 38988 } 38989 } 38990 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 38991 throw e.setUnfinishedMessage(this); 38992 } catch (java.io.IOException e) { 38993 throw new com.google.protobuf.InvalidProtocolBufferException( 38994 e).setUnfinishedMessage(this); 38995 } finally { 38996 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 38997 path_ = java.util.Collections.unmodifiableList(path_); 38998 } 38999 this.unknownFields = unknownFields.build(); 39000 makeExtensionsImmutable(); 39001 } 39002 } 39003 public static final com.google.protobuf.Descriptors.Descriptor 39004 getDescriptor() { 39005 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor; 39006 } 39007 39008 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 39009 internalGetFieldAccessorTable() { 39010 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_Annotation_fieldAccessorTable 39011 .ensureFieldAccessorsInitialized( 39012 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.class, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.class); 39013 } 39014 39015 private int bitField0_; 39016 public static final int PATH_FIELD_NUMBER = 1; 39017 private java.util.List<java.lang.Integer> path_; 39018 /** 39019 * <pre> 39020 * Identifies the element in the original source .proto file. This field 39021 * is formatted the same as SourceCodeInfo.Location.path. 39022 * </pre> 39023 * 39024 * <code>repeated int32 path = 1 [packed = true];</code> 39025 */ 39026 public java.util.List<java.lang.Integer> 39027 getPathList() { 39028 return path_; 39029 } 39030 /** 39031 * <pre> 39032 * Identifies the element in the original source .proto file. This field 39033 * is formatted the same as SourceCodeInfo.Location.path. 39034 * </pre> 39035 * 39036 * <code>repeated int32 path = 1 [packed = true];</code> 39037 */ 39038 public int getPathCount() { 39039 return path_.size(); 39040 } 39041 /** 39042 * <pre> 39043 * Identifies the element in the original source .proto file. This field 39044 * is formatted the same as SourceCodeInfo.Location.path. 39045 * </pre> 39046 * 39047 * <code>repeated int32 path = 1 [packed = true];</code> 39048 */ 39049 public int getPath(int index) { 39050 return path_.get(index); 39051 } 39052 private int pathMemoizedSerializedSize = -1; 39053 39054 public static final int SOURCE_FILE_FIELD_NUMBER = 2; 39055 private volatile java.lang.Object sourceFile_; 39056 /** 39057 * <pre> 39058 * Identifies the filesystem path to the original source .proto. 39059 * </pre> 39060 * 39061 * <code>optional string source_file = 2;</code> 39062 */ 39063 public boolean hasSourceFile() { 39064 return ((bitField0_ & 0x00000001) == 0x00000001); 39065 } 39066 /** 39067 * <pre> 39068 * Identifies the filesystem path to the original source .proto. 39069 * </pre> 39070 * 39071 * <code>optional string source_file = 2;</code> 39072 */ 39073 public java.lang.String getSourceFile() { 39074 java.lang.Object ref = sourceFile_; 39075 if (ref instanceof java.lang.String) { 39076 return (java.lang.String) ref; 39077 } else { 39078 com.google.protobuf.ByteString bs = 39079 (com.google.protobuf.ByteString) ref; 39080 java.lang.String s = bs.toStringUtf8(); 39081 if (bs.isValidUtf8()) { 39082 sourceFile_ = s; 39083 } 39084 return s; 39085 } 39086 } 39087 /** 39088 * <pre> 39089 * Identifies the filesystem path to the original source .proto. 39090 * </pre> 39091 * 39092 * <code>optional string source_file = 2;</code> 39093 */ 39094 public com.google.protobuf.ByteString 39095 getSourceFileBytes() { 39096 java.lang.Object ref = sourceFile_; 39097 if (ref instanceof java.lang.String) { 39098 com.google.protobuf.ByteString b = 39099 com.google.protobuf.ByteString.copyFromUtf8( 39100 (java.lang.String) ref); 39101 sourceFile_ = b; 39102 return b; 39103 } else { 39104 return (com.google.protobuf.ByteString) ref; 39105 } 39106 } 39107 39108 public static final int BEGIN_FIELD_NUMBER = 3; 39109 private int begin_; 39110 /** 39111 * <pre> 39112 * Identifies the starting offset in bytes in the generated code 39113 * that relates to the identified object. 39114 * </pre> 39115 * 39116 * <code>optional int32 begin = 3;</code> 39117 */ 39118 public boolean hasBegin() { 39119 return ((bitField0_ & 0x00000002) == 0x00000002); 39120 } 39121 /** 39122 * <pre> 39123 * Identifies the starting offset in bytes in the generated code 39124 * that relates to the identified object. 39125 * </pre> 39126 * 39127 * <code>optional int32 begin = 3;</code> 39128 */ 39129 public int getBegin() { 39130 return begin_; 39131 } 39132 39133 public static final int END_FIELD_NUMBER = 4; 39134 private int end_; 39135 /** 39136 * <pre> 39137 * Identifies the ending offset in bytes in the generated code that 39138 * relates to the identified offset. The end offset should be one past 39139 * the last relevant byte (so the length of the text = end - begin). 39140 * </pre> 39141 * 39142 * <code>optional int32 end = 4;</code> 39143 */ 39144 public boolean hasEnd() { 39145 return ((bitField0_ & 0x00000004) == 0x00000004); 39146 } 39147 /** 39148 * <pre> 39149 * Identifies the ending offset in bytes in the generated code that 39150 * relates to the identified offset. The end offset should be one past 39151 * the last relevant byte (so the length of the text = end - begin). 39152 * </pre> 39153 * 39154 * <code>optional int32 end = 4;</code> 39155 */ 39156 public int getEnd() { 39157 return end_; 39158 } 39159 39160 private byte memoizedIsInitialized = -1; 39161 public final boolean isInitialized() { 39162 byte isInitialized = memoizedIsInitialized; 39163 if (isInitialized == 1) return true; 39164 if (isInitialized == 0) return false; 39165 39166 memoizedIsInitialized = 1; 39167 return true; 39168 } 39169 39170 public void writeTo(com.google.protobuf.CodedOutputStream output) 39171 throws java.io.IOException { 39172 getSerializedSize(); 39173 if (getPathList().size() > 0) { 39174 output.writeUInt32NoTag(10); 39175 output.writeUInt32NoTag(pathMemoizedSerializedSize); 39176 } 39177 for (int i = 0; i < path_.size(); i++) { 39178 output.writeInt32NoTag(path_.get(i)); 39179 } 39180 if (((bitField0_ & 0x00000001) == 0x00000001)) { 39181 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceFile_); 39182 } 39183 if (((bitField0_ & 0x00000002) == 0x00000002)) { 39184 output.writeInt32(3, begin_); 39185 } 39186 if (((bitField0_ & 0x00000004) == 0x00000004)) { 39187 output.writeInt32(4, end_); 39188 } 39189 unknownFields.writeTo(output); 39190 } 39191 39192 public int getSerializedSize() { 39193 int size = memoizedSize; 39194 if (size != -1) return size; 39195 39196 size = 0; 39197 { 39198 int dataSize = 0; 39199 for (int i = 0; i < path_.size(); i++) { 39200 dataSize += com.google.protobuf.CodedOutputStream 39201 .computeInt32SizeNoTag(path_.get(i)); 39202 } 39203 size += dataSize; 39204 if (!getPathList().isEmpty()) { 39205 size += 1; 39206 size += com.google.protobuf.CodedOutputStream 39207 .computeInt32SizeNoTag(dataSize); 39208 } 39209 pathMemoizedSerializedSize = dataSize; 39210 } 39211 if (((bitField0_ & 0x00000001) == 0x00000001)) { 39212 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceFile_); 39213 } 39214 if (((bitField0_ & 0x00000002) == 0x00000002)) { 39215 size += com.google.protobuf.CodedOutputStream 39216 .computeInt32Size(3, begin_); 39217 } 39218 if (((bitField0_ & 0x00000004) == 0x00000004)) { 39219 size += com.google.protobuf.CodedOutputStream 39220 .computeInt32Size(4, end_); 39221 } 39222 size += unknownFields.getSerializedSize(); 39223 memoizedSize = size; 39224 return size; 39225 } 39226 39227 @java.lang.Override 39228 public boolean equals(final java.lang.Object obj) { 39229 if (obj == this) { 39230 return true; 39231 } 39232 if (!(obj instanceof com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation)) { 39233 return super.equals(obj); 39234 } 39235 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation other = (com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation) obj; 39236 39237 boolean result = true; 39238 result = result && getPathList() 39239 .equals(other.getPathList()); 39240 result = result && (hasSourceFile() == other.hasSourceFile()); 39241 if (hasSourceFile()) { 39242 result = result && getSourceFile() 39243 .equals(other.getSourceFile()); 39244 } 39245 result = result && (hasBegin() == other.hasBegin()); 39246 if (hasBegin()) { 39247 result = result && (getBegin() 39248 == other.getBegin()); 39249 } 39250 result = result && (hasEnd() == other.hasEnd()); 39251 if (hasEnd()) { 39252 result = result && (getEnd() 39253 == other.getEnd()); 39254 } 39255 result = result && unknownFields.equals(other.unknownFields); 39256 return result; 39257 } 39258 39259 @java.lang.Override 39260 public int hashCode() { 39261 if (memoizedHashCode != 0) { 39262 return memoizedHashCode; 39263 } 39264 int hash = 41; 39265 hash = (19 * hash) + getDescriptor().hashCode(); 39266 if (getPathCount() > 0) { 39267 hash = (37 * hash) + PATH_FIELD_NUMBER; 39268 hash = (53 * hash) + getPathList().hashCode(); 39269 } 39270 if (hasSourceFile()) { 39271 hash = (37 * hash) + SOURCE_FILE_FIELD_NUMBER; 39272 hash = (53 * hash) + getSourceFile().hashCode(); 39273 } 39274 if (hasBegin()) { 39275 hash = (37 * hash) + BEGIN_FIELD_NUMBER; 39276 hash = (53 * hash) + getBegin(); 39277 } 39278 if (hasEnd()) { 39279 hash = (37 * hash) + END_FIELD_NUMBER; 39280 hash = (53 * hash) + getEnd(); 39281 } 39282 hash = (29 * hash) + unknownFields.hashCode(); 39283 memoizedHashCode = hash; 39284 return hash; 39285 } 39286 39287 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39288 java.nio.ByteBuffer data) 39289 throws com.google.protobuf.InvalidProtocolBufferException { 39290 return PARSER.parseFrom(data); 39291 } 39292 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39293 java.nio.ByteBuffer data, 39294 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39295 throws com.google.protobuf.InvalidProtocolBufferException { 39296 return PARSER.parseFrom(data, extensionRegistry); 39297 } 39298 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39299 com.google.protobuf.ByteString data) 39300 throws com.google.protobuf.InvalidProtocolBufferException { 39301 return PARSER.parseFrom(data); 39302 } 39303 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39304 com.google.protobuf.ByteString data, 39305 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39306 throws com.google.protobuf.InvalidProtocolBufferException { 39307 return PARSER.parseFrom(data, extensionRegistry); 39308 } 39309 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(byte[] data) 39310 throws com.google.protobuf.InvalidProtocolBufferException { 39311 return PARSER.parseFrom(data); 39312 } 39313 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39314 byte[] data, 39315 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39316 throws com.google.protobuf.InvalidProtocolBufferException { 39317 return PARSER.parseFrom(data, extensionRegistry); 39318 } 39319 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(java.io.InputStream input) 39320 throws java.io.IOException { 39321 return com.google.protobuf.GeneratedMessageV3 39322 .parseWithIOException(PARSER, input); 39323 } 39324 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39325 java.io.InputStream input, 39326 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39327 throws java.io.IOException { 39328 return com.google.protobuf.GeneratedMessageV3 39329 .parseWithIOException(PARSER, input, extensionRegistry); 39330 } 39331 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom(java.io.InputStream input) 39332 throws java.io.IOException { 39333 return com.google.protobuf.GeneratedMessageV3 39334 .parseDelimitedWithIOException(PARSER, input); 39335 } 39336 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom( 39337 java.io.InputStream input, 39338 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39339 throws java.io.IOException { 39340 return com.google.protobuf.GeneratedMessageV3 39341 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 39342 } 39343 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39344 com.google.protobuf.CodedInputStream input) 39345 throws java.io.IOException { 39346 return com.google.protobuf.GeneratedMessageV3 39347 .parseWithIOException(PARSER, input); 39348 } 39349 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom( 39350 com.google.protobuf.CodedInputStream input, 39351 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39352 throws java.io.IOException { 39353 return com.google.protobuf.GeneratedMessageV3 39354 .parseWithIOException(PARSER, input, extensionRegistry); 39355 } 39356 39357 public Builder newBuilderForType() { return newBuilder(); } 39358 public static Builder newBuilder() { 39359 return DEFAULT_INSTANCE.toBuilder(); 39360 } 39361 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation prototype) { 39362 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 39363 } 39364 public Builder toBuilder() { 39365 return this == DEFAULT_INSTANCE 39366 ? new Builder() : new Builder().mergeFrom(this); 39367 } 39368 39369 @java.lang.Override 39370 protected Builder newBuilderForType( 39371 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 39372 Builder builder = new Builder(parent); 39373 return builder; 39374 } 39375 /** 39376 * Protobuf type {@code google.protobuf.GeneratedCodeInfo.Annotation} 39377 */ 39378 public static final class Builder extends 39379 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 39380 // @@protoc_insertion_point(builder_implements:google.protobuf.GeneratedCodeInfo.Annotation) 39381 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder { 39382 public static final com.google.protobuf.Descriptors.Descriptor 39383 getDescriptor() { 39384 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor; 39385 } 39386 39387 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 39388 internalGetFieldAccessorTable() { 39389 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_Annotation_fieldAccessorTable 39390 .ensureFieldAccessorsInitialized( 39391 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.class, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder.class); 39392 } 39393 39394 // Construct using com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.newBuilder() 39395 private Builder() { 39396 maybeForceBuilderInitialization(); 39397 } 39398 39399 private Builder( 39400 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 39401 super(parent); 39402 maybeForceBuilderInitialization(); 39403 } 39404 private void maybeForceBuilderInitialization() { 39405 if (com.google.protobuf.GeneratedMessageV3 39406 .alwaysUseFieldBuilders) { 39407 } 39408 } 39409 public Builder clear() { 39410 super.clear(); 39411 path_ = java.util.Collections.emptyList(); 39412 bitField0_ = (bitField0_ & ~0x00000001); 39413 sourceFile_ = ""; 39414 bitField0_ = (bitField0_ & ~0x00000002); 39415 begin_ = 0; 39416 bitField0_ = (bitField0_ & ~0x00000004); 39417 end_ = 0; 39418 bitField0_ = (bitField0_ & ~0x00000008); 39419 return this; 39420 } 39421 39422 public com.google.protobuf.Descriptors.Descriptor 39423 getDescriptorForType() { 39424 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor; 39425 } 39426 39427 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstanceForType() { 39428 return com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.getDefaultInstance(); 39429 } 39430 39431 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation build() { 39432 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation result = buildPartial(); 39433 if (!result.isInitialized()) { 39434 throw newUninitializedMessageException(result); 39435 } 39436 return result; 39437 } 39438 39439 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation buildPartial() { 39440 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation result = new com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation(this); 39441 int from_bitField0_ = bitField0_; 39442 int to_bitField0_ = 0; 39443 if (((bitField0_ & 0x00000001) == 0x00000001)) { 39444 path_ = java.util.Collections.unmodifiableList(path_); 39445 bitField0_ = (bitField0_ & ~0x00000001); 39446 } 39447 result.path_ = path_; 39448 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 39449 to_bitField0_ |= 0x00000001; 39450 } 39451 result.sourceFile_ = sourceFile_; 39452 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 39453 to_bitField0_ |= 0x00000002; 39454 } 39455 result.begin_ = begin_; 39456 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 39457 to_bitField0_ |= 0x00000004; 39458 } 39459 result.end_ = end_; 39460 result.bitField0_ = to_bitField0_; 39461 onBuilt(); 39462 return result; 39463 } 39464 39465 public Builder clone() { 39466 return (Builder) super.clone(); 39467 } 39468 public Builder setField( 39469 com.google.protobuf.Descriptors.FieldDescriptor field, 39470 java.lang.Object value) { 39471 return (Builder) super.setField(field, value); 39472 } 39473 public Builder clearField( 39474 com.google.protobuf.Descriptors.FieldDescriptor field) { 39475 return (Builder) super.clearField(field); 39476 } 39477 public Builder clearOneof( 39478 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 39479 return (Builder) super.clearOneof(oneof); 39480 } 39481 public Builder setRepeatedField( 39482 com.google.protobuf.Descriptors.FieldDescriptor field, 39483 int index, java.lang.Object value) { 39484 return (Builder) super.setRepeatedField(field, index, value); 39485 } 39486 public Builder addRepeatedField( 39487 com.google.protobuf.Descriptors.FieldDescriptor field, 39488 java.lang.Object value) { 39489 return (Builder) super.addRepeatedField(field, value); 39490 } 39491 public Builder mergeFrom(com.google.protobuf.Message other) { 39492 if (other instanceof com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation) { 39493 return mergeFrom((com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation)other); 39494 } else { 39495 super.mergeFrom(other); 39496 return this; 39497 } 39498 } 39499 39500 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation other) { 39501 if (other == com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.getDefaultInstance()) return this; 39502 if (!other.path_.isEmpty()) { 39503 if (path_.isEmpty()) { 39504 path_ = other.path_; 39505 bitField0_ = (bitField0_ & ~0x00000001); 39506 } else { 39507 ensurePathIsMutable(); 39508 path_.addAll(other.path_); 39509 } 39510 onChanged(); 39511 } 39512 if (other.hasSourceFile()) { 39513 bitField0_ |= 0x00000002; 39514 sourceFile_ = other.sourceFile_; 39515 onChanged(); 39516 } 39517 if (other.hasBegin()) { 39518 setBegin(other.getBegin()); 39519 } 39520 if (other.hasEnd()) { 39521 setEnd(other.getEnd()); 39522 } 39523 this.mergeUnknownFields(other.unknownFields); 39524 onChanged(); 39525 return this; 39526 } 39527 39528 public final boolean isInitialized() { 39529 return true; 39530 } 39531 39532 public Builder mergeFrom( 39533 com.google.protobuf.CodedInputStream input, 39534 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39535 throws java.io.IOException { 39536 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation parsedMessage = null; 39537 try { 39538 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 39539 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 39540 parsedMessage = (com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation) e.getUnfinishedMessage(); 39541 throw e.unwrapIOException(); 39542 } finally { 39543 if (parsedMessage != null) { 39544 mergeFrom(parsedMessage); 39545 } 39546 } 39547 return this; 39548 } 39549 private int bitField0_; 39550 39551 private java.util.List<java.lang.Integer> path_ = java.util.Collections.emptyList(); 39552 private void ensurePathIsMutable() { 39553 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 39554 path_ = new java.util.ArrayList<java.lang.Integer>(path_); 39555 bitField0_ |= 0x00000001; 39556 } 39557 } 39558 /** 39559 * <pre> 39560 * Identifies the element in the original source .proto file. This field 39561 * is formatted the same as SourceCodeInfo.Location.path. 39562 * </pre> 39563 * 39564 * <code>repeated int32 path = 1 [packed = true];</code> 39565 */ 39566 public java.util.List<java.lang.Integer> 39567 getPathList() { 39568 return java.util.Collections.unmodifiableList(path_); 39569 } 39570 /** 39571 * <pre> 39572 * Identifies the element in the original source .proto file. This field 39573 * is formatted the same as SourceCodeInfo.Location.path. 39574 * </pre> 39575 * 39576 * <code>repeated int32 path = 1 [packed = true];</code> 39577 */ 39578 public int getPathCount() { 39579 return path_.size(); 39580 } 39581 /** 39582 * <pre> 39583 * Identifies the element in the original source .proto file. This field 39584 * is formatted the same as SourceCodeInfo.Location.path. 39585 * </pre> 39586 * 39587 * <code>repeated int32 path = 1 [packed = true];</code> 39588 */ 39589 public int getPath(int index) { 39590 return path_.get(index); 39591 } 39592 /** 39593 * <pre> 39594 * Identifies the element in the original source .proto file. This field 39595 * is formatted the same as SourceCodeInfo.Location.path. 39596 * </pre> 39597 * 39598 * <code>repeated int32 path = 1 [packed = true];</code> 39599 */ 39600 public Builder setPath( 39601 int index, int value) { 39602 ensurePathIsMutable(); 39603 path_.set(index, value); 39604 onChanged(); 39605 return this; 39606 } 39607 /** 39608 * <pre> 39609 * Identifies the element in the original source .proto file. This field 39610 * is formatted the same as SourceCodeInfo.Location.path. 39611 * </pre> 39612 * 39613 * <code>repeated int32 path = 1 [packed = true];</code> 39614 */ 39615 public Builder addPath(int value) { 39616 ensurePathIsMutable(); 39617 path_.add(value); 39618 onChanged(); 39619 return this; 39620 } 39621 /** 39622 * <pre> 39623 * Identifies the element in the original source .proto file. This field 39624 * is formatted the same as SourceCodeInfo.Location.path. 39625 * </pre> 39626 * 39627 * <code>repeated int32 path = 1 [packed = true];</code> 39628 */ 39629 public Builder addAllPath( 39630 java.lang.Iterable<? extends java.lang.Integer> values) { 39631 ensurePathIsMutable(); 39632 com.google.protobuf.AbstractMessageLite.Builder.addAll( 39633 values, path_); 39634 onChanged(); 39635 return this; 39636 } 39637 /** 39638 * <pre> 39639 * Identifies the element in the original source .proto file. This field 39640 * is formatted the same as SourceCodeInfo.Location.path. 39641 * </pre> 39642 * 39643 * <code>repeated int32 path = 1 [packed = true];</code> 39644 */ 39645 public Builder clearPath() { 39646 path_ = java.util.Collections.emptyList(); 39647 bitField0_ = (bitField0_ & ~0x00000001); 39648 onChanged(); 39649 return this; 39650 } 39651 39652 private java.lang.Object sourceFile_ = ""; 39653 /** 39654 * <pre> 39655 * Identifies the filesystem path to the original source .proto. 39656 * </pre> 39657 * 39658 * <code>optional string source_file = 2;</code> 39659 */ 39660 public boolean hasSourceFile() { 39661 return ((bitField0_ & 0x00000002) == 0x00000002); 39662 } 39663 /** 39664 * <pre> 39665 * Identifies the filesystem path to the original source .proto. 39666 * </pre> 39667 * 39668 * <code>optional string source_file = 2;</code> 39669 */ 39670 public java.lang.String getSourceFile() { 39671 java.lang.Object ref = sourceFile_; 39672 if (!(ref instanceof java.lang.String)) { 39673 com.google.protobuf.ByteString bs = 39674 (com.google.protobuf.ByteString) ref; 39675 java.lang.String s = bs.toStringUtf8(); 39676 if (bs.isValidUtf8()) { 39677 sourceFile_ = s; 39678 } 39679 return s; 39680 } else { 39681 return (java.lang.String) ref; 39682 } 39683 } 39684 /** 39685 * <pre> 39686 * Identifies the filesystem path to the original source .proto. 39687 * </pre> 39688 * 39689 * <code>optional string source_file = 2;</code> 39690 */ 39691 public com.google.protobuf.ByteString 39692 getSourceFileBytes() { 39693 java.lang.Object ref = sourceFile_; 39694 if (ref instanceof String) { 39695 com.google.protobuf.ByteString b = 39696 com.google.protobuf.ByteString.copyFromUtf8( 39697 (java.lang.String) ref); 39698 sourceFile_ = b; 39699 return b; 39700 } else { 39701 return (com.google.protobuf.ByteString) ref; 39702 } 39703 } 39704 /** 39705 * <pre> 39706 * Identifies the filesystem path to the original source .proto. 39707 * </pre> 39708 * 39709 * <code>optional string source_file = 2;</code> 39710 */ 39711 public Builder setSourceFile( 39712 java.lang.String value) { 39713 if (value == null) { 39714 throw new NullPointerException(); 39715 } 39716 bitField0_ |= 0x00000002; 39717 sourceFile_ = value; 39718 onChanged(); 39719 return this; 39720 } 39721 /** 39722 * <pre> 39723 * Identifies the filesystem path to the original source .proto. 39724 * </pre> 39725 * 39726 * <code>optional string source_file = 2;</code> 39727 */ 39728 public Builder clearSourceFile() { 39729 bitField0_ = (bitField0_ & ~0x00000002); 39730 sourceFile_ = getDefaultInstance().getSourceFile(); 39731 onChanged(); 39732 return this; 39733 } 39734 /** 39735 * <pre> 39736 * Identifies the filesystem path to the original source .proto. 39737 * </pre> 39738 * 39739 * <code>optional string source_file = 2;</code> 39740 */ 39741 public Builder setSourceFileBytes( 39742 com.google.protobuf.ByteString value) { 39743 if (value == null) { 39744 throw new NullPointerException(); 39745 } 39746 bitField0_ |= 0x00000002; 39747 sourceFile_ = value; 39748 onChanged(); 39749 return this; 39750 } 39751 39752 private int begin_ ; 39753 /** 39754 * <pre> 39755 * Identifies the starting offset in bytes in the generated code 39756 * that relates to the identified object. 39757 * </pre> 39758 * 39759 * <code>optional int32 begin = 3;</code> 39760 */ 39761 public boolean hasBegin() { 39762 return ((bitField0_ & 0x00000004) == 0x00000004); 39763 } 39764 /** 39765 * <pre> 39766 * Identifies the starting offset in bytes in the generated code 39767 * that relates to the identified object. 39768 * </pre> 39769 * 39770 * <code>optional int32 begin = 3;</code> 39771 */ 39772 public int getBegin() { 39773 return begin_; 39774 } 39775 /** 39776 * <pre> 39777 * Identifies the starting offset in bytes in the generated code 39778 * that relates to the identified object. 39779 * </pre> 39780 * 39781 * <code>optional int32 begin = 3;</code> 39782 */ 39783 public Builder setBegin(int value) { 39784 bitField0_ |= 0x00000004; 39785 begin_ = value; 39786 onChanged(); 39787 return this; 39788 } 39789 /** 39790 * <pre> 39791 * Identifies the starting offset in bytes in the generated code 39792 * that relates to the identified object. 39793 * </pre> 39794 * 39795 * <code>optional int32 begin = 3;</code> 39796 */ 39797 public Builder clearBegin() { 39798 bitField0_ = (bitField0_ & ~0x00000004); 39799 begin_ = 0; 39800 onChanged(); 39801 return this; 39802 } 39803 39804 private int end_ ; 39805 /** 39806 * <pre> 39807 * Identifies the ending offset in bytes in the generated code that 39808 * relates to the identified offset. The end offset should be one past 39809 * the last relevant byte (so the length of the text = end - begin). 39810 * </pre> 39811 * 39812 * <code>optional int32 end = 4;</code> 39813 */ 39814 public boolean hasEnd() { 39815 return ((bitField0_ & 0x00000008) == 0x00000008); 39816 } 39817 /** 39818 * <pre> 39819 * Identifies the ending offset in bytes in the generated code that 39820 * relates to the identified offset. The end offset should be one past 39821 * the last relevant byte (so the length of the text = end - begin). 39822 * </pre> 39823 * 39824 * <code>optional int32 end = 4;</code> 39825 */ 39826 public int getEnd() { 39827 return end_; 39828 } 39829 /** 39830 * <pre> 39831 * Identifies the ending offset in bytes in the generated code that 39832 * relates to the identified offset. The end offset should be one past 39833 * the last relevant byte (so the length of the text = end - begin). 39834 * </pre> 39835 * 39836 * <code>optional int32 end = 4;</code> 39837 */ 39838 public Builder setEnd(int value) { 39839 bitField0_ |= 0x00000008; 39840 end_ = value; 39841 onChanged(); 39842 return this; 39843 } 39844 /** 39845 * <pre> 39846 * Identifies the ending offset in bytes in the generated code that 39847 * relates to the identified offset. The end offset should be one past 39848 * the last relevant byte (so the length of the text = end - begin). 39849 * </pre> 39850 * 39851 * <code>optional int32 end = 4;</code> 39852 */ 39853 public Builder clearEnd() { 39854 bitField0_ = (bitField0_ & ~0x00000008); 39855 end_ = 0; 39856 onChanged(); 39857 return this; 39858 } 39859 public final Builder setUnknownFields( 39860 final com.google.protobuf.UnknownFieldSet unknownFields) { 39861 return super.setUnknownFields(unknownFields); 39862 } 39863 39864 public final Builder mergeUnknownFields( 39865 final com.google.protobuf.UnknownFieldSet unknownFields) { 39866 return super.mergeUnknownFields(unknownFields); 39867 } 39868 39869 39870 // @@protoc_insertion_point(builder_scope:google.protobuf.GeneratedCodeInfo.Annotation) 39871 } 39872 39873 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) 39874 private static final com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation DEFAULT_INSTANCE; 39875 static { 39876 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation(); 39877 } 39878 39879 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstance() { 39880 return DEFAULT_INSTANCE; 39881 } 39882 39883 @java.lang.Deprecated public static final com.google.protobuf.Parser<Annotation> 39884 PARSER = new com.google.protobuf.AbstractParser<Annotation>() { 39885 public Annotation parsePartialFrom( 39886 com.google.protobuf.CodedInputStream input, 39887 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 39888 throws com.google.protobuf.InvalidProtocolBufferException { 39889 return new Annotation(input, extensionRegistry); 39890 } 39891 }; 39892 39893 public static com.google.protobuf.Parser<Annotation> parser() { 39894 return PARSER; 39895 } 39896 39897 @java.lang.Override 39898 public com.google.protobuf.Parser<Annotation> getParserForType() { 39899 return PARSER; 39900 } 39901 39902 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstanceForType() { 39903 return DEFAULT_INSTANCE; 39904 } 39905 39906 } 39907 39908 public static final int ANNOTATION_FIELD_NUMBER = 1; 39909 private java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> annotation_; 39910 /** 39911 * <pre> 39912 * An Annotation connects some span of text in generated code to an element 39913 * of its generating .proto file. 39914 * </pre> 39915 * 39916 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 39917 */ 39918 public java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> getAnnotationList() { 39919 return annotation_; 39920 } 39921 /** 39922 * <pre> 39923 * An Annotation connects some span of text in generated code to an element 39924 * of its generating .proto file. 39925 * </pre> 39926 * 39927 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 39928 */ 39929 public java.util.List<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> 39930 getAnnotationOrBuilderList() { 39931 return annotation_; 39932 } 39933 /** 39934 * <pre> 39935 * An Annotation connects some span of text in generated code to an element 39936 * of its generating .proto file. 39937 * </pre> 39938 * 39939 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 39940 */ 39941 public int getAnnotationCount() { 39942 return annotation_.size(); 39943 } 39944 /** 39945 * <pre> 39946 * An Annotation connects some span of text in generated code to an element 39947 * of its generating .proto file. 39948 * </pre> 39949 * 39950 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 39951 */ 39952 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getAnnotation(int index) { 39953 return annotation_.get(index); 39954 } 39955 /** 39956 * <pre> 39957 * An Annotation connects some span of text in generated code to an element 39958 * of its generating .proto file. 39959 * </pre> 39960 * 39961 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 39962 */ 39963 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder getAnnotationOrBuilder( 39964 int index) { 39965 return annotation_.get(index); 39966 } 39967 39968 private byte memoizedIsInitialized = -1; 39969 public final boolean isInitialized() { 39970 byte isInitialized = memoizedIsInitialized; 39971 if (isInitialized == 1) return true; 39972 if (isInitialized == 0) return false; 39973 39974 memoizedIsInitialized = 1; 39975 return true; 39976 } 39977 39978 public void writeTo(com.google.protobuf.CodedOutputStream output) 39979 throws java.io.IOException { 39980 for (int i = 0; i < annotation_.size(); i++) { 39981 output.writeMessage(1, annotation_.get(i)); 39982 } 39983 unknownFields.writeTo(output); 39984 } 39985 39986 public int getSerializedSize() { 39987 int size = memoizedSize; 39988 if (size != -1) return size; 39989 39990 size = 0; 39991 for (int i = 0; i < annotation_.size(); i++) { 39992 size += com.google.protobuf.CodedOutputStream 39993 .computeMessageSize(1, annotation_.get(i)); 39994 } 39995 size += unknownFields.getSerializedSize(); 39996 memoizedSize = size; 39997 return size; 39998 } 39999 40000 @java.lang.Override 40001 public boolean equals(final java.lang.Object obj) { 40002 if (obj == this) { 40003 return true; 40004 } 40005 if (!(obj instanceof com.google.protobuf.DescriptorProtos.GeneratedCodeInfo)) { 40006 return super.equals(obj); 40007 } 40008 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo other = (com.google.protobuf.DescriptorProtos.GeneratedCodeInfo) obj; 40009 40010 boolean result = true; 40011 result = result && getAnnotationList() 40012 .equals(other.getAnnotationList()); 40013 result = result && unknownFields.equals(other.unknownFields); 40014 return result; 40015 } 40016 40017 @java.lang.Override 40018 public int hashCode() { 40019 if (memoizedHashCode != 0) { 40020 return memoizedHashCode; 40021 } 40022 int hash = 41; 40023 hash = (19 * hash) + getDescriptor().hashCode(); 40024 if (getAnnotationCount() > 0) { 40025 hash = (37 * hash) + ANNOTATION_FIELD_NUMBER; 40026 hash = (53 * hash) + getAnnotationList().hashCode(); 40027 } 40028 hash = (29 * hash) + unknownFields.hashCode(); 40029 memoizedHashCode = hash; 40030 return hash; 40031 } 40032 40033 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40034 java.nio.ByteBuffer data) 40035 throws com.google.protobuf.InvalidProtocolBufferException { 40036 return PARSER.parseFrom(data); 40037 } 40038 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40039 java.nio.ByteBuffer data, 40040 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40041 throws com.google.protobuf.InvalidProtocolBufferException { 40042 return PARSER.parseFrom(data, extensionRegistry); 40043 } 40044 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40045 com.google.protobuf.ByteString data) 40046 throws com.google.protobuf.InvalidProtocolBufferException { 40047 return PARSER.parseFrom(data); 40048 } 40049 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40050 com.google.protobuf.ByteString data, 40051 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40052 throws com.google.protobuf.InvalidProtocolBufferException { 40053 return PARSER.parseFrom(data, extensionRegistry); 40054 } 40055 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom(byte[] data) 40056 throws com.google.protobuf.InvalidProtocolBufferException { 40057 return PARSER.parseFrom(data); 40058 } 40059 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40060 byte[] data, 40061 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40062 throws com.google.protobuf.InvalidProtocolBufferException { 40063 return PARSER.parseFrom(data, extensionRegistry); 40064 } 40065 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom(java.io.InputStream input) 40066 throws java.io.IOException { 40067 return com.google.protobuf.GeneratedMessageV3 40068 .parseWithIOException(PARSER, input); 40069 } 40070 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40071 java.io.InputStream input, 40072 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40073 throws java.io.IOException { 40074 return com.google.protobuf.GeneratedMessageV3 40075 .parseWithIOException(PARSER, input, extensionRegistry); 40076 } 40077 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseDelimitedFrom(java.io.InputStream input) 40078 throws java.io.IOException { 40079 return com.google.protobuf.GeneratedMessageV3 40080 .parseDelimitedWithIOException(PARSER, input); 40081 } 40082 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseDelimitedFrom( 40083 java.io.InputStream input, 40084 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40085 throws java.io.IOException { 40086 return com.google.protobuf.GeneratedMessageV3 40087 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 40088 } 40089 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40090 com.google.protobuf.CodedInputStream input) 40091 throws java.io.IOException { 40092 return com.google.protobuf.GeneratedMessageV3 40093 .parseWithIOException(PARSER, input); 40094 } 40095 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parseFrom( 40096 com.google.protobuf.CodedInputStream input, 40097 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40098 throws java.io.IOException { 40099 return com.google.protobuf.GeneratedMessageV3 40100 .parseWithIOException(PARSER, input, extensionRegistry); 40101 } 40102 40103 public Builder newBuilderForType() { return newBuilder(); } 40104 public static Builder newBuilder() { 40105 return DEFAULT_INSTANCE.toBuilder(); 40106 } 40107 public static Builder newBuilder(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo prototype) { 40108 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 40109 } 40110 public Builder toBuilder() { 40111 return this == DEFAULT_INSTANCE 40112 ? new Builder() : new Builder().mergeFrom(this); 40113 } 40114 40115 @java.lang.Override 40116 protected Builder newBuilderForType( 40117 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 40118 Builder builder = new Builder(parent); 40119 return builder; 40120 } 40121 /** 40122 * <pre> 40123 * Describes the relationship between generated code and its original source 40124 * file. A GeneratedCodeInfo message is associated with only one generated 40125 * source file, but may contain references to different source .proto files. 40126 * </pre> 40127 * 40128 * Protobuf type {@code google.protobuf.GeneratedCodeInfo} 40129 */ 40130 public static final class Builder extends 40131 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 40132 // @@protoc_insertion_point(builder_implements:google.protobuf.GeneratedCodeInfo) 40133 com.google.protobuf.DescriptorProtos.GeneratedCodeInfoOrBuilder { 40134 public static final com.google.protobuf.Descriptors.Descriptor 40135 getDescriptor() { 40136 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_descriptor; 40137 } 40138 40139 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40140 internalGetFieldAccessorTable() { 40141 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_fieldAccessorTable 40142 .ensureFieldAccessorsInitialized( 40143 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.class, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Builder.class); 40144 } 40145 40146 // Construct using com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.newBuilder() 40147 private Builder() { 40148 maybeForceBuilderInitialization(); 40149 } 40150 40151 private Builder( 40152 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 40153 super(parent); 40154 maybeForceBuilderInitialization(); 40155 } 40156 private void maybeForceBuilderInitialization() { 40157 if (com.google.protobuf.GeneratedMessageV3 40158 .alwaysUseFieldBuilders) { 40159 getAnnotationFieldBuilder(); 40160 } 40161 } 40162 public Builder clear() { 40163 super.clear(); 40164 if (annotationBuilder_ == null) { 40165 annotation_ = java.util.Collections.emptyList(); 40166 bitField0_ = (bitField0_ & ~0x00000001); 40167 } else { 40168 annotationBuilder_.clear(); 40169 } 40170 return this; 40171 } 40172 40173 public com.google.protobuf.Descriptors.Descriptor 40174 getDescriptorForType() { 40175 return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_GeneratedCodeInfo_descriptor; 40176 } 40177 40178 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo getDefaultInstanceForType() { 40179 return com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.getDefaultInstance(); 40180 } 40181 40182 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo build() { 40183 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo result = buildPartial(); 40184 if (!result.isInitialized()) { 40185 throw newUninitializedMessageException(result); 40186 } 40187 return result; 40188 } 40189 40190 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo buildPartial() { 40191 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo result = new com.google.protobuf.DescriptorProtos.GeneratedCodeInfo(this); 40192 int from_bitField0_ = bitField0_; 40193 if (annotationBuilder_ == null) { 40194 if (((bitField0_ & 0x00000001) == 0x00000001)) { 40195 annotation_ = java.util.Collections.unmodifiableList(annotation_); 40196 bitField0_ = (bitField0_ & ~0x00000001); 40197 } 40198 result.annotation_ = annotation_; 40199 } else { 40200 result.annotation_ = annotationBuilder_.build(); 40201 } 40202 onBuilt(); 40203 return result; 40204 } 40205 40206 public Builder clone() { 40207 return (Builder) super.clone(); 40208 } 40209 public Builder setField( 40210 com.google.protobuf.Descriptors.FieldDescriptor field, 40211 java.lang.Object value) { 40212 return (Builder) super.setField(field, value); 40213 } 40214 public Builder clearField( 40215 com.google.protobuf.Descriptors.FieldDescriptor field) { 40216 return (Builder) super.clearField(field); 40217 } 40218 public Builder clearOneof( 40219 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 40220 return (Builder) super.clearOneof(oneof); 40221 } 40222 public Builder setRepeatedField( 40223 com.google.protobuf.Descriptors.FieldDescriptor field, 40224 int index, java.lang.Object value) { 40225 return (Builder) super.setRepeatedField(field, index, value); 40226 } 40227 public Builder addRepeatedField( 40228 com.google.protobuf.Descriptors.FieldDescriptor field, 40229 java.lang.Object value) { 40230 return (Builder) super.addRepeatedField(field, value); 40231 } 40232 public Builder mergeFrom(com.google.protobuf.Message other) { 40233 if (other instanceof com.google.protobuf.DescriptorProtos.GeneratedCodeInfo) { 40234 return mergeFrom((com.google.protobuf.DescriptorProtos.GeneratedCodeInfo)other); 40235 } else { 40236 super.mergeFrom(other); 40237 return this; 40238 } 40239 } 40240 40241 public Builder mergeFrom(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo other) { 40242 if (other == com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.getDefaultInstance()) return this; 40243 if (annotationBuilder_ == null) { 40244 if (!other.annotation_.isEmpty()) { 40245 if (annotation_.isEmpty()) { 40246 annotation_ = other.annotation_; 40247 bitField0_ = (bitField0_ & ~0x00000001); 40248 } else { 40249 ensureAnnotationIsMutable(); 40250 annotation_.addAll(other.annotation_); 40251 } 40252 onChanged(); 40253 } 40254 } else { 40255 if (!other.annotation_.isEmpty()) { 40256 if (annotationBuilder_.isEmpty()) { 40257 annotationBuilder_.dispose(); 40258 annotationBuilder_ = null; 40259 annotation_ = other.annotation_; 40260 bitField0_ = (bitField0_ & ~0x00000001); 40261 annotationBuilder_ = 40262 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 40263 getAnnotationFieldBuilder() : null; 40264 } else { 40265 annotationBuilder_.addAllMessages(other.annotation_); 40266 } 40267 } 40268 } 40269 this.mergeUnknownFields(other.unknownFields); 40270 onChanged(); 40271 return this; 40272 } 40273 40274 public final boolean isInitialized() { 40275 return true; 40276 } 40277 40278 public Builder mergeFrom( 40279 com.google.protobuf.CodedInputStream input, 40280 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40281 throws java.io.IOException { 40282 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo parsedMessage = null; 40283 try { 40284 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 40285 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 40286 parsedMessage = (com.google.protobuf.DescriptorProtos.GeneratedCodeInfo) e.getUnfinishedMessage(); 40287 throw e.unwrapIOException(); 40288 } finally { 40289 if (parsedMessage != null) { 40290 mergeFrom(parsedMessage); 40291 } 40292 } 40293 return this; 40294 } 40295 private int bitField0_; 40296 40297 private java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> annotation_ = 40298 java.util.Collections.emptyList(); 40299 private void ensureAnnotationIsMutable() { 40300 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 40301 annotation_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation>(annotation_); 40302 bitField0_ |= 0x00000001; 40303 } 40304 } 40305 40306 private com.google.protobuf.RepeatedFieldBuilderV3< 40307 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> annotationBuilder_; 40308 40309 /** 40310 * <pre> 40311 * An Annotation connects some span of text in generated code to an element 40312 * of its generating .proto file. 40313 * </pre> 40314 * 40315 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40316 */ 40317 public java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> getAnnotationList() { 40318 if (annotationBuilder_ == null) { 40319 return java.util.Collections.unmodifiableList(annotation_); 40320 } else { 40321 return annotationBuilder_.getMessageList(); 40322 } 40323 } 40324 /** 40325 * <pre> 40326 * An Annotation connects some span of text in generated code to an element 40327 * of its generating .proto file. 40328 * </pre> 40329 * 40330 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40331 */ 40332 public int getAnnotationCount() { 40333 if (annotationBuilder_ == null) { 40334 return annotation_.size(); 40335 } else { 40336 return annotationBuilder_.getCount(); 40337 } 40338 } 40339 /** 40340 * <pre> 40341 * An Annotation connects some span of text in generated code to an element 40342 * of its generating .proto file. 40343 * </pre> 40344 * 40345 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40346 */ 40347 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation getAnnotation(int index) { 40348 if (annotationBuilder_ == null) { 40349 return annotation_.get(index); 40350 } else { 40351 return annotationBuilder_.getMessage(index); 40352 } 40353 } 40354 /** 40355 * <pre> 40356 * An Annotation connects some span of text in generated code to an element 40357 * of its generating .proto file. 40358 * </pre> 40359 * 40360 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40361 */ 40362 public Builder setAnnotation( 40363 int index, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation value) { 40364 if (annotationBuilder_ == null) { 40365 if (value == null) { 40366 throw new NullPointerException(); 40367 } 40368 ensureAnnotationIsMutable(); 40369 annotation_.set(index, value); 40370 onChanged(); 40371 } else { 40372 annotationBuilder_.setMessage(index, value); 40373 } 40374 return this; 40375 } 40376 /** 40377 * <pre> 40378 * An Annotation connects some span of text in generated code to an element 40379 * of its generating .proto file. 40380 * </pre> 40381 * 40382 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40383 */ 40384 public Builder setAnnotation( 40385 int index, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) { 40386 if (annotationBuilder_ == null) { 40387 ensureAnnotationIsMutable(); 40388 annotation_.set(index, builderForValue.build()); 40389 onChanged(); 40390 } else { 40391 annotationBuilder_.setMessage(index, builderForValue.build()); 40392 } 40393 return this; 40394 } 40395 /** 40396 * <pre> 40397 * An Annotation connects some span of text in generated code to an element 40398 * of its generating .proto file. 40399 * </pre> 40400 * 40401 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40402 */ 40403 public Builder addAnnotation(com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation value) { 40404 if (annotationBuilder_ == null) { 40405 if (value == null) { 40406 throw new NullPointerException(); 40407 } 40408 ensureAnnotationIsMutable(); 40409 annotation_.add(value); 40410 onChanged(); 40411 } else { 40412 annotationBuilder_.addMessage(value); 40413 } 40414 return this; 40415 } 40416 /** 40417 * <pre> 40418 * An Annotation connects some span of text in generated code to an element 40419 * of its generating .proto file. 40420 * </pre> 40421 * 40422 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40423 */ 40424 public Builder addAnnotation( 40425 int index, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation value) { 40426 if (annotationBuilder_ == null) { 40427 if (value == null) { 40428 throw new NullPointerException(); 40429 } 40430 ensureAnnotationIsMutable(); 40431 annotation_.add(index, value); 40432 onChanged(); 40433 } else { 40434 annotationBuilder_.addMessage(index, value); 40435 } 40436 return this; 40437 } 40438 /** 40439 * <pre> 40440 * An Annotation connects some span of text in generated code to an element 40441 * of its generating .proto file. 40442 * </pre> 40443 * 40444 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40445 */ 40446 public Builder addAnnotation( 40447 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) { 40448 if (annotationBuilder_ == null) { 40449 ensureAnnotationIsMutable(); 40450 annotation_.add(builderForValue.build()); 40451 onChanged(); 40452 } else { 40453 annotationBuilder_.addMessage(builderForValue.build()); 40454 } 40455 return this; 40456 } 40457 /** 40458 * <pre> 40459 * An Annotation connects some span of text in generated code to an element 40460 * of its generating .proto file. 40461 * </pre> 40462 * 40463 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40464 */ 40465 public Builder addAnnotation( 40466 int index, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) { 40467 if (annotationBuilder_ == null) { 40468 ensureAnnotationIsMutable(); 40469 annotation_.add(index, builderForValue.build()); 40470 onChanged(); 40471 } else { 40472 annotationBuilder_.addMessage(index, builderForValue.build()); 40473 } 40474 return this; 40475 } 40476 /** 40477 * <pre> 40478 * An Annotation connects some span of text in generated code to an element 40479 * of its generating .proto file. 40480 * </pre> 40481 * 40482 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40483 */ 40484 public Builder addAllAnnotation( 40485 java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation> values) { 40486 if (annotationBuilder_ == null) { 40487 ensureAnnotationIsMutable(); 40488 com.google.protobuf.AbstractMessageLite.Builder.addAll( 40489 values, annotation_); 40490 onChanged(); 40491 } else { 40492 annotationBuilder_.addAllMessages(values); 40493 } 40494 return this; 40495 } 40496 /** 40497 * <pre> 40498 * An Annotation connects some span of text in generated code to an element 40499 * of its generating .proto file. 40500 * </pre> 40501 * 40502 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40503 */ 40504 public Builder clearAnnotation() { 40505 if (annotationBuilder_ == null) { 40506 annotation_ = java.util.Collections.emptyList(); 40507 bitField0_ = (bitField0_ & ~0x00000001); 40508 onChanged(); 40509 } else { 40510 annotationBuilder_.clear(); 40511 } 40512 return this; 40513 } 40514 /** 40515 * <pre> 40516 * An Annotation connects some span of text in generated code to an element 40517 * of its generating .proto file. 40518 * </pre> 40519 * 40520 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40521 */ 40522 public Builder removeAnnotation(int index) { 40523 if (annotationBuilder_ == null) { 40524 ensureAnnotationIsMutable(); 40525 annotation_.remove(index); 40526 onChanged(); 40527 } else { 40528 annotationBuilder_.remove(index); 40529 } 40530 return this; 40531 } 40532 /** 40533 * <pre> 40534 * An Annotation connects some span of text in generated code to an element 40535 * of its generating .proto file. 40536 * </pre> 40537 * 40538 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40539 */ 40540 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder getAnnotationBuilder( 40541 int index) { 40542 return getAnnotationFieldBuilder().getBuilder(index); 40543 } 40544 /** 40545 * <pre> 40546 * An Annotation connects some span of text in generated code to an element 40547 * of its generating .proto file. 40548 * </pre> 40549 * 40550 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40551 */ 40552 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder getAnnotationOrBuilder( 40553 int index) { 40554 if (annotationBuilder_ == null) { 40555 return annotation_.get(index); } else { 40556 return annotationBuilder_.getMessageOrBuilder(index); 40557 } 40558 } 40559 /** 40560 * <pre> 40561 * An Annotation connects some span of text in generated code to an element 40562 * of its generating .proto file. 40563 * </pre> 40564 * 40565 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40566 */ 40567 public java.util.List<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> 40568 getAnnotationOrBuilderList() { 40569 if (annotationBuilder_ != null) { 40570 return annotationBuilder_.getMessageOrBuilderList(); 40571 } else { 40572 return java.util.Collections.unmodifiableList(annotation_); 40573 } 40574 } 40575 /** 40576 * <pre> 40577 * An Annotation connects some span of text in generated code to an element 40578 * of its generating .proto file. 40579 * </pre> 40580 * 40581 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40582 */ 40583 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addAnnotationBuilder() { 40584 return getAnnotationFieldBuilder().addBuilder( 40585 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.getDefaultInstance()); 40586 } 40587 /** 40588 * <pre> 40589 * An Annotation connects some span of text in generated code to an element 40590 * of its generating .proto file. 40591 * </pre> 40592 * 40593 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40594 */ 40595 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addAnnotationBuilder( 40596 int index) { 40597 return getAnnotationFieldBuilder().addBuilder( 40598 index, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.getDefaultInstance()); 40599 } 40600 /** 40601 * <pre> 40602 * An Annotation connects some span of text in generated code to an element 40603 * of its generating .proto file. 40604 * </pre> 40605 * 40606 * <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 40607 */ 40608 public java.util.List<com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder> 40609 getAnnotationBuilderList() { 40610 return getAnnotationFieldBuilder().getBuilderList(); 40611 } 40612 private com.google.protobuf.RepeatedFieldBuilderV3< 40613 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> 40614 getAnnotationFieldBuilder() { 40615 if (annotationBuilder_ == null) { 40616 annotationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 40617 com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Annotation.Builder, com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder>( 40618 annotation_, 40619 ((bitField0_ & 0x00000001) == 0x00000001), 40620 getParentForChildren(), 40621 isClean()); 40622 annotation_ = null; 40623 } 40624 return annotationBuilder_; 40625 } 40626 public final Builder setUnknownFields( 40627 final com.google.protobuf.UnknownFieldSet unknownFields) { 40628 return super.setUnknownFields(unknownFields); 40629 } 40630 40631 public final Builder mergeUnknownFields( 40632 final com.google.protobuf.UnknownFieldSet unknownFields) { 40633 return super.mergeUnknownFields(unknownFields); 40634 } 40635 40636 40637 // @@protoc_insertion_point(builder_scope:google.protobuf.GeneratedCodeInfo) 40638 } 40639 40640 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) 40641 private static final com.google.protobuf.DescriptorProtos.GeneratedCodeInfo DEFAULT_INSTANCE; 40642 static { 40643 DEFAULT_INSTANCE = new com.google.protobuf.DescriptorProtos.GeneratedCodeInfo(); 40644 } 40645 40646 public static com.google.protobuf.DescriptorProtos.GeneratedCodeInfo getDefaultInstance() { 40647 return DEFAULT_INSTANCE; 40648 } 40649 40650 @java.lang.Deprecated public static final com.google.protobuf.Parser<GeneratedCodeInfo> 40651 PARSER = new com.google.protobuf.AbstractParser<GeneratedCodeInfo>() { 40652 public GeneratedCodeInfo parsePartialFrom( 40653 com.google.protobuf.CodedInputStream input, 40654 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 40655 throws com.google.protobuf.InvalidProtocolBufferException { 40656 return new GeneratedCodeInfo(input, extensionRegistry); 40657 } 40658 }; 40659 40660 public static com.google.protobuf.Parser<GeneratedCodeInfo> parser() { 40661 return PARSER; 40662 } 40663 40664 @java.lang.Override 40665 public com.google.protobuf.Parser<GeneratedCodeInfo> getParserForType() { 40666 return PARSER; 40667 } 40668 40669 public com.google.protobuf.DescriptorProtos.GeneratedCodeInfo getDefaultInstanceForType() { 40670 return DEFAULT_INSTANCE; 40671 } 40672 30807 40673 } 30808 40674 30809 40675 private static final com.google.protobuf.Descriptors.Descriptor 30810 40676 internal_static_google_protobuf_FileDescriptorSet_descriptor; 30811 private static 30812 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40677 private static final 40678 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30813 40679 internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable; 30814 40680 private static final com.google.protobuf.Descriptors.Descriptor 30815 40681 internal_static_google_protobuf_FileDescriptorProto_descriptor; 30816 private static 30817 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40682 private static final 40683 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30818 40684 internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable; 30819 40685 private static final com.google.protobuf.Descriptors.Descriptor 30820 40686 internal_static_google_protobuf_DescriptorProto_descriptor; 30821 private static 30822 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40687 private static final 40688 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30823 40689 internal_static_google_protobuf_DescriptorProto_fieldAccessorTable; 30824 40690 private static final com.google.protobuf.Descriptors.Descriptor 30825 40691 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; 30826 private static 30827 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40692 private static final 40693 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30828 40694 internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable; 30829 40695 private static final com.google.protobuf.Descriptors.Descriptor 40696 internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor; 40697 private static final 40698 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40699 internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable; 40700 private static final com.google.protobuf.Descriptors.Descriptor 40701 internal_static_google_protobuf_ExtensionRangeOptions_descriptor; 40702 private static final 40703 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40704 internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable; 40705 private static final com.google.protobuf.Descriptors.Descriptor 30830 40706 internal_static_google_protobuf_FieldDescriptorProto_descriptor; 30831 private static 30832 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40707 private static final 40708 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30833 40709 internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable; 30834 40710 private static final com.google.protobuf.Descriptors.Descriptor 30835 40711 internal_static_google_protobuf_OneofDescriptorProto_descriptor; 30836 private static 30837 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40712 private static final 40713 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30838 40714 internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable; 30839 40715 private static final com.google.protobuf.Descriptors.Descriptor 30840 40716 internal_static_google_protobuf_EnumDescriptorProto_descriptor; 30841 private static 30842 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40717 private static final 40718 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30843 40719 internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable; 30844 40720 private static final com.google.protobuf.Descriptors.Descriptor 30845 40721 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor; 30846 private static 30847 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40722 private static final 40723 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30848 40724 internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable; 30849 40725 private static final com.google.protobuf.Descriptors.Descriptor 30850 40726 internal_static_google_protobuf_ServiceDescriptorProto_descriptor; 30851 private static 30852 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40727 private static final 40728 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30853 40729 internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable; 30854 40730 private static final com.google.protobuf.Descriptors.Descriptor 30855 40731 internal_static_google_protobuf_MethodDescriptorProto_descriptor; 30856 private static 30857 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40732 private static final 40733 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30858 40734 internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable; 30859 40735 private static final com.google.protobuf.Descriptors.Descriptor 30860 40736 internal_static_google_protobuf_FileOptions_descriptor; 30861 private static 30862 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40737 private static final 40738 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30863 40739 internal_static_google_protobuf_FileOptions_fieldAccessorTable; 30864 40740 private static final com.google.protobuf.Descriptors.Descriptor 30865 40741 internal_static_google_protobuf_MessageOptions_descriptor; 30866 private static 30867 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40742 private static final 40743 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30868 40744 internal_static_google_protobuf_MessageOptions_fieldAccessorTable; 30869 40745 private static final com.google.protobuf.Descriptors.Descriptor 30870 40746 internal_static_google_protobuf_FieldOptions_descriptor; 30871 private static 30872 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40747 private static final 40748 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30873 40749 internal_static_google_protobuf_FieldOptions_fieldAccessorTable; 30874 40750 private static final com.google.protobuf.Descriptors.Descriptor 40751 internal_static_google_protobuf_OneofOptions_descriptor; 40752 private static final 40753 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40754 internal_static_google_protobuf_OneofOptions_fieldAccessorTable; 40755 private static final com.google.protobuf.Descriptors.Descriptor 30875 40756 internal_static_google_protobuf_EnumOptions_descriptor; 30876 private static 30877 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40757 private static final 40758 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30878 40759 internal_static_google_protobuf_EnumOptions_fieldAccessorTable; 30879 40760 private static final com.google.protobuf.Descriptors.Descriptor 30880 40761 internal_static_google_protobuf_EnumValueOptions_descriptor; 30881 private static 30882 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40762 private static final 40763 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30883 40764 internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable; 30884 40765 private static final com.google.protobuf.Descriptors.Descriptor 30885 40766 internal_static_google_protobuf_ServiceOptions_descriptor; 30886 private static 30887 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40767 private static final 40768 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30888 40769 internal_static_google_protobuf_ServiceOptions_fieldAccessorTable; 30889 40770 private static final com.google.protobuf.Descriptors.Descriptor 30890 40771 internal_static_google_protobuf_MethodOptions_descriptor; 30891 private static 30892 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40772 private static final 40773 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30893 40774 internal_static_google_protobuf_MethodOptions_fieldAccessorTable; 30894 40775 private static final com.google.protobuf.Descriptors.Descriptor 30895 40776 internal_static_google_protobuf_UninterpretedOption_descriptor; 30896 private static 30897 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40777 private static final 40778 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30898 40779 internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable; 30899 40780 private static final com.google.protobuf.Descriptors.Descriptor 30900 40781 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor; 30901 private static 30902 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40782 private static final 40783 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30903 40784 internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable; 30904 40785 private static final com.google.protobuf.Descriptors.Descriptor 30905 40786 internal_static_google_protobuf_SourceCodeInfo_descriptor; 30906 private static 30907 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40787 private static final 40788 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30908 40789 internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable; 30909 40790 private static final com.google.protobuf.Descriptors.Descriptor 30910 40791 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor; 30911 private static 30912 com.google.protobuf.GeneratedMessage.FieldAccessorTable 40792 private static final 40793 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 30913 40794 internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable; 40795 private static final com.google.protobuf.Descriptors.Descriptor 40796 internal_static_google_protobuf_GeneratedCodeInfo_descriptor; 40797 private static final 40798 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40799 internal_static_google_protobuf_GeneratedCodeInfo_fieldAccessorTable; 40800 private static final com.google.protobuf.Descriptors.Descriptor 40801 internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor; 40802 private static final 40803 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 40804 internal_static_google_protobuf_GeneratedCodeInfo_Annotation_fieldAccessorTable; 30914 40805 30915 40806 public static com.google.protobuf.Descriptors.FileDescriptor … … 30917 40808 return descriptor; 30918 40809 } 30919 private static com.google.protobuf.Descriptors.FileDescriptor 40810 private static com.google.protobuf.Descriptors.FileDescriptor 30920 40811 descriptor; 30921 40812 static { … … 30923 40814 "\n\020descriptor.proto\022\017google.protobuf\"G\n\021F" + 30924 40815 "ileDescriptorSet\0222\n\004file\030\001 \003(\0132$.google." + 30925 "protobuf.FileDescriptorProto\"\3 13\003\n\023FileDes" +40816 "protobuf.FileDescriptorProto\"\333\003\n\023FileDes" + 30926 40817 "criptorProto\022\014\n\004name\030\001 \001(\t\022\017\n\007package\030\002 " + 30927 40818 "\001(\t\022\022\n\ndependency\030\003 \003(\t\022\031\n\021public_depend" + … … 30935 40826 "\0132\034.google.protobuf.FileOptions\0229\n\020sourc" + 30936 40827 "e_code_info\030\t \001(\0132\037.google.protobuf.Sour" + 30937 "ceCodeInfo\"\344\003\n\017DescriptorProto\022\014\n\004name\030\001" + 30938 " \001(\t\0224\n\005field\030\002 \003(\0132%.google.protobuf.Fi" + 30939 "eldDescriptorProto\0228\n\textension\030\006 \003(\0132%." + 30940 "google.protobuf.FieldDescriptorProto\0225\n\013" + 30941 "nested_type\030\003 \003(\0132 .google.protobuf.Desc" + 30942 "riptorProto\0227\n\tenum_type\030\004 \003(\0132$.google.", 30943 "protobuf.EnumDescriptorProto\022H\n\017extensio" + 30944 "n_range\030\005 \003(\0132/.google.protobuf.Descript" + 30945 "orProto.ExtensionRange\0229\n\noneof_decl\030\010 \003" + 30946 "(\0132%.google.protobuf.OneofDescriptorProt" + 30947 "o\0220\n\007options\030\007 \001(\0132\037.google.protobuf.Mes" + 30948 "sageOptions\032,\n\016ExtensionRange\022\r\n\005start\030\001" + 30949 " \001(\005\022\013\n\003end\030\002 \001(\005\"\251\005\n\024FieldDescriptorPro" + 30950 "to\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:\n\005labe" + 30951 "l\030\004 \001(\0162+.google.protobuf.FieldDescripto" + 30952 "rProto.Label\0228\n\004type\030\005 \001(\0162*.google.prot", 30953 "obuf.FieldDescriptorProto.Type\022\021\n\ttype_n" + 30954 "ame\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t\022\025\n\rdefault_v" + 30955 "alue\030\007 \001(\t\022\023\n\013oneof_index\030\t \001(\005\022.\n\007optio" + 30956 "ns\030\010 \001(\0132\035.google.protobuf.FieldOptions\"" + 30957 "\266\002\n\004Type\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020" + 30958 "\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTY" + 30959 "PE_INT32\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n\014TYPE_FIX" + 30960 "ED32\020\007\022\r\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016" + 30961 "\n\nTYPE_GROUP\020\n\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE" + 30962 "_BYTES\020\014\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016", 30963 "\022\021\n\rTYPE_SFIXED32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017" + 30964 "\n\013TYPE_SINT32\020\021\022\017\n\013TYPE_SINT64\020\022\"C\n\005Labe" + 30965 "l\022\022\n\016LABEL_OPTIONAL\020\001\022\022\n\016LABEL_REQUIRED\020" + 30966 "\002\022\022\n\016LABEL_REPEATED\020\003\"$\n\024OneofDescriptor" + 30967 "Proto\022\014\n\004name\030\001 \001(\t\"\214\001\n\023EnumDescriptorPr" + 30968 "oto\022\014\n\004name\030\001 \001(\t\0228\n\005value\030\002 \003(\0132).googl" + 30969 "e.protobuf.EnumValueDescriptorProto\022-\n\007o" + 30970 "ptions\030\003 \001(\0132\034.google.protobuf.EnumOptio" + 30971 "ns\"l\n\030EnumValueDescriptorProto\022\014\n\004name\030\001" + 30972 " \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.", 30973 "google.protobuf.EnumValueOptions\"\220\001\n\026Ser" + 30974 "viceDescriptorProto\022\014\n\004name\030\001 \001(\t\0226\n\006met" + 30975 "hod\030\002 \003(\0132&.google.protobuf.MethodDescri" + 30976 "ptorProto\0220\n\007options\030\003 \001(\0132\037.google.prot" + 30977 "obuf.ServiceOptions\"\177\n\025MethodDescriptorP" + 30978 "roto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023" + 30979 "\n\013output_type\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.g" + 30980 "oogle.protobuf.MethodOptions\"\253\004\n\013FileOpt" + 30981 "ions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_outer" + 30982 "_classname\030\010 \001(\t\022\"\n\023java_multiple_files\030", 30983 "\n \001(\010:\005false\022,\n\035java_generate_equals_and" + 30984 "_hash\030\024 \001(\010:\005false\022%\n\026java_string_check_" + 30985 "utf8\030\033 \001(\010:\005false\022F\n\014optimize_for\030\t \001(\0162" + 30986 ").google.protobuf.FileOptions.OptimizeMo" + 30987 "de:\005SPEED\022\022\n\ngo_package\030\013 \001(\t\022\"\n\023cc_gene" + 30988 "ric_services\030\020 \001(\010:\005false\022$\n\025java_generi" + 30989 "c_services\030\021 \001(\010:\005false\022\"\n\023py_generic_se" + 30990 "rvices\030\022 \001(\010:\005false\022\031\n\ndeprecated\030\027 \001(\010:" + 30991 "\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132$." + 30992 "google.protobuf.UninterpretedOption\":\n\014O", 30993 "ptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n" + 30994 "\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\323\001\n\016MessageOp" + 30995 "tions\022&\n\027message_set_wire_format\030\001 \001(\010:\005" + 30996 "false\022.\n\037no_standard_descriptor_accessor" + 30997 "\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:\005false" + 30998 "\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.google" + 30999 ".protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002" + 31000 "\"\276\002\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.googl" + 40828 "ceCodeInfo\022\016\n\006syntax\030\014 \001(\t\"\251\005\n\017Descripto" + 40829 "rProto\022\014\n\004name\030\001 \001(\t\0224\n\005field\030\002 \003(\0132%.go" + 40830 "ogle.protobuf.FieldDescriptorProto\0228\n\tex" + 40831 "tension\030\006 \003(\0132%.google.protobuf.FieldDes" + 40832 "criptorProto\0225\n\013nested_type\030\003 \003(\0132 .goog" + 40833 "le.protobuf.DescriptorProto\0227\n\tenum_type", 40834 "\030\004 \003(\0132$.google.protobuf.EnumDescriptorP" + 40835 "roto\022H\n\017extension_range\030\005 \003(\0132/.google.p" + 40836 "rotobuf.DescriptorProto.ExtensionRange\0229" + 40837 "\n\noneof_decl\030\010 \003(\0132%.google.protobuf.One" + 40838 "ofDescriptorProto\0220\n\007options\030\007 \001(\0132\037.goo" + 40839 "gle.protobuf.MessageOptions\022F\n\016reserved_" + 40840 "range\030\t \003(\0132..google.protobuf.Descriptor" + 40841 "Proto.ReservedRange\022\025\n\rreserved_name\030\n \003" + 40842 "(\t\032e\n\016ExtensionRange\022\r\n\005start\030\001 \001(\005\022\013\n\003e" + 40843 "nd\030\002 \001(\005\0227\n\007options\030\003 \001(\0132&.google.proto", 40844 "buf.ExtensionRangeOptions\032+\n\rReservedRan" + 40845 "ge\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"g\n\025Extens" + 40846 "ionRangeOptions\022C\n\024uninterpreted_option\030" + 40847 "\347\007 \003(\0132$.google.protobuf.UninterpretedOp" + 40848 "tion*\t\010\350\007\020\200\200\200\200\002\"\274\005\n\024FieldDescriptorProto" + 40849 "\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:\n\005label\030" + 40850 "\004 \001(\0162+.google.protobuf.FieldDescriptorP" + 40851 "roto.Label\0228\n\004type\030\005 \001(\0162*.google.protob" + 40852 "uf.FieldDescriptorProto.Type\022\021\n\ttype_nam" + 40853 "e\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t\022\025\n\rdefault_val", 40854 "ue\030\007 \001(\t\022\023\n\013oneof_index\030\t \001(\005\022\021\n\tjson_na" + 40855 "me\030\n \001(\t\022.\n\007options\030\010 \001(\0132\035.google.proto" + 40856 "buf.FieldOptions\"\266\002\n\004Type\022\017\n\013TYPE_DOUBLE" + 40857 "\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013TY" + 40858 "PE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014TYPE_FIXE" + 40859 "D64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE_BOOL\020\010\022\017" + 40860 "\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n\022\020\n\014TYPE_" + 40861 "MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYPE_UINT32" + 40862 "\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXED32\020\017\022\021\n\r" + 40863 "TYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020\021\022\017\n\013TYPE", 40864 "_SINT64\020\022\"C\n\005Label\022\022\n\016LABEL_OPTIONAL\020\001\022\022" + 40865 "\n\016LABEL_REQUIRED\020\002\022\022\n\016LABEL_REPEATED\020\003\"T" + 40866 "\n\024OneofDescriptorProto\022\014\n\004name\030\001 \001(\t\022.\n\007" + 40867 "options\030\002 \001(\0132\035.google.protobuf.OneofOpt" + 40868 "ions\"\214\001\n\023EnumDescriptorProto\022\014\n\004name\030\001 \001" + 40869 "(\t\0228\n\005value\030\002 \003(\0132).google.protobuf.Enum" + 40870 "ValueDescriptorProto\022-\n\007options\030\003 \001(\0132\034." + 40871 "google.protobuf.EnumOptions\"l\n\030EnumValue" + 40872 "DescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030" + 40873 "\002 \001(\005\0222\n\007options\030\003 \001(\0132!.google.protobuf", 40874 ".EnumValueOptions\"\220\001\n\026ServiceDescriptorP" + 40875 "roto\022\014\n\004name\030\001 \001(\t\0226\n\006method\030\002 \003(\0132&.goo" + 40876 "gle.protobuf.MethodDescriptorProto\0220\n\007op" + 40877 "tions\030\003 \001(\0132\037.google.protobuf.ServiceOpt" + 40878 "ions\"\301\001\n\025MethodDescriptorProto\022\014\n\004name\030\001" + 40879 " \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023\n\013output_type\030" + 40880 "\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google.protobuf" + 40881 ".MethodOptions\022\037\n\020client_streaming\030\005 \001(\010" + 40882 ":\005false\022\037\n\020server_streaming\030\006 \001(\010:\005false" + 40883 "\"\360\005\n\013FileOptions\022\024\n\014java_package\030\001 \001(\t\022\034", 40884 "\n\024java_outer_classname\030\010 \001(\t\022\"\n\023java_mul" + 40885 "tiple_files\030\n \001(\010:\005false\022)\n\035java_generat" + 40886 "e_equals_and_hash\030\024 \001(\010B\002\030\001\022%\n\026java_stri" + 40887 "ng_check_utf8\030\033 \001(\010:\005false\022F\n\014optimize_f" + 40888 "or\030\t \001(\0162).google.protobuf.FileOptions.O" + 40889 "ptimizeMode:\005SPEED\022\022\n\ngo_package\030\013 \001(\t\022\"" + 40890 "\n\023cc_generic_services\030\020 \001(\010:\005false\022$\n\025ja" + 40891 "va_generic_services\030\021 \001(\010:\005false\022\"\n\023py_g" + 40892 "eneric_services\030\022 \001(\010:\005false\022#\n\024php_gene" + 40893 "ric_services\030* \001(\010:\005false\022\031\n\ndeprecated\030", 40894 "\027 \001(\010:\005false\022\037\n\020cc_enable_arenas\030\037 \001(\010:\005" + 40895 "false\022\031\n\021objc_class_prefix\030$ \001(\t\022\030\n\020csha" + 40896 "rp_namespace\030% \001(\t\022\024\n\014swift_prefix\030\' \001(\t" + 40897 "\022\030\n\020php_class_prefix\030( \001(\t\022\025\n\rphp_namesp" + 40898 "ace\030) \001(\t\022C\n\024uninterpreted_option\030\347\007 \003(\013" + 40899 "2$.google.protobuf.UninterpretedOption\":" + 40900 "\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002" + 40901 "\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002J\004\010&\020\'\"\362\001\n\016" + 40902 "MessageOptions\022&\n\027message_set_wire_forma" + 40903 "t\030\001 \001(\010:\005false\022.\n\037no_standard_descriptor", 40904 "_accessor\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001" + 40905 "(\010:\005false\022\021\n\tmap_entry\030\007 \001(\010\022C\n\024uninterp" + 40906 "reted_option\030\347\007 \003(\0132$.google.protobuf.Un" + 40907 "interpretedOption*\t\010\350\007\020\200\200\200\200\002J\004\010\010\020\tJ\004\010\t\020\n" + 40908 "\"\236\003\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.googl" + 31001 40909 "e.protobuf.FieldOptions.CType:\006STRING\022\016\n" + 31002 "\006packed\030\002 \001(\010\022\023\n\004lazy\030\005 \001(\010:\005false\022\031\n\nde", 31003 "precated\030\003 \001(\010:\005false\022\034\n\024experimental_ma" + 31004 "p_key\030\t \001(\t\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024unin" + 31005 "terpreted_option\030\347\007 \003(\0132$.google.protobu" + 31006 "f.UninterpretedOption\"/\n\005CType\022\n\n\006STRING" + 31007 "\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002*\t\010\350\007\020\200\200\200\200" + 31008 "\002\"\215\001\n\013EnumOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031" + 31009 "\n\ndeprecated\030\003 \001(\010:\005false\022C\n\024uninterpret" + 31010 "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint" + 31011 "erpretedOption*\t\010\350\007\020\200\200\200\200\002\"}\n\020EnumValueOp" + 31012 "tions\022\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024unin", 31013 "terpreted_option\030\347\007 \003(\0132$.google.protobu" + 31014 "f.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016Serv" + 31015 "iceOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n" + 31016 "\024uninterpreted_option\030\347\007 \003(\0132$.google.pr" + 31017 "otobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n" + 31018 "\rMethodOptions\022\031\n\ndeprecated\030! \001(\010:\005fals" + 31019 "e\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.googl" + 31020 "e.protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200" + 31021 "\002\"\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\0132" + 31022 "-.google.protobuf.UninterpretedOption.Na", 31023 "mePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022posi" + 31024 "tive_int_value\030\004 \001(\004\022\032\n\022negative_int_val" + 31025 "ue\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string" + 31026 "_value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n" + 31027 "\010NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_exten" + 31028 "sion\030\002 \002(\010\"\261\001\n\016SourceCodeInfo\022:\n\010locatio" + 31029 "n\030\001 \003(\0132(.google.protobuf.SourceCodeInfo" + 31030 ".Location\032c\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022" + 31031 "\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 " + 31032 "\001(\t\022\031\n\021trailing_comments\030\004 \001(\tB)\n\023com.go", 31033 "ogle.protobufB\020DescriptorProtosH\001" 40910 "\006packed\030\002 \001(\010\022?\n\006jstype\030\006 \001(\0162$.google.p" + 40911 "rotobuf.FieldOptions.JSType:\tJS_NORMAL\022\023" + 40912 "\n\004lazy\030\005 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:" + 40913 "\005false\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024uninterpr", 40914 "eted_option\030\347\007 \003(\0132$.google.protobuf.Uni" + 40915 "nterpretedOption\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n" + 40916 "\004CORD\020\001\022\020\n\014STRING_PIECE\020\002\"5\n\006JSType\022\r\n\tJ" + 40917 "S_NORMAL\020\000\022\r\n\tJS_STRING\020\001\022\r\n\tJS_NUMBER\020\002" + 40918 "*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020\005\"^\n\014OneofOptions\022C\n\024uni" + 40919 "nterpreted_option\030\347\007 \003(\0132$.google.protob" + 40920 "uf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\223\001\n\013En" + 40921 "umOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031\n\ndeprec" + 40922 "ated\030\003 \001(\010:\005false\022C\n\024uninterpreted_optio" + 40923 "n\030\347\007 \003(\0132$.google.protobuf.Uninterpreted", 40924 "Option*\t\010\350\007\020\200\200\200\200\002J\004\010\005\020\006\"}\n\020EnumValueOpti" + 40925 "ons\022\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024uninte" + 40926 "rpreted_option\030\347\007 \003(\0132$.google.protobuf." + 40927 "UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016Servic" + 40928 "eOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024u" + 40929 "ninterpreted_option\030\347\007 \003(\0132$.google.prot" + 40930 "obuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\255\002\n\r" + 40931 "MethodOptions\022\031\n\ndeprecated\030! \001(\010:\005false" + 40932 "\022_\n\021idempotency_level\030\" \001(\0162/.google.pro" + 40933 "tobuf.MethodOptions.IdempotencyLevel:\023ID", 40934 "EMPOTENCY_UNKNOWN\022C\n\024uninterpreted_optio" + 40935 "n\030\347\007 \003(\0132$.google.protobuf.Uninterpreted" + 40936 "Option\"P\n\020IdempotencyLevel\022\027\n\023IDEMPOTENC" + 40937 "Y_UNKNOWN\020\000\022\023\n\017NO_SIDE_EFFECTS\020\001\022\016\n\nIDEM" + 40938 "POTENT\020\002*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023UninterpretedOpt" + 40939 "ion\022;\n\004name\030\002 \003(\0132-.google.protobuf.Unin" + 40940 "terpretedOption.NamePart\022\030\n\020identifier_v" + 40941 "alue\030\003 \001(\t\022\032\n\022positive_int_value\030\004 \001(\004\022\032" + 40942 "\n\022negative_int_value\030\005 \001(\003\022\024\n\014double_val" + 40943 "ue\030\006 \001(\001\022\024\n\014string_value\030\007 \001(\014\022\027\n\017aggreg", 40944 "ate_value\030\010 \001(\t\0323\n\010NamePart\022\021\n\tname_part" + 40945 "\030\001 \002(\t\022\024\n\014is_extension\030\002 \002(\010\"\325\001\n\016SourceC" + 40946 "odeInfo\022:\n\010location\030\001 \003(\0132(.google.proto" + 40947 "buf.SourceCodeInfo.Location\032\206\001\n\010Location" + 40948 "\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020" + 40949 "leading_comments\030\003 \001(\t\022\031\n\021trailing_comme" + 40950 "nts\030\004 \001(\t\022!\n\031leading_detached_comments\030\006" + 40951 " \003(\t\"\247\001\n\021GeneratedCodeInfo\022A\n\nannotation" + 40952 "\030\001 \003(\0132-.google.protobuf.GeneratedCodeIn" + 40953 "fo.Annotation\032O\n\nAnnotation\022\020\n\004path\030\001 \003(", 40954 "\005B\002\020\001\022\023\n\013source_file\030\002 \001(\t\022\r\n\005begin\030\003 \001(" + 40955 "\005\022\013\n\003end\030\004 \001(\005B\214\001\n\023com.google.protobufB\020" + 40956 "DescriptorProtosH\001Z>github.com/golang/pr" + 40957 "otobuf/protoc-gen-go/descriptor;descript" + 40958 "or\242\002\003GPB\252\002\032Google.Protobuf.Reflection" 31034 40959 }; 31035 40960 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 31036 40961 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 31037 @Override 31038 public com.google.protobuf.ExtensionRegistry assignDescriptors( 40962 public com.google.protobuf.ExtensionRegistry assignDescriptors( 31039 40963 com.google.protobuf.Descriptors.FileDescriptor root) { 31040 40964 descriptor = root; … … 31049 40973 getDescriptor().getMessageTypes().get(0); 31050 40974 internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable = new 31051 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 40975 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31052 40976 internal_static_google_protobuf_FileDescriptorSet_descriptor, 31053 40977 new java.lang.String[] { "File", }); … … 31055 40979 getDescriptor().getMessageTypes().get(1); 31056 40980 internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable = new 31057 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 40981 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31058 40982 internal_static_google_protobuf_FileDescriptorProto_descriptor, 31059 new java.lang.String[] { "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", }); 40983 new java.lang.String[] { "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax", }); 31060 40984 internal_static_google_protobuf_DescriptorProto_descriptor = 31061 40985 getDescriptor().getMessageTypes().get(2); 31062 40986 internal_static_google_protobuf_DescriptorProto_fieldAccessorTable = new 31063 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 40987 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31064 40988 internal_static_google_protobuf_DescriptorProto_descriptor, 31065 new java.lang.String[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", }); 40989 new java.lang.String[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", "ReservedRange", "ReservedName", }); 31066 40990 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor = 31067 40991 internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(0); 31068 40992 internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable = new 31069 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 40993 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31070 40994 internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor, 40995 new java.lang.String[] { "Start", "End", "Options", }); 40996 internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor = 40997 internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(1); 40998 internal_static_google_protobuf_DescriptorProto_ReservedRange_fieldAccessorTable = new 40999 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 41000 internal_static_google_protobuf_DescriptorProto_ReservedRange_descriptor, 31071 41001 new java.lang.String[] { "Start", "End", }); 41002 internal_static_google_protobuf_ExtensionRangeOptions_descriptor = 41003 getDescriptor().getMessageTypes().get(3); 41004 internal_static_google_protobuf_ExtensionRangeOptions_fieldAccessorTable = new 41005 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 41006 internal_static_google_protobuf_ExtensionRangeOptions_descriptor, 41007 new java.lang.String[] { "UninterpretedOption", }); 31072 41008 internal_static_google_protobuf_FieldDescriptorProto_descriptor = 31073 getDescriptor().getMessageTypes().get( 3);41009 getDescriptor().getMessageTypes().get(4); 31074 41010 internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable = new 31075 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41011 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31076 41012 internal_static_google_protobuf_FieldDescriptorProto_descriptor, 31077 new java.lang.String[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "Options", }); 41013 new java.lang.String[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "JsonName", "Options", }); 31078 41014 internal_static_google_protobuf_OneofDescriptorProto_descriptor = 31079 getDescriptor().getMessageTypes().get( 4);41015 getDescriptor().getMessageTypes().get(5); 31080 41016 internal_static_google_protobuf_OneofDescriptorProto_fieldAccessorTable = new 31081 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41017 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31082 41018 internal_static_google_protobuf_OneofDescriptorProto_descriptor, 31083 new java.lang.String[] { "Name", }); 41019 new java.lang.String[] { "Name", "Options", }); 31084 41020 internal_static_google_protobuf_EnumDescriptorProto_descriptor = 31085 getDescriptor().getMessageTypes().get( 5);41021 getDescriptor().getMessageTypes().get(6); 31086 41022 internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable = new 31087 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41023 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31088 41024 internal_static_google_protobuf_EnumDescriptorProto_descriptor, 31089 41025 new java.lang.String[] { "Name", "Value", "Options", }); 31090 41026 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor = 31091 getDescriptor().getMessageTypes().get( 6);41027 getDescriptor().getMessageTypes().get(7); 31092 41028 internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable = new 31093 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41029 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31094 41030 internal_static_google_protobuf_EnumValueDescriptorProto_descriptor, 31095 41031 new java.lang.String[] { "Name", "Number", "Options", }); 31096 41032 internal_static_google_protobuf_ServiceDescriptorProto_descriptor = 31097 getDescriptor().getMessageTypes().get( 7);41033 getDescriptor().getMessageTypes().get(8); 31098 41034 internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable = new 31099 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41035 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31100 41036 internal_static_google_protobuf_ServiceDescriptorProto_descriptor, 31101 41037 new java.lang.String[] { "Name", "Method", "Options", }); 31102 41038 internal_static_google_protobuf_MethodDescriptorProto_descriptor = 31103 getDescriptor().getMessageTypes().get( 8);41039 getDescriptor().getMessageTypes().get(9); 31104 41040 internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable = new 31105 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41041 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31106 41042 internal_static_google_protobuf_MethodDescriptorProto_descriptor, 31107 new java.lang.String[] { "Name", "InputType", "OutputType", "Options", }); 41043 new java.lang.String[] { "Name", "InputType", "OutputType", "Options", "ClientStreaming", "ServerStreaming", }); 31108 41044 internal_static_google_protobuf_FileOptions_descriptor = 31109 getDescriptor().getMessageTypes().get( 9);41045 getDescriptor().getMessageTypes().get(10); 31110 41046 internal_static_google_protobuf_FileOptions_fieldAccessorTable = new 31111 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41047 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31112 41048 internal_static_google_protobuf_FileOptions_descriptor, 31113 new java.lang.String[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "Deprecated", "UninterpretedOption", }); 41049 new java.lang.String[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "PhpGenericServices", "Deprecated", "CcEnableArenas", "ObjcClassPrefix", "CsharpNamespace", "SwiftPrefix", "PhpClassPrefix", "PhpNamespace", "UninterpretedOption", }); 31114 41050 internal_static_google_protobuf_MessageOptions_descriptor = 31115 getDescriptor().getMessageTypes().get(1 0);41051 getDescriptor().getMessageTypes().get(11); 31116 41052 internal_static_google_protobuf_MessageOptions_fieldAccessorTable = new 31117 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41053 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31118 41054 internal_static_google_protobuf_MessageOptions_descriptor, 31119 new java.lang.String[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "UninterpretedOption", }); 41055 new java.lang.String[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "MapEntry", "UninterpretedOption", }); 31120 41056 internal_static_google_protobuf_FieldOptions_descriptor = 31121 getDescriptor().getMessageTypes().get(1 1);41057 getDescriptor().getMessageTypes().get(12); 31122 41058 internal_static_google_protobuf_FieldOptions_fieldAccessorTable = new 31123 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41059 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31124 41060 internal_static_google_protobuf_FieldOptions_descriptor, 31125 new java.lang.String[] { "Ctype", "Packed", "Lazy", "Deprecated", "ExperimentalMapKey", "Weak", "UninterpretedOption", }); 41061 new java.lang.String[] { "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption", }); 41062 internal_static_google_protobuf_OneofOptions_descriptor = 41063 getDescriptor().getMessageTypes().get(13); 41064 internal_static_google_protobuf_OneofOptions_fieldAccessorTable = new 41065 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 41066 internal_static_google_protobuf_OneofOptions_descriptor, 41067 new java.lang.String[] { "UninterpretedOption", }); 31126 41068 internal_static_google_protobuf_EnumOptions_descriptor = 31127 getDescriptor().getMessageTypes().get(1 2);41069 getDescriptor().getMessageTypes().get(14); 31128 41070 internal_static_google_protobuf_EnumOptions_fieldAccessorTable = new 31129 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41071 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31130 41072 internal_static_google_protobuf_EnumOptions_descriptor, 31131 41073 new java.lang.String[] { "AllowAlias", "Deprecated", "UninterpretedOption", }); 31132 41074 internal_static_google_protobuf_EnumValueOptions_descriptor = 31133 getDescriptor().getMessageTypes().get(1 3);41075 getDescriptor().getMessageTypes().get(15); 31134 41076 internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable = new 31135 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41077 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31136 41078 internal_static_google_protobuf_EnumValueOptions_descriptor, 31137 41079 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 31138 41080 internal_static_google_protobuf_ServiceOptions_descriptor = 31139 getDescriptor().getMessageTypes().get(1 4);41081 getDescriptor().getMessageTypes().get(16); 31140 41082 internal_static_google_protobuf_ServiceOptions_fieldAccessorTable = new 31141 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41083 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31142 41084 internal_static_google_protobuf_ServiceOptions_descriptor, 31143 41085 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 31144 41086 internal_static_google_protobuf_MethodOptions_descriptor = 31145 getDescriptor().getMessageTypes().get(1 5);41087 getDescriptor().getMessageTypes().get(17); 31146 41088 internal_static_google_protobuf_MethodOptions_fieldAccessorTable = new 31147 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41089 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31148 41090 internal_static_google_protobuf_MethodOptions_descriptor, 31149 new java.lang.String[] { "Deprecated", "UninterpretedOption", }); 41091 new java.lang.String[] { "Deprecated", "IdempotencyLevel", "UninterpretedOption", }); 31150 41092 internal_static_google_protobuf_UninterpretedOption_descriptor = 31151 getDescriptor().getMessageTypes().get(1 6);41093 getDescriptor().getMessageTypes().get(18); 31152 41094 internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable = new 31153 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41095 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31154 41096 internal_static_google_protobuf_UninterpretedOption_descriptor, 31155 41097 new java.lang.String[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", }); … … 31157 41099 internal_static_google_protobuf_UninterpretedOption_descriptor.getNestedTypes().get(0); 31158 41100 internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable = new 31159 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41101 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31160 41102 internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor, 31161 41103 new java.lang.String[] { "NamePart", "IsExtension", }); 31162 41104 internal_static_google_protobuf_SourceCodeInfo_descriptor = 31163 getDescriptor().getMessageTypes().get(1 7);41105 getDescriptor().getMessageTypes().get(19); 31164 41106 internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable = new 31165 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41107 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31166 41108 internal_static_google_protobuf_SourceCodeInfo_descriptor, 31167 41109 new java.lang.String[] { "Location", }); … … 31169 41111 internal_static_google_protobuf_SourceCodeInfo_descriptor.getNestedTypes().get(0); 31170 41112 internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable = new 31171 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 41113 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 31172 41114 internal_static_google_protobuf_SourceCodeInfo_Location_descriptor, 31173 new java.lang.String[] { "Path", "Span", "LeadingComments", "TrailingComments", }); 41115 new java.lang.String[] { "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments", }); 41116 internal_static_google_protobuf_GeneratedCodeInfo_descriptor = 41117 getDescriptor().getMessageTypes().get(20); 41118 internal_static_google_protobuf_GeneratedCodeInfo_fieldAccessorTable = new 41119 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 41120 internal_static_google_protobuf_GeneratedCodeInfo_descriptor, 41121 new java.lang.String[] { "Annotation", }); 41122 internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor = 41123 internal_static_google_protobuf_GeneratedCodeInfo_descriptor.getNestedTypes().get(0); 41124 internal_static_google_protobuf_GeneratedCodeInfo_Annotation_fieldAccessorTable = new 41125 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 41126 internal_static_google_protobuf_GeneratedCodeInfo_Annotation_descriptor, 41127 new java.lang.String[] { "Path", "SourceFile", "Begin", "End", }); 31174 41128 } 31175 41129
Note:
See TracChangeset
for help on using the changeset viewer.