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

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 ()
 

Detailed Description

Definition at line 53 of file MPModelProto.java.

Member Function Documentation

◆ getPayloadKey()

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;

Returns
The payloadKey.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getPayloadKeyBytes()

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;

Returns
The bytes for payloadKey.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getPayloadValue()

java.lang.String com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadValue ( )

optional string payload_value = 5;

Returns
The payloadValue.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getPayloadValueBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getPayloadValueBytes ( )

optional string payload_value = 5;

Returns
The bytes for payloadValue.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getTargetIndex()

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;

Returns
The targetIndex.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getTargetName()

java.lang.String com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetName ( )
Alternate to index. Assumes uniqueness.

optional string target_name = 3;

Returns
The targetName.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getTargetNameBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetNameBytes ( )
Alternate to index. Assumes uniqueness.

optional string target_name = 3;

Returns
The bytes for targetName.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ getTargetType()

com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.getTargetType ( )

optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;

Returns
The targetType.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ hasPayloadKey()

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;

Returns
Whether the payloadKey field is set.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ hasPayloadValue()

boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasPayloadValue ( )

optional string payload_value = 5;

Returns
Whether the payloadValue field is set.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ hasTargetIndex()

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;

Returns
Whether the targetIndex field is set.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ hasTargetName()

boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasTargetName ( )
Alternate to index. Assumes uniqueness.

optional string target_name = 3;

Returns
Whether the targetName field is set.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.

◆ hasTargetType()

boolean com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.hasTargetType ( )

optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;

Returns
Whether the targetType field is set.

Implemented in com.google.ortools.linearsolver.MPModelProto.Annotation.Builder, and com.google.ortools.linearsolver.MPModelProto.Annotation.


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