Java Reference

Java Reference

Detailed Description

All variables must take different values.

Protobuf type

operations_research.sat.AllDifferentConstraintProto

Definition at line 13 of file AllDifferentConstraintProto.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 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< AllDifferentConstraintProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.AllDifferentConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int VARS_FIELD_NUMBER = 1
 

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 192 of file AllDifferentConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 577 of file AllDifferentConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 602 of file AllDifferentConstraintProto.java.

◆ getDescriptor()

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

Definition at line 101 of file AllDifferentConstraintProto.java.

◆ getParserForType()

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

Definition at line 597 of file AllDifferentConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 167 of file AllDifferentConstraintProto.java.

◆ getUnknownFields()

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

Definition at line 35 of file AllDifferentConstraintProto.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 AllDifferentConstraintProtoOrBuilder.

Definition at line 136 of file AllDifferentConstraintProto.java.

◆ getVarsCount()

int getVarsCount ( )

repeated int32 vars = 1;

Returns
The count of vars.

Implements AllDifferentConstraintProtoOrBuilder.

Definition at line 128 of file AllDifferentConstraintProto.java.

◆ getVarsList()

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

repeated int32 vars = 1;

Returns
A list containing the vars.

Implements AllDifferentConstraintProtoOrBuilder.

Definition at line 121 of file AllDifferentConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 208 of file AllDifferentConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 107 of file AllDifferentConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 143 of file AllDifferentConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 295 of file AllDifferentConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 298 of file AllDifferentConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 294 of file AllDifferentConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 308 of file AllDifferentConstraintProto.java.

◆ newInstance()

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

Definition at line 28 of file AllDifferentConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 267 of file AllDifferentConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 272 of file AllDifferentConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 245 of file AllDifferentConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 249 of file AllDifferentConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 234 of file AllDifferentConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 239 of file AllDifferentConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 279 of file AllDifferentConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 285 of file AllDifferentConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 255 of file AllDifferentConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 260 of file AllDifferentConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 223 of file AllDifferentConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 228 of file AllDifferentConstraintProto.java.

◆ parser()

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

Definition at line 592 of file AllDifferentConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 302 of file AllDifferentConstraintProto.java.

◆ writeTo()

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

Definition at line 153 of file AllDifferentConstraintProto.java.

Member Data Documentation

◆ VARS_FIELD_NUMBER

final int VARS_FIELD_NUMBER = 1
static

Definition at line 113 of file AllDifferentConstraintProto.java.


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