Java Reference

Java Reference

Detailed Description

All the intervals (index of IntervalConstraintProto) must be disjoint. More
formally, there must exist a sequence so that for each consecutive intervals,
we have end_i <= start_{i+1}. In particular, intervals of size zero do matter
for this constraint. This is also known as a disjunctive constraint in
scheduling.

Protobuf type

operations_research.sat.NoOverlapConstraintProto

Definition at line 17 of file NoOverlapConstraintProto.java.

Classes

class  Builder
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
.lang.Override java.util.List< java.lang.Integer > getIntervalsList ()
 repeated int32 intervals = 1; More...
 
int getIntervalsCount ()
 repeated int32 intervals = 1; More...
 
int getIntervals (int index)
 repeated int32 intervals = 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< NoOverlapConstraintProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.NoOverlapConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int INTERVALS_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 196 of file NoOverlapConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 585 of file NoOverlapConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 610 of file NoOverlapConstraintProto.java.

◆ getDescriptor()

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

Definition at line 105 of file NoOverlapConstraintProto.java.

◆ getIntervals()

int getIntervals ( int  index)

repeated int32 intervals = 1;

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

Implements NoOverlapConstraintProtoOrBuilder.

Definition at line 140 of file NoOverlapConstraintProto.java.

◆ getIntervalsCount()

int getIntervalsCount ( )

repeated int32 intervals = 1;

Returns
The count of intervals.

Implements NoOverlapConstraintProtoOrBuilder.

Definition at line 132 of file NoOverlapConstraintProto.java.

◆ getIntervalsList()

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

repeated int32 intervals = 1;

Returns
A list containing the intervals.

Implements NoOverlapConstraintProtoOrBuilder.

Definition at line 125 of file NoOverlapConstraintProto.java.

◆ getParserForType()

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

Definition at line 605 of file NoOverlapConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 171 of file NoOverlapConstraintProto.java.

◆ getUnknownFields()

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

Definition at line 39 of file NoOverlapConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 212 of file NoOverlapConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 111 of file NoOverlapConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 147 of file NoOverlapConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 299 of file NoOverlapConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 302 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 298 of file NoOverlapConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 312 of file NoOverlapConstraintProto.java.

◆ newInstance()

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

Definition at line 32 of file NoOverlapConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 271 of file NoOverlapConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 276 of file NoOverlapConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 249 of file NoOverlapConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 253 of file NoOverlapConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 238 of file NoOverlapConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 243 of file NoOverlapConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 283 of file NoOverlapConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 289 of file NoOverlapConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 259 of file NoOverlapConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 264 of file NoOverlapConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 227 of file NoOverlapConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 232 of file NoOverlapConstraintProto.java.

◆ parser()

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

Definition at line 600 of file NoOverlapConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 306 of file NoOverlapConstraintProto.java.

◆ writeTo()

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

Definition at line 157 of file NoOverlapConstraintProto.java.

Member Data Documentation

◆ INTERVALS_FIELD_NUMBER

final int INTERVALS_FIELD_NUMBER = 1
static

Definition at line 117 of file NoOverlapConstraintProto.java.


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