4 package com.google.ortools.sat;
15 com.google.protobuf.GeneratedMessageV3 implements
18 private static final long serialVersionUID = 0L;
27 public final com.
google.protobuf.UnknownFieldSet
29 return this.unknownFields;
32 com.
google.protobuf.CodedInputStream input,
33 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
34 throws com.
google.protobuf.InvalidProtocolBufferException {
36 if (extensionRegistry ==
null) {
37 throw new java.lang.NullPointerException();
39 int mutable_bitField0_ = 0;
40 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
41 com.
google.protobuf.UnknownFieldSet.newBuilder();
45 int tag = input.readTag();
52 start_ = input.readInt32();
57 end_ = input.readInt32();
62 size_ = input.readInt32();
66 if (!parseUnknownField(
67 input, unknownFields, extensionRegistry, tag)) {
74 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
75 throw e.setUnfinishedMessage(
this);
76 }
catch (java.io.IOException e) {
77 throw new com.
google.protobuf.InvalidProtocolBufferException(
78 e).setUnfinishedMessage(
this);
80 this.unknownFields = unknownFields.build();
81 makeExtensionsImmutable();
84 public static final com.
google.protobuf.Descriptors.Descriptor
90 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
93 .ensureFieldAccessorsInitialized(
124 private byte memoizedIsInitialized = -1;
131 memoizedIsInitialized = 1;
137 throws java.io.IOException {
139 output.writeInt32(1, start_);
142 output.writeInt32(2, end_);
145 output.writeInt32(3, size_);
147 unknownFields.writeTo(output);
152 int size = memoizedSize;
153 if (size != -1)
return size;
157 size +=
com.
google.protobuf.CodedOutputStream
158 .computeInt32Size(1, start_);
161 size +=
com.
google.protobuf.CodedOutputStream
162 .computeInt32Size(2, end_);
165 size +=
com.
google.protobuf.CodedOutputStream
166 .computeInt32Size(3, size_);
168 size += unknownFields.getSerializedSize();
174 public boolean equals(
final java.lang.Object obj) {
179 return super.equals(obj);
184 != other.getStart())
return false;
186 != other.getEnd())
return false;
188 != other.getSize())
return false;
189 if (!unknownFields.equals(other.unknownFields))
return false;
195 if (memoizedHashCode != 0) {
196 return memoizedHashCode;
203 hash = (53 * hash) +
getEnd();
205 hash = (53 * hash) +
getSize();
206 hash = (29 * hash) + unknownFields.hashCode();
207 memoizedHashCode = hash;
212 java.nio.ByteBuffer data)
213 throws com.
google.protobuf.InvalidProtocolBufferException {
214 return PARSER.parseFrom(data);
217 java.nio.ByteBuffer data,
218 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
219 throws com.
google.protobuf.InvalidProtocolBufferException {
220 return PARSER.parseFrom(data, extensionRegistry);
224 throws com.
google.protobuf.InvalidProtocolBufferException {
225 return PARSER.parseFrom(data);
229 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
230 throws com.
google.protobuf.InvalidProtocolBufferException {
231 return PARSER.parseFrom(data, extensionRegistry);
234 throws com.
google.protobuf.InvalidProtocolBufferException {
235 return PARSER.parseFrom(data);
239 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
240 throws com.
google.protobuf.InvalidProtocolBufferException {
241 return PARSER.parseFrom(data, extensionRegistry);
244 throws java.io.IOException {
245 return com.
google.protobuf.GeneratedMessageV3
246 .parseWithIOException(PARSER, input);
249 java.io.InputStream input,
250 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
251 throws java.io.IOException {
252 return com.
google.protobuf.GeneratedMessageV3
253 .parseWithIOException(PARSER, input, extensionRegistry);
256 throws java.io.IOException {
257 return com.
google.protobuf.GeneratedMessageV3
258 .parseDelimitedWithIOException(PARSER, input);
261 java.io.InputStream input,
262 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
263 throws java.io.IOException {
264 return com.
google.protobuf.GeneratedMessageV3
265 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
268 com.
google.protobuf.CodedInputStream input)
269 throws java.io.IOException {
270 return com.
google.protobuf.GeneratedMessageV3
271 .parseWithIOException(PARSER, input);
274 com.
google.protobuf.CodedInputStream input,
275 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
276 throws java.io.IOException {
277 return com.
google.protobuf.GeneratedMessageV3
278 .parseWithIOException(PARSER, input, extensionRegistry);
291 return this == DEFAULT_INSTANCE
297 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
310 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
313 public static final com.
google.protobuf.Descriptors.Descriptor
319 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
322 .ensureFieldAccessorsInitialized(
328 maybeForceBuilderInitialization();
332 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
334 maybeForceBuilderInitialization();
336 private void maybeForceBuilderInitialization() {
337 if (
com.
google.protobuf.GeneratedMessageV3
338 .alwaysUseFieldBuilders) {
354 public com.
google.protobuf.Descriptors.Descriptor
367 if (!result.isInitialized()) {
368 throw newUninitializedMessageException(result);
376 result.start_ = start_;
378 result.size_ = size_;
385 return super.
clone();
389 com.
google.protobuf.Descriptors.FieldDescriptor field,
390 java.lang.Object value) {
391 return super.
setField(field, value);
395 com.
google.protobuf.Descriptors.FieldDescriptor field) {
400 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
405 com.
google.protobuf.Descriptors.FieldDescriptor field,
406 int index, java.lang.Object value) {
411 com.
google.protobuf.Descriptors.FieldDescriptor field,
412 java.lang.Object value) {
420 super.mergeFrom(other);
427 if (other.getStart() != 0) {
430 if (other.getEnd() != 0) {
433 if (other.getSize() != 0) {
448 com.
google.protobuf.CodedInputStream input,
449 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
450 throws java.io.IOException {
453 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
454 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
456 throw e.unwrapIOException();
458 if (parsedMessage !=
null) {
544 final com.
google.protobuf.UnknownFieldSet unknownFields) {
550 final com.
google.protobuf.UnknownFieldSet unknownFields) {
565 return DEFAULT_INSTANCE;
572 com.
google.protobuf.CodedInputStream input,
573 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
574 throws com.
google.protobuf.InvalidProtocolBufferException {
590 return DEFAULT_INSTANCE;