Class SubSolverStatistics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SubSolverStatistics.Builder>
com.google.protobuf.GeneratedMessage.Builder<SubSolverStatistics.Builder>
com.google.ortools.constraintsolver.SubSolverStatistics.Builder
All Implemented Interfaces:
SubSolverStatisticsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SubSolverStatistics

public static final class SubSolverStatistics.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubSolverStatistics.Builder> implements SubSolverStatisticsOrBuilder
Statistics on sub-solvers.
Protobuf type operations_research.SubSolverStatistics
  • Method Details

    • getDescriptor

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

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

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

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

      public SubSolverStatistics buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SubSolverStatistics.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<SubSolverStatistics.Builder>
    • mergeFrom

    • isInitialized

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

      public SubSolverStatistics.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<SubSolverStatistics.Builder>
      Throws:
      IOException
    • getNumGlopCallsInLpScheduling

      public long getNumGlopCallsInLpScheduling()
      Number of calls to Glop in LP scheduling.
      
      int64 num_glop_calls_in_lp_scheduling = 1;
      Specified by:
      getNumGlopCallsInLpScheduling in interface SubSolverStatisticsOrBuilder
      Returns:
      The numGlopCallsInLpScheduling.
    • setNumGlopCallsInLpScheduling

      public SubSolverStatistics.Builder setNumGlopCallsInLpScheduling(long value)
      Number of calls to Glop in LP scheduling.
      
      int64 num_glop_calls_in_lp_scheduling = 1;
      Parameters:
      value - The numGlopCallsInLpScheduling to set.
      Returns:
      This builder for chaining.
    • clearNumGlopCallsInLpScheduling

      public SubSolverStatistics.Builder clearNumGlopCallsInLpScheduling()
      Number of calls to Glop in LP scheduling.
      
      int64 num_glop_calls_in_lp_scheduling = 1;
      Returns:
      This builder for chaining.
    • getNumCpSatCallsInLpScheduling

      public long getNumCpSatCallsInLpScheduling()
      Number of calls to CP-SAT in LP scheduling.
      
      int64 num_cp_sat_calls_in_lp_scheduling = 2;
      Specified by:
      getNumCpSatCallsInLpScheduling in interface SubSolverStatisticsOrBuilder
      Returns:
      The numCpSatCallsInLpScheduling.
    • setNumCpSatCallsInLpScheduling

      public SubSolverStatistics.Builder setNumCpSatCallsInLpScheduling(long value)
      Number of calls to CP-SAT in LP scheduling.
      
      int64 num_cp_sat_calls_in_lp_scheduling = 2;
      Parameters:
      value - The numCpSatCallsInLpScheduling to set.
      Returns:
      This builder for chaining.
    • clearNumCpSatCallsInLpScheduling

      public SubSolverStatistics.Builder clearNumCpSatCallsInLpScheduling()
      Number of calls to CP-SAT in LP scheduling.
      
      int64 num_cp_sat_calls_in_lp_scheduling = 2;
      Returns:
      This builder for chaining.
    • getNumMinCostFlowCalls

      public long getNumMinCostFlowCalls()
      Number of calls to min cost flow.
      
      int64 num_min_cost_flow_calls = 3;
      Specified by:
      getNumMinCostFlowCalls in interface SubSolverStatisticsOrBuilder
      Returns:
      The numMinCostFlowCalls.
    • setNumMinCostFlowCalls

      public SubSolverStatistics.Builder setNumMinCostFlowCalls(long value)
      Number of calls to min cost flow.
      
      int64 num_min_cost_flow_calls = 3;
      Parameters:
      value - The numMinCostFlowCalls to set.
      Returns:
      This builder for chaining.
    • clearNumMinCostFlowCalls

      public SubSolverStatistics.Builder clearNumMinCostFlowCalls()
      Number of calls to min cost flow.
      
      int64 num_min_cost_flow_calls = 3;
      Returns:
      This builder for chaining.