6package com.google.ortools.util;
22public enum OptionalBoolean
23 implements com.google.protobuf.ProtocolMessageEnum {
40 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
41 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
46 OptionalBoolean.class.getName());
64 throw new java.lang.IllegalArgumentException(
65 "Can't get the number of an unknown enum value.");
76 public static OptionalBoolean
valueOf(
int value) {
84 public static OptionalBoolean
forNumber(
int value) {
95 return internalValueMap;
97 private static final com.google.protobuf.Internal.EnumLiteMap<
105 public final com.google.protobuf.Descriptors.EnumValueDescriptor
108 throw new java.lang.IllegalStateException(
109 "Can't get the descriptor of an unrecognized enum value.");
113 public final com.google.protobuf.Descriptors.EnumDescriptor
117 public static final com.google.protobuf.Descriptors.EnumDescriptor
119 return com.google.ortools.util.OptionalBooleanOuterClass.getDescriptor().getEnumTypes().get(0);
125 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
127 throw new java.lang.IllegalArgumentException(
128 "EnumValueDescriptor is not for this type.");
130 if (desc.getIndex() == -1) {
133 return VALUES[desc.getIndex()];
136 private final int value;