4 package com.google.ortools.sat;
15 com.google.protobuf.GeneratedMessageV3 implements
18 private static final long serialVersionUID = 0L;
27 @SuppressWarnings({
"unused"})
29 UnusedPrivateParameter unused) {
34 public final com.
google.protobuf.UnknownFieldSet
36 return this.unknownFields;
39 com.
google.protobuf.CodedInputStream input,
40 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
41 throws com.
google.protobuf.InvalidProtocolBufferException {
43 if (extensionRegistry ==
null) {
44 throw new java.lang.NullPointerException();
46 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
47 com.
google.protobuf.UnknownFieldSet.newBuilder();
51 int tag = input.readTag();
58 start_ = input.readInt32();
63 end_ = input.readInt32();
68 size_ = input.readInt32();
72 if (!parseUnknownField(
73 input, unknownFields, extensionRegistry, tag)) {
80 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
81 throw e.setUnfinishedMessage(
this);
82 }
catch (java.io.IOException e) {
83 throw new com.
google.protobuf.InvalidProtocolBufferException(
84 e).setUnfinishedMessage(
this);
86 this.unknownFields = unknownFields.build();
87 makeExtensionsImmutable();
90 public static final com.
google.protobuf.Descriptors.Descriptor
96 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
99 .ensureFieldAccessorsInitialized(
130 private byte memoizedIsInitialized = -1;
137 memoizedIsInitialized = 1;
143 throws java.io.IOException {
145 output.writeInt32(1, start_);
148 output.writeInt32(2, end_);
151 output.writeInt32(3, size_);
153 unknownFields.writeTo(output);
158 int size = memoizedSize;
159 if (size != -1)
return size;
163 size +=
com.
google.protobuf.CodedOutputStream
164 .computeInt32Size(1, start_);
167 size +=
com.
google.protobuf.CodedOutputStream
168 .computeInt32Size(2, end_);
171 size +=
com.
google.protobuf.CodedOutputStream
172 .computeInt32Size(3, size_);
174 size += unknownFields.getSerializedSize();
180 public boolean equals(
final java.lang.Object obj) {
185 return super.equals(obj);
190 != other.getStart())
return false;
192 != other.getEnd())
return false;
194 != other.getSize())
return false;
195 if (!unknownFields.equals(other.unknownFields))
return false;
201 if (memoizedHashCode != 0) {
202 return memoizedHashCode;
209 hash = (53 * hash) +
getEnd();
211 hash = (53 * hash) +
getSize();
212 hash = (29 * hash) + unknownFields.hashCode();
213 memoizedHashCode = hash;
218 java.nio.ByteBuffer data)
219 throws com.
google.protobuf.InvalidProtocolBufferException {
220 return PARSER.parseFrom(data);
223 java.nio.ByteBuffer data,
224 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
225 throws com.
google.protobuf.InvalidProtocolBufferException {
226 return PARSER.parseFrom(data, extensionRegistry);
230 throws com.
google.protobuf.InvalidProtocolBufferException {
231 return PARSER.parseFrom(data);
235 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
236 throws com.
google.protobuf.InvalidProtocolBufferException {
237 return PARSER.parseFrom(data, extensionRegistry);
240 throws com.
google.protobuf.InvalidProtocolBufferException {
241 return PARSER.parseFrom(data);
245 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
246 throws com.
google.protobuf.InvalidProtocolBufferException {
247 return PARSER.parseFrom(data, extensionRegistry);
250 throws java.io.IOException {
251 return com.
google.protobuf.GeneratedMessageV3
252 .parseWithIOException(PARSER, input);
255 java.io.InputStream input,
256 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
257 throws java.io.IOException {
258 return com.
google.protobuf.GeneratedMessageV3
259 .parseWithIOException(PARSER, input, extensionRegistry);
262 throws java.io.IOException {
263 return com.
google.protobuf.GeneratedMessageV3
264 .parseDelimitedWithIOException(PARSER, input);
267 java.io.InputStream input,
268 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
269 throws java.io.IOException {
270 return com.
google.protobuf.GeneratedMessageV3
271 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
274 com.
google.protobuf.CodedInputStream input)
275 throws java.io.IOException {
276 return com.
google.protobuf.GeneratedMessageV3
277 .parseWithIOException(PARSER, input);
280 com.
google.protobuf.CodedInputStream input,
281 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
282 throws java.io.IOException {
283 return com.
google.protobuf.GeneratedMessageV3
284 .parseWithIOException(PARSER, input, extensionRegistry);
297 return this == DEFAULT_INSTANCE
303 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
316 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
319 public static final com.
google.protobuf.Descriptors.Descriptor
325 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
328 .ensureFieldAccessorsInitialized(
334 maybeForceBuilderInitialization();
338 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
340 maybeForceBuilderInitialization();
342 private void maybeForceBuilderInitialization() {
343 if (
com.
google.protobuf.GeneratedMessageV3
344 .alwaysUseFieldBuilders) {
360 public com.
google.protobuf.Descriptors.Descriptor
373 if (!result.isInitialized()) {
374 throw newUninitializedMessageException(result);
382 result.start_ = start_;
384 result.size_ = size_;
391 return super.
clone();
395 com.
google.protobuf.Descriptors.FieldDescriptor field,
396 java.lang.Object value) {
397 return super.
setField(field, value);
401 com.
google.protobuf.Descriptors.FieldDescriptor field) {
406 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
411 com.
google.protobuf.Descriptors.FieldDescriptor field,
412 int index, java.lang.Object value) {
417 com.
google.protobuf.Descriptors.FieldDescriptor field,
418 java.lang.Object value) {
426 super.mergeFrom(other);
433 if (other.getStart() != 0) {
436 if (other.getEnd() != 0) {
439 if (other.getSize() != 0) {
454 com.
google.protobuf.CodedInputStream input,
455 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
456 throws java.io.IOException {
459 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
460 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
462 throw e.unwrapIOException();
464 if (parsedMessage !=
null) {
550 final com.
google.protobuf.UnknownFieldSet unknownFields) {
556 final com.
google.protobuf.UnknownFieldSet unknownFields) {
571 return DEFAULT_INSTANCE;
578 com.
google.protobuf.CodedInputStream input,
579 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
580 throws com.
google.protobuf.InvalidProtocolBufferException {
596 return DEFAULT_INSTANCE;