Class SolveLogOuterClass.PointMetadata.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.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.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
      • getDefaultInstanceForType

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

        public SolveLogOuterClass.PointMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SolveLogOuterClass.PointMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
      • mergeFrom

        public SolveLogOuterClass.PointMetadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.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<SolveLogOuterClass.PointMetadata.Builder>
        Throws:
        java.io.IOException
      • hasPointType

        public boolean hasPointType()
         Type of the point that this metadata corresponds to.
         
        optional .operations_research.pdlp.PointType point_type = 1;
        Specified by:
        hasPointType in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        Whether the pointType field is set.
      • clearPointType

        public SolveLogOuterClass.PointMetadata.Builder clearPointType()
         Type of the point that this metadata corresponds to.
         
        optional .operations_research.pdlp.PointType point_type = 1;
        Returns:
        This builder for chaining.
      • getRandomPrimalProjectionsList

        public java.util.List<java.lang.Double> getRandomPrimalProjectionsList()
         Projections of the primal solution onto random planes.
         
        repeated double random_primal_projections = 2 [packed = true];
        Specified by:
        getRandomPrimalProjectionsList in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        A list containing the 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:
        getRandomPrimalProjections in interface SolveLogOuterClass.PointMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The randomPrimalProjections at the given index.
      • setRandomPrimalProjections

        public SolveLogOuterClass.PointMetadata.Builder setRandomPrimalProjections​(int index,
                                                                                   double value)
         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

        public SolveLogOuterClass.PointMetadata.Builder addRandomPrimalProjections​(double value)
         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​(java.lang.Iterable<? extends java.lang.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

        public SolveLogOuterClass.PointMetadata.Builder clearRandomPrimalProjections()
         Projections of the primal solution onto random planes.
         
        repeated double random_primal_projections = 2 [packed = true];
        Returns:
        This builder for chaining.
      • getRandomDualProjectionsList

        public java.util.List<java.lang.Double> getRandomDualProjectionsList()
         Projections of the dual solution onto random planes.
         
        repeated double random_dual_projections = 3 [packed = true];
        Specified by:
        getRandomDualProjectionsList in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        A list containing the 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:
        getRandomDualProjections in interface SolveLogOuterClass.PointMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The randomDualProjections at the given index.
      • setRandomDualProjections

        public SolveLogOuterClass.PointMetadata.Builder setRandomDualProjections​(int index,
                                                                                 double value)
         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

        public SolveLogOuterClass.PointMetadata.Builder addRandomDualProjections​(double value)
         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​(java.lang.Iterable<? extends java.lang.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

        public SolveLogOuterClass.PointMetadata.Builder 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:
        hasActivePrimalVariableCount in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        Whether the activePrimalVariableCount field is set.
      • setActivePrimalVariableCount

        public SolveLogOuterClass.PointMetadata.Builder setActivePrimalVariableCount​(long value)
         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

        public SolveLogOuterClass.PointMetadata.Builder 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:
        hasActiveDualVariableCount in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        Whether the activeDualVariableCount field is set.
      • setActiveDualVariableCount

        public SolveLogOuterClass.PointMetadata.Builder setActiveDualVariableCount​(long value)
         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

        public SolveLogOuterClass.PointMetadata.Builder 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:
        hasActivePrimalVariableChange in interface SolveLogOuterClass.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:
        getActivePrimalVariableChange in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        The activePrimalVariableChange.
      • setActivePrimalVariableChange

        public SolveLogOuterClass.PointMetadata.Builder setActivePrimalVariableChange​(long value)
         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

        public SolveLogOuterClass.PointMetadata.Builder 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:
        hasActiveDualVariableChange in interface SolveLogOuterClass.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:
        getActiveDualVariableChange in interface SolveLogOuterClass.PointMetadataOrBuilder
        Returns:
        The activeDualVariableChange.
      • setActiveDualVariableChange

        public SolveLogOuterClass.PointMetadata.Builder setActiveDualVariableChange​(long value)
         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

        public SolveLogOuterClass.PointMetadata.Builder 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.