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 Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • setField

      public SolveLogOuterClass.PointMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • clearField

      public SolveLogOuterClass.PointMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • clearOneof

      public SolveLogOuterClass.PointMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • addRepeatedField

      public SolveLogOuterClass.PointMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • mergeFrom

      public SolveLogOuterClass.PointMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • mergeFrom

    • 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 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:
      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.
    • getPointType

      public SolveLogOuterClass.PointType getPointType()
       Type of the point that this metadata corresponds to.
       
      optional .operations_research.pdlp.PointType point_type = 1;
      Specified by:
      getPointType in interface SolveLogOuterClass.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

      public List<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.
    • getRandomPrimalProjectionsCount

      public int getRandomPrimalProjectionsCount()
       Projections of the primal solution onto random planes.
       
      repeated double random_primal_projections = 2 [packed = true];
      Specified by:
      getRandomPrimalProjectionsCount in interface SolveLogOuterClass.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:
      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(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

      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 List<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.
    • getRandomDualProjectionsCount

      public int getRandomDualProjectionsCount()
       Projections of the dual solution onto random planes.
       
      repeated double random_dual_projections = 3 [packed = true];
      Specified by:
      getRandomDualProjectionsCount in interface SolveLogOuterClass.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:
      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(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

      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.
    • getActivePrimalVariableCount

      public long getActivePrimalVariableCount()
       The number of primal variables that are not at their bounds.
       
      optional int64 active_primal_variable_count = 4;
      Specified by:
      getActivePrimalVariableCount in interface SolveLogOuterClass.PointMetadataOrBuilder
      Returns:
      The activePrimalVariableCount.
    • 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.
    • getActiveDualVariableCount

      public long getActiveDualVariableCount()
       The number of dual variables that are not at their bounds.
       
      optional int64 active_dual_variable_count = 5;
      Specified by:
      getActiveDualVariableCount in interface SolveLogOuterClass.PointMetadataOrBuilder
      Returns:
      The activeDualVariableCount.
    • 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.
    • setUnknownFields

      public final SolveLogOuterClass.PointMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>
    • mergeUnknownFields

      public final SolveLogOuterClass.PointMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.PointMetadata.Builder>