Java Reference

Java Reference

Detailed Description

The boxes defined by [start_x, end_x) * [start_y, end_y) cannot overlap.

Protobuf type

operations_research.sat.NoOverlap2DConstraintProto

Definition at line 13 of file NoOverlap2DConstraintProto.java.

Classes

class  Builder
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
.lang.Override java.util.List< java.lang.Integer > getXIntervalsList ()
 repeated int32 x_intervals = 1; More...
 
int getXIntervalsCount ()
 repeated int32 x_intervals = 1; More...
 
int getXIntervals (int index)
 repeated int32 x_intervals = 1; More...
 
.lang.Override java.util.List< java.lang.Integer > getYIntervalsList ()
 
int getYIntervalsCount ()
 
int getYIntervals (int index)
 
.lang.Override boolean getBoxesWithNullAreaCanOverlap ()
 bool boxes_with_null_area_can_overlap = 3; 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< NoOverlap2DConstraintProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.NoOverlap2DConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int X_INTERVALS_FIELD_NUMBER = 1
 
static final int Y_INTERVALS_FIELD_NUMBER = 2
 
static final int BOXES_WITH_NULL_AREA_CAN_OVERLAP_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 301 of file NoOverlap2DConstraintProto.java.

◆ getBoxesWithNullAreaCanOverlap()

.lang.Override boolean getBoxesWithNullAreaCanOverlap ( )

bool boxes_with_null_area_can_overlap = 3;

Returns
The boxesWithNullAreaCanOverlap.

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 218 of file NoOverlap2DConstraintProto.java.

◆ getDefaultInstance()

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

Definition at line 858 of file NoOverlap2DConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 883 of file NoOverlap2DConstraintProto.java.

◆ getDescriptor()

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

Definition at line 131 of file NoOverlap2DConstraintProto.java.

◆ getParserForType()

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

Definition at line 878 of file NoOverlap2DConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 258 of file NoOverlap2DConstraintProto.java.

◆ getUnknownFields()

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

Definition at line 36 of file NoOverlap2DConstraintProto.java.

◆ getXIntervals()

int getXIntervals ( int  index)

repeated int32 x_intervals = 1;

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

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 166 of file NoOverlap2DConstraintProto.java.

◆ getXIntervalsCount()

int getXIntervalsCount ( )

repeated int32 x_intervals = 1;

Returns
The count of xIntervals.

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 158 of file NoOverlap2DConstraintProto.java.

◆ getXIntervalsList()

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

repeated int32 x_intervals = 1;

Returns
A list containing the xIntervals.

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 151 of file NoOverlap2DConstraintProto.java.

◆ getYIntervals()

int getYIntervals ( int  index)
Same size as x_intervals.

repeated int32 y_intervals = 2;

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

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 206 of file NoOverlap2DConstraintProto.java.

◆ getYIntervalsCount()

int getYIntervalsCount ( )
Same size as x_intervals.

repeated int32 y_intervals = 2;

Returns
The count of yIntervals.

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 194 of file NoOverlap2DConstraintProto.java.

◆ getYIntervalsList()

.lang.Override java.util.List<java.lang.Integer> getYIntervalsList ( )
Same size as x_intervals.

repeated int32 y_intervals = 2;

Returns
A list containing the yIntervals.

Implements NoOverlap2DConstraintProtoOrBuilder.

Definition at line 183 of file NoOverlap2DConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 321 of file NoOverlap2DConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 137 of file NoOverlap2DConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 224 of file NoOverlap2DConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 415 of file NoOverlap2DConstraintProto.java.

◆ newBuilder() [2/2]

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

Definition at line 418 of file NoOverlap2DConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 414 of file NoOverlap2DConstraintProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 428 of file NoOverlap2DConstraintProto.java.

◆ newInstance()

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

Definition at line 29 of file NoOverlap2DConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 387 of file NoOverlap2DConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 392 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [1/10]

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

Definition at line 365 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [2/10]

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

Definition at line 369 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [3/10]

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

Definition at line 354 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [4/10]

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

Definition at line 359 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [5/10]

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

Definition at line 399 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 405 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [7/10]

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

Definition at line 375 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [8/10]

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

Definition at line 380 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [9/10]

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

Definition at line 343 of file NoOverlap2DConstraintProto.java.

◆ parseFrom() [10/10]

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

Definition at line 348 of file NoOverlap2DConstraintProto.java.

◆ parser()

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

Definition at line 873 of file NoOverlap2DConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 422 of file NoOverlap2DConstraintProto.java.

◆ writeTo()

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

Definition at line 234 of file NoOverlap2DConstraintProto.java.

Member Data Documentation

◆ BOXES_WITH_NULL_AREA_CAN_OVERLAP_FIELD_NUMBER

final int BOXES_WITH_NULL_AREA_CAN_OVERLAP_FIELD_NUMBER = 3
static

Definition at line 211 of file NoOverlap2DConstraintProto.java.

◆ X_INTERVALS_FIELD_NUMBER

final int X_INTERVALS_FIELD_NUMBER = 1
static

Definition at line 143 of file NoOverlap2DConstraintProto.java.

◆ Y_INTERVALS_FIELD_NUMBER

final int Y_INTERVALS_FIELD_NUMBER = 2
static

Definition at line 171 of file NoOverlap2DConstraintProto.java.


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