Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.BoolArgumentProto Class Reference

Detailed Description

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

Protobuf type operations_research.sat.BoolArgumentProto

Definition at line 16 of file BoolArgumentProto.java.

Inheritance diagram for com.google.ortools.sat.BoolArgumentProto:
com.google.ortools.sat.BoolArgumentProtoOrBuilder

Classes

class  Builder

Public Member Functions

java.util.List< java.lang.Integer > getLiteralsList ()
int getLiteralsCount ()
int getLiterals (int index)
final boolean isInitialized ()
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
int getSerializedSize ()
boolean equals (final java.lang.Object obj)
int hashCode ()
Builder newBuilderForType ()
Builder toBuilder ()
com.google.protobuf.Parser< BoolArgumentProtogetParserForType ()
com.google.ortools.sat.BoolArgumentProto getDefaultInstanceForType ()

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
static com.google.ortools.sat.BoolArgumentProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.BoolArgumentProto parseFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.BoolArgumentProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.BoolArgumentProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.BoolArgumentProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.BoolArgumentProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
static com.google.ortools.sat.BoolArgumentProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static Builder newBuilder ()
static Builder newBuilder (com.google.ortools.sat.BoolArgumentProto prototype)
static com.google.ortools.sat.BoolArgumentProto getDefaultInstance ()
static com.google.protobuf.Parser< BoolArgumentProtoparser ()

Static Public Attributes

static final int LITERALS_FIELD_NUMBER = 1

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)

Member Function Documentation

◆ equals()

boolean com.google.ortools.sat.BoolArgumentProto.equals ( final java.lang.Object obj)

Definition at line 132 of file BoolArgumentProto.java.

◆ getDefaultInstance()

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.getDefaultInstance ( )
static

Definition at line 508 of file BoolArgumentProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 544 of file BoolArgumentProto.java.

◆ getDescriptor()

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

Definition at line 39 of file BoolArgumentProto.java.

◆ getLiterals()

int com.google.ortools.sat.BoolArgumentProto.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 76 of file BoolArgumentProto.java.

◆ getLiteralsCount()

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

repeated int32 literals = 1;

Returns
The count of literals.

Implements com.google.ortools.sat.BoolArgumentProtoOrBuilder.

Definition at line 68 of file BoolArgumentProto.java.

◆ getLiteralsList()

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

repeated int32 literals = 1;

Returns
A list containing the literals.

Implements com.google.ortools.sat.BoolArgumentProtoOrBuilder.

Definition at line 61 of file BoolArgumentProto.java.

◆ getParserForType()

com.google.protobuf.Parser< BoolArgumentProto > com.google.ortools.sat.BoolArgumentProto.getParserForType ( )

Definition at line 539 of file BoolArgumentProto.java.

◆ getSerializedSize()

int com.google.ortools.sat.BoolArgumentProto.getSerializedSize ( )

Definition at line 107 of file BoolArgumentProto.java.

◆ hashCode()

int com.google.ortools.sat.BoolArgumentProto.hashCode ( )

Definition at line 148 of file BoolArgumentProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 45 of file BoolArgumentProto.java.

◆ isInitialized()

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

Definition at line 83 of file BoolArgumentProto.java.

◆ newBuilder() [1/2]

Builder com.google.ortools.sat.BoolArgumentProto.newBuilder ( )
static

Definition at line 237 of file BoolArgumentProto.java.

◆ newBuilder() [2/2]

Builder com.google.ortools.sat.BoolArgumentProto.newBuilder ( com.google.ortools.sat.BoolArgumentProto prototype)
static

Definition at line 240 of file BoolArgumentProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 236 of file BoolArgumentProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.sat.BoolArgumentProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 250 of file BoolArgumentProto.java.

◆ parseDelimitedFrom() [1/2]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 208 of file BoolArgumentProto.java.

◆ parseDelimitedFrom() [2/2]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 214 of file BoolArgumentProto.java.

◆ parseFrom() [1/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 185 of file BoolArgumentProto.java.

◆ parseFrom() [2/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 189 of file BoolArgumentProto.java.

◆ parseFrom() [3/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 174 of file BoolArgumentProto.java.

◆ parseFrom() [4/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 179 of file BoolArgumentProto.java.

◆ parseFrom() [5/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 221 of file BoolArgumentProto.java.

◆ parseFrom() [6/10]

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

Definition at line 227 of file BoolArgumentProto.java.

◆ parseFrom() [7/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 195 of file BoolArgumentProto.java.

◆ parseFrom() [8/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 200 of file BoolArgumentProto.java.

◆ parseFrom() [9/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 163 of file BoolArgumentProto.java.

◆ parseFrom() [10/10]

com.google.ortools.sat.BoolArgumentProto com.google.ortools.sat.BoolArgumentProto.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 168 of file BoolArgumentProto.java.

◆ parser()

com.google.protobuf.Parser< BoolArgumentProto > com.google.ortools.sat.BoolArgumentProto.parser ( )
static

Definition at line 534 of file BoolArgumentProto.java.

◆ toBuilder()

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

Definition at line 244 of file BoolArgumentProto.java.

◆ writeTo()

void com.google.ortools.sat.BoolArgumentProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 93 of file BoolArgumentProto.java.

Member Data Documentation

◆ LITERALS_FIELD_NUMBER

final int com.google.ortools.sat.BoolArgumentProto.LITERALS_FIELD_NUMBER = 1
static

Definition at line 51 of file BoolArgumentProto.java.


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