Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
boolean | hasTargetType () |
com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType | getTargetType () |
boolean | hasTargetIndex () |
int | getTargetIndex () |
boolean | hasTargetName () |
java.lang.String | getTargetName () |
com.google.protobuf.ByteString | getTargetNameBytes () |
boolean | hasPayloadKey () |
java.lang.String | getPayloadKey () |
com.google.protobuf.ByteString | getPayloadKeyBytes () |
boolean | hasPayloadValue () |
java.lang.String | getPayloadValue () |
com.google.protobuf.ByteString | getPayloadValueBytes () |
Definition at line 53 of file MPModelProto.java.
java.lang.String com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadKey | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadKeyBytes | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
java.lang.String com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadValue | ( | ) |
optional string payload_value = 5;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadValueBytes | ( | ) |
optional string payload_value = 5;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
int com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetIndex | ( | ) |
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
java.lang.String com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetName | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetNameBytes | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetType | ( | ) |
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasPayloadKey | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasPayloadValue | ( | ) |
optional string payload_value = 5;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasTargetIndex | ( | ) |
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasTargetName | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.
boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasTargetType | ( | ) |
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.