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 Summary
Modifier and TypeMethodDescriptionaddAllExprs(Iterable<? extends LinearExpressionProto> values) The i-th element is the linear expression associated with the i-th node.addExprs(int index, LinearExpressionProto value) The i-th element is the linear expression associated with the i-th node.addExprs(int index, LinearExpressionProto.Builder builderForValue) The i-th element is the linear expression associated with the i-th node.addExprs(LinearExpressionProto value) The i-th element is the linear expression associated with the i-th node.addExprs(LinearExpressionProto.Builder builderForValue) The i-th element is the linear expression associated with the i-th node.The i-th element is the linear expression associated with the i-th node.addExprsBuilder(int index) The i-th element is the linear expression associated with the i-th node.build()clear()The i-th element is the linear expression associated with the i-th node.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExprs(int index) The i-th element is the linear expression associated with the i-th node.getExprsBuilder(int index) The i-th element is the linear expression associated with the i-th node.The i-th element is the linear expression associated with the i-th node.intThe i-th element is the linear expression associated with the i-th node.The i-th element is the linear expression associated with the i-th node.getExprsOrBuilder(int index) The i-th element is the linear expression associated with the i-th node.List<? extends LinearExpressionProtoOrBuilder> The i-th element is the linear expression associated with the i-th node.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeExprs(int index) The i-th element is the linear expression associated with the i-th node.setExprs(int index, LinearExpressionProto value) The i-th element is the linear expression associated with the i-th node.setExprs(int index, LinearExpressionProto.Builder builderForValue) The i-th element is the linear expression associated with the i-th node.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
mergeFrom
public RoutesConstraintProto.NodeExpressions.Builder mergeFrom(RoutesConstraintProto.NodeExpressions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>- Throws:
IOException
-
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:
getExprsListin interfaceRoutesConstraintProto.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:
getExprsCountin interfaceRoutesConstraintProto.NodeExpressionsOrBuilder
-
getExprs
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:
getExprsin interfaceRoutesConstraintProto.NodeExpressionsOrBuilder
-
setExprs
public RoutesConstraintProto.NodeExpressions.Builder setExprs(int index, LinearExpressionProto value) 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
public RoutesConstraintProto.NodeExpressions.Builder setExprs(int index, LinearExpressionProto.Builder builderForValue) 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
public RoutesConstraintProto.NodeExpressions.Builder addExprs(int index, LinearExpressionProto value) 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
public RoutesConstraintProto.NodeExpressions.Builder addExprs(LinearExpressionProto.Builder builderForValue) 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
public RoutesConstraintProto.NodeExpressions.Builder addExprs(int index, LinearExpressionProto.Builder builderForValue) 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
public RoutesConstraintProto.NodeExpressions.Builder addAllExprs(Iterable<? extends LinearExpressionProto> values) 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
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
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
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:
getExprsOrBuilderin interfaceRoutesConstraintProto.NodeExpressionsOrBuilder
-
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:
getExprsOrBuilderListin interfaceRoutesConstraintProto.NodeExpressionsOrBuilder
-
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
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
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;
-