001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// NO CHECKED-IN PROTOBUF GENCODE 003// source: java/dev/enola/thing/thing.proto 004// Protobuf Java Version: 4.32.0 005 006package dev.enola.thing.proto; 007 008/** 009 * <pre> 010 * Things are repeated things. 011 * TODO Keep Things? Or (better...) replace with "streaming" gRPC, only? 012 * </pre> 013 * 014 * Protobuf type {@code dev.enola.thing.Things} 015 */ 016@com.google.protobuf.Generated 017public final class Things extends 018 com.google.protobuf.GeneratedMessage implements 019 // @@protoc_insertion_point(message_implements:dev.enola.thing.Things) 020 ThingsOrBuilder { 021private static final long serialVersionUID = 0L; 022 static { 023 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( 024 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, 025 /* major= */ 4, 026 /* minor= */ 32, 027 /* patch= */ 0, 028 /* suffix= */ "", 029 Things.class.getName()); 030 } 031 // Use Things.newBuilder() to construct. 032 private Things(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 033 super(builder); 034 } 035 private Things() { 036 things_ = java.util.Collections.emptyList(); 037 } 038 039 public static final com.google.protobuf.Descriptors.Descriptor 040 getDescriptor() { 041 return dev.enola.thing.proto.ThingOuterClass.internal_static_dev_enola_thing_Things_descriptor; 042 } 043 044 @java.lang.Override 045 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 046 internalGetFieldAccessorTable() { 047 return dev.enola.thing.proto.ThingOuterClass.internal_static_dev_enola_thing_Things_fieldAccessorTable 048 .ensureFieldAccessorsInitialized( 049 dev.enola.thing.proto.Things.class, dev.enola.thing.proto.Things.Builder.class); 050 } 051 052 public static final int THINGS_FIELD_NUMBER = 1; 053 @SuppressWarnings("serial") 054 private java.util.List<dev.enola.thing.proto.Thing> things_; 055 /** 056 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 057 */ 058 @java.lang.Override 059 public java.util.List<dev.enola.thing.proto.Thing> getThingsList() { 060 return things_; 061 } 062 /** 063 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 064 */ 065 @java.lang.Override 066 public java.util.List<? extends dev.enola.thing.proto.ThingOrBuilder> 067 getThingsOrBuilderList() { 068 return things_; 069 } 070 /** 071 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 072 */ 073 @java.lang.Override 074 public int getThingsCount() { 075 return things_.size(); 076 } 077 /** 078 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 079 */ 080 @java.lang.Override 081 public dev.enola.thing.proto.Thing getThings(int index) { 082 return things_.get(index); 083 } 084 /** 085 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 086 */ 087 @java.lang.Override 088 public dev.enola.thing.proto.ThingOrBuilder getThingsOrBuilder( 089 int index) { 090 return things_.get(index); 091 } 092 093 private byte memoizedIsInitialized = -1; 094 @java.lang.Override 095 public final boolean isInitialized() { 096 byte isInitialized = memoizedIsInitialized; 097 if (isInitialized == 1) return true; 098 if (isInitialized == 0) return false; 099 100 memoizedIsInitialized = 1; 101 return true; 102 } 103 104 @java.lang.Override 105 public void writeTo(com.google.protobuf.CodedOutputStream output) 106 throws java.io.IOException { 107 for (int i = 0; i < things_.size(); i++) { 108 output.writeMessage(1, things_.get(i)); 109 } 110 getUnknownFields().writeTo(output); 111 } 112 113 @java.lang.Override 114 public int getSerializedSize() { 115 int size = memoizedSize; 116 if (size != -1) return size; 117 118 size = 0; 119 for (int i = 0; i < things_.size(); i++) { 120 size += com.google.protobuf.CodedOutputStream 121 .computeMessageSize(1, things_.get(i)); 122 } 123 size += getUnknownFields().getSerializedSize(); 124 memoizedSize = size; 125 return size; 126 } 127 128 @java.lang.Override 129 public boolean equals(final java.lang.Object obj) { 130 if (obj == this) { 131 return true; 132 } 133 if (!(obj instanceof dev.enola.thing.proto.Things)) { 134 return super.equals(obj); 135 } 136 dev.enola.thing.proto.Things other = (dev.enola.thing.proto.Things) obj; 137 138 if (!getThingsList() 139 .equals(other.getThingsList())) return false; 140 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 141 return true; 142 } 143 144 @java.lang.Override 145 public int hashCode() { 146 if (memoizedHashCode != 0) { 147 return memoizedHashCode; 148 } 149 int hash = 41; 150 hash = (19 * hash) + getDescriptor().hashCode(); 151 if (getThingsCount() > 0) { 152 hash = (37 * hash) + THINGS_FIELD_NUMBER; 153 hash = (53 * hash) + getThingsList().hashCode(); 154 } 155 hash = (29 * hash) + getUnknownFields().hashCode(); 156 memoizedHashCode = hash; 157 return hash; 158 } 159 160 public static dev.enola.thing.proto.Things parseFrom( 161 java.nio.ByteBuffer data) 162 throws com.google.protobuf.InvalidProtocolBufferException { 163 return PARSER.parseFrom(data); 164 } 165 public static dev.enola.thing.proto.Things parseFrom( 166 java.nio.ByteBuffer data, 167 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 168 throws com.google.protobuf.InvalidProtocolBufferException { 169 return PARSER.parseFrom(data, extensionRegistry); 170 } 171 public static dev.enola.thing.proto.Things parseFrom( 172 com.google.protobuf.ByteString data) 173 throws com.google.protobuf.InvalidProtocolBufferException { 174 return PARSER.parseFrom(data); 175 } 176 public static dev.enola.thing.proto.Things parseFrom( 177 com.google.protobuf.ByteString data, 178 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 179 throws com.google.protobuf.InvalidProtocolBufferException { 180 return PARSER.parseFrom(data, extensionRegistry); 181 } 182 public static dev.enola.thing.proto.Things parseFrom(byte[] data) 183 throws com.google.protobuf.InvalidProtocolBufferException { 184 return PARSER.parseFrom(data); 185 } 186 public static dev.enola.thing.proto.Things parseFrom( 187 byte[] data, 188 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 189 throws com.google.protobuf.InvalidProtocolBufferException { 190 return PARSER.parseFrom(data, extensionRegistry); 191 } 192 public static dev.enola.thing.proto.Things parseFrom(java.io.InputStream input) 193 throws java.io.IOException { 194 return com.google.protobuf.GeneratedMessage 195 .parseWithIOException(PARSER, input); 196 } 197 public static dev.enola.thing.proto.Things parseFrom( 198 java.io.InputStream input, 199 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 200 throws java.io.IOException { 201 return com.google.protobuf.GeneratedMessage 202 .parseWithIOException(PARSER, input, extensionRegistry); 203 } 204 205 public static dev.enola.thing.proto.Things parseDelimitedFrom(java.io.InputStream input) 206 throws java.io.IOException { 207 return com.google.protobuf.GeneratedMessage 208 .parseDelimitedWithIOException(PARSER, input); 209 } 210 211 public static dev.enola.thing.proto.Things parseDelimitedFrom( 212 java.io.InputStream input, 213 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 214 throws java.io.IOException { 215 return com.google.protobuf.GeneratedMessage 216 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 217 } 218 public static dev.enola.thing.proto.Things parseFrom( 219 com.google.protobuf.CodedInputStream input) 220 throws java.io.IOException { 221 return com.google.protobuf.GeneratedMessage 222 .parseWithIOException(PARSER, input); 223 } 224 public static dev.enola.thing.proto.Things parseFrom( 225 com.google.protobuf.CodedInputStream input, 226 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 227 throws java.io.IOException { 228 return com.google.protobuf.GeneratedMessage 229 .parseWithIOException(PARSER, input, extensionRegistry); 230 } 231 232 @java.lang.Override 233 public Builder newBuilderForType() { return newBuilder(); } 234 public static Builder newBuilder() { 235 return DEFAULT_INSTANCE.toBuilder(); 236 } 237 public static Builder newBuilder(dev.enola.thing.proto.Things prototype) { 238 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 239 } 240 @java.lang.Override 241 public Builder toBuilder() { 242 return this == DEFAULT_INSTANCE 243 ? new Builder() : new Builder().mergeFrom(this); 244 } 245 246 @java.lang.Override 247 protected Builder newBuilderForType( 248 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 249 Builder builder = new Builder(parent); 250 return builder; 251 } 252 /** 253 * <pre> 254 * Things are repeated things. 255 * TODO Keep Things? Or (better...) replace with "streaming" gRPC, only? 256 * </pre> 257 * 258 * Protobuf type {@code dev.enola.thing.Things} 259 */ 260 public static final class Builder extends 261 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 262 // @@protoc_insertion_point(builder_implements:dev.enola.thing.Things) 263 dev.enola.thing.proto.ThingsOrBuilder { 264 public static final com.google.protobuf.Descriptors.Descriptor 265 getDescriptor() { 266 return dev.enola.thing.proto.ThingOuterClass.internal_static_dev_enola_thing_Things_descriptor; 267 } 268 269 @java.lang.Override 270 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 271 internalGetFieldAccessorTable() { 272 return dev.enola.thing.proto.ThingOuterClass.internal_static_dev_enola_thing_Things_fieldAccessorTable 273 .ensureFieldAccessorsInitialized( 274 dev.enola.thing.proto.Things.class, dev.enola.thing.proto.Things.Builder.class); 275 } 276 277 // Construct using dev.enola.thing.proto.Things.newBuilder() 278 private Builder() { 279 280 } 281 282 private Builder( 283 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 284 super(parent); 285 286 } 287 @java.lang.Override 288 public Builder clear() { 289 super.clear(); 290 bitField0_ = 0; 291 if (thingsBuilder_ == null) { 292 things_ = java.util.Collections.emptyList(); 293 } else { 294 things_ = null; 295 thingsBuilder_.clear(); 296 } 297 bitField0_ = (bitField0_ & ~0x00000001); 298 return this; 299 } 300 301 @java.lang.Override 302 public com.google.protobuf.Descriptors.Descriptor 303 getDescriptorForType() { 304 return dev.enola.thing.proto.ThingOuterClass.internal_static_dev_enola_thing_Things_descriptor; 305 } 306 307 @java.lang.Override 308 public dev.enola.thing.proto.Things getDefaultInstanceForType() { 309 return dev.enola.thing.proto.Things.getDefaultInstance(); 310 } 311 312 @java.lang.Override 313 public dev.enola.thing.proto.Things build() { 314 dev.enola.thing.proto.Things result = buildPartial(); 315 if (!result.isInitialized()) { 316 throw newUninitializedMessageException(result); 317 } 318 return result; 319 } 320 321 @java.lang.Override 322 public dev.enola.thing.proto.Things buildPartial() { 323 dev.enola.thing.proto.Things result = new dev.enola.thing.proto.Things(this); 324 buildPartialRepeatedFields(result); 325 if (bitField0_ != 0) { buildPartial0(result); } 326 onBuilt(); 327 return result; 328 } 329 330 private void buildPartialRepeatedFields(dev.enola.thing.proto.Things result) { 331 if (thingsBuilder_ == null) { 332 if (((bitField0_ & 0x00000001) != 0)) { 333 things_ = java.util.Collections.unmodifiableList(things_); 334 bitField0_ = (bitField0_ & ~0x00000001); 335 } 336 result.things_ = things_; 337 } else { 338 result.things_ = thingsBuilder_.build(); 339 } 340 } 341 342 private void buildPartial0(dev.enola.thing.proto.Things result) { 343 int from_bitField0_ = bitField0_; 344 } 345 346 @java.lang.Override 347 public Builder mergeFrom(com.google.protobuf.Message other) { 348 if (other instanceof dev.enola.thing.proto.Things) { 349 return mergeFrom((dev.enola.thing.proto.Things)other); 350 } else { 351 super.mergeFrom(other); 352 return this; 353 } 354 } 355 356 public Builder mergeFrom(dev.enola.thing.proto.Things other) { 357 if (other == dev.enola.thing.proto.Things.getDefaultInstance()) return this; 358 if (thingsBuilder_ == null) { 359 if (!other.things_.isEmpty()) { 360 if (things_.isEmpty()) { 361 things_ = other.things_; 362 bitField0_ = (bitField0_ & ~0x00000001); 363 } else { 364 ensureThingsIsMutable(); 365 things_.addAll(other.things_); 366 } 367 onChanged(); 368 } 369 } else { 370 if (!other.things_.isEmpty()) { 371 if (thingsBuilder_.isEmpty()) { 372 thingsBuilder_.dispose(); 373 thingsBuilder_ = null; 374 things_ = other.things_; 375 bitField0_ = (bitField0_ & ~0x00000001); 376 thingsBuilder_ = 377 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 378 internalGetThingsFieldBuilder() : null; 379 } else { 380 thingsBuilder_.addAllMessages(other.things_); 381 } 382 } 383 } 384 this.mergeUnknownFields(other.getUnknownFields()); 385 onChanged(); 386 return this; 387 } 388 389 @java.lang.Override 390 public final boolean isInitialized() { 391 return true; 392 } 393 394 @java.lang.Override 395 public Builder mergeFrom( 396 com.google.protobuf.CodedInputStream input, 397 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 398 throws java.io.IOException { 399 if (extensionRegistry == null) { 400 throw new java.lang.NullPointerException(); 401 } 402 try { 403 boolean done = false; 404 while (!done) { 405 int tag = input.readTag(); 406 switch (tag) { 407 case 0: 408 done = true; 409 break; 410 case 10: { 411 dev.enola.thing.proto.Thing m = 412 input.readMessage( 413 dev.enola.thing.proto.Thing.parser(), 414 extensionRegistry); 415 if (thingsBuilder_ == null) { 416 ensureThingsIsMutable(); 417 things_.add(m); 418 } else { 419 thingsBuilder_.addMessage(m); 420 } 421 break; 422 } // case 10 423 default: { 424 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 425 done = true; // was an endgroup tag 426 } 427 break; 428 } // default: 429 } // switch (tag) 430 } // while (!done) 431 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 432 throw e.unwrapIOException(); 433 } finally { 434 onChanged(); 435 } // finally 436 return this; 437 } 438 private int bitField0_; 439 440 private java.util.List<dev.enola.thing.proto.Thing> things_ = 441 java.util.Collections.emptyList(); 442 private void ensureThingsIsMutable() { 443 if (!((bitField0_ & 0x00000001) != 0)) { 444 things_ = new java.util.ArrayList<dev.enola.thing.proto.Thing>(things_); 445 bitField0_ |= 0x00000001; 446 } 447 } 448 449 private com.google.protobuf.RepeatedFieldBuilder< 450 dev.enola.thing.proto.Thing, dev.enola.thing.proto.Thing.Builder, dev.enola.thing.proto.ThingOrBuilder> thingsBuilder_; 451 452 /** 453 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 454 */ 455 public java.util.List<dev.enola.thing.proto.Thing> getThingsList() { 456 if (thingsBuilder_ == null) { 457 return java.util.Collections.unmodifiableList(things_); 458 } else { 459 return thingsBuilder_.getMessageList(); 460 } 461 } 462 /** 463 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 464 */ 465 public int getThingsCount() { 466 if (thingsBuilder_ == null) { 467 return things_.size(); 468 } else { 469 return thingsBuilder_.getCount(); 470 } 471 } 472 /** 473 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 474 */ 475 public dev.enola.thing.proto.Thing getThings(int index) { 476 if (thingsBuilder_ == null) { 477 return things_.get(index); 478 } else { 479 return thingsBuilder_.getMessage(index); 480 } 481 } 482 /** 483 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 484 */ 485 public Builder setThings( 486 int index, dev.enola.thing.proto.Thing value) { 487 if (thingsBuilder_ == null) { 488 if (value == null) { 489 throw new NullPointerException(); 490 } 491 ensureThingsIsMutable(); 492 things_.set(index, value); 493 onChanged(); 494 } else { 495 thingsBuilder_.setMessage(index, value); 496 } 497 return this; 498 } 499 /** 500 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 501 */ 502 public Builder setThings( 503 int index, dev.enola.thing.proto.Thing.Builder builderForValue) { 504 if (thingsBuilder_ == null) { 505 ensureThingsIsMutable(); 506 things_.set(index, builderForValue.build()); 507 onChanged(); 508 } else { 509 thingsBuilder_.setMessage(index, builderForValue.build()); 510 } 511 return this; 512 } 513 /** 514 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 515 */ 516 public Builder addThings(dev.enola.thing.proto.Thing value) { 517 if (thingsBuilder_ == null) { 518 if (value == null) { 519 throw new NullPointerException(); 520 } 521 ensureThingsIsMutable(); 522 things_.add(value); 523 onChanged(); 524 } else { 525 thingsBuilder_.addMessage(value); 526 } 527 return this; 528 } 529 /** 530 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 531 */ 532 public Builder addThings( 533 int index, dev.enola.thing.proto.Thing value) { 534 if (thingsBuilder_ == null) { 535 if (value == null) { 536 throw new NullPointerException(); 537 } 538 ensureThingsIsMutable(); 539 things_.add(index, value); 540 onChanged(); 541 } else { 542 thingsBuilder_.addMessage(index, value); 543 } 544 return this; 545 } 546 /** 547 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 548 */ 549 public Builder addThings( 550 dev.enola.thing.proto.Thing.Builder builderForValue) { 551 if (thingsBuilder_ == null) { 552 ensureThingsIsMutable(); 553 things_.add(builderForValue.build()); 554 onChanged(); 555 } else { 556 thingsBuilder_.addMessage(builderForValue.build()); 557 } 558 return this; 559 } 560 /** 561 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 562 */ 563 public Builder addThings( 564 int index, dev.enola.thing.proto.Thing.Builder builderForValue) { 565 if (thingsBuilder_ == null) { 566 ensureThingsIsMutable(); 567 things_.add(index, builderForValue.build()); 568 onChanged(); 569 } else { 570 thingsBuilder_.addMessage(index, builderForValue.build()); 571 } 572 return this; 573 } 574 /** 575 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 576 */ 577 public Builder addAllThings( 578 java.lang.Iterable<? extends dev.enola.thing.proto.Thing> values) { 579 if (thingsBuilder_ == null) { 580 ensureThingsIsMutable(); 581 com.google.protobuf.AbstractMessageLite.Builder.addAll( 582 values, things_); 583 onChanged(); 584 } else { 585 thingsBuilder_.addAllMessages(values); 586 } 587 return this; 588 } 589 /** 590 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 591 */ 592 public Builder clearThings() { 593 if (thingsBuilder_ == null) { 594 things_ = java.util.Collections.emptyList(); 595 bitField0_ = (bitField0_ & ~0x00000001); 596 onChanged(); 597 } else { 598 thingsBuilder_.clear(); 599 } 600 return this; 601 } 602 /** 603 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 604 */ 605 public Builder removeThings(int index) { 606 if (thingsBuilder_ == null) { 607 ensureThingsIsMutable(); 608 things_.remove(index); 609 onChanged(); 610 } else { 611 thingsBuilder_.remove(index); 612 } 613 return this; 614 } 615 /** 616 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 617 */ 618 public dev.enola.thing.proto.Thing.Builder getThingsBuilder( 619 int index) { 620 return internalGetThingsFieldBuilder().getBuilder(index); 621 } 622 /** 623 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 624 */ 625 public dev.enola.thing.proto.ThingOrBuilder getThingsOrBuilder( 626 int index) { 627 if (thingsBuilder_ == null) { 628 return things_.get(index); } else { 629 return thingsBuilder_.getMessageOrBuilder(index); 630 } 631 } 632 /** 633 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 634 */ 635 public java.util.List<? extends dev.enola.thing.proto.ThingOrBuilder> 636 getThingsOrBuilderList() { 637 if (thingsBuilder_ != null) { 638 return thingsBuilder_.getMessageOrBuilderList(); 639 } else { 640 return java.util.Collections.unmodifiableList(things_); 641 } 642 } 643 /** 644 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 645 */ 646 public dev.enola.thing.proto.Thing.Builder addThingsBuilder() { 647 return internalGetThingsFieldBuilder().addBuilder( 648 dev.enola.thing.proto.Thing.getDefaultInstance()); 649 } 650 /** 651 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 652 */ 653 public dev.enola.thing.proto.Thing.Builder addThingsBuilder( 654 int index) { 655 return internalGetThingsFieldBuilder().addBuilder( 656 index, dev.enola.thing.proto.Thing.getDefaultInstance()); 657 } 658 /** 659 * <code>repeated .dev.enola.thing.Thing things = 1;</code> 660 */ 661 public java.util.List<dev.enola.thing.proto.Thing.Builder> 662 getThingsBuilderList() { 663 return internalGetThingsFieldBuilder().getBuilderList(); 664 } 665 private com.google.protobuf.RepeatedFieldBuilder< 666 dev.enola.thing.proto.Thing, dev.enola.thing.proto.Thing.Builder, dev.enola.thing.proto.ThingOrBuilder> 667 internalGetThingsFieldBuilder() { 668 if (thingsBuilder_ == null) { 669 thingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< 670 dev.enola.thing.proto.Thing, dev.enola.thing.proto.Thing.Builder, dev.enola.thing.proto.ThingOrBuilder>( 671 things_, 672 ((bitField0_ & 0x00000001) != 0), 673 getParentForChildren(), 674 isClean()); 675 things_ = null; 676 } 677 return thingsBuilder_; 678 } 679 680 // @@protoc_insertion_point(builder_scope:dev.enola.thing.Things) 681 } 682 683 // @@protoc_insertion_point(class_scope:dev.enola.thing.Things) 684 private static final dev.enola.thing.proto.Things DEFAULT_INSTANCE; 685 static { 686 DEFAULT_INSTANCE = new dev.enola.thing.proto.Things(); 687 } 688 689 public static dev.enola.thing.proto.Things getDefaultInstance() { 690 return DEFAULT_INSTANCE; 691 } 692 693 private static final com.google.protobuf.Parser<Things> 694 PARSER = new com.google.protobuf.AbstractParser<Things>() { 695 @java.lang.Override 696 public Things parsePartialFrom( 697 com.google.protobuf.CodedInputStream input, 698 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 699 throws com.google.protobuf.InvalidProtocolBufferException { 700 Builder builder = newBuilder(); 701 try { 702 builder.mergeFrom(input, extensionRegistry); 703 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 704 throw e.setUnfinishedMessage(builder.buildPartial()); 705 } catch (com.google.protobuf.UninitializedMessageException e) { 706 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 707 } catch (java.io.IOException e) { 708 throw new com.google.protobuf.InvalidProtocolBufferException(e) 709 .setUnfinishedMessage(builder.buildPartial()); 710 } 711 return builder.buildPartial(); 712 } 713 }; 714 715 public static com.google.protobuf.Parser<Things> parser() { 716 return PARSER; 717 } 718 719 @java.lang.Override 720 public com.google.protobuf.Parser<Things> getParserForType() { 721 return PARSER; 722 } 723 724 @java.lang.Override 725 public dev.enola.thing.proto.Things getDefaultInstanceForType() { 726 return DEFAULT_INSTANCE; 727 } 728 729} 730