public interface FlowNodeProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getId()
The ids must be non-negative (>= 0).
|
long |
getSupply()
The supply can be positive or negative in which case it means demand.
|
boolean |
hasId()
The ids must be non-negative (>= 0).
|
boolean |
hasSupply()
The supply can be positive or negative in which case it means demand.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasId()
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
long getId()
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
boolean hasSupply()
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
long getSupply()
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Copyright © 2025. All rights reserved.