5package com.google.ortools.sat;
16 com.google.protobuf.GeneratedMessage implements
19private static final long serialVersionUID = 0L;
21 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
22 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
34 variables_ = emptyIntList();
35 exprs_ = java.util.Collections.emptyList();
36 variableSelectionStrategy_ = 0;
37 domainReductionStrategy_ = 0;
40 public static final com.google.protobuf.Descriptors.Descriptor
42 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
46 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
48 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
49 .ensureFieldAccessorsInitialized(
50 com.google.ortools.sat.DecisionStrategyProto.class, com.google.ortools.sat.DecisionStrategyProto.Builder.class);
65 implements com.google.protobuf.ProtocolMessageEnum {
90 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
91 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
101 public static final int CHOOSE_FIRST_VALUE = 0;
105 public static final int CHOOSE_LOWEST_MIN_VALUE = 1;
109 public static final int CHOOSE_HIGHEST_MAX_VALUE = 2;
113 public static final int CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3;
117 public static final int CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4;
121 if (
this == UNRECOGNIZED) {
122 throw new java.lang.IllegalArgumentException(
123 "Can't get the number of an unknown enum value.");
133 @java.lang.Deprecated
135 return forNumber(value);
144 case 0:
return CHOOSE_FIRST;
145 case 1:
return CHOOSE_LOWEST_MIN;
146 case 2:
return CHOOSE_HIGHEST_MAX;
147 case 3:
return CHOOSE_MIN_DOMAIN_SIZE;
148 case 4:
return CHOOSE_MAX_DOMAIN_SIZE;
149 default:
return null;
155 return internalValueMap;
157 private static final com.google.protobuf.Internal.EnumLiteMap<
165 public final com.google.protobuf.Descriptors.EnumValueDescriptor
167 if (
this == UNRECOGNIZED) {
168 throw new java.lang.IllegalStateException(
169 "Can't get the descriptor of an unrecognized enum value.");
173 public final com.google.protobuf.Descriptors.EnumDescriptor
177 public static final com.google.protobuf.Descriptors.EnumDescriptor
179 return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(0);
185 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
187 throw new java.lang.IllegalArgumentException(
188 "EnumValueDescriptor is not for this type.");
190 if (desc.getIndex() == -1) {
193 return VALUES[desc.getIndex()];
196 private final int value;
216 implements com.google.protobuf.ProtocolMessageEnum {
241 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
242 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
252 public static final int SELECT_MIN_VALUE_VALUE = 0;
256 public static final int SELECT_MAX_VALUE_VALUE = 1;
260 public static final int SELECT_LOWER_HALF_VALUE = 2;
264 public static final int SELECT_UPPER_HALF_VALUE = 3;
268 public static final int SELECT_MEDIAN_VALUE_VALUE = 4;
272 if (
this == UNRECOGNIZED) {
273 throw new java.lang.IllegalArgumentException(
274 "Can't get the number of an unknown enum value.");
284 @java.lang.Deprecated
286 return forNumber(value);
295 case 0:
return SELECT_MIN_VALUE;
296 case 1:
return SELECT_MAX_VALUE;
297 case 2:
return SELECT_LOWER_HALF;
298 case 3:
return SELECT_UPPER_HALF;
299 case 4:
return SELECT_MEDIAN_VALUE;
300 default:
return null;
306 return internalValueMap;
308 private static final com.google.protobuf.Internal.EnumLiteMap<
316 public final com.google.protobuf.Descriptors.EnumValueDescriptor
318 if (
this == UNRECOGNIZED) {
319 throw new java.lang.IllegalStateException(
320 "Can't get the descriptor of an unrecognized enum value.");
324 public final com.google.protobuf.Descriptors.EnumDescriptor
328 public static final com.google.protobuf.Descriptors.EnumDescriptor
330 return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(1);
336 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
338 throw new java.lang.IllegalArgumentException(
339 "EnumValueDescriptor is not for this type.");
341 if (desc.getIndex() == -1) {
344 return VALUES[desc.getIndex()];
347 private final int value;
357 @SuppressWarnings(
"serial")
358 private com.google.protobuf.Internal.IntList variables_ =
371 public java.util.List<java.lang.Integer>
386 return variables_.size();
400 return variables_.getInt(index);
402 private int variablesMemoizedSerializedSize = -1;
405 @SuppressWarnings(
"serial")
436 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
454 return exprs_.size();
470 return exprs_.get(index);
487 return exprs_.get(index);
491 private int variableSelectionStrategy_ = 0;
497 return variableSelectionStrategy_;
505 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.UNRECOGNIZED : result;
509 private int domainReductionStrategy_ = 0;
515 return domainReductionStrategy_;
523 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.UNRECOGNIZED : result;
526 private byte memoizedIsInitialized = -1;
533 memoizedIsInitialized = 1;
538 public void writeTo(com.google.protobuf.CodedOutputStream output)
539 throws java.io.IOException {
542 output.writeUInt32NoTag(10);
543 output.writeUInt32NoTag(variablesMemoizedSerializedSize);
545 for (
int i = 0; i < variables_.size(); i++) {
546 output.writeInt32NoTag(variables_.getInt(i));
548 if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
549 output.writeEnum(2, variableSelectionStrategy_);
551 if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
552 output.writeEnum(3, domainReductionStrategy_);
554 for (
int i = 0; i < exprs_.size(); i++) {
555 output.writeMessage(5, exprs_.get(i));
557 getUnknownFields().writeTo(output);
562 int size = memoizedSize;
563 if (size != -1)
return size;
568 for (
int i = 0; i < variables_.size(); i++) {
569 dataSize += com.google.protobuf.CodedOutputStream
570 .computeInt32SizeNoTag(variables_.getInt(i));
575 size += com.google.protobuf.CodedOutputStream
576 .computeInt32SizeNoTag(dataSize);
578 variablesMemoizedSerializedSize = dataSize;
580 if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
581 size += com.google.protobuf.CodedOutputStream
582 .computeEnumSize(2, variableSelectionStrategy_);
584 if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
585 size += com.google.protobuf.CodedOutputStream
586 .computeEnumSize(3, domainReductionStrategy_);
588 for (
int i = 0; i < exprs_.size(); i++) {
589 size += com.google.protobuf.CodedOutputStream
590 .computeMessageSize(5, exprs_.get(i));
592 size += getUnknownFields().getSerializedSize();
598 public boolean equals(
final java.lang.Object obj) {
602 if (!(obj instanceof com.google.ortools.sat.DecisionStrategyProto)) {
603 return super.equals(obj);
611 if (variableSelectionStrategy_ != other.variableSelectionStrategy_)
return false;
612 if (domainReductionStrategy_ != other.domainReductionStrategy_)
return false;
613 if (!getUnknownFields().
equals(other.getUnknownFields()))
return false;
619 if (memoizedHashCode != 0) {
620 return memoizedHashCode;
633 hash = (53 * hash) + variableSelectionStrategy_;
635 hash = (53 * hash) + domainReductionStrategy_;
636 hash = (29 * hash) + getUnknownFields().hashCode();
637 memoizedHashCode = hash;
642 java.nio.ByteBuffer data)
643 throws com.google.protobuf.InvalidProtocolBufferException {
644 return PARSER.parseFrom(data);
647 java.nio.ByteBuffer data,
648 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
649 throws com.google.protobuf.InvalidProtocolBufferException {
650 return PARSER.parseFrom(data, extensionRegistry);
653 com.google.protobuf.ByteString data)
654 throws com.google.protobuf.InvalidProtocolBufferException {
655 return PARSER.parseFrom(data);
658 com.google.protobuf.ByteString data,
659 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
660 throws com.google.protobuf.InvalidProtocolBufferException {
661 return PARSER.parseFrom(data, extensionRegistry);
664 throws com.google.protobuf.InvalidProtocolBufferException {
665 return PARSER.parseFrom(data);
669 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
670 throws com.google.protobuf.InvalidProtocolBufferException {
671 return PARSER.parseFrom(data, extensionRegistry);
674 throws java.io.IOException {
675 return com.google.protobuf.GeneratedMessage
676 .parseWithIOException(PARSER, input);
679 java.io.InputStream input,
680 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
681 throws java.io.IOException {
682 return com.google.protobuf.GeneratedMessage
683 .parseWithIOException(PARSER, input, extensionRegistry);
687 throws java.io.IOException {
688 return com.google.protobuf.GeneratedMessage
689 .parseDelimitedWithIOException(PARSER, input);
693 java.io.InputStream input,
694 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
695 throws java.io.IOException {
696 return com.google.protobuf.GeneratedMessage
697 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
700 com.google.protobuf.CodedInputStream input)
701 throws java.io.IOException {
702 return com.google.protobuf.GeneratedMessage
703 .parseWithIOException(PARSER, input);
706 com.google.protobuf.CodedInputStream input,
707 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
708 throws java.io.IOException {
709 return com.google.protobuf.GeneratedMessage
710 .parseWithIOException(PARSER, input, extensionRegistry);
723 return this == DEFAULT_INSTANCE
729 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
742 com.google.protobuf.GeneratedMessage.
Builder<Builder> implements
745 public static final com.google.protobuf.Descriptors.Descriptor
747 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
751 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
753 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
754 .ensureFieldAccessorsInitialized(
755 com.google.ortools.sat.DecisionStrategyProto.class, com.google.ortools.sat.DecisionStrategyProto.Builder.class);
764 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
772 variables_ = emptyIntList();
773 if (exprsBuilder_ ==
null) {
774 exprs_ = java.util.Collections.emptyList();
777 exprsBuilder_.clear();
779 bitField0_ = (bitField0_ & ~0x00000002);
780 variableSelectionStrategy_ = 0;
781 domainReductionStrategy_ = 0;
786 public com.google.protobuf.Descriptors.Descriptor
788 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
793 return com.google.ortools.sat.DecisionStrategyProto.getDefaultInstance();
800 throw newUninitializedMessageException(result);
808 buildPartialRepeatedFields(result);
809 if (bitField0_ != 0) { buildPartial0(result); }
814 private void buildPartialRepeatedFields(com.google.ortools.sat.DecisionStrategyProto result) {
815 if (exprsBuilder_ ==
null) {
816 if (((bitField0_ & 0x00000002) != 0)) {
817 exprs_ = java.util.Collections.unmodifiableList(exprs_);
818 bitField0_ = (bitField0_ & ~0x00000002);
820 result.exprs_ = exprs_;
822 result.exprs_ = exprsBuilder_.build();
826 private void buildPartial0(com.google.ortools.sat.DecisionStrategyProto result) {
827 int from_bitField0_ = bitField0_;
828 if (((from_bitField0_ & 0x00000001) != 0)) {
829 variables_.makeImmutable();
830 result.variables_ = variables_;
832 if (((from_bitField0_ & 0x00000004) != 0)) {
833 result.variableSelectionStrategy_ = variableSelectionStrategy_;
835 if (((from_bitField0_ & 0x00000008) != 0)) {
836 result.domainReductionStrategy_ = domainReductionStrategy_;
842 if (other instanceof com.google.ortools.sat.DecisionStrategyProto) {
843 return mergeFrom((com.google.ortools.sat.DecisionStrategyProto)other);
845 super.mergeFrom(other);
851 if (other == com.google.ortools.sat.DecisionStrategyProto.getDefaultInstance())
return this;
852 if (!other.variables_.isEmpty()) {
853 if (variables_.isEmpty()) {
854 variables_ = other.variables_;
855 variables_.makeImmutable();
856 bitField0_ |= 0x00000001;
858 ensureVariablesIsMutable();
859 variables_.addAll(other.variables_);
863 if (exprsBuilder_ ==
null) {
864 if (!other.exprs_.isEmpty()) {
865 if (exprs_.isEmpty()) {
866 exprs_ = other.exprs_;
867 bitField0_ = (bitField0_ & ~0x00000002);
869 ensureExprsIsMutable();
870 exprs_.addAll(other.exprs_);
875 if (!other.exprs_.isEmpty()) {
876 if (exprsBuilder_.isEmpty()) {
877 exprsBuilder_.dispose();
878 exprsBuilder_ =
null;
879 exprs_ = other.exprs_;
880 bitField0_ = (bitField0_ & ~0x00000002);
882 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
883 getExprsFieldBuilder() :
null;
885 exprsBuilder_.addAllMessages(other.exprs_);
889 if (other.variableSelectionStrategy_ != 0) {
892 if (other.domainReductionStrategy_ != 0) {
895 this.mergeUnknownFields(other.getUnknownFields());
907 com.google.protobuf.CodedInputStream input,
908 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
909 throws java.io.IOException {
910 if (extensionRegistry ==
null) {
911 throw new java.lang.NullPointerException();
914 boolean done =
false;
916 int tag = input.readTag();
922 int v = input.readInt32();
923 ensureVariablesIsMutable();
924 variables_.addInt(v);
928 int length = input.readRawVarint32();
929 int limit = input.pushLimit(length);
930 ensureVariablesIsMutable();
931 while (input.getBytesUntilLimit() > 0) {
932 variables_.addInt(input.readInt32());
934 input.popLimit(limit);
938 variableSelectionStrategy_ = input.readEnum();
939 bitField0_ |= 0x00000004;
943 domainReductionStrategy_ = input.readEnum();
944 bitField0_ |= 0x00000008;
950 com.google.ortools.sat.LinearExpressionProto.parser(),
952 if (exprsBuilder_ ==
null) {
953 ensureExprsIsMutable();
956 exprsBuilder_.addMessage(m);
961 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
968 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
969 throw e.unwrapIOException();
975 private int bitField0_;
977 private com.google.protobuf.Internal.IntList variables_ = emptyIntList();
978 private void ensureVariablesIsMutable() {
979 if (!variables_.isModifiable()) {
980 variables_ = makeMutableCopy(variables_);
982 bitField0_ |= 0x00000001;
994 public java.util.List<java.lang.Integer>
996 variables_.makeImmutable();
1010 return variables_.size();
1024 return variables_.getInt(index);
1039 int index,
int value) {
1041 ensureVariablesIsMutable();
1042 variables_.setInt(index, value);
1043 bitField0_ |= 0x00000001;
1060 ensureVariablesIsMutable();
1061 variables_.addInt(value);
1062 bitField0_ |= 0x00000001;
1078 java.lang.Iterable<? extends java.lang.Integer> values) {
1079 ensureVariablesIsMutable();
1080 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1081 values, variables_);
1082 bitField0_ |= 0x00000001;
1097 variables_ = emptyIntList();
1098 bitField0_ = (bitField0_ & ~0x00000001);
1103 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
1104 java.util.Collections.emptyList();
1105 private void ensureExprsIsMutable() {
1106 if (!((bitField0_ & 0x00000002) != 0)) {
1107 exprs_ =
new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
1108 bitField0_ |= 0x00000002;
1112 private com.google.protobuf.RepeatedFieldBuilder<
1113 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
1127 public java.util.List<com.google.ortools.sat.LinearExpressionProto>
getExprsList() {
1128 if (exprsBuilder_ ==
null) {
1129 return java.util.Collections.unmodifiableList(exprs_);
1131 return exprsBuilder_.getMessageList();
1147 if (exprsBuilder_ ==
null) {
1148 return exprs_.size();
1150 return exprsBuilder_.getCount();
1166 if (exprsBuilder_ ==
null) {
1167 return exprs_.get(index);
1169 return exprsBuilder_.getMessage(index);
1185 int index, com.google.ortools.sat.LinearExpressionProto value) {
1186 if (exprsBuilder_ ==
null) {
1187 if (value ==
null) {
1188 throw new NullPointerException();
1190 ensureExprsIsMutable();
1191 exprs_.set(index, value);
1194 exprsBuilder_.setMessage(index, value);
1211 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1212 if (exprsBuilder_ ==
null) {
1213 ensureExprsIsMutable();
1214 exprs_.set(index, builderForValue.build());
1217 exprsBuilder_.setMessage(index, builderForValue.build());
1234 if (exprsBuilder_ ==
null) {
1235 if (value ==
null) {
1236 throw new NullPointerException();
1238 ensureExprsIsMutable();
1242 exprsBuilder_.addMessage(value);
1259 int index, com.google.ortools.sat.LinearExpressionProto value) {
1260 if (exprsBuilder_ ==
null) {
1261 if (value ==
null) {
1262 throw new NullPointerException();
1264 ensureExprsIsMutable();
1265 exprs_.add(index, value);
1268 exprsBuilder_.addMessage(index, value);
1285 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1286 if (exprsBuilder_ ==
null) {
1287 ensureExprsIsMutable();
1288 exprs_.add(builderForValue.build());
1291 exprsBuilder_.addMessage(builderForValue.build());
1308 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1309 if (exprsBuilder_ ==
null) {
1310 ensureExprsIsMutable();
1311 exprs_.add(index, builderForValue.build());
1314 exprsBuilder_.addMessage(index, builderForValue.build());
1331 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
1332 if (exprsBuilder_ ==
null) {
1333 ensureExprsIsMutable();
1334 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1338 exprsBuilder_.addAllMessages(values);
1355 if (exprsBuilder_ ==
null) {
1356 exprs_ = java.util.Collections.emptyList();
1357 bitField0_ = (bitField0_ & ~0x00000002);
1360 exprsBuilder_.clear();
1377 if (exprsBuilder_ ==
null) {
1378 ensureExprsIsMutable();
1379 exprs_.remove(index);
1382 exprsBuilder_.remove(index);
1400 return getExprsFieldBuilder().getBuilder(index);
1416 if (exprsBuilder_ ==
null) {
1417 return exprs_.get(index); }
else {
1418 return exprsBuilder_.getMessageOrBuilder(index);
1433 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1435 if (exprsBuilder_ !=
null) {
1436 return exprsBuilder_.getMessageOrBuilderList();
1438 return java.util.Collections.unmodifiableList(exprs_);
1454 return getExprsFieldBuilder().addBuilder(
1455 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1471 return getExprsFieldBuilder().addBuilder(
1472 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1486 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
1488 return getExprsFieldBuilder().getBuilderList();
1490 private com.google.protobuf.RepeatedFieldBuilder<
1491 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1492 getExprsFieldBuilder() {
1493 if (exprsBuilder_ ==
null) {
1494 exprsBuilder_ =
new com.google.protobuf.RepeatedFieldBuilder<
1495 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
1497 ((bitField0_ & 0x00000002) != 0),
1498 getParentForChildren(),
1502 return exprsBuilder_;
1505 private int variableSelectionStrategy_ = 0;
1511 return variableSelectionStrategy_;
1519 variableSelectionStrategy_ = value;
1520 bitField0_ |= 0x00000004;
1531 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.UNRECOGNIZED : result;
1539 if (value ==
null) {
1540 throw new NullPointerException();
1542 bitField0_ |= 0x00000004;
1543 variableSelectionStrategy_ = value.getNumber();
1552 bitField0_ = (bitField0_ & ~0x00000004);
1553 variableSelectionStrategy_ = 0;
1558 private int domainReductionStrategy_ = 0;
1564 return domainReductionStrategy_;
1572 domainReductionStrategy_ = value;
1573 bitField0_ |= 0x00000008;
1584 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.UNRECOGNIZED : result;
1592 if (value ==
null) {
1593 throw new NullPointerException();
1595 bitField0_ |= 0x00000008;
1596 domainReductionStrategy_ = value.getNumber();
1605 bitField0_ = (bitField0_ & ~0x00000008);
1606 domainReductionStrategy_ = 0;
1617 DEFAULT_INSTANCE =
new com.google.ortools.sat.DecisionStrategyProto();
1621 return DEFAULT_INSTANCE;
1628 com.google.protobuf.CodedInputStream input,
1629 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1630 throws com.google.protobuf.InvalidProtocolBufferException {
1633 builder.mergeFrom(input, extensionRegistry);
1634 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1635 throw e.setUnfinishedMessage(builder.buildPartial());
1636 }
catch (com.google.protobuf.UninitializedMessageException e) {
1637 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1638 }
catch (java.io.IOException e) {
1639 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1640 .setUnfinishedMessage(builder.buildPartial());
1642 return builder.buildPartial();
1657 return DEFAULT_INSTANCE;
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static DomainReductionStrategy valueOf(int value)
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static DomainReductionStrategy forNumber(int value)
static DomainReductionStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static com.google.protobuf.Internal.EnumLiteMap< DomainReductionStrategy > internalGetValueMap()