Google OR-Tools v9.14
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 ()

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 16 of file FlowModelProto.java.

Member Function Documentation

◆ equals()

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

Definition at line 322 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 242 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 235 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 220 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 249 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 228 of file FlowModelProto.java.

◆ getDefaultInstance()

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()

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

Definition at line 41 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 201 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 194 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 179 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 208 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 187 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 267 of file FlowModelProto.java.

◆ getSerializedSize()

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

Definition at line 299 of file FlowModelProto.java.

◆ hashCode()

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

Definition at line 344 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 260 of file FlowModelProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 47 of file FlowModelProto.java.

◆ isInitialized()

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

Definition at line 274 of file FlowModelProto.java.

◆ newBuilder() [1/2]

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

Definition at line 441 of file FlowModelProto.java.

◆ newBuilder() [2/2]

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

Definition at line 444 of file FlowModelProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 440 of file FlowModelProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 454 of file FlowModelProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 412 of file FlowModelProto.java.

◆ parseDelimitedFrom() [2/2]

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 418 of file FlowModelProto.java.

◆ parseFrom() [1/10]

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

Definition at line 389 of file FlowModelProto.java.

◆ parseFrom() [2/10]

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 393 of file FlowModelProto.java.

◆ parseFrom() [3/10]

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 378 of file FlowModelProto.java.

◆ parseFrom() [4/10]

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 383 of file FlowModelProto.java.

◆ parseFrom() [5/10]

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

Definition at line 425 of file FlowModelProto.java.

◆ parseFrom() [6/10]

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 431 of file FlowModelProto.java.

◆ parseFrom() [7/10]

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

Definition at line 399 of file FlowModelProto.java.

◆ parseFrom() [8/10]

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 404 of file FlowModelProto.java.

◆ parseFrom() [9/10]

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

Definition at line 367 of file FlowModelProto.java.

◆ parseFrom() [10/10]

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 372 of file FlowModelProto.java.

◆ parser()

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 448 of file FlowModelProto.java.

◆ writeTo()

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

Definition at line 284 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 213 of file FlowModelProto.java.

◆ NODES_FIELD_NUMBER

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

Definition at line 172 of file FlowModelProto.java.

◆ PROBLEM_TYPE_FIELD_NUMBER

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

Definition at line 254 of file FlowModelProto.java.


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