Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.graph.FlowModelProto Class Reference
Inheritance diagram for com.google.ortools.graph.FlowModelProto:
com.google.ortools.graph.FlowModelProtoOrBuilder

Classes

class  Builder
 
enum  ProblemType
 

Public Member Functions

java.util.List< com.google.ortools.graph.FlowNodeProtogetNodesList ()
 
java.util.List<? extends com.google.ortools.graph.FlowNodeProtoOrBuildergetNodesOrBuilderList ()
 
int getNodesCount ()
 
com.google.ortools.graph.FlowNodeProto getNodes (int index)
 
com.google.ortools.graph.FlowNodeProtoOrBuilder getNodesOrBuilder (int index)
 
java.util.List< com.google.ortools.graph.FlowArcProtogetArcsList ()
 
java.util.List<? extends com.google.ortools.graph.FlowArcProtoOrBuildergetArcsOrBuilderList ()
 
int getArcsCount ()
 
com.google.ortools.graph.FlowArcProto getArcs (int index)
 
com.google.ortools.graph.FlowArcProtoOrBuilder getArcsOrBuilder (int index)
 
boolean hasProblemType ()
 
com.google.ortools.graph.FlowModelProto.ProblemType getProblemType ()
 
final boolean isInitialized ()
 
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
int getSerializedSize ()
 
boolean equals (final java.lang.Object obj)
 
int hashCode ()
 
Builder newBuilderForType ()
 
Builder toBuilder ()
 
com.google.protobuf.Parser< FlowModelProtogetParserForType ()
 
com.google.ortools.graph.FlowModelProto getDefaultInstanceForType ()
 
- Public Member Functions inherited from com.google.ortools.graph.FlowModelProtoOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.graph.FlowModelProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.graph.FlowModelProto parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.graph.FlowModelProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.graph.FlowModelProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.graph.FlowModelProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.graph.FlowModelProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.graph.FlowModelProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.graph.FlowModelProto prototype)
 
static com.google.ortools.graph.FlowModelProto getDefaultInstance ()
 
static com.google.protobuf.Parser< FlowModelProtoparser ()
 

Static Public Attributes

static final int NODES_FIELD_NUMBER = 1
 
static final int ARCS_FIELD_NUMBER = 2
 
static final int PROBLEM_TYPE_FIELD_NUMBER = 3
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

Holds a flow problem, see NodeProto and ArcProto for more details.

Protobuf type operations_research.FlowModelProto

Definition at line 14 of file FlowModelProto.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.graph.FlowModelProto.equals ( final java.lang.Object obj)

Definition at line 320 of file FlowModelProto.java.

◆ getArcs()

com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowModelProto.getArcs ( int index)

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 240 of file FlowModelProto.java.

◆ getArcsCount()

int com.google.ortools.graph.FlowModelProto.getArcsCount ( )

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 233 of file FlowModelProto.java.

◆ getArcsList()

java.util.List< com.google.ortools.graph.FlowArcProto > com.google.ortools.graph.FlowModelProto.getArcsList ( )

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 218 of file FlowModelProto.java.

◆ getArcsOrBuilder()

com.google.ortools.graph.FlowArcProtoOrBuilder com.google.ortools.graph.FlowModelProto.getArcsOrBuilder ( int index)

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 247 of file FlowModelProto.java.

◆ getArcsOrBuilderList()

java.util.List<? extends com.google.ortools.graph.FlowArcProtoOrBuilder > com.google.ortools.graph.FlowModelProto.getArcsOrBuilderList ( )

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 226 of file FlowModelProto.java.

◆ getDefaultInstance()

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.getDefaultInstance ( )
static

Definition at line 1252 of file FlowModelProto.java.

◆ getDefaultInstanceForType()

com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.getDefaultInstanceForType ( )

Definition at line 1288 of file FlowModelProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.graph.FlowModelProto.getDescriptor ( )
static

Definition at line 39 of file FlowModelProto.java.

◆ getNodes()

com.google.ortools.graph.FlowNodeProto com.google.ortools.graph.FlowModelProto.getNodes ( int index)

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 199 of file FlowModelProto.java.

◆ getNodesCount()

int com.google.ortools.graph.FlowModelProto.getNodesCount ( )

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 192 of file FlowModelProto.java.

◆ getNodesList()

java.util.List< com.google.ortools.graph.FlowNodeProto > com.google.ortools.graph.FlowModelProto.getNodesList ( )

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 177 of file FlowModelProto.java.

