Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
PolishingPhaseType.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
11@com.google.protobuf.Generated
12public enum PolishingPhaseType
13 implements com.google.protobuf.ProtocolMessageEnum {
26 ;
27
28 static {
29 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
30 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
31 /* major= */ 4,
32 /* minor= */ 31,
33 /* patch= */ 1,
34 /* suffix= */ "",
35 PolishingPhaseType.class.getName());
36 }
37
40 public static final int POLISHING_PHASE_TYPE_UNSPECIFIED_VALUE = 0;
49
50
51 public final int getNumber() {
52 return value;
53 }
54
60 @java.lang.Deprecated
61 public static PolishingPhaseType valueOf(int value) {
62 return forNumber(value);
63 }
64
69 public static PolishingPhaseType forNumber(int value) {
70 switch (value) {
74 default: return null;
75 }
76 }
77
78 public static com.google.protobuf.Internal.EnumLiteMap<PolishingPhaseType>
80 return internalValueMap;
81 }
82 private static final com.google.protobuf.Internal.EnumLiteMap<
83 PolishingPhaseType> internalValueMap =
84 new com.google.protobuf.Internal.EnumLiteMap<PolishingPhaseType>() {
85 public PolishingPhaseType findValueByNumber(int number) {
86 return PolishingPhaseType.forNumber(number);
87 }
88 };
89
90 public final com.google.protobuf.Descriptors.EnumValueDescriptor
92 return getDescriptor().getValues().get(ordinal());
93 }
94 public final com.google.protobuf.Descriptors.EnumDescriptor
96 return getDescriptor();
97 }
98 public static com.google.protobuf.Descriptors.EnumDescriptor
100 return com.google.ortools.pdlp.SolveLogOuterClass.getDescriptor().getEnumTypes().get(3);
101 }
102
103 private static final PolishingPhaseType[] VALUES = values();
104
105 public static PolishingPhaseType valueOf(
106 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
107 if (desc.getType() != getDescriptor()) {
108 throw new java.lang.IllegalArgumentException(
109 "EnumValueDescriptor is not for this type.");
110 }
111 return VALUES[desc.getIndex()];
112 }
113
114 private final int value;
115
116 private PolishingPhaseType(int value) {
117 this.value = value;
118 }
119
120 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PolishingPhaseType)
121}
122
static PolishingPhaseType valueOf(int value)
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap< PolishingPhaseType > internalGetValueMap()
static PolishingPhaseType forNumber(int value)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static PolishingPhaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()