Google OR-Tools v9.9
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
 
static final com.google.protobuf.Parser< FlowModelProtoPARSER
 

Protected Member Functions

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.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 309 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 229 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 222 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 207 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 236 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 215 of file FlowModelProto.java.

◆ getDefaultInstance()

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

Definition at line 1285 of file FlowModelProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 1321 of file FlowModelProto.java.

◆ getDescriptor()

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

Definition at line 37 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 188 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 181 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 166 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 195 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 174 of file FlowModelProto.java.

◆ getParserForType()

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

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

◆ getSerializedSize()

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

Definition at line 286 of file FlowModelProto.java.

◆ hashCode()

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

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

◆ internalGetFieldAccessorTable()

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

Definition at line 43 of file FlowModelProto.java.

◆ isInitialized()

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

Definition at line 261 of file FlowModelProto.java.

◆ newBuilder() [1/2]

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

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

◆ newBuilderForType() [1/2]

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

Definition at line 427 of file FlowModelProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 441 of file FlowModelProto.java.

◆ newInstance()

java.lang.Object com.google.ortools.graph.FlowModelProto.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 31 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 399 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 405 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 376 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 380 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 365 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 370 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 412 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 418 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 386 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 391 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 354 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 359 of file FlowModelProto.java.

◆ parser()

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

Definition at line 1311 of file FlowModelProto.java.

◆ toBuilder()

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

Definition at line 435 of file FlowModelProto.java.

◆ writeTo()

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

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

◆ NODES_FIELD_NUMBER

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

Definition at line 159 of file FlowModelProto.java.

◆ PARSER

final com.google.protobuf.Parser<FlowModelProto> com.google.ortools.graph.FlowModelProto.PARSER
static
Initial value:
= new com.google.protobuf.AbstractParser<FlowModelProto>() {
@java.lang.Override
public FlowModelProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
}

Definition at line 1290 of file FlowModelProto.java.

◆ PROBLEM_TYPE_FIELD_NUMBER

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

Definition at line 241 of file FlowModelProto.java.


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