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

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.sat.BoolArgumentProto getDefaultInstanceForType ()
 
com.google.ortools.sat.BoolArgumentProto build ()
 
com.google.ortools.sat.BoolArgumentProto buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.sat.BoolArgumentProto other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
java.util.List< java.lang.Integer > getLiteralsList ()
 
int getLiteralsCount ()
 
int getLiterals (int index)
 
Builder setLiterals (int index, int value)
 
Builder addLiterals (int value)
 
Builder addAllLiterals (java.lang.Iterable<? extends java.lang.Integer > values)
 
Builder clearLiterals ()
 
- Public Member Functions inherited from com.google.ortools.sat.BoolArgumentProtoOrBuilder

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

Argument of the constraints of the form OP(literals).

Protobuf type operations_research.sat.BoolArgumentProto

Definition at line 260 of file BoolArgumentProto.java.

Member Function Documentation

◆ addAllLiterals()

Builder com.google.ortools.sat.BoolArgumentProto.Builder.addAllLiterals ( java.lang.Iterable<? extends java.lang.Integer > values)

repeated int32 literals = 1;

Parameters
valuesThe literals to add.
Returns
This builder for chaining.

Definition at line 477 of file BoolArgumentProto.java.

◆ addLiterals()

Builder com.google.ortools.sat.BoolArgumentProto.Builder.addLiterals ( int value)

repeated int32 literals = 1;

Parameters
valueThe literals to add.
Returns
This builder for chaining.

Definition at line 464 of file BoolArgumentProto.java.

◆ build()

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.Builder.build ( )

Definition at line 307 of file BoolArgumentProto.java.

◆ buildPartial()

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.Builder.buildPartial ( )

Definition at line 316 of file BoolArgumentProto.java.

◆ clear()

Builder com.google.ortools.sat.BoolArgumentProto.Builder.clear ( )

Definition at line 288 of file BoolArgumentProto.java.

◆ clearLiterals()

Builder com.google.ortools.sat.BoolArgumentProto.Builder.clearLiterals ( )

repeated int32 literals = 1;

Returns
This builder for chaining.

Definition at line 490 of file BoolArgumentProto.java.

◆ getDefaultInstanceForType()

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.Builder.getDefaultInstanceForType ( )

Definition at line 302 of file BoolArgumentProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.BoolArgumentProto.Builder.getDescriptor ( )
static

Definition at line 265 of file BoolArgumentProto.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.BoolArgumentProto.Builder.getDescriptorForType ( )

Definition at line 297 of file BoolArgumentProto.java.

◆ getLiterals()

int com.google.ortools.sat.BoolArgumentProto.Builder.getLiterals ( int index)

repeated int32 literals = 1;

Parameters
indexThe index of the element to return.
Returns
The literals at the given index.

Implements com.google.ortools.sat.BoolArgumentProtoOrBuilder.

Definition at line 441 of file BoolArgumentProto.java.

◆ getLiteralsCount()

int com.google.ortools.sat.BoolArgumentProto.Builder.getLiteralsCount ( )

repeated int32 literals = 1;

Returns
The count of literals.

Implements com.google.ortools.sat.BoolArgumentProtoOrBuilder.

Definition at line 433 of file BoolArgumentProto.java.

◆ getLiteralsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.BoolArgumentProto.Builder.getLiteralsList ( )

repeated int32 literals = 1;

Returns
A list containing the literals.

Implements com.google.ortools.sat.BoolArgumentProtoOrBuilder.

Definition at line 425 of file BoolArgumentProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.sat.BoolArgumentProto.Builder.internalGetFieldAccessorTable ( )
protected

Definition at line 271 of file BoolArgumentProto.java.

◆ isInitialized()

final boolean com.google.ortools.sat.BoolArgumentProto.Builder.isInitialized ( )

Definition at line 360 of file BoolArgumentProto.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.sat.BoolArgumentProto.Builder.mergeFrom ( com.google.ortools.sat.BoolArgumentProto other)

Definition at line 341 of file BoolArgumentProto.java.

◆ mergeFrom() [2/3]

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

Definition at line 365 of file BoolArgumentProto.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.sat.BoolArgumentProto.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 332 of file BoolArgumentProto.java.

◆ setLiterals()

Builder com.google.ortools.sat.BoolArgumentProto.Builder.setLiterals ( int index,
int value )

repeated int32 literals = 1;

Parameters
indexThe index to set the value at.
valueThe literals to set.
Returns
This builder for chaining.

Definition at line 450 of file BoolArgumentProto.java.


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