Class SearchStatistics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SearchStatistics.Builder>
com.google.ortools.constraintsolver.SearchStatistics.Builder
All Implemented Interfaces:
SearchStatisticsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchStatistics

public static final class SearchStatistics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchStatistics.Builder> implements SearchStatisticsOrBuilder
 Search statistics.
 
Protobuf type operations_research.SearchStatistics
  • 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<SearchStatistics.Builder>
    • clear

      public SearchStatistics.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<SearchStatistics.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<SearchStatistics.Builder>
    • getDefaultInstanceForType

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

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

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

      public SearchStatistics.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<SearchStatistics.Builder>
    • setField

      public SearchStatistics.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<SearchStatistics.Builder>
    • clearField

      public SearchStatistics.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<SearchStatistics.Builder>
    • clearOneof

      public SearchStatistics.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<SearchStatistics.Builder>
    • setRepeatedField

      public SearchStatistics.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<SearchStatistics.Builder>
    • addRepeatedField

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

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

      public SearchStatistics.Builder mergeFrom(SearchStatistics other)
    • isInitialized

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

      public SearchStatistics.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<SearchStatistics.Builder>
      Throws:
      IOException
    • hasLocalSearchStatistics

      public boolean hasLocalSearchStatistics()
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
      Specified by:
      hasLocalSearchStatistics in interface SearchStatisticsOrBuilder
      Returns:
      Whether the localSearchStatistics field is set.
    • getLocalSearchStatistics

      public LocalSearchStatistics getLocalSearchStatistics()
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
      Specified by:
      getLocalSearchStatistics in interface SearchStatisticsOrBuilder
      Returns:
      The localSearchStatistics.
    • setLocalSearchStatistics

      public SearchStatistics.Builder setLocalSearchStatistics(LocalSearchStatistics value)
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
    • setLocalSearchStatistics

      public SearchStatistics.Builder setLocalSearchStatistics(LocalSearchStatistics.Builder builderForValue)
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
    • mergeLocalSearchStatistics

      public SearchStatistics.Builder mergeLocalSearchStatistics(LocalSearchStatistics value)
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
    • clearLocalSearchStatistics

      public SearchStatistics.Builder clearLocalSearchStatistics()
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
    • getLocalSearchStatisticsBuilder

      public LocalSearchStatistics.Builder getLocalSearchStatisticsBuilder()
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
    • getLocalSearchStatisticsOrBuilder

      public LocalSearchStatisticsOrBuilder getLocalSearchStatisticsOrBuilder()
       Local search statistics.
       
      .operations_research.LocalSearchStatistics local_search_statistics = 1;
      Specified by:
      getLocalSearchStatisticsOrBuilder in interface SearchStatisticsOrBuilder
    • hasConstraintSolverStatistics

      public boolean hasConstraintSolverStatistics()
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
      Specified by:
      hasConstraintSolverStatistics in interface SearchStatisticsOrBuilder
      Returns:
      Whether the constraintSolverStatistics field is set.
    • getConstraintSolverStatistics

      public ConstraintSolverStatistics getConstraintSolverStatistics()
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
      Specified by:
      getConstraintSolverStatistics in interface SearchStatisticsOrBuilder
      Returns:
      The constraintSolverStatistics.
    • setConstraintSolverStatistics

      public SearchStatistics.Builder setConstraintSolverStatistics(ConstraintSolverStatistics value)
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
    • setConstraintSolverStatistics

      public SearchStatistics.Builder setConstraintSolverStatistics(ConstraintSolverStatistics.Builder builderForValue)
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
    • mergeConstraintSolverStatistics

      public SearchStatistics.Builder mergeConstraintSolverStatistics(ConstraintSolverStatistics value)
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
    • clearConstraintSolverStatistics

      public SearchStatistics.Builder clearConstraintSolverStatistics()
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
    • getConstraintSolverStatisticsBuilder

      public ConstraintSolverStatistics.Builder getConstraintSolverStatisticsBuilder()
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
    • getConstraintSolverStatisticsOrBuilder

      public ConstraintSolverStatisticsOrBuilder getConstraintSolverStatisticsOrBuilder()
       Constraint solver statistics.
       
      .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
      Specified by:
      getConstraintSolverStatisticsOrBuilder in interface SearchStatisticsOrBuilder
    • setUnknownFields

      public final SearchStatistics.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<SearchStatistics.Builder>
    • mergeUnknownFields

      public final SearchStatistics.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<SearchStatistics.Builder>