5package com.google.ortools.algorithms;
11 com.google.protobuf.GeneratedMessage implements
14private static final long serialVersionUID = 0L;
16 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
17 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
30 subset_ = emptyIntList();
33 public static final com.google.protobuf.Descriptors.Descriptor
35 return com.google.ortools.algorithms.SetCover.internal_static_operations_research_SetCoverSolutionResponse_descriptor;
39 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
41 return com.google.ortools.algorithms.SetCover.internal_static_operations_research_SetCoverSolutionResponse_fieldAccessorTable
42 .ensureFieldAccessorsInitialized(
43 com.google.ortools.algorithms.SetCoverSolutionResponse.class, com.google.ortools.algorithms.SetCoverSolutionResponse.Builder.class);
54 implements com.google.protobuf.ProtocolMessageEnum {
100 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
101 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
115 public static final int UNDEFINED_VALUE = 0;
123 public static final int OPTIMAL_VALUE = 1;
132 public static final int FEASIBLE_VALUE = 2;
140 public static final int INFEASIBLE_VALUE = 3;
148 public static final int INVALID_VALUE = 4;
152 if (
this == UNRECOGNIZED) {
153 throw new java.lang.IllegalArgumentException(
154 "Can't get the number of an unknown enum value.");
164 @java.lang.Deprecated
166 return forNumber(value);
175 case 0:
return UNDEFINED;
176 case 1:
return OPTIMAL;
177 case 2:
return FEASIBLE;
178 case 3:
return INFEASIBLE;
179 case 4:
return INVALID;
180 default:
return null;
184 public static com.google.protobuf.Internal.EnumLiteMap<
Status>
186 return internalValueMap;
188 private static final com.google.protobuf.Internal.EnumLiteMap<
189 Status> internalValueMap =
190 new com.google.protobuf.Internal.EnumLiteMap<
Status>() {
191 public Status findValueByNumber(
int number) {
196 public final com.google.protobuf.Descriptors.EnumValueDescriptor
198 if (
this == UNRECOGNIZED) {
199 throw new java.lang.IllegalStateException(
200 "Can't get the descriptor of an unrecognized enum value.");
204 public final com.google.protobuf.Descriptors.EnumDescriptor
208 public static final com.google.protobuf.Descriptors.EnumDescriptor
210 return com.google.ortools.algorithms.SetCoverSolutionResponse.getDescriptor().getEnumTypes().get(0);
213 private static final Status[] VALUES = values();
216 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
218 throw new java.lang.IllegalArgumentException(
219 "EnumValueDescriptor is not for this type.");
221 if (desc.getIndex() == -1) {
224 return VALUES[desc.getIndex()];
227 private final int value;
229 private Status(
int value) {
236 private int bitField0_;
238 private int status_ = 0;
248 return ((bitField0_ & 0x00000001) != 0);
271 return result ==
null ? com.google.ortools.algorithms.SetCoverSolutionResponse.Status.UNRECOGNIZED : result;
275 private int numSubsets_ = 0;
287 return ((bitField0_ & 0x00000002) != 0);
304 @SuppressWarnings(
"serial")
305 private com.google.protobuf.Internal.IntList subset_ =
316 public java.util.List<java.lang.Integer>
329 return subset_.size();
341 return subset_.getInt(index);
343 private int subsetMemoizedSerializedSize = -1;
346 private double cost_ = 0D;
357 return ((bitField0_ & 0x00000004) != 0);
373 private double costLowerBound_ = 0D;
384 return ((bitField0_ & 0x00000008) != 0);
396 return costLowerBound_;
411 return ((bitField0_ & 0x00000010) != 0);
423 return fingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : fingerprint_;
434 return fingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : fingerprint_;
449 return ((bitField0_ & 0x00000020) != 0);
461 return modelFingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : modelFingerprint_;
472 return modelFingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : modelFingerprint_;
475 private byte memoizedIsInitialized = -1;
482 memoizedIsInitialized = 1;
487 public void writeTo(com.google.protobuf.CodedOutputStream output)
488 throws java.io.IOException {
490 if (((bitField0_ & 0x00000001) != 0)) {
491 output.writeEnum(1, status_);
493 if (((bitField0_ & 0x00000002) != 0)) {
494 output.writeInt32(2, numSubsets_);
497 output.writeUInt32NoTag(26);
498 output.writeUInt32NoTag(subsetMemoizedSerializedSize);
500 for (
int i = 0; i < subset_.size(); i++) {
501 output.writeInt32NoTag(subset_.getInt(i));
503 if (((bitField0_ & 0x00000004) != 0)) {
504 output.writeDouble(4, cost_);
506 if (((bitField0_ & 0x00000008) != 0)) {
507 output.writeDouble(5, costLowerBound_);
509 if (((bitField0_ & 0x00000010) != 0)) {
512 if (((bitField0_ & 0x00000020) != 0)) {
515 getUnknownFields().writeTo(output);
520 int size = memoizedSize;
521 if (size != -1)
return size;
524 if (((bitField0_ & 0x00000001) != 0)) {
525 size += com.google.protobuf.CodedOutputStream
526 .computeEnumSize(1, status_);
528 if (((bitField0_ & 0x00000002) != 0)) {
529 size += com.google.protobuf.CodedOutputStream
530 .computeInt32Size(2, numSubsets_);
534 for (
int i = 0; i < subset_.size(); i++) {
535 dataSize += com.google.protobuf.CodedOutputStream
536 .computeInt32SizeNoTag(subset_.getInt(i));
541 size += com.google.protobuf.CodedOutputStream
542 .computeInt32SizeNoTag(dataSize);
544 subsetMemoizedSerializedSize = dataSize;
546 if (((bitField0_ & 0x00000004) != 0)) {
547 size += com.google.protobuf.CodedOutputStream
548 .computeDoubleSize(4, cost_);
550 if (((bitField0_ & 0x00000008) != 0)) {
551 size += com.google.protobuf.CodedOutputStream
552 .computeDoubleSize(5, costLowerBound_);
554 if (((bitField0_ & 0x00000010) != 0)) {
555 size += com.google.protobuf.CodedOutputStream
558 if (((bitField0_ & 0x00000020) != 0)) {
559 size += com.google.protobuf.CodedOutputStream
562 size += getUnknownFields().getSerializedSize();
568 public boolean equals(
final java.lang.Object obj) {
572 if (!(obj instanceof com.google.ortools.algorithms.SetCoverSolutionResponse)) {
573 return super.equals(obj);
579 if (status_ != other.status_)
return false;
590 if (java.lang.Double.doubleToLongBits(
getCost())
591 != java.lang.Double.doubleToLongBits(
592 other.
getCost()))
return false;
597 != java.lang.Double.doubleToLongBits(
610 if (!getUnknownFields().
equals(other.getUnknownFields()))
return false;
616 if (memoizedHashCode != 0) {
617 return memoizedHashCode;
623 hash = (53 * hash) + status_;
635 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
636 java.lang.Double.doubleToLongBits(
getCost()));
640 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
651 hash = (29 * hash) + getUnknownFields().hashCode();
652 memoizedHashCode = hash;
657 java.nio.ByteBuffer data)
658 throws com.google.protobuf.InvalidProtocolBufferException {
659 return PARSER.parseFrom(data);
662 java.nio.ByteBuffer data,
663 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
664 throws com.google.protobuf.InvalidProtocolBufferException {
665 return PARSER.parseFrom(data, extensionRegistry);
668 com.google.protobuf.ByteString data)
669 throws com.google.protobuf.InvalidProtocolBufferException {
670 return PARSER.parseFrom(data);
673 com.google.protobuf.ByteString data,
674 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
675 throws com.google.protobuf.InvalidProtocolBufferException {
676 return PARSER.parseFrom(data, extensionRegistry);
679 throws com.google.protobuf.InvalidProtocolBufferException {
680 return PARSER.parseFrom(data);
684 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
685 throws com.google.protobuf.InvalidProtocolBufferException {
686 return PARSER.parseFrom(data, extensionRegistry);
689 throws java.io.IOException {
690 return com.google.protobuf.GeneratedMessage
691 .parseWithIOException(PARSER, input);
694 java.io.InputStream input,
695 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
696 throws java.io.IOException {
697 return com.google.protobuf.GeneratedMessage
698 .parseWithIOException(PARSER, input, extensionRegistry);
702 throws java.io.IOException {
703 return com.google.protobuf.GeneratedMessage
704 .parseDelimitedWithIOException(PARSER, input);
708 java.io.InputStream input,
709 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
710 throws java.io.IOException {
711 return com.google.protobuf.GeneratedMessage
712 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
715 com.google.protobuf.CodedInputStream input)
716 throws java.io.IOException {
717 return com.google.protobuf.GeneratedMessage
718 .parseWithIOException(PARSER, input);
721 com.google.protobuf.CodedInputStream input,
722 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
723 throws java.io.IOException {
724 return com.google.protobuf.GeneratedMessage
725 .parseWithIOException(PARSER, input, extensionRegistry);
733 public static Builder newBuilder(com.google.ortools.algorithms.SetCoverSolutionResponse prototype) {
738 return this == DEFAULT_INSTANCE
744 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
752 com.google.protobuf.GeneratedMessage.
Builder<Builder> implements
755 public static final com.google.protobuf.Descriptors.Descriptor
757 return com.google.ortools.algorithms.SetCover.internal_static_operations_research_SetCoverSolutionResponse_descriptor;
761 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
763 return com.google.ortools.algorithms.SetCover.internal_static_operations_research_SetCoverSolutionResponse_fieldAccessorTable
764 .ensureFieldAccessorsInitialized(
765 com.google.ortools.algorithms.SetCoverSolutionResponse.class, com.google.ortools.algorithms.SetCoverSolutionResponse.Builder.class);
770 maybeForceBuilderInitialization();
774 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
776 maybeForceBuilderInitialization();
778 private void maybeForceBuilderInitialization() {
779 if (com.google.protobuf.GeneratedMessage
780 .alwaysUseFieldBuilders) {
781 getFingerprintFieldBuilder();
782 getModelFingerprintFieldBuilder();
791 subset_ = emptyIntList();
793 costLowerBound_ = 0D;
795 if (fingerprintBuilder_ !=
null) {
796 fingerprintBuilder_.dispose();
797 fingerprintBuilder_ =
null;
799 modelFingerprint_ =
null;
800 if (modelFingerprintBuilder_ !=
null) {
801 modelFingerprintBuilder_.dispose();
802 modelFingerprintBuilder_ =
null;
808 public com.google.protobuf.Descriptors.Descriptor
810 return com.google.ortools.algorithms.SetCover.internal_static_operations_research_SetCoverSolutionResponse_descriptor;
815 return com.google.ortools.algorithms.SetCoverSolutionResponse.getDefaultInstance();
822 throw newUninitializedMessageException(result);
830 if (bitField0_ != 0) { buildPartial0(result); }
835 private void buildPartial0(com.google.ortools.algorithms.SetCoverSolutionResponse result) {
836 int from_bitField0_ = bitField0_;
837 int to_bitField0_ = 0;
838 if (((from_bitField0_ & 0x00000001) != 0)) {
839 result.status_ = status_;
840 to_bitField0_ |= 0x00000001;
842 if (((from_bitField0_ & 0x00000002) != 0)) {
843 result.numSubsets_ = numSubsets_;
844 to_bitField0_ |= 0x00000002;
846 if (((from_bitField0_ & 0x00000004) != 0)) {
847 subset_.makeImmutable();
848 result.subset_ = subset_;
850 if (((from_bitField0_ & 0x00000008) != 0)) {
851 result.cost_ = cost_;
852 to_bitField0_ |= 0x00000004;
854 if (((from_bitField0_ & 0x00000010) != 0)) {
855 result.costLowerBound_ = costLowerBound_;
856 to_bitField0_ |= 0x00000008;
858 if (((from_bitField0_ & 0x00000020) != 0)) {
859 result.fingerprint_ = fingerprintBuilder_ ==
null
861 : fingerprintBuilder_.build();
862 to_bitField0_ |= 0x00000010;
864 if (((from_bitField0_ & 0x00000040) != 0)) {
865 result.modelFingerprint_ = modelFingerprintBuilder_ ==
null
867 : modelFingerprintBuilder_.build();
868 to_bitField0_ |= 0x00000020;
870 result.bitField0_ |= to_bitField0_;
875 if (other instanceof com.google.ortools.algorithms.SetCoverSolutionResponse) {
876 return mergeFrom((com.google.ortools.algorithms.SetCoverSolutionResponse)other);
878 super.mergeFrom(other);
884 if (other == com.google.ortools.algorithms.SetCoverSolutionResponse.getDefaultInstance())
return this;
885 if (other.hasStatus()) {
888 if (other.hasNumSubsets()) {
891 if (!other.subset_.isEmpty()) {
892 if (subset_.isEmpty()) {
893 subset_ = other.subset_;
894 subset_.makeImmutable();
895 bitField0_ |= 0x00000004;
897 ensureSubsetIsMutable();
898 subset_.addAll(other.subset_);
902 if (other.hasCost()) {
905 if (other.hasCostLowerBound()) {
908 if (other.hasFingerprint()) {
911 if (other.hasModelFingerprint()) {
914 this.mergeUnknownFields(other.getUnknownFields());
926 com.google.protobuf.CodedInputStream input,
927 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
928 throws java.io.IOException {
929 if (extensionRegistry ==
null) {
930 throw new java.lang.NullPointerException();
933 boolean done =
false;
935 int tag = input.readTag();
941 status_ = input.readEnum();
942 bitField0_ |= 0x00000001;
946 numSubsets_ = input.readInt32();
947 bitField0_ |= 0x00000002;
951 int v = input.readInt32();
952 ensureSubsetIsMutable();
957 int length = input.readRawVarint32();
958 int limit = input.pushLimit(length);
959 ensureSubsetIsMutable();
960 while (input.getBytesUntilLimit() > 0) {
961 subset_.addInt(input.readInt32());
963 input.popLimit(limit);
967 cost_ = input.readDouble();
968 bitField0_ |= 0x00000008;
972 costLowerBound_ = input.readDouble();
973 bitField0_ |= 0x00000010;
978 getFingerprintFieldBuilder().getBuilder(),
980 bitField0_ |= 0x00000020;
985 getModelFingerprintFieldBuilder().getBuilder(),
987 bitField0_ |= 0x00000040;
991 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
998 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
999 throw e.unwrapIOException();
1005 private int bitField0_;
1007 private int status_ = 0;
1017 return ((bitField0_ & 0x00000001) != 0);
1041 bitField0_ |= 0x00000001;
1056 return result ==
null ? com.google.ortools.algorithms.SetCoverSolutionResponse.Status.UNRECOGNIZED : result;
1067 public Builder setStatus(com.google.ortools.algorithms.SetCoverSolutionResponse.Status value) {
1068 if (value ==
null) {
1069 throw new NullPointerException();
1071 bitField0_ |= 0x00000001;
1072 status_ = value.getNumber();
1085 bitField0_ = (bitField0_ & ~0x00000001);
1091 private int numSubsets_ ;
1103 return ((bitField0_ & 0x00000002) != 0);
1130 numSubsets_ = value;
1131 bitField0_ |= 0x00000002;
1145 bitField0_ = (bitField0_ & ~0x00000002);
1151 private com.google.protobuf.Internal.IntList subset_ = emptyIntList();
1152 private void ensureSubsetIsMutable() {
1153 if (!subset_.isModifiable()) {
1154 subset_ = makeMutableCopy(subset_);
1156 bitField0_ |= 0x00000004;
1166 public java.util.List<java.lang.Integer>
1168 subset_.makeImmutable();
1180 return subset_.size();
1192 return subset_.getInt(index);
1205 int index,
int value) {
1207 ensureSubsetIsMutable();
1208 subset_.setInt(index, value);
1209 bitField0_ |= 0x00000004;
1224 ensureSubsetIsMutable();
1225 subset_.addInt(value);
1226 bitField0_ |= 0x00000004;
1240 java.lang.Iterable<? extends java.lang.Integer> values) {
1241 ensureSubsetIsMutable();
1242 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1244 bitField0_ |= 0x00000004;
1257 subset_ = emptyIntList();
1258 bitField0_ = (bitField0_ & ~0x00000004);
1263 private double cost_ ;
1274 return ((bitField0_ & 0x00000008) != 0);
1300 bitField0_ |= 0x00000008;
1313 bitField0_ = (bitField0_ & ~0x00000008);
1319 private double costLowerBound_ ;
1330 return ((bitField0_ & 0x00000010) != 0);
1342 return costLowerBound_;
1355 costLowerBound_ = value;
1356 bitField0_ |= 0x00000010;
1369 bitField0_ = (bitField0_ & ~0x00000010);
1370 costLowerBound_ = 0D;
1376 private com.google.protobuf.SingleFieldBuilder<
1377 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder> fingerprintBuilder_;
1387 return ((bitField0_ & 0x00000020) != 0);
1398 if (fingerprintBuilder_ ==
null) {
1399 return fingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : fingerprint_;
1401 return fingerprintBuilder_.getMessage();
1412 if (fingerprintBuilder_ ==
null) {
1413 if (value ==
null) {
1414 throw new NullPointerException();
1416 fingerprint_ = value;
1418 fingerprintBuilder_.setMessage(value);
1420 bitField0_ |= 0x00000020;
1432 com.google.ortools.util.Int128.Builder builderForValue) {
1433 if (fingerprintBuilder_ ==
null) {
1434 fingerprint_ = builderForValue.build();
1436 fingerprintBuilder_.setMessage(builderForValue.build());
1438 bitField0_ |= 0x00000020;
1450 if (fingerprintBuilder_ ==
null) {
1451 if (((bitField0_ & 0x00000020) != 0) &&
1452 fingerprint_ !=
null &&
1453 fingerprint_ != com.google.ortools.util.Int128.getDefaultInstance()) {
1456 fingerprint_ = value;
1459 fingerprintBuilder_.mergeFrom(value);
1461 if (fingerprint_ !=
null) {
1462 bitField0_ |= 0x00000020;
1475 bitField0_ = (bitField0_ & ~0x00000020);
1476 fingerprint_ =
null;
1477 if (fingerprintBuilder_ !=
null) {
1478 fingerprintBuilder_.dispose();
1479 fingerprintBuilder_ =
null;
1492 bitField0_ |= 0x00000020;
1494 return getFingerprintFieldBuilder().getBuilder();
1504 if (fingerprintBuilder_ !=
null) {
1505 return fingerprintBuilder_.getMessageOrBuilder();
1507 return fingerprint_ ==
null ?
1508 com.google.ortools.util.Int128.getDefaultInstance() : fingerprint_;
1518 private com.google.protobuf.SingleFieldBuilder<
1519 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder>
1520 getFingerprintFieldBuilder() {
1521 if (fingerprintBuilder_ ==
null) {
1522 fingerprintBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1523 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder>(
1525 getParentForChildren(),
1527 fingerprint_ =
null;
1529 return fingerprintBuilder_;
1533 private com.google.protobuf.SingleFieldBuilder<
1534 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder> modelFingerprintBuilder_;
1544 return ((bitField0_ & 0x00000040) != 0);
1555 if (modelFingerprintBuilder_ ==
null) {
1556 return modelFingerprint_ ==
null ? com.google.ortools.util.Int128.getDefaultInstance() : modelFingerprint_;
1558 return modelFingerprintBuilder_.getMessage();
1569 if (modelFingerprintBuilder_ ==
null) {
1570 if (value ==
null) {
1571 throw new NullPointerException();
1573 modelFingerprint_ = value;
1575 modelFingerprintBuilder_.setMessage(value);
1577 bitField0_ |= 0x00000040;
1589 com.google.ortools.util.Int128.Builder builderForValue) {
1590 if (modelFingerprintBuilder_ ==
null) {
1591 modelFingerprint_ = builderForValue.build();
1593 modelFingerprintBuilder_.setMessage(builderForValue.build());
1595 bitField0_ |= 0x00000040;
1607 if (modelFingerprintBuilder_ ==
null) {
1608 if (((bitField0_ & 0x00000040) != 0) &&
1609 modelFingerprint_ !=
null &&
1610 modelFingerprint_ != com.google.ortools.util.Int128.getDefaultInstance()) {
1613 modelFingerprint_ = value;
1616 modelFingerprintBuilder_.mergeFrom(value);
1618 if (modelFingerprint_ !=
null) {
1619 bitField0_ |= 0x00000040;
1632 bitField0_ = (bitField0_ & ~0x00000040);
1633 modelFingerprint_ =
null;
1634 if (modelFingerprintBuilder_ !=
null) {
1635 modelFingerprintBuilder_.dispose();
1636 modelFingerprintBuilder_ =
null;
1649 bitField0_ |= 0x00000040;
1651 return getModelFingerprintFieldBuilder().getBuilder();
1661 if (modelFingerprintBuilder_ !=
null) {
1662 return modelFingerprintBuilder_.getMessageOrBuilder();
1664 return modelFingerprint_ ==
null ?
1665 com.google.ortools.util.Int128.getDefaultInstance() : modelFingerprint_;
1675 private com.google.protobuf.SingleFieldBuilder<
1676 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder>
1677 getModelFingerprintFieldBuilder() {
1678 if (modelFingerprintBuilder_ ==
null) {
1679 modelFingerprintBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1680 com.google.ortools.util.Int128, com.google.ortools.util.Int128.Builder, com.google.ortools.util.Int128OrBuilder>(
1682 getParentForChildren(),
1684 modelFingerprint_ =
null;
1686 return modelFingerprintBuilder_;
1695 DEFAULT_INSTANCE =
new com.google.ortools.algorithms.SetCoverSolutionResponse();
1699 return DEFAULT_INSTANCE;
1706 com.google.protobuf.CodedInputStream input,
1707 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1708 throws com.google.protobuf.InvalidProtocolBufferException {
1711 builder.mergeFrom(input, extensionRegistry);
1712 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1713 throw e.setUnfinishedMessage(builder.buildPartial());
1714 }
catch (com.google.protobuf.UninitializedMessageException e) {
1715 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1716 }
catch (java.io.IOException e) {
1717 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1718 .setUnfinishedMessage(builder.buildPartial());
1720 return builder.buildPartial();
1735 return DEFAULT_INSTANCE;