Google OR-Tools v9.12
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.29.3
5
6package com.google.ortools.pdlp;
7
11public enum PolishingPhaseType
12 implements com.google.protobuf.ProtocolMessageEnum {
25 ;
26
27 static {
28 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
29 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
30 /* major= */ 4,
31 /* minor= */ 29,
32 /* patch= */ 3,
33 /* suffix= */ "",
34 PolishingPhaseType.class.getName());
35 }
36
39 public static final int POLISHING_PHASE_TYPE_UNSPECIFIED_VALUE = 0;
48
49
50 public final int getNumber() {
51 return value;
52 }
53
59 @java.lang.Deprecated
60 public static PolishingPhaseType valueOf(int value) {
61 return forNumber(value);
62 }
63
68 public static PolishingPhaseType forNumber(int value) {
69 switch (value) {
73 default: return null;
74 }
75 }
76
77 public static com.google.protobuf.Internal.EnumLiteMap<PolishingPhaseType>
79 return internalValueMap;
80 }
81 private static final com.google.protobuf.Internal.EnumLiteMap<
82 PolishingPhaseType> internalValueMap =
83 new com.google.protobuf.Internal.EnumLiteMap<PolishingPhaseType>() {
84 public PolishingPhaseType findValueByNumber(int number) {
85 return PolishingPhaseType.forNumber(number);
86 }
87 };
88
89 public final com.google.protobuf.Descriptors.EnumValueDescriptor
91 return getDescriptor().getValues().get(ordinal());
92 }
93 public final com.google.protobuf.Descriptors.EnumDescriptor
95 return getDescriptor();
96 }
97 public static final com.google.protobuf.Descriptors.EnumDescriptor
99 return com.google.ortools.pdlp.SolveLogOuterClass.getDescriptor().getEnumTypes().get(3);
100 }
101
102 private static final PolishingPhaseType[] VALUES = values();
103
104 public static PolishingPhaseType valueOf(
105 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
106 if (desc.getType() != getDescriptor()) {
107 throw new java.lang.IllegalArgumentException(
108 "EnumValueDescriptor is not for this type.");
109 }
110 return VALUES[desc.getIndex()];
111 }
112
113 private final int value;
114
115 private PolishingPhaseType(int value) {
116 this.value = value;
117 }
118
119 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PolishingPhaseType)
120}
121
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
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)