Java Reference

Java Reference

Detailed Description

The values of the n-tuple formed by the given variables can only be one of
the listed n-tuples in values. The n-tuples are encoded in a flattened way:
    [tuple0_v0, tuple0_v1, ..., tuple0_v{n-1}, tuple1_v0, ...].

Protobuf type

operations_research.sat.TableConstraintProto

Definition at line 15 of file TableConstraintProto.java.

Classes

class  Builder
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
.lang.Override java.util.List< java.lang.Integer > getVarsList ()
 repeated int32 vars = 1; More...
 
int getVarsCount ()
 repeated int32 vars = 1; More...
 
int getVars (int index)
 repeated int32 vars = 1; More...
 
.lang.Override java.util.List< java.lang.Long > getValuesList ()
 repeated int64 values = 2; More...
 
int getValuesCount ()
 repeated int64 values = 2; More...
 
long getValues (int index)
 repeated int64 values = 2; More...
 
.lang.Override boolean getNegated ()
 
.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< TableConstraintProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.TableConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int VARS_FIELD_NUMBER = 1
 
static final int VALUES_FIELD_NUMBER = 2
 
static final int NEGATED_FIELD_NUMBER = 3
 

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 296 of file TableConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 842 of file TableConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 867 of file TableConstraintProto.java.

◆ getDescriptor()

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

Definition at line 133 of file TableConstraintProto.java.

◆ getNegated()

.lang.Override boolean getNegated ( )
If true, the meaning is "negated", that is we forbid any of the given
tuple from a feasible assignment.

bool negated = 3;

Returns
The negated.

Implements TableConstraintProtoOrBuilder.

Definition at line 213 of file TableConstraintProto.java.

◆ getParserForType()

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

Definition at line 862 of file TableConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 253 of file TableConstraintProto.java.

◆ getUnknownFields()

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

Definition at line 38 of file TableConstraintProto.java.

◆ getValues()

long getValues ( int  index)

repeated int64 values = 2;

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

Implements TableConstraintProtoOrBuilder.

Definition at line 196 of file TableConstraintProto.java.

◆ getValuesCount()

int getValuesCount ( )

repeated int64 values = 2;

Returns
The count of values.

Implements TableConstraintProtoOrBuilder.

Definition at line 188 of file TableConstraintProto.java.

◆ getValuesList()

.lang.Override java.util.List<java.lang.Long> getValuesList ( )

repeated int64 values = 2;

Returns
A list containing the values.

Implements TableConstraintProtoOrBuilder.

Definition at line 181 of file TableConstraintProto.java.

◆ getVars()

int getVars ( int  index)

repeated int32 vars = 1;

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

Implements TableConstraintProtoOrBuilder.

Definition at line 168 of file TableConstraintProto.java.

◆ getVarsCount()

int getVarsCount ( )

repeated int32 vars = 1;

Returns
The count of vars.

Implements TableConstraintProtoOrBuilder.

Definition at line 160 of file TableConstraintProto.java.

◆ getVarsList()

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

repeated int32 vars = 1;

Returns
A list containing the vars.

Implements TableConstraintProtoOrBuilder.

Definition at line 153 of file TableConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 316 of file TableConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 139 of file TableConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 219 of file TableConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 410 of file TableConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 413 of file TableConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 409 of file TableConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 423 of file TableConstraintProto.java.

◆ newInstance()

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

Definition at line 31 of file TableConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 382 of file TableConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 387 of file TableConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 360 of file TableConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 364 of file TableConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 349 of file TableConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 354 of file TableConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 394 of file TableConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 400 of file TableConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 370 of file TableConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 375 of file TableConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 338 of file TableConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 343 of file TableConstraintProto.java.

◆ parser()

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

Definition at line 857 of file TableConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 417 of file TableConstraintProto.java.

◆ writeTo()

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

Definition at line 229 of file TableConstraintProto.java.

Member Data Documentation

◆ NEGATED_FIELD_NUMBER

final int NEGATED_FIELD_NUMBER = 3
static

Definition at line 201 of file TableConstraintProto.java.

◆ VALUES_FIELD_NUMBER

final int VALUES_FIELD_NUMBER = 2
static

Definition at line 173 of file TableConstraintProto.java.

◆ VARS_FIELD_NUMBER

final int VARS_FIELD_NUMBER = 1
static

Definition at line 145 of file TableConstraintProto.java.


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