Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
PointType.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/pdlp/solve_log.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.pdlp;
6
15public enum PointType
16 implements com.google.protobuf.ProtocolMessageEnum {
69 ;
70
71 static {
72 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
73 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
74 /* major= */ 4,
75 /* minor= */ 26,
76 /* patch= */ 1,
77 /* suffix= */ "",
78 PointType.class.getName());
79 }
83 public static final int POINT_TYPE_UNSPECIFIED_VALUE = 0;
91 public static final int POINT_TYPE_CURRENT_ITERATE_VALUE = 1;
99 public static final int POINT_TYPE_ITERATE_DIFFERENCE_VALUE = 2;
107 public static final int POINT_TYPE_AVERAGE_ITERATE_VALUE = 3;
115 public static final int POINT_TYPE_NONE_VALUE = 4;
123 public static final int POINT_TYPE_PRESOLVER_SOLUTION_VALUE = 5;
131 public static final int POINT_TYPE_FEASIBILITY_POLISHING_SOLUTION_VALUE = 6;
132
133
134 public final int getNumber() {
135 return value;
136 }
137
143 @java.lang.Deprecated
144 public static PointType valueOf(int value) {
145 return forNumber(value);
146 }
147
152 public static PointType forNumber(int value) {
153 switch (value) {
154 case 0: return POINT_TYPE_UNSPECIFIED;
155 case 1: return POINT_TYPE_CURRENT_ITERATE;
156 case 2: return POINT_TYPE_ITERATE_DIFFERENCE;
157 case 3: return POINT_TYPE_AVERAGE_ITERATE;
158 case 4: return POINT_TYPE_NONE;
159 case 5: return POINT_TYPE_PRESOLVER_SOLUTION;
160 case 6: return POINT_TYPE_FEASIBILITY_POLISHING_SOLUTION;
161 default: return null;
162 }
163 }
164
165 public static com.google.protobuf.Internal.EnumLiteMap<PointType>
167 return internalValueMap;
168 }
169 private static final com.google.protobuf.Internal.EnumLiteMap<
170 PointType> internalValueMap =
171 new com.google.protobuf.Internal.EnumLiteMap<PointType>() {
172 public PointType findValueByNumber(int number) {
173 return PointType.forNumber(number);
174 }
175 };
176
177 public final com.google.protobuf.Descriptors.EnumValueDescriptor
179 return getDescriptor().getValues().get(ordinal());
180 }
181 public final com.google.protobuf.Descriptors.EnumDescriptor
183 return getDescriptor();
184 }
185 public static final com.google.protobuf.Descriptors.EnumDescriptor
187 return com.google.ortools.pdlp.SolveLogOuterClass.getDescriptor().getEnumTypes().get(1);
188 }
189
190 private static final PointType[] VALUES = values();
191
192 public static PointType valueOf(
193 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
194 if (desc.getType() != getDescriptor()) {
195 throw new java.lang.IllegalArgumentException(
196 "EnumValueDescriptor is not for this type.");
197 }
198 return VALUES[desc.getIndex()];
199 }
200
201 private final int value;
202
203 private PointType(int value) {
204 this.value = value;
205 }
206
207 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PointType)
208}
209
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static PointType valueOf(int value)
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static PointType forNumber(int value)
static PointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static com.google.protobuf.Internal.EnumLiteMap< PointType > internalGetValueMap()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()