◆ getNodesOrBuilder()

com.google.ortools.graph.FlowNodeProtoOrBuilder com.google.ortools.graph.FlowModelProto.getNodesOrBuilder ( int index)

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 206 of file FlowModelProto.java.

◆ getNodesOrBuilderList()

java.util.List<? extends com.google.ortools.graph.FlowNodeProtoOrBuilder > com.google.ortools.graph.FlowModelProto.getNodesOrBuilderList ( )

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 185 of file FlowModelProto.java.

◆ getParserForType()

com.google.protobuf.Parser< FlowModelProto > com.google.ortools.graph.FlowModelProto.getParserForType ( )

Definition at line 1283 of file FlowModelProto.java.

◆ getProblemType()

com.google.ortools.graph.FlowModelProto.ProblemType com.google.ortools.graph.FlowModelProto.getProblemType ( )

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

Returns
The problemType.

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 265 of file FlowModelProto.java.

◆ getSerializedSize()

int com.google.ortools.graph.FlowModelProto.getSerializedSize ( )

Definition at line 297 of file FlowModelProto.java.

◆ hashCode()

int com.google.ortools.graph.FlowModelProto.hashCode ( )

Definition at line 342 of file FlowModelProto.java.

◆ hasProblemType()

boolean com.google.ortools.graph.FlowModelProto.hasProblemType ( )

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

Returns
Whether the problemType field is set.

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 258 of file FlowModelProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.graph.FlowModelProto.internalGetFieldAccessorTable ( )
protected

Definition at line 45 of file FlowModelProto.java.

◆ isInitialized()

final boolean com.google.ortools.graph.FlowModelProto.isInitialized ( )

Definition at line 272 of file FlowModelProto.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.graph.FlowModelProto.newBuilder ( )
static

Definition at line 439 of file FlowModelProto.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.graph.FlowModelProto.newBuilder ( com.google.ortools.graph.FlowModelProto prototype)
static

Definition at line 442 of file FlowModelProto.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.graph.FlowModelProto.newBuilderForType ( )

Definition at line 438 of file FlowModelProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.graph.FlowModelProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 452 of file FlowModelProto.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 410 of file FlowModelProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 416 of file FlowModelProto.java.

◆ parseFrom() [1/10]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 387 of file FlowModelProto.java.

◆ parseFrom() [2/10]

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

Definition at line 391 of file FlowModelProto.java.

◆ parseFrom() [3/10]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 376 of file FlowModelProto.java.

◆ parseFrom() [4/10]

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

Definition at line 381 of file FlowModelProto.java.

◆ parseFrom() [5/10]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 423 of file FlowModelProto.java.

◆ parseFrom() [6/10]

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

Definition at line 429 of file FlowModelProto.java.

◆ parseFrom() [7/10]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 397 of file FlowModelProto.java.

◆ parseFrom() [8/10]

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

Definition at line 402 of file FlowModelProto.java.

◆ parseFrom() [9/10]

static com.google.ortools.graph.FlowModelProto com.google.ortools.graph.FlowModelProto.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 365 of file FlowModelProto.java.

◆ parseFrom() [10/10]

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

Definition at line 370 of file FlowModelProto.java.

◆ parser()

static com.google.protobuf.Parser< FlowModelProto > com.google.ortools.graph.FlowModelProto.parser ( )
static

Definition at line 1278 of file FlowModelProto.java.

◆ toBuilder()

Builder com.google.ortools.graph.FlowModelProto.toBuilder ( )

Definition at line 446 of file FlowModelProto.java.

◆ writeTo()

void com.google.ortools.graph.FlowModelProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 282 of file FlowModelProto.java.

Member Data Documentation

◆ ARCS_FIELD_NUMBER

final int com.google.ortools.graph.FlowModelProto.ARCS_FIELD_NUMBER = 2
static

Definition at line 211 of file FlowModelProto.java.

◆ NODES_FIELD_NUMBER

final int com.google.ortools.graph.FlowModelProto.NODES_FIELD_NUMBER = 1
static

Definition at line 170 of file FlowModelProto.java.

◆ PROBLEM_TYPE_FIELD_NUMBER

final int com.google.ortools.graph.FlowModelProto.PROBLEM_TYPE_FIELD_NUMBER = 3
static

Definition at line 252 of file FlowModelProto.java.


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