Java Reference

Java Reference

Detailed Description

Argument of the constraints of the form target_var = OP(vars).

Protobuf type

operations_research.sat.IntegerArgumentProto

Definition at line 13 of file IntegerArgumentProto.java.

Classes

class  Builder
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
.lang.Override int getTarget ()
 int32 target = 1; More...
 
.lang.Override java.util.List< java.lang.Integer > getVarsList ()
 repeated int32 vars = 2; More...
 
int getVarsCount ()
 repeated int32 vars = 2; More...
 
int getVars (int index)
 repeated int32 vars = 2; More...
 
.lang.Override final boolean isInitialized ()
 
.lang.Override void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
.lang.Override int getSerializedSize ()
 
.lang.Override boolean equals (final java.lang.Object obj)
 
.lang.Override int hashCode ()
 
.lang.Override Builder newBuilderForType ()
 
.lang.Override Builder toBuilder ()
 
.lang.Override com.google.protobuf.Parser< IntegerArgumentProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int TARGET_FIELD_NUMBER = 1
 
static final int VARS_FIELD_NUMBER = 2
 

Protected Member Functions

.lang.Override java.lang.Object newInstance (UnusedPrivateParameter unused)
 
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
.lang.Override Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
 

Member Function Documentation

◆ equals()

.lang.Override boolean equals ( final java.lang.Object  obj)

Definition at line 215 of file IntegerArgumentProto.java.

◆ getDefaultInstance()

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

Definition at line 641 of file IntegerArgumentProto.java.

◆ getDefaultInstanceForType()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getDefaultInstanceForType ( )

Definition at line 666 of file IntegerArgumentProto.java.

◆ getDescriptor()

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

Definition at line 106 of file IntegerArgumentProto.java.

◆ getParserForType()

.lang.Override com.google.protobuf.Parser<IntegerArgumentProto> getParserForType ( )

Definition at line 661 of file IntegerArgumentProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 186 of file IntegerArgumentProto.java.

◆ getTarget()

.lang.Override int getTarget ( )

int32 target = 1;

Returns
The target.

Implements IntegerArgumentProtoOrBuilder.

Definition at line 125 of file IntegerArgumentProto.java.

◆ getUnknownFields()

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ( )

Definition at line 35 of file IntegerArgumentProto.java.

◆ getVars()

int getVars ( int  index)

repeated int32 vars = 2;

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

Implements IntegerArgumentProtoOrBuilder.

Definition at line 152 of file IntegerArgumentProto.java.

◆ getVarsCount()

int getVarsCount ( )

repeated int32 vars = 2;

Returns
The count of vars.

Implements IntegerArgumentProtoOrBuilder.

Definition at line 144 of file IntegerArgumentProto.java.

◆ getVarsList()

.lang.Override java.util.List<java.lang.Integer> getVarsList ( )

repeated int32 vars = 2;

Returns
A list containing the vars.

Implements IntegerArgumentProtoOrBuilder.

Definition at line 137 of file IntegerArgumentProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 233 of file IntegerArgumentProto.java.

◆ internalGetFieldAccessorTable()

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ( )
protected

Definition at line 112 of file IntegerArgumentProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 159 of file IntegerArgumentProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 322 of file IntegerArgumentProto.java.

◆ newBuilder() [2/2]

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

Definition at line 325 of file IntegerArgumentProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 321 of file IntegerArgumentProto.java.

◆ newBuilderForType() [2/2]

.lang.Override Builder newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent  parent)
protected

Definition at line 335 of file IntegerArgumentProto.java.

◆ newInstance()

.lang.Override java.lang.Object newInstance ( UnusedPrivateParameter  unused)
protected

Definition at line 28 of file IntegerArgumentProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 294 of file IntegerArgumentProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 299 of file IntegerArgumentProto.java.

◆ parseFrom() [1/10]

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

Definition at line 272 of file IntegerArgumentProto.java.

◆ parseFrom() [2/10]

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

Definition at line 276 of file IntegerArgumentProto.java.

◆ parseFrom() [3/10]

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

Definition at line 261 of file IntegerArgumentProto.java.

◆ parseFrom() [4/10]

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

Definition at line 266 of file IntegerArgumentProto.java.

◆ parseFrom() [5/10]

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

Definition at line 306 of file IntegerArgumentProto.java.

◆ parseFrom() [6/10]

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

Definition at line 312 of file IntegerArgumentProto.java.

◆ parseFrom() [7/10]

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

Definition at line 282 of file IntegerArgumentProto.java.

◆ parseFrom() [8/10]

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

Definition at line 287 of file IntegerArgumentProto.java.

◆ parseFrom() [9/10]

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

Definition at line 250 of file IntegerArgumentProto.java.

◆ parseFrom() [10/10]

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

Definition at line 255 of file IntegerArgumentProto.java.

◆ parser()

static com.google.protobuf.Parser<IntegerArgumentProto> parser ( )
static

Definition at line 656 of file IntegerArgumentProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 329 of file IntegerArgumentProto.java.

◆ writeTo()

.lang.Override void writeTo ( com.google.protobuf.CodedOutputStream  output) throws java.io.IOException

Definition at line 169 of file IntegerArgumentProto.java.

Member Data Documentation

◆ TARGET_FIELD_NUMBER

final int TARGET_FIELD_NUMBER = 1
static

Definition at line 118 of file IntegerArgumentProto.java.

◆ VARS_FIELD_NUMBER

final int VARS_FIELD_NUMBER = 2
static

Definition at line 129 of file IntegerArgumentProto.java.


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