Class Lrat.LratInferredClause.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Lrat.LratInferredClause.Builder>
com.google.protobuf.GeneratedMessage.Builder<Lrat.LratInferredClause.Builder>
operations_research.sat.Lrat.LratInferredClause.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Lrat.LratInferredClauseOrBuilder
- Enclosing class:
Lrat.LratInferredClause
public static final class Lrat.LratInferredClause.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Lrat.LratInferredClause.Builder>
implements Lrat.LratInferredClauseOrBuilder
An LRAT inferred clause.Protobuf type
operations_research.sat.LratInferredClause-
Method Summary
Modifier and TypeMethodDescriptionaddAllLiterals(Iterable<? extends Integer> values) Literals are represented with LiteralIndex values.addAllRatInfos(Iterable<? extends Lrat.LratInferredClause.RatInfo> values) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;addAllUnitIds(Iterable<? extends Long> values) Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).addLiterals(int value) Literals are represented with LiteralIndex values.addRatInfos(int index, Lrat.LratInferredClause.RatInfo value) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;addRatInfos(int index, Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;addRatInfos(Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;addRatInfosBuilder(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;addUnitIds(long value) Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).build()clear()optional int64 clause_id = 1;Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).Literals are represented with LiteralIndex values.repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).longoptional int64 clause_id = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).intgetLiterals(int index) Literals are represented with LiteralIndex values.intLiterals are represented with LiteralIndex values.Literals are represented with LiteralIndex values.getRatInfos(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;getRatInfosBuilder(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;intrepeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;getRatInfosOrBuilder(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;List<? extends Lrat.LratInferredClause.RatInfoOrBuilder> repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;longgetUnitIds(int index) Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).intClauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).booleanoptional int64 clause_id = 1;booleanWhether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Lrat.LratInferredClause other) removeRatInfos(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;setClauseId(long value) optional int64 clause_id = 1;setExported(boolean value) Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).setLiterals(int index, int value) Literals are represented with LiteralIndex values.setRatInfos(int index, Lrat.LratInferredClause.RatInfo value) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;setRatInfos(int index, Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;setUnitIds(int index, long value) Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).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 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<Lrat.LratInferredClause.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<Lrat.LratInferredClause.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<Lrat.LratInferredClause.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<Lrat.LratInferredClause.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Lrat.LratInferredClause.Builder>
-
mergeFrom
public Lrat.LratInferredClause.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<Lrat.LratInferredClause.Builder>- Throws:
IOException
-
hasClauseId
public boolean hasClauseId()optional int64 clause_id = 1;- Specified by:
hasClauseIdin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- Whether the clauseId field is set.
-
getClauseId
public long getClauseId()optional int64 clause_id = 1;- Specified by:
getClauseIdin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The clauseId.
-
setClauseId
optional int64 clause_id = 1;- Parameters:
value- The clauseId to set.- Returns:
- This builder for chaining.
-
clearClauseId
optional int64 clause_id = 1;- Returns:
- This builder for chaining.
-
getLiteralsList
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsListin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- A list containing the literals.
-
getLiteralsCount
public int getLiteralsCount()Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsCountin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The count of literals.
-
getLiterals
public int getLiterals(int index) Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsin interfaceLrat.LratInferredClauseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The literals at the given index.
-
setLiterals
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Parameters:
index- The index to set the value at.value- The literals to set.- Returns:
- This builder for chaining.
-
addLiterals
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Parameters:
value- The literals to add.- Returns:
- This builder for chaining.
-
addAllLiterals
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Parameters:
values- The literals to add.- Returns:
- This builder for chaining.
-
clearLiterals
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Returns:
- This builder for chaining.
-
getUnitIdsList
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Specified by:
getUnitIdsListin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- A list containing the unitIds.
-
getUnitIdsCount
public int getUnitIdsCount()Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Specified by:
getUnitIdsCountin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The count of unitIds.
-
getUnitIds
public long getUnitIds(int index) Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Specified by:
getUnitIdsin interfaceLrat.LratInferredClauseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unitIds at the given index.
-
setUnitIds
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Parameters:
index- The index to set the value at.value- The unitIds to set.- Returns:
- This builder for chaining.
-
addUnitIds
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Parameters:
value- The unitIds to add.- Returns:
- This builder for chaining.
-
addAllUnitIds
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Parameters:
values- The unitIds to add.- Returns:
- This builder for chaining.
-
clearUnitIds
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];- Returns:
- This builder for chaining.
-
getRatInfosList
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosListin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfosCount
public int getRatInfosCount()repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosCountin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfos
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosin interfaceLrat.LratInferredClauseOrBuilder
-
setRatInfos
public Lrat.LratInferredClause.Builder setRatInfos(int index, Lrat.LratInferredClause.RatInfo value) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
setRatInfos
public Lrat.LratInferredClause.Builder setRatInfos(int index, Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addRatInfos
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addRatInfos
public Lrat.LratInferredClause.Builder addRatInfos(int index, Lrat.LratInferredClause.RatInfo value) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addRatInfos
public Lrat.LratInferredClause.Builder addRatInfos(Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addRatInfos
public Lrat.LratInferredClause.Builder addRatInfos(int index, Lrat.LratInferredClause.RatInfo.Builder builderForValue) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addAllRatInfos
public Lrat.LratInferredClause.Builder addAllRatInfos(Iterable<? extends Lrat.LratInferredClause.RatInfo> values) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
clearRatInfos
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
removeRatInfos
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
getRatInfosBuilder
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
getRatInfosOrBuilder
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosOrBuilderin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfosOrBuilderList
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosOrBuilderListin interfaceLrat.LratInferredClauseOrBuilder
-
addRatInfosBuilder
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
addRatInfosBuilder
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
getRatInfosBuilderList
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4; -
hasExported
public boolean hasExported()Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;- Specified by:
hasExportedin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- Whether the exported field is set.
-
getExported
public boolean getExported()Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;- Specified by:
getExportedin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The exported.
-
setExported
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;- Parameters:
value- The exported to set.- Returns:
- This builder for chaining.
-
clearExported
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;- Returns:
- This builder for chaining.
-