5package com.google.ortools.sat;
16 com.google.protobuf.GeneratedMessageV3 implements
19private static final long serialVersionUID = 0L;
25 variables_ = emptyIntList();
26 exprs_ = java.util.Collections.emptyList();
27 variableSelectionStrategy_ = 0;
28 domainReductionStrategy_ = 0;
32 @SuppressWarnings({
"unused"})
34 UnusedPrivateParameter unused) {
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
44 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
46 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.sat.DecisionStrategyProto.class, com.google.ortools.sat.DecisionStrategyProto.Builder.class);
63 implements com.google.protobuf.ProtocolMessageEnum {
90 public static final int CHOOSE_FIRST_VALUE = 0;
94 public static final int CHOOSE_LOWEST_MIN_VALUE = 1;
98 public static final int CHOOSE_HIGHEST_MAX_VALUE = 2;
102 public static final int CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3;
106 public static final int CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4;
110 if (
this == UNRECOGNIZED) {
111 throw new java.lang.IllegalArgumentException(
112 "Can't get the number of an unknown enum value.");
122 @java.lang.Deprecated
124 return forNumber(value);
133 case 0:
return CHOOSE_FIRST;
134 case 1:
return CHOOSE_LOWEST_MIN;
135 case 2:
return CHOOSE_HIGHEST_MAX;
136 case 3:
return CHOOSE_MIN_DOMAIN_SIZE;
137 case 4:
return CHOOSE_MAX_DOMAIN_SIZE;
138 default:
return null;
144 return internalValueMap;
146 private static final com.google.protobuf.Internal.EnumLiteMap<
154 public final com.google.protobuf.Descriptors.EnumValueDescriptor
156 if (
this == UNRECOGNIZED) {
157 throw new java.lang.IllegalStateException(
158 "Can't get the descriptor of an unrecognized enum value.");
162 public final com.google.protobuf.Descriptors.EnumDescriptor
166 public static final com.google.protobuf.Descriptors.EnumDescriptor
168 return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(0);
174 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
176 throw new java.lang.IllegalArgumentException(
177 "EnumValueDescriptor is not for this type.");
179 if (desc.getIndex() == -1) {
182 return VALUES[desc.getIndex()];
185 private final int value;
205 implements com.google.protobuf.ProtocolMessageEnum {
232 public static final int SELECT_MIN_VALUE_VALUE = 0;
236 public static final int SELECT_MAX_VALUE_VALUE = 1;
240 public static final int SELECT_LOWER_HALF_VALUE = 2;
244 public static final int SELECT_UPPER_HALF_VALUE = 3;
248 public static final int SELECT_MEDIAN_VALUE_VALUE = 4;
252 if (
this == UNRECOGNIZED) {
253 throw new java.lang.IllegalArgumentException(
254 "Can't get the number of an unknown enum value.");
264 @java.lang.Deprecated
266 return forNumber(value);
275 case 0:
return SELECT_MIN_VALUE;
276 case 1:
return SELECT_MAX_VALUE;
277 case 2:
return SELECT_LOWER_HALF;
278 case 3:
return SELECT_UPPER_HALF;
279 case 4:
return SELECT_MEDIAN_VALUE;
280 default:
return null;
286 return internalValueMap;
288 private static final com.google.protobuf.Internal.EnumLiteMap<
296 public final com.google.protobuf.Descriptors.EnumValueDescriptor
298 if (
this == UNRECOGNIZED) {
299 throw new java.lang.IllegalStateException(
300 "Can't get the descriptor of an unrecognized enum value.");
304 public final com.google.protobuf.Descriptors.EnumDescriptor
308 public static final com.google.protobuf.Descriptors.EnumDescriptor
310 return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(1);
316 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
318 throw new java.lang.IllegalArgumentException(
319 "EnumValueDescriptor is not for this type.");
321 if (desc.getIndex() == -1) {
324 return VALUES[desc.getIndex()];
327 private final int value;
337 @SuppressWarnings(
"serial")
338 private com.google.protobuf.Internal.IntList variables_ =
351 public java.util.List<java.lang.Integer>
366 return variables_.size();
380 return variables_.getInt(index);
382 private int variablesMemoizedSerializedSize = -1;
385 @SuppressWarnings(
"serial")
416 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
434 return exprs_.size();
450 return exprs_.get(index);
467 return exprs_.get(index);
471 private int variableSelectionStrategy_ = 0;
477 return variableSelectionStrategy_;
485 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.UNRECOGNIZED : result;
489 private int domainReductionStrategy_ = 0;
495 return domainReductionStrategy_;
503 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.UNRECOGNIZED : result;
506 private byte memoizedIsInitialized = -1;
513 memoizedIsInitialized = 1;
518 public void writeTo(com.google.protobuf.CodedOutputStream output)
519 throws java.io.IOException {
522 output.writeUInt32NoTag(10);
523 output.writeUInt32NoTag(variablesMemoizedSerializedSize);
525 for (
int i = 0; i < variables_.size(); i++) {
526 output.writeInt32NoTag(variables_.getInt(i));
528 if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
529 output.writeEnum(2, variableSelectionStrategy_);
531 if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
532 output.writeEnum(3, domainReductionStrategy_);
534 for (
int i = 0; i < exprs_.size(); i++) {
535 output.writeMessage(5, exprs_.get(i));
537 getUnknownFields().writeTo(output);
542 int size = memoizedSize;
543 if (size != -1)
return size;
548 for (
int i = 0; i < variables_.size(); i++) {
549 dataSize += com.google.protobuf.CodedOutputStream
550 .computeInt32SizeNoTag(variables_.getInt(i));
555 size += com.google.protobuf.CodedOutputStream
556 .computeInt32SizeNoTag(dataSize);
558 variablesMemoizedSerializedSize = dataSize;
560 if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
561 size += com.google.protobuf.CodedOutputStream
562 .computeEnumSize(2, variableSelectionStrategy_);
564 if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
565 size += com.google.protobuf.CodedOutputStream
566 .computeEnumSize(3, domainReductionStrategy_);
568 for (
int i = 0; i < exprs_.size(); i++) {
569 size += com.google.protobuf.CodedOutputStream
570 .computeMessageSize(5, exprs_.get(i));
572 size += getUnknownFields().getSerializedSize();
578 public boolean equals(
final java.lang.Object obj) {
582 if (!(obj instanceof com.google.ortools.sat.DecisionStrategyProto)) {
583 return super.equals(obj);
591 if (variableSelectionStrategy_ != other.variableSelectionStrategy_)
return false;
592 if (domainReductionStrategy_ != other.domainReductionStrategy_)
return false;
593 if (!getUnknownFields().equals(other.getUnknownFields()))
return false;
599 if (memoizedHashCode != 0) {
600 return memoizedHashCode;
613 hash = (53 * hash) + variableSelectionStrategy_;
615 hash = (53 * hash) + domainReductionStrategy_;
616 hash = (29 * hash) + getUnknownFields().hashCode();
617 memoizedHashCode = hash;
622 java.nio.ByteBuffer data)
623 throws com.google.protobuf.InvalidProtocolBufferException {
624 return PARSER.parseFrom(data);
627 java.nio.ByteBuffer data,
628 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
629 throws com.google.protobuf.InvalidProtocolBufferException {
630 return PARSER.parseFrom(data, extensionRegistry);
633 com.google.protobuf.ByteString data)
634 throws com.google.protobuf.InvalidProtocolBufferException {
635 return PARSER.parseFrom(data);
638 com.google.protobuf.ByteString data,
639 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
640 throws com.google.protobuf.InvalidProtocolBufferException {
641 return PARSER.parseFrom(data, extensionRegistry);
644 throws com.google.protobuf.InvalidProtocolBufferException {
645 return PARSER.parseFrom(data);
649 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
650 throws com.google.protobuf.InvalidProtocolBufferException {
651 return PARSER.parseFrom(data, extensionRegistry);
654 throws java.io.IOException {
655 return com.google.protobuf.GeneratedMessageV3
656 .parseWithIOException(PARSER, input);
659 java.io.InputStream input,
660 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
661 throws java.io.IOException {
662 return com.google.protobuf.GeneratedMessageV3
663 .parseWithIOException(PARSER, input, extensionRegistry);
667 throws java.io.IOException {
668 return com.google.protobuf.GeneratedMessageV3
669 .parseDelimitedWithIOException(PARSER, input);
673 java.io.InputStream input,
674 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
675 throws java.io.IOException {
676 return com.google.protobuf.GeneratedMessageV3
677 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
680 com.google.protobuf.CodedInputStream input)
681 throws java.io.IOException {
682 return com.google.protobuf.GeneratedMessageV3
683 .parseWithIOException(PARSER, input);
686 com.google.protobuf.CodedInputStream input,
687 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
688 throws java.io.IOException {
689 return com.google.protobuf.GeneratedMessageV3
690 .parseWithIOException(PARSER, input, extensionRegistry);
703 return this == DEFAULT_INSTANCE
709 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
722 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
725 public static final com.google.protobuf.Descriptors.Descriptor
727 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
731 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
733 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
734 .ensureFieldAccessorsInitialized(
735 com.google.ortools.sat.DecisionStrategyProto.class, com.google.ortools.sat.DecisionStrategyProto.Builder.class);
744 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
752 variables_ = emptyIntList();
753 if (exprsBuilder_ ==
null) {
754 exprs_ = java.util.Collections.emptyList();
757 exprsBuilder_.clear();
759 bitField0_ = (bitField0_ & ~0x00000002);
760 variableSelectionStrategy_ = 0;
761 domainReductionStrategy_ = 0;
766 public com.google.protobuf.Descriptors.Descriptor
768 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
773 return com.google.ortools.sat.DecisionStrategyProto.getDefaultInstance();
780 throw newUninitializedMessageException(result);
788 buildPartialRepeatedFields(result);
789 if (bitField0_ != 0) { buildPartial0(result); }
794 private void buildPartialRepeatedFields(com.google.ortools.sat.DecisionStrategyProto result) {
795 if (exprsBuilder_ ==
null) {
796 if (((bitField0_ & 0x00000002) != 0)) {
797 exprs_ = java.util.Collections.unmodifiableList(exprs_);
798 bitField0_ = (bitField0_ & ~0x00000002);
800 result.exprs_ = exprs_;
802 result.exprs_ = exprsBuilder_.build();
806 private void buildPartial0(com.google.ortools.sat.DecisionStrategyProto result) {
807 int from_bitField0_ = bitField0_;
808 if (((from_bitField0_ & 0x00000001) != 0)) {
809 variables_.makeImmutable();
810 result.variables_ = variables_;
812 if (((from_bitField0_ & 0x00000004) != 0)) {
813 result.variableSelectionStrategy_ = variableSelectionStrategy_;
815 if (((from_bitField0_ & 0x00000008) != 0)) {
816 result.domainReductionStrategy_ = domainReductionStrategy_;
822 return super.
clone();
826 com.google.protobuf.Descriptors.FieldDescriptor field,
827 java.lang.Object value) {
828 return super.
setField(field, value);
832 com.google.protobuf.Descriptors.FieldDescriptor field) {
837 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
842 com.google.protobuf.Descriptors.FieldDescriptor field,
843 int index, java.lang.Object value) {
848 com.google.protobuf.Descriptors.FieldDescriptor field,
849 java.lang.Object value) {
854 if (other instanceof com.google.ortools.sat.DecisionStrategyProto) {
855 return mergeFrom((com.google.ortools.sat.DecisionStrategyProto)other);
857 super.mergeFrom(other);
863 if (other == com.google.ortools.sat.DecisionStrategyProto.getDefaultInstance())
return this;
864 if (!other.variables_.isEmpty()) {
865 if (variables_.isEmpty()) {
866 variables_ = other.variables_;
867 variables_.makeImmutable();
868 bitField0_ |= 0x00000001;
870 ensureVariablesIsMutable();
871 variables_.addAll(other.variables_);
875 if (exprsBuilder_ ==
null) {
876 if (!other.exprs_.isEmpty()) {
877 if (exprs_.isEmpty()) {
878 exprs_ = other.exprs_;
879 bitField0_ = (bitField0_ & ~0x00000002);
881 ensureExprsIsMutable();
882 exprs_.addAll(other.exprs_);
887 if (!other.exprs_.isEmpty()) {
888 if (exprsBuilder_.isEmpty()) {
889 exprsBuilder_.dispose();
890 exprsBuilder_ =
null;
891 exprs_ = other.exprs_;
892 bitField0_ = (bitField0_ & ~0x00000002);
894 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
895 getExprsFieldBuilder() :
null;
897 exprsBuilder_.addAllMessages(other.exprs_);
901 if (other.variableSelectionStrategy_ != 0) {
904 if (other.domainReductionStrategy_ != 0) {
919 com.google.protobuf.CodedInputStream input,
920 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
921 throws java.io.IOException {
922 if (extensionRegistry ==
null) {
923 throw new java.lang.NullPointerException();
926 boolean done =
false;
928 int tag = input.readTag();
934 int v = input.readInt32();
935 ensureVariablesIsMutable();
936 variables_.addInt(v);
940 int length = input.readRawVarint32();
941 int limit = input.pushLimit(length);
942 ensureVariablesIsMutable();
943 while (input.getBytesUntilLimit() > 0) {
944 variables_.addInt(input.readInt32());
946 input.popLimit(limit);
950 variableSelectionStrategy_ = input.readEnum();
951 bitField0_ |= 0x00000004;
955 domainReductionStrategy_ = input.readEnum();
956 bitField0_ |= 0x00000008;
962 com.google.ortools.sat.LinearExpressionProto.parser(),
964 if (exprsBuilder_ ==
null) {
965 ensureExprsIsMutable();
968 exprsBuilder_.addMessage(m);
973 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
980 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
981 throw e.unwrapIOException();
987 private int bitField0_;
989 private com.google.protobuf.Internal.IntList variables_ = emptyIntList();
990 private void ensureVariablesIsMutable() {
991 if (!variables_.isModifiable()) {
992 variables_ = makeMutableCopy(variables_);
994 bitField0_ |= 0x00000001;
1006 public java.util.List<java.lang.Integer>
1008 variables_.makeImmutable();
1022 return variables_.size();
1036 return variables_.getInt(index);
1051 int index,
int value) {
1053 ensureVariablesIsMutable();
1054 variables_.setInt(index, value);
1055 bitField0_ |= 0x00000001;
1072 ensureVariablesIsMutable();
1073 variables_.addInt(value);
1074 bitField0_ |= 0x00000001;
1090 java.lang.Iterable<? extends java.lang.Integer> values) {
1091 ensureVariablesIsMutable();
1092 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1093 values, variables_);
1094 bitField0_ |= 0x00000001;
1109 variables_ = emptyIntList();
1110 bitField0_ = (bitField0_ & ~0x00000001);
1115 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
1116 java.util.Collections.emptyList();
1117 private void ensureExprsIsMutable() {
1118 if (!((bitField0_ & 0x00000002) != 0)) {
1119 exprs_ =
new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
1120 bitField0_ |= 0x00000002;
1124 private com.google.protobuf.RepeatedFieldBuilderV3<
1125 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
1139 public java.util.List<com.google.ortools.sat.LinearExpressionProto>
getExprsList() {
1140 if (exprsBuilder_ ==
null) {
1141 return java.util.Collections.unmodifiableList(exprs_);
1143 return exprsBuilder_.getMessageList();
1159 if (exprsBuilder_ ==
null) {
1160 return exprs_.size();
1162 return exprsBuilder_.getCount();
1178 if (exprsBuilder_ ==
null) {
1179 return exprs_.get(index);
1181 return exprsBuilder_.getMessage(index);
1197 int index, com.google.ortools.sat.LinearExpressionProto value) {
1198 if (exprsBuilder_ ==
null) {
1199 if (value ==
null) {
1200 throw new NullPointerException();
1202 ensureExprsIsMutable();
1203 exprs_.set(index, value);
1206 exprsBuilder_.setMessage(index, value);
1223 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1224 if (exprsBuilder_ ==
null) {
1225 ensureExprsIsMutable();
1226 exprs_.set(index, builderForValue.build());
1229 exprsBuilder_.setMessage(index, builderForValue.build());
1246 if (exprsBuilder_ ==
null) {
1247 if (value ==
null) {
1248 throw new NullPointerException();
1250 ensureExprsIsMutable();
1254 exprsBuilder_.addMessage(value);
1271 int index, com.google.ortools.sat.LinearExpressionProto value) {
1272 if (exprsBuilder_ ==
null) {
1273 if (value ==
null) {
1274 throw new NullPointerException();
1276 ensureExprsIsMutable();
1277 exprs_.add(index, value);
1280 exprsBuilder_.addMessage(index, value);
1297 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1298 if (exprsBuilder_ ==
null) {
1299 ensureExprsIsMutable();
1300 exprs_.add(builderForValue.build());
1303 exprsBuilder_.addMessage(builderForValue.build());
1320 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1321 if (exprsBuilder_ ==
null) {
1322 ensureExprsIsMutable();
1323 exprs_.add(index, builderForValue.build());
1326 exprsBuilder_.addMessage(index, builderForValue.build());
1343 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
1344 if (exprsBuilder_ ==
null) {
1345 ensureExprsIsMutable();
1346 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1350 exprsBuilder_.addAllMessages(values);
1367 if (exprsBuilder_ ==
null) {
1368 exprs_ = java.util.Collections.emptyList();
1369 bitField0_ = (bitField0_ & ~0x00000002);
1372 exprsBuilder_.clear();
1389 if (exprsBuilder_ ==
null) {
1390 ensureExprsIsMutable();
1391 exprs_.remove(index);
1394 exprsBuilder_.remove(index);
1412 return getExprsFieldBuilder().getBuilder(index);
1428 if (exprsBuilder_ ==
null) {
1429 return exprs_.get(index); }
else {
1430 return exprsBuilder_.getMessageOrBuilder(index);
1445 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1447 if (exprsBuilder_ !=
null) {
1448 return exprsBuilder_.getMessageOrBuilderList();
1450 return java.util.Collections.unmodifiableList(exprs_);
1466 return getExprsFieldBuilder().addBuilder(
1467 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1483 return getExprsFieldBuilder().addBuilder(
1484 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1498 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
1500 return getExprsFieldBuilder().getBuilderList();
1502 private com.google.protobuf.RepeatedFieldBuilderV3<
1503 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1504 getExprsFieldBuilder() {
1505 if (exprsBuilder_ ==
null) {
1506 exprsBuilder_ =
new com.google.protobuf.RepeatedFieldBuilderV3<
1507 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
1509 ((bitField0_ & 0x00000002) != 0),
1510 getParentForChildren(),
1514 return exprsBuilder_;
1517 private int variableSelectionStrategy_ = 0;
1523 return variableSelectionStrategy_;
1531 variableSelectionStrategy_ = value;
1532 bitField0_ |= 0x00000004;
1543 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.UNRECOGNIZED : result;
1551 if (value ==
null) {
1552 throw new NullPointerException();
1554 bitField0_ |= 0x00000004;
1555 variableSelectionStrategy_ = value.getNumber();
1564 bitField0_ = (bitField0_ & ~0x00000004);
1565 variableSelectionStrategy_ = 0;
1570 private int domainReductionStrategy_ = 0;
1576 return domainReductionStrategy_;
1584 domainReductionStrategy_ = value;
1585 bitField0_ |= 0x00000008;
1596 return result ==
null ? com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.UNRECOGNIZED : result;
1604 if (value ==
null) {
1605 throw new NullPointerException();
1607 bitField0_ |= 0x00000008;
1608 domainReductionStrategy_ = value.getNumber();
1617 bitField0_ = (bitField0_ & ~0x00000008);
1618 domainReductionStrategy_ = 0;
1624 final com.google.protobuf.UnknownFieldSet unknownFields) {
1630 final com.google.protobuf.UnknownFieldSet unknownFields) {
1641 DEFAULT_INSTANCE =
new com.google.ortools.sat.DecisionStrategyProto();
1645 return DEFAULT_INSTANCE;
1652 com.google.protobuf.CodedInputStream input,
1653 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1654 throws com.google.protobuf.InvalidProtocolBufferException {
1657 builder.mergeFrom(input, extensionRegistry);
1658 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1659 throw e.setUnfinishedMessage(builder.buildPartial());
1660 }
catch (com.google.protobuf.UninitializedMessageException e) {
1661 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1662 }
catch (java.io.IOException e) {
1663 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1664 .setUnfinishedMessage(builder.buildPartial());
1666 return builder.buildPartial();
1681 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()