Interface FlowNodeProtoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FlowNodeProto, FlowNodeProto.Builder

    public interface FlowNodeProtoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasId

        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;
        Returns:
        Whether the id field is set.
      • getId

        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;
        Returns:
        The id.
      • hasSupply

        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];
        Returns:
        Whether the supply field is set.
      • getSupply

        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];
        Returns:
        The supply.