Google OR-Tools v9.14
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.31.1
5
6package com.google.ortools.pdlp;
7
16@com.google.protobuf.Generated
17public enum PointType
18 implements com.google.protobuf.ProtocolMessageEnum {
71 ;
72
73 static {
74 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
75 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
76 /* major= */ 4,
77 /* minor= */ 31,
78 /* patch= */ 1,
79 /* suffix= */ "",
80 PointType.class.getName());
81 }
82
85 public static final int POINT_TYPE_UNSPECIFIED_VALUE = 0;
93 public static final int POINT_TYPE_CURRENT_ITERATE_VALUE = 1;
101 public static final int POINT_TYPE_ITERATE_DIFFERENCE_VALUE = 2;
109 public static final int POINT_TYPE_AVERAGE_ITERATE_VALUE = 3;
117 public static final int POINT_TYPE_NONE_VALUE = 4;
125 public static final int POINT_TYPE_PRESOLVER_SOLUTION_VALUE = 5;
134
135
136 public final int getNumber() {
137 return value;
138 }
139
145 @java.lang.Deprecated
146 public static PointType valueOf(int value) {
147 return forNumber(value);
148 }
149
154 public static PointType forNumber(int value) {
155 switch (value) {
156 case 0: return POINT_TYPE_UNSPECIFIED;
157 case 1: return POINT_TYPE_CURRENT_ITERATE;
158 case 2: return POINT_TYPE_ITERATE_DIFFERENCE;
159 case 3: return POINT_TYPE_AVERAGE_ITERATE;
160 case 4: return POINT_TYPE_NONE;
161 case 5: return POINT_TYPE_PRESOLVER_SOLUTION;
163 default: return null;
164 }
165 }
166
167 public static com.google.protobuf.Internal.EnumLiteMap<PointType>
169 return internalValueMap;
170 }
171 private static final com.google.protobuf.Internal.EnumLiteMap<
172 PointType> internalValueMap =
173 new com.google.protobuf.Internal.EnumLiteMap<PointType>() {
174 public PointType findValueByNumber(int number) {
175 return PointType.forNumber(number);
176 }
177 };
178
179 public final com.google.protobuf.Descriptors.EnumValueDescriptor
181 return getDescriptor().getValues().get(ordinal());
182 }
183 public final com.google.protobuf.Descriptors.EnumDescriptor
185 return getDescriptor();
186 }
187 public static com.google.protobuf.Descriptors.EnumDescriptor
189 return com.google.ortools.pdlp.SolveLogOuterClass.getDescriptor().getEnumTypes().get(1);
190 }
191
192 private static final PointType[] VALUES = values();
193
194 public static PointType valueOf(
195 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
196 if (desc.getType() != getDescriptor()) {
197 throw new java.lang.IllegalArgumentException(
198 "EnumValueDescriptor is not for this type.");
199 }
200 return VALUES[desc.getIndex()];
201 }
202
203 private final int value;
204
205 private PointType(int value) {
206 this.value = value;
207 }
208
209 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PointType)
210}
211
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 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
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()