Google OR-Tools v9.12
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/pdlp/solve_log.proto
4// Protobuf Java Version: 4.29.3
5
6package com.google.ortools.pdlp;
7
16public enum PointType
17 implements com.google.protobuf.ProtocolMessageEnum {
70 ;
71
72 static {
73 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
74 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
75 /* major= */ 4,
76 /* minor= */ 29,
77 /* patch= */ 3,
78 /* suffix= */ "",
79 PointType.class.getName());
80 }
81
84 public static final int POINT_TYPE_UNSPECIFIED_VALUE = 0;
92 public static final int POINT_TYPE_CURRENT_ITERATE_VALUE = 1;
100 public static final int POINT_TYPE_ITERATE_DIFFERENCE_VALUE = 2;
108 public static final int POINT_TYPE_AVERAGE_ITERATE_VALUE = 3;
116 public static final int POINT_TYPE_NONE_VALUE = 4;
124 public static final int POINT_TYPE_PRESOLVER_SOLUTION_VALUE = 5;
133
134
135 public final int getNumber() {
136 return value;
137 }
138
144 @java.lang.Deprecated
145 public static PointType valueOf(int value) {
146 return forNumber(value);
147 }
148
153 public static PointType forNumber(int value) {
154 switch (value) {
155 case 0: return POINT_TYPE_UNSPECIFIED;
156 case 1: return POINT_TYPE_CURRENT_ITERATE;
157 case 2: return POINT_TYPE_ITERATE_DIFFERENCE;
158 case 3: return POINT_TYPE_AVERAGE_ITERATE;
159 case 4: return POINT_TYPE_NONE;
160 case 5: return POINT_TYPE_PRESOLVER_SOLUTION;
162 default: return null;
163 }
164 }
165
166 public static com.google.protobuf.Internal.EnumLiteMap<PointType>
168 return internalValueMap;
169 }
170 private static final com.google.protobuf.Internal.EnumLiteMap<
171 PointType> internalValueMap =
172 new com.google.protobuf.Internal.EnumLiteMap<PointType>() {
173 public PointType findValueByNumber(int number) {
174 return PointType.forNumber(number);
175 }
176 };
177
178 public final com.google.protobuf.Descriptors.EnumValueDescriptor
180 return getDescriptor().getValues().get(ordinal());
181 }
182 public final com.google.protobuf.Descriptors.EnumDescriptor
184 return getDescriptor();
185 }
186 public static final com.google.protobuf.Descriptors.EnumDescriptor
188 return com.google.ortools.pdlp.SolveLogOuterClass.getDescriptor().getEnumTypes().get(1);
189 }
190
191 private static final PointType[] VALUES = values();
192
193 public static PointType valueOf(
194 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
195 if (desc.getType() != getDescriptor()) {
196 throw new java.lang.IllegalArgumentException(
197 "EnumValueDescriptor is not for this type.");
198 }
199 return VALUES[desc.getIndex()];
200 }
201
202 private final int value;
203
204 private PointType(int value) {
205 this.value = value;
206 }
207
208 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PointType)
209}
210
static final int POINT_TYPE_NONE_VALUE
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static final int POINT_TYPE_UNSPECIFIED_VALUE
static final int POINT_TYPE_AVERAGE_ITERATE_VALUE
static PointType valueOf(int value)
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static final int POINT_TYPE_FEASIBILITY_POLISHING_SOLUTION_VALUE
static PointType forNumber(int value)
static PointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static final int POINT_TYPE_PRESOLVER_SOLUTION_VALUE
static final int POINT_TYPE_ITERATE_DIFFERENCE_VALUE
static com.google.protobuf.Internal.EnumLiteMap< PointType > internalGetValueMap()
static final int POINT_TYPE_CURRENT_ITERATE_VALUE
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()