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

Detailed Description

A list of variables, without any semantics.

Protobuf type operations_research.sat.ListOfVariablesProto

Definition at line 16 of file ListOfVariablesProto.java.

Inheritance diagram for com.google.ortools.sat.ListOfVariablesProto:
com.google.ortools.sat.ListOfVariablesProtoOrBuilder

Classes

class  Builder

Public Member Functions

java.util.List< java.lang.Integer > getVarsList ()
int getVarsCount ()
int getVars (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< ListOfVariablesProtogetParserForType ()
com.google.ortools.sat.ListOfVariablesProto getDefaultInstanceForType ()

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
static com.google.ortools.sat.ListOfVariablesProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.ListOfVariablesProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.ListOfVariablesProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.ListOfVariablesProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
static com.google.ortools.sat.ListOfVariablesProto 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.ListOfVariablesProto prototype)
static com.google.ortools.sat.ListOfVariablesProto getDefaultInstance ()
static com.google.protobuf.Parser< ListOfVariablesProtoparser ()

Static Public Attributes

static final int VARS_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.ListOfVariablesProto.equals ( final java.lang.Object obj)

Definition at line 132 of file ListOfVariablesProto.java.

◆ getDefaultInstance()

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

Definition at line 508 of file ListOfVariablesProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 544 of file ListOfVariablesProto.java.

◆ getDescriptor()

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

Definition at line 39 of file ListOfVariablesProto.java.

◆ getParserForType()

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

Definition at line 539 of file ListOfVariablesProto.java.

◆ getSerializedSize()

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

Definition at line 107 of file ListOfVariablesProto.java.

◆ getVars()

int com.google.ortools.sat.ListOfVariablesProto.getVars ( int index)

repeated int32 vars = 1;

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

Implements com.google.ortools.sat.ListOfVariablesProtoOrBuilder.

Definition at line 76 of file ListOfVariablesProto.java.

◆ getVarsCount()

int com.google.ortools.sat.ListOfVariablesProto.getVarsCount ( )

repeated int32 vars = 1;

Returns
The count of vars.

Implements com.google.ortools.sat.ListOfVariablesProtoOrBuilder.

Definition at line 68 of file ListOfVariablesProto.java.

◆ getVarsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.ListOfVariablesProto.getVarsList ( )

repeated int32 vars = 1;

Returns
A list containing the vars.

Implements com.google.ortools.sat.ListOfVariablesProtoOrBuilder.

Definition at line 61 of file ListOfVariablesProto.java.

◆ hashCode()

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

Definition at line 148 of file ListOfVariablesProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 45 of file ListOfVariablesProto.java.

◆ isInitialized()

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

Definition at line 83 of file ListOfVariablesProto.java.

◆ newBuilder() [1/2]

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

Definition at line 237 of file ListOfVariablesProto.java.

◆ newBuilder() [2/2]

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

Definition at line 240 of file ListOfVariablesProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 236 of file ListOfVariablesProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 250 of file ListOfVariablesProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 208 of file ListOfVariablesProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 214 of file ListOfVariablesProto.java.

◆ parseFrom() [1/10]

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

Definition at line 185 of file ListOfVariablesProto.java.

◆ parseFrom() [2/10]

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

Definition at line 189 of file ListOfVariablesProto.java.

◆ parseFrom() [3/10]

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

Definition at line 174 of file ListOfVariablesProto.java.

◆ parseFrom() [4/10]

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

Definition at line 179 of file ListOfVariablesProto.java.

◆ parseFrom() [5/10]

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

Definition at line 221 of file ListOfVariablesProto.java.

◆ parseFrom() [6/10]

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

Definition at line 227 of file ListOfVariablesProto.java.

◆ parseFrom() [7/10]

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

Definition at line 195 of file ListOfVariablesProto.java.

◆ parseFrom() [8/10]

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

Definition at line 200 of file ListOfVariablesProto.java.

◆ parseFrom() [9/10]

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

Definition at line 163 of file ListOfVariablesProto.java.

◆ parseFrom() [10/10]

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

Definition at line 168 of file ListOfVariablesProto.java.

◆ parser()

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

Definition at line 534 of file ListOfVariablesProto.java.

◆ toBuilder()

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

Definition at line 244 of file ListOfVariablesProto.java.

◆ writeTo()

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

Definition at line 93 of file ListOfVariablesProto.java.

Member Data Documentation

◆ VARS_FIELD_NUMBER

final int com.google.ortools.sat.ListOfVariablesProto.VARS_FIELD_NUMBER = 1
static

Definition at line 51 of file ListOfVariablesProto.java.


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