Class RoutesConstraintProto.NodeExpressions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
com.google.ortools.sat.RoutesConstraintProto.NodeExpressions.Builder
All Implemented Interfaces:
RoutesConstraintProto.NodeExpressionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RoutesConstraintProto.NodeExpressions

public static final class RoutesConstraintProto.NodeExpressions.Builder extends com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder> implements RoutesConstraintProto.NodeExpressionsOrBuilder
 A set of linear expressions associated with the nodes.
 
Protobuf type operations_research.sat.RoutesConstraintProto.NodeExpressions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
    • getDefaultInstanceForType

      public RoutesConstraintProto.NodeExpressions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RoutesConstraintProto.NodeExpressions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
    • mergeFrom

      public RoutesConstraintProto.NodeExpressions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
      Throws:
      IOException
    • getExprsList

      public List<LinearExpressionProto> getExprsList()
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
      Specified by:
      getExprsList in interface RoutesConstraintProto.NodeExpressionsOrBuilder
    • getExprsCount

      public int getExprsCount()
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
      Specified by:
      getExprsCount in interface RoutesConstraintProto.NodeExpressionsOrBuilder
    • getExprs

      public LinearExpressionProto getExprs(int index)
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
      Specified by:
      getExprs in interface RoutesConstraintProto.NodeExpressionsOrBuilder
    • setExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • setExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addAllExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • clearExprs

       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • removeExprs

      public RoutesConstraintProto.NodeExpressions.Builder removeExprs(int index)
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • getExprsBuilder

      public LinearExpressionProto.Builder getExprsBuilder(int index)
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • getExprsOrBuilder

      public LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
      Specified by:
      getExprsOrBuilder in interface RoutesConstraintProto.NodeExpressionsOrBuilder
    • getExprsOrBuilderList

      public List<? extends LinearExpressionProtoOrBuilder> getExprsOrBuilderList()
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
      Specified by:
      getExprsOrBuilderList in interface RoutesConstraintProto.NodeExpressionsOrBuilder
    • addExprsBuilder

      public LinearExpressionProto.Builder addExprsBuilder()
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • addExprsBuilder

      public LinearExpressionProto.Builder addExprsBuilder(int index)
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;
    • getExprsBuilderList

      public List<LinearExpressionProto.Builder> getExprsBuilderList()
       The i-th element is the linear expression associated with the i-th node.
       All expressions must be affine expressions (a * var + b).
       
      repeated .operations_research.sat.LinearExpressionProto exprs = 1;