Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType Enum Reference
Inheritance diagram for com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType:

Public Member Functions

final int getNumber ()
 
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
 
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()
 

Static Public Member Functions

static TargetType valueOf (int value)
 
static TargetType forNumber (int value)
 
static com.google.protobuf.Internal.EnumLiteMap< TargetTypeinternalGetValueMap ()
 
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
 
static TargetType valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)
 

Public Attributes

 VARIABLE_DEFAULT =(0)
 
 CONSTRAINT =(1)
 
 GENERAL_CONSTRAINT =(2)
 

Static Public Attributes

static final int VARIABLE_DEFAULT_VALUE = 0
 
static final int CONSTRAINT_VALUE = 1
 
static final int GENERAL_CONSTRAINT_VALUE = 2
 

Detailed Description

The target of an Annotation is a single entity (e.g. a variable).
Several Annotations may apply to the same entity.

Protobuf enum operations_research.MPModelProto.Annotation.TargetType

Definition at line 217 of file MPModelProto.java.

Member Function Documentation

◆ forNumber()

static TargetType com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 265 of file MPModelProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.getDescriptor ( )
static

Definition at line 295 of file MPModelProto.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.getDescriptorForType ( )

Definition at line 291 of file MPModelProto.java.

◆ getNumber()

final int com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.getNumber ( )

Definition at line 247 of file MPModelProto.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.getValueDescriptor ( )

Definition at line 287 of file MPModelProto.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap< TargetType > com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.internalGetValueMap ( )
static

Definition at line 275 of file MPModelProto.java.

◆ valueOf() [1/2]

static TargetType com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 301 of file MPModelProto.java.

◆ valueOf() [2/2]

static TargetType com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 257 of file MPModelProto.java.

Member Data Documentation

◆ CONSTRAINT

com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.CONSTRAINT =(1)

CONSTRAINT = 1;

Definition at line 226 of file MPModelProto.java.

◆ CONSTRAINT_VALUE

final int com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.CONSTRAINT_VALUE = 1
static

CONSTRAINT = 1;

Definition at line 240 of file MPModelProto.java.

◆ GENERAL_CONSTRAINT

com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.GENERAL_CONSTRAINT =(2)

GENERAL_CONSTRAINT = 2;

Definition at line 230 of file MPModelProto.java.

◆ GENERAL_CONSTRAINT_VALUE

final int com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.GENERAL_CONSTRAINT_VALUE = 2
static

GENERAL_CONSTRAINT = 2;

Definition at line 244 of file MPModelProto.java.

◆ VARIABLE_DEFAULT

com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.VARIABLE_DEFAULT =(0)

VARIABLE_DEFAULT = 0;

Definition at line 222 of file MPModelProto.java.

◆ VARIABLE_DEFAULT_VALUE

final int com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType.VARIABLE_DEFAULT_VALUE = 0
static

VARIABLE_DEFAULT = 0;

Definition at line 236 of file MPModelProto.java.


The documentation for this enum was generated from the following file: