Java Reference

Java Reference

ReservoirConstraintProtoOrBuilder

Detailed Description

Definition at line 6 of file ReservoirConstraintProtoOrBuilder.java.

Public Member Functions

long getMinLevel ()
 int64 min_level = 1; More...
 
long getMaxLevel ()
 int64 max_level = 2; More...
 
java.util.List< java.lang.Integer > getTimesList ()
 
int getTimesCount ()
 
int getTimes (int index)
 
java.util.List< java.lang.Long > getDemandsList ()
 
int getDemandsCount ()
 
long getDemands (int index)
 
java.util.List< java.lang.Integer > getActivesList ()
 
int getActivesCount ()
 
int getActives (int index)
 

Member Function Documentation

◆ getActives()

int getActives ( int  index)
literals.

repeated int32 actives = 5;

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

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getActivesCount()

int getActivesCount ( )
literals.

repeated int32 actives = 5;

Returns
The count of actives.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getActivesList()

java.util.List<java.lang.Integer> getActivesList ( )
literals.

repeated int32 actives = 5;

Returns
A list containing the actives.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getDemands()

long getDemands ( int  index)
constants, can be negative.

repeated int64 demands = 4;

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

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getDemandsCount()

int getDemandsCount ( )
constants, can be negative.

repeated int64 demands = 4;

Returns
The count of demands.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getDemandsList()

java.util.List<java.lang.Long> getDemandsList ( )
constants, can be negative.

repeated int64 demands = 4;

Returns
A list containing the demands.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getMaxLevel()

long getMaxLevel ( )

int64 max_level = 2;

Returns
The maxLevel.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getMinLevel()

long getMinLevel ( )

int64 min_level = 1;

Returns
The minLevel.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getTimes()

int getTimes ( int  index)
variables.

repeated int32 times = 3;

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

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getTimesCount()

int getTimesCount ( )
variables.

repeated int32 times = 3;

Returns
The count of times.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.

◆ getTimesList()

java.util.List<java.lang.Integer> getTimesList ( )
variables.

repeated int32 times = 3;

Returns
A list containing the times.

Implemented in ReservoirConstraintProto.Builder, and ReservoirConstraintProto.


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