Package operations_research.pdlp
Class SolveLogOuterClass.PointMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
operations_research.pdlp.SolveLogOuterClass.PointMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SolveLogOuterClass.PointMetadataOrBuilder
- Enclosing class:
- SolveLogOuterClass.PointMetadata
public static final class SolveLogOuterClass.PointMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
implements SolveLogOuterClass.PointMetadataOrBuilder
Protobuf type
operations_research.pdlp.PointMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllRandomDualProjections(Iterable<? extends Double> values) Projections of the dual solution onto random planes.addAllRandomPrimalProjections(Iterable<? extends Double> values) Projections of the primal solution onto random planes.addRandomDualProjections(double value) Projections of the dual solution onto random planes.addRandomPrimalProjections(double value) Projections of the primal solution onto random planes.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The number of dual variables that have a different bound status than they did at the last restart.The number of dual variables that are not at their bounds.The number of primal variables that have a different bound status than they did at the last restart.The number of primal variables that are not at their bounds.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Type of the point that this metadata corresponds to.Projections of the dual solution onto random planes.Projections of the primal solution onto random planes.clone()longThe number of dual variables that have a different bound status than they did at the last restart.longThe number of dual variables that are not at their bounds.longThe number of primal variables that have a different bound status than they did at the last restart.longThe number of primal variables that are not at their bounds.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorType of the point that this metadata corresponds to.doublegetRandomDualProjections(int index) Projections of the dual solution onto random planes.intProjections of the dual solution onto random planes.Projections of the dual solution onto random planes.doublegetRandomPrimalProjections(int index) Projections of the primal solution onto random planes.intProjections of the primal solution onto random planes.Projections of the primal solution onto random planes.booleanThe number of dual variables that have a different bound status than they did at the last restart.booleanThe number of dual variables that are not at their bounds.booleanThe number of primal variables that have a different bound status than they did at the last restart.booleanThe number of primal variables that are not at their bounds.booleanType of the point that this metadata corresponds to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActiveDualVariableChange(long value) The number of dual variables that have a different bound status than they did at the last restart.setActiveDualVariableCount(long value) The number of dual variables that are not at their bounds.setActivePrimalVariableChange(long value) The number of primal variables that have a different bound status than they did at the last restart.setActivePrimalVariableCount(long value) The number of primal variables that are not at their bounds.Type of the point that this metadata corresponds to.setRandomDualProjections(int index, double value) Projections of the dual solution onto random planes.setRandomPrimalProjections(int index, double value) Projections of the primal solution onto random planes.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.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.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
setField
public SolveLogOuterClass.PointMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
clearField
public SolveLogOuterClass.PointMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
clearOneof
public SolveLogOuterClass.PointMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
setRepeatedField
public SolveLogOuterClass.PointMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
addRepeatedField
public SolveLogOuterClass.PointMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
mergeFrom
public SolveLogOuterClass.PointMetadata.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<SolveLogOuterClass.PointMetadata.Builder>- Throws:
IOException
-
hasPointType
public boolean hasPointType()Type of the point that this metadata corresponds to.
optional .operations_research.pdlp.PointType point_type = 1;- Specified by:
hasPointTypein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- Whether the pointType field is set.
-
getPointType
Type of the point that this metadata corresponds to.
optional .operations_research.pdlp.PointType point_type = 1;- Specified by:
getPointTypein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The pointType.
-
setPointType
Type of the point that this metadata corresponds to.
optional .operations_research.pdlp.PointType point_type = 1;- Parameters:
value- The pointType to set.- Returns:
- This builder for chaining.
-
clearPointType
Type of the point that this metadata corresponds to.
optional .operations_research.pdlp.PointType point_type = 1;- Returns:
- This builder for chaining.
-
getRandomPrimalProjectionsList
Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Specified by:
getRandomPrimalProjectionsListin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- A list containing the randomPrimalProjections.
-
getRandomPrimalProjectionsCount
public int getRandomPrimalProjectionsCount()Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Specified by:
getRandomPrimalProjectionsCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The count of randomPrimalProjections.
-
getRandomPrimalProjections
public double getRandomPrimalProjections(int index) Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Specified by:
getRandomPrimalProjectionsin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The randomPrimalProjections at the given index.
-
setRandomPrimalProjections
Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Parameters:
index- The index to set the value at.value- The randomPrimalProjections to set.- Returns:
- This builder for chaining.
-
addRandomPrimalProjections
Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Parameters:
value- The randomPrimalProjections to add.- Returns:
- This builder for chaining.
-
addAllRandomPrimalProjections
public SolveLogOuterClass.PointMetadata.Builder addAllRandomPrimalProjections(Iterable<? extends Double> values) Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Parameters:
values- The randomPrimalProjections to add.- Returns:
- This builder for chaining.
-
clearRandomPrimalProjections
Projections of the primal solution onto random planes.
repeated double random_primal_projections = 2 [packed = true];- Returns:
- This builder for chaining.
-
getRandomDualProjectionsList
Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Specified by:
getRandomDualProjectionsListin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- A list containing the randomDualProjections.
-
getRandomDualProjectionsCount
public int getRandomDualProjectionsCount()Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Specified by:
getRandomDualProjectionsCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The count of randomDualProjections.
-
getRandomDualProjections
public double getRandomDualProjections(int index) Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Specified by:
getRandomDualProjectionsin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The randomDualProjections at the given index.
-
setRandomDualProjections
Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Parameters:
index- The index to set the value at.value- The randomDualProjections to set.- Returns:
- This builder for chaining.
-
addRandomDualProjections
Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Parameters:
value- The randomDualProjections to add.- Returns:
- This builder for chaining.
-
addAllRandomDualProjections
public SolveLogOuterClass.PointMetadata.Builder addAllRandomDualProjections(Iterable<? extends Double> values) Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Parameters:
values- The randomDualProjections to add.- Returns:
- This builder for chaining.
-
clearRandomDualProjections
Projections of the dual solution onto random planes.
repeated double random_dual_projections = 3 [packed = true];- Returns:
- This builder for chaining.
-
hasActivePrimalVariableCount
public boolean hasActivePrimalVariableCount()The number of primal variables that are not at their bounds.
optional int64 active_primal_variable_count = 4;- Specified by:
hasActivePrimalVariableCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- Whether the activePrimalVariableCount field is set.
-
getActivePrimalVariableCount
public long getActivePrimalVariableCount()The number of primal variables that are not at their bounds.
optional int64 active_primal_variable_count = 4;- Specified by:
getActivePrimalVariableCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The activePrimalVariableCount.
-
setActivePrimalVariableCount
The number of primal variables that are not at their bounds.
optional int64 active_primal_variable_count = 4;- Parameters:
value- The activePrimalVariableCount to set.- Returns:
- This builder for chaining.
-
clearActivePrimalVariableCount
The number of primal variables that are not at their bounds.
optional int64 active_primal_variable_count = 4;- Returns:
- This builder for chaining.
-
hasActiveDualVariableCount
public boolean hasActiveDualVariableCount()The number of dual variables that are not at their bounds.
optional int64 active_dual_variable_count = 5;- Specified by:
hasActiveDualVariableCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- Whether the activeDualVariableCount field is set.
-
getActiveDualVariableCount
public long getActiveDualVariableCount()The number of dual variables that are not at their bounds.
optional int64 active_dual_variable_count = 5;- Specified by:
getActiveDualVariableCountin interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The activeDualVariableCount.
-
setActiveDualVariableCount
The number of dual variables that are not at their bounds.
optional int64 active_dual_variable_count = 5;- Parameters:
value- The activeDualVariableCount to set.- Returns:
- This builder for chaining.
-
clearActiveDualVariableCount
The number of dual variables that are not at their bounds.
optional int64 active_dual_variable_count = 5;- Returns:
- This builder for chaining.
-
hasActivePrimalVariableChange
public boolean hasActivePrimalVariableChange()The number of primal variables that have a different bound status than they did at the last restart.
optional int64 active_primal_variable_change = 6;- Specified by:
hasActivePrimalVariableChangein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- Whether the activePrimalVariableChange field is set.
-
getActivePrimalVariableChange
public long getActivePrimalVariableChange()The number of primal variables that have a different bound status than they did at the last restart.
optional int64 active_primal_variable_change = 6;- Specified by:
getActivePrimalVariableChangein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The activePrimalVariableChange.
-
setActivePrimalVariableChange
The number of primal variables that have a different bound status than they did at the last restart.
optional int64 active_primal_variable_change = 6;- Parameters:
value- The activePrimalVariableChange to set.- Returns:
- This builder for chaining.
-
clearActivePrimalVariableChange
The number of primal variables that have a different bound status than they did at the last restart.
optional int64 active_primal_variable_change = 6;- Returns:
- This builder for chaining.
-
hasActiveDualVariableChange
public boolean hasActiveDualVariableChange()The number of dual variables that have a different bound status than they did at the last restart.
optional int64 active_dual_variable_change = 7;- Specified by:
hasActiveDualVariableChangein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- Whether the activeDualVariableChange field is set.
-
getActiveDualVariableChange
public long getActiveDualVariableChange()The number of dual variables that have a different bound status than they did at the last restart.
optional int64 active_dual_variable_change = 7;- Specified by:
getActiveDualVariableChangein interfaceSolveLogOuterClass.PointMetadataOrBuilder- Returns:
- The activeDualVariableChange.
-
setActiveDualVariableChange
The number of dual variables that have a different bound status than they did at the last restart.
optional int64 active_dual_variable_change = 7;- Parameters:
value- The activeDualVariableChange to set.- Returns:
- This builder for chaining.
-
clearActiveDualVariableChange
The number of dual variables that have a different bound status than they did at the last restart.
optional int64 active_dual_variable_change = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final SolveLogOuterClass.PointMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-
mergeUnknownFields
public final SolveLogOuterClass.PointMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
-