6package com.google.ortools.constraintsolver;
16@com.google.protobuf.Generated
17public final class MoreNodesPerformedAcceptanceStrategy
extends
18 com.google.protobuf.GeneratedMessage implements
21private static final long serialVersionUID = 0L;
23 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
24 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
29 "MoreNodesPerformedAcceptanceStrategy");
32 private MoreNodesPerformedAcceptanceStrategy(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
35 private MoreNodesPerformedAcceptanceStrategy() {
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_MoreNodesPerformedAcceptanceStrategy_descriptor;
44 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
46 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_MoreNodesPerformedAcceptanceStrategy_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.class, com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.Builder.class);
51 private byte memoizedIsInitialized = -1;
58 memoizedIsInitialized = 1;
63 public void writeTo(com.google.protobuf.CodedOutputStream output)
64 throws java.io.IOException {
65 getUnknownFields().writeTo(output);
70 int size = memoizedSize;
71 if (size != -1)
return size;
74 size += getUnknownFields().getSerializedSize();
80 public boolean equals(
final java.lang.Object obj) {
84 if (!(obj instanceof com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy)) {
85 return super.equals(obj);
89 if (!getUnknownFields().
equals(other.getUnknownFields()))
return false;
95 if (memoizedHashCode != 0) {
96 return memoizedHashCode;
100 hash = (29 * hash) + getUnknownFields().hashCode();
101 memoizedHashCode = hash;
106 java.nio.ByteBuffer data)
107 throws com.google.protobuf.InvalidProtocolBufferException {
108 return PARSER.parseFrom(data);
111 java.nio.ByteBuffer data,
112 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
113 throws com.google.protobuf.InvalidProtocolBufferException {
114 return PARSER.parseFrom(data, extensionRegistry);
117 com.google.protobuf.ByteString data)
118 throws com.google.protobuf.InvalidProtocolBufferException {
119 return PARSER.parseFrom(data);
122 com.google.protobuf.ByteString data,
123 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
124 throws com.google.protobuf.InvalidProtocolBufferException {
125 return PARSER.parseFrom(data, extensionRegistry);
128 throws com.google.protobuf.InvalidProtocolBufferException {
129 return PARSER.parseFrom(data);
133 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
134 throws com.google.protobuf.InvalidProtocolBufferException {
135 return PARSER.parseFrom(data, extensionRegistry);
138 throws java.io.IOException {
139 return com.google.protobuf.GeneratedMessage
140 .parseWithIOException(PARSER, input);
143 java.io.InputStream input,
144 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
145 throws java.io.IOException {
146 return com.google.protobuf.GeneratedMessage
147 .parseWithIOException(PARSER, input, extensionRegistry);
151 throws java.io.IOException {
152 return com.google.protobuf.GeneratedMessage
153 .parseDelimitedWithIOException(PARSER, input);
157 java.io.InputStream input,
158 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
159 throws java.io.IOException {
160 return com.google.protobuf.GeneratedMessage
161 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
164 com.google.protobuf.CodedInputStream input)
165 throws java.io.IOException {
166 return com.google.protobuf.GeneratedMessage
167 .parseWithIOException(PARSER, input);
170 com.google.protobuf.CodedInputStream input,
171 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
172 throws java.io.IOException {
173 return com.google.protobuf.GeneratedMessage
174 .parseWithIOException(PARSER, input, extensionRegistry);
180 return DEFAULT_INSTANCE.toBuilder();
182 public static Builder newBuilder(com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy prototype) {
183 return DEFAULT_INSTANCE.toBuilder().
mergeFrom(prototype);
187 return this == DEFAULT_INSTANCE
193 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
205 public static final class Builder
extends
206 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
209 public static final com.google.protobuf.Descriptors.Descriptor
211 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_MoreNodesPerformedAcceptanceStrategy_descriptor;
215 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
217 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_MoreNodesPerformedAcceptanceStrategy_fieldAccessorTable
218 .ensureFieldAccessorsInitialized(
219 com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.class, com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.Builder.class);
228 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
239 public com.google.protobuf.Descriptors.Descriptor
241 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_MoreNodesPerformedAcceptanceStrategy_descriptor;
246 return com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.getDefaultInstance();
253 throw newUninitializedMessageException(result);
266 public Builder
mergeFrom(com.google.protobuf.Message other) {
267 if (other instanceof com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy) {
268 return mergeFrom((com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy)other);
270 super.mergeFrom(other);
275 public Builder
mergeFrom(com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy other) {
276 if (other == com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy.getDefaultInstance())
return this;
277 this.mergeUnknownFields(other.getUnknownFields());
289 com.google.protobuf.CodedInputStream input,
290 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
291 throws java.io.IOException {
292 if (extensionRegistry ==
null) {
293 throw new java.lang.NullPointerException();
296 boolean done =
false;
298 int tag = input.readTag();
304 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
311 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
312 throw e.unwrapIOException();
325 DEFAULT_INSTANCE =
new com.google.ortools.constraintsolver.MoreNodesPerformedAcceptanceStrategy();
329 return DEFAULT_INSTANCE;
336 com.google.protobuf.CodedInputStream input,
337 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
338 throws com.google.protobuf.InvalidProtocolBufferException {
341 builder.mergeFrom(input, extensionRegistry);
342 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
343 throw e.setUnfinishedMessage(builder.buildPartial());
344 }
catch (com.google.protobuf.UninitializedMessageException e) {
345 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
346 }
catch (java.io.IOException e) {
347 throw new com.google.protobuf.InvalidProtocolBufferException(e)
348 .setUnfinishedMessage(builder.buildPartial());
350 return builder.buildPartial();
354 public static com.google.protobuf.Parser<MoreNodesPerformedAcceptanceStrategy>
parser() {
359 public com.google.protobuf.Parser<MoreNodesPerformedAcceptanceStrategy>
getParserForType() {
365 return DEFAULT_INSTANCE;