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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExprs
(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.int
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.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.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RoutesConstraintProto.NodeExpressions.Builder>
-
mergeFrom
public RoutesConstraintProto.NodeExpressions.Builder mergeFrom(RoutesConstraintProto.NodeExpressions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getExprsList
in 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:
getExprsCount
in 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:
getExprs
in 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:
getExprsOrBuilder
in 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:
getExprsOrBuilderList
in 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;
-