Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RegularLimitParameters.Builder Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.RegularLimitParameters.Builder:
com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.constraintsolver.RegularLimitParameters getDefaultInstanceForType ()
 
com.google.ortools.constraintsolver.RegularLimitParameters build ()
 
com.google.ortools.constraintsolver.RegularLimitParameters buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.constraintsolver.RegularLimitParameters other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
long getTime ()
 
Builder setTime (long value)
 
Builder clearTime ()
 
long getBranches ()
 
Builder setBranches (long value)
 
Builder clearBranches ()
 
long getFailures ()
 
Builder setFailures (long value)
 
Builder clearFailures ()
 
long getSolutions ()
 
Builder setSolutions (long value)
 
Builder clearSolutions ()
 
boolean getSmartTimeCheck ()
 
Builder setSmartTimeCheck (boolean value)
 
Builder clearSmartTimeCheck ()
 
boolean getCumulative ()
 
Builder setCumulative (boolean value)
 
Builder clearCumulative ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 

Detailed Description

A search limit
The default values for int64 fields is the maxima value, i.e., 2^63-1

Protobuf type operations_research.RegularLimitParameters

Definition at line 345 of file RegularLimitParameters.java.

Member Function Documentation

◆ build()

com.google.ortools.constraintsolver.RegularLimitParameters com.google.ortools.constraintsolver.RegularLimitParameters.Builder.build ( )

Definition at line 397 of file RegularLimitParameters.java.

◆ buildPartial()

com.google.ortools.constraintsolver.RegularLimitParameters com.google.ortools.constraintsolver.RegularLimitParameters.Builder.buildPartial ( )

Definition at line 406 of file RegularLimitParameters.java.

◆ clear()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clear ( )

Definition at line 373 of file RegularLimitParameters.java.

◆ clearBranches()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearBranches ( )

int64 branches = 2;

Returns
This builder for chaining.

Definition at line 607 of file RegularLimitParameters.java.

◆ clearCumulative()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearCumulative ( )

bool cumulative = 6;

Returns
This builder for chaining.

Definition at line 735 of file RegularLimitParameters.java.

◆ clearFailures()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearFailures ( )

int64 failures = 3;

Returns
This builder for chaining.

Definition at line 639 of file RegularLimitParameters.java.

◆ clearSmartTimeCheck()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearSmartTimeCheck ( )

bool smart_time_check = 5;

Returns
This builder for chaining.

Definition at line 703 of file RegularLimitParameters.java.

◆ clearSolutions()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearSolutions ( )

int64 solutions = 4;

Returns
This builder for chaining.

Definition at line 671 of file RegularLimitParameters.java.

◆ clearTime()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.clearTime ( )
TODO(user): Specify the time units or switch to google.Duration proto.

int64 time = 1;

Returns
This builder for chaining.

Definition at line 575 of file RegularLimitParameters.java.

◆ getBranches()

long com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getBranches ( )

int64 branches = 2;

Returns
The branches.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 588 of file RegularLimitParameters.java.

◆ getCumulative()

boolean com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getCumulative ( )

bool cumulative = 6;

Returns
The cumulative.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 716 of file RegularLimitParameters.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.RegularLimitParameters com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getDefaultInstanceForType ( )

Definition at line 392 of file RegularLimitParameters.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getDescriptor ( )
static

Definition at line 350 of file RegularLimitParameters.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getDescriptorForType ( )

Definition at line 387 of file RegularLimitParameters.java.

◆ getFailures()

long com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getFailures ( )

int64 failures = 3;

Returns
The failures.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 620 of file RegularLimitParameters.java.

◆ getSmartTimeCheck()

boolean com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getSmartTimeCheck ( )

bool smart_time_check = 5;

Returns
The smartTimeCheck.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 684 of file RegularLimitParameters.java.

◆ getSolutions()

long com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getSolutions ( )

int64 solutions = 4;

Returns
The solutions.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 652 of file RegularLimitParameters.java.

◆ getTime()

long com.google.ortools.constraintsolver.RegularLimitParameters.Builder.getTime ( )
TODO(user): Specify the time units or switch to google.Duration proto.

int64 time = 1;

Returns
The time.

Implements com.google.ortools.constraintsolver.RegularLimitParametersOrBuilder.

Definition at line 548 of file RegularLimitParameters.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.constraintsolver.RegularLimitParameters.Builder.internalGetFieldAccessorTable ( )
protected

Definition at line 356 of file RegularLimitParameters.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.RegularLimitParameters.Builder.isInitialized ( )

Definition at line 471 of file RegularLimitParameters.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.mergeFrom ( com.google.ortools.constraintsolver.RegularLimitParameters other)

Definition at line 445 of file RegularLimitParameters.java.

◆ mergeFrom() [2/3]

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.mergeFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException

Definition at line 476 of file RegularLimitParameters.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 436 of file RegularLimitParameters.java.

◆ setBranches()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setBranches ( long value)

int64 branches = 2;

Parameters
valueThe branches to set.
Returns
This builder for chaining.

Definition at line 596 of file RegularLimitParameters.java.

◆ setCumulative()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setCumulative ( boolean value)

bool cumulative = 6;

Parameters
valueThe cumulative to set.
Returns
This builder for chaining.

Definition at line 724 of file RegularLimitParameters.java.

◆ setFailures()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setFailures ( long value)

int64 failures = 3;

Parameters
valueThe failures to set.
Returns
This builder for chaining.

Definition at line 628 of file RegularLimitParameters.java.

◆ setSmartTimeCheck()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setSmartTimeCheck ( boolean value)

bool smart_time_check = 5;

Parameters
valueThe smartTimeCheck to set.
Returns
This builder for chaining.

Definition at line 692 of file RegularLimitParameters.java.

◆ setSolutions()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setSolutions ( long value)

int64 solutions = 4;

Parameters
valueThe solutions to set.
Returns
This builder for chaining.

Definition at line 660 of file RegularLimitParameters.java.

◆ setTime()

Builder com.google.ortools.constraintsolver.RegularLimitParameters.Builder.setTime ( long value)
TODO(user): Specify the time units or switch to google.Duration proto.

int64 time = 1;

Parameters
valueThe time to set.
Returns
This builder for chaining.

Definition at line 560 of file RegularLimitParameters.java.


The documentation for this class was generated from the following file: