Java Reference

Java Reference

LinearExpressionProtoOrBuilder.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/sat/cp_model.proto
3
4package com.google.ortools.sat;
5
6public interface LinearExpressionProtoOrBuilder extends
7 // @@protoc_insertion_point(interface_extends:operations_research.sat.LinearExpressionProto)
8 com.google.protobuf.MessageOrBuilder {
9
14 java.util.List<java.lang.Integer> getVarsList();
25 int getVars(int index);
26
31 java.util.List<java.lang.Long> getCoeffsList();
42 long getCoeffs(int index);
43
48 long getOffset();
49}
java.util.List< java.lang.Long > getCoeffsList()
repeated int64 coeffs = 2;
int getCoeffsCount()
repeated int64 coeffs = 2;
int getVars(int index)
repeated int32 vars = 1;
java.util.List< java.lang.Integer > getVarsList()
repeated int32 vars = 1;
long getCoeffs(int index)
repeated int64 coeffs = 2;