public static interface MPModelProto.AnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPayloadKey()
The payload is a (key, value) string pair.
|
com.google.protobuf.ByteString |
getPayloadKeyBytes()
The payload is a (key, value) string pair.
|
java.lang.String |
getPayloadValue()
optional string payload_value = 5; |
com.google.protobuf.ByteString |
getPayloadValueBytes()
optional string payload_value = 5; |
int |
getTargetIndex()
If both `target_index` and `target_name` are set, they must point to the
same entity.
|
java.lang.String |
getTargetName()
Alternate to index.
|
com.google.protobuf.ByteString |
getTargetNameBytes()
Alternate to index.
|
MPModelProto.Annotation.TargetType |
getTargetType()
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1; |
boolean |
hasPayloadKey()
The payload is a (key, value) string pair.
|
boolean |
hasPayloadValue()
optional string payload_value = 5; |
boolean |
hasTargetIndex()
If both `target_index` and `target_name` are set, they must point to the
same entity.
|
boolean |
hasTargetName()
Alternate to index.
|
boolean |
hasTargetType()
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasTargetType()
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
MPModelProto.Annotation.TargetType getTargetType()
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
boolean hasTargetIndex()
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
int getTargetIndex()
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
boolean hasTargetName()
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
java.lang.String getTargetName()
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
com.google.protobuf.ByteString getTargetNameBytes()
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
boolean 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;
java.lang.String 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;
com.google.protobuf.ByteString 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;
boolean hasPayloadValue()
optional string payload_value = 5;
java.lang.String getPayloadValue()
optional string payload_value = 5;
com.google.protobuf.ByteString getPayloadValueBytes()
optional string payload_value = 5;
Copyright © 2025. All rights reserved.