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

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.graph.FlowModelProto getDefaultInstanceForType ()
 
com.google.ortools.graph.FlowModelProto build ()
 
com.google.ortools.graph.FlowModelProto buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.graph.FlowModelProto other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
java.util.List< com.google.ortools.graph.FlowNodeProtogetNodesList ()
 
int getNodesCount ()
 
com.google.ortools.graph.FlowNodeProto getNodes (int index)
 
Builder setNodes (int index, com.google.ortools.graph.FlowNodeProto value)
 
Builder setNodes (int index, com.google.ortools.graph.FlowNodeProto.Builder builderForValue)
 
Builder addNodes (com.google.ortools.graph.FlowNodeProto value)
 
Builder addNodes (int index, com.google.ortools.graph.FlowNodeProto value)
 
Builder addNodes (com.google.ortools.graph.FlowNodeProto.Builder builderForValue)
 
Builder addNodes (int index, com.google.ortools.graph.FlowNodeProto.Builder builderForValue)
 
Builder addAllNodes (java.lang.Iterable<? extends com.google.ortools.graph.FlowNodeProto > values)
 
Builder clearNodes ()
 
Builder removeNodes (int index)
 
com.google.ortools.graph.FlowNodeProto.Builder getNodesBuilder (int index)
 
com.google.ortools.graph.FlowNodeProtoOrBuilder getNodesOrBuilder (int index)
 
java.util.List<? extends com.google.ortools.graph.FlowNodeProtoOrBuildergetNodesOrBuilderList ()
 
com.google.ortools.graph.FlowNodeProto.Builder addNodesBuilder ()
 
com.google.ortools.graph.FlowNodeProto.Builder addNodesBuilder (int index)
 
java.util.List< com.google.ortools.graph.FlowNodeProto.BuildergetNodesBuilderList ()
 
java.util.List< com.google.ortools.graph.FlowArcProtogetArcsList ()
 
int getArcsCount ()
 
com.google.ortools.graph.FlowArcProto getArcs (int index)
 
Builder setArcs (int index, com.google.ortools.graph.FlowArcProto value)
 
Builder setArcs (int index, com.google.ortools.graph.FlowArcProto.Builder builderForValue)
 
Builder addArcs (com.google.ortools.graph.FlowArcProto value)
 
Builder addArcs (int index, com.google.ortools.graph.FlowArcProto value)
 
Builder addArcs (com.google.ortools.graph.FlowArcProto.Builder builderForValue)
 
Builder addArcs (int index, com.google.ortools.graph.FlowArcProto.Builder builderForValue)
 
Builder addAllArcs (java.lang.Iterable<? extends com.google.ortools.graph.FlowArcProto > values)
 
Builder clearArcs ()
 
Builder removeArcs (int index)
 
com.google.ortools.graph.FlowArcProto.Builder getArcsBuilder (int index)
 
com.google.ortools.graph.FlowArcProtoOrBuilder getArcsOrBuilder (int index)
 
java.util.List<? extends com.google.ortools.graph.FlowArcProtoOrBuildergetArcsOrBuilderList ()
 
com.google.ortools.graph.FlowArcProto.Builder addArcsBuilder ()
 
com.google.ortools.graph.FlowArcProto.Builder addArcsBuilder (int index)
 
java.util.List< com.google.ortools.graph.FlowArcProto.BuildergetArcsBuilderList ()
 
boolean hasProblemType ()
 
com.google.ortools.graph.FlowModelProto.ProblemType getProblemType ()
 
Builder setProblemType (com.google.ortools.graph.FlowModelProto.ProblemType value)
 
Builder clearProblemType ()
 
- Public Member Functions inherited from com.google.ortools.graph.FlowModelProtoOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 

Detailed Description

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

Protobuf type operations_research.FlowModelProto

Definition at line 464 of file FlowModelProto.java.

Member Function Documentation

◆ addAllArcs()

Builder com.google.ortools.graph.FlowModelProto.Builder.addAllArcs ( java.lang.Iterable<? extends com.google.ortools.graph.FlowArcProto > values)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1098 of file FlowModelProto.java.

◆ addAllNodes()

Builder com.google.ortools.graph.FlowModelProto.Builder.addAllNodes ( java.lang.Iterable<? extends com.google.ortools.graph.FlowNodeProto > values)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 858 of file FlowModelProto.java.

◆ addArcs() [1/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addArcs ( com.google.ortools.graph.FlowArcProto value)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1037 of file FlowModelProto.java.

◆ addArcs() [2/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addArcs ( com.google.ortools.graph.FlowArcProto.Builder builderForValue)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1070 of file FlowModelProto.java.

◆ addArcs() [3/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addArcs ( int index,
com.google.ortools.graph.FlowArcProto value )

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1053 of file FlowModelProto.java.

◆ addArcs() [4/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addArcs ( int index,
com.google.ortools.graph.FlowArcProto.Builder builderForValue )

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1084 of file FlowModelProto.java.

◆ addArcsBuilder() [1/2]

com.google.ortools.graph.FlowArcProto.Builder com.google.ortools.graph.FlowModelProto.Builder.addArcsBuilder ( )

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1167 of file FlowModelProto.java.

◆ addArcsBuilder() [2/2]

com.google.ortools.graph.FlowArcProto.Builder com.google.ortools.graph.FlowModelProto.Builder.addArcsBuilder ( int index)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1174 of file FlowModelProto.java.

◆ addNodes() [1/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addNodes ( com.google.ortools.graph.FlowNodeProto value)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 797 of file FlowModelProto.java.

◆ addNodes() [2/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addNodes ( com.google.ortools.graph.FlowNodeProto.Builder builderForValue)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 830 of file FlowModelProto.java.

◆ addNodes() [3/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addNodes ( int index,
com.google.ortools.graph.FlowNodeProto value )

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 813 of file FlowModelProto.java.

◆ addNodes() [4/4]

Builder com.google.ortools.graph.FlowModelProto.Builder.addNodes ( int index,
com.google.ortools.graph.FlowNodeProto.Builder builderForValue )

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 844 of file FlowModelProto.java.

◆ addNodesBuilder() [1/2]

com.google.ortools.graph.FlowNodeProto.Builder com.google.ortools.graph.FlowModelProto.Builder.addNodesBuilder ( )

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 927 of file FlowModelProto.java.

◆ addNodesBuilder() [2/2]

com.google.ortools.graph.FlowNodeProto.Builder com.google.ortools.graph.FlowModelProto.Builder.addNodesBuilder ( int index)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 934 of file FlowModelProto.java.

◆ build()

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

Definition at line 525 of file FlowModelProto.java.

◆ buildPartial()

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

Definition at line 534 of file FlowModelProto.java.

◆ clear()

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

Definition at line 492 of file FlowModelProto.java.

◆ clearArcs()

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

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1113 of file FlowModelProto.java.

◆ clearNodes()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 873 of file FlowModelProto.java.

◆ clearProblemType()

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

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

Returns
This builder for chaining.

Definition at line 1236 of file FlowModelProto.java.

◆ getArcs()

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

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 996 of file FlowModelProto.java.

◆ getArcsBuilder()

com.google.ortools.graph.FlowArcProto.Builder com.google.ortools.graph.FlowModelProto.Builder.getArcsBuilder ( int index)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1139 of file FlowModelProto.java.

◆ getArcsBuilderList()

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

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1183 of file FlowModelProto.java.

◆ getArcsCount()

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

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 986 of file FlowModelProto.java.

◆ getArcsList()

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

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 976 of file FlowModelProto.java.

◆ getArcsOrBuilder()

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

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 1146 of file FlowModelProto.java.

◆ getArcsOrBuilderList()

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

repeated .operations_research.FlowArcProto arcs = 2;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 1157 of file FlowModelProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 520 of file FlowModelProto.java.

◆ getDescriptor()

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

Definition at line 469 of file FlowModelProto.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.graph.FlowModelProto.Builder.getDescriptorForType ( )

Definition at line 515 of file FlowModelProto.java.

◆ getNodes()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 756 of file FlowModelProto.java.

◆ getNodesBuilder()

com.google.ortools.graph.FlowNodeProto.Builder com.google.ortools.graph.FlowModelProto.Builder.getNodesBuilder ( int index)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 899 of file FlowModelProto.java.

◆ getNodesBuilderList()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 943 of file FlowModelProto.java.

◆ getNodesCount()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 746 of file FlowModelProto.java.

◆ getNodesList()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 736 of file FlowModelProto.java.

◆ getNodesOrBuilder()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 906 of file FlowModelProto.java.

◆ getNodesOrBuilderList()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 917 of file FlowModelProto.java.

◆ getProblemType()

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

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

Returns
The problemType.

Implements com.google.ortools.graph.FlowModelProtoOrBuilder.

Definition at line 1214 of file FlowModelProto.java.

◆ hasProblemType()

boolean com.google.ortools.graph.FlowModelProto.Builder.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 1206 of file FlowModelProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 475 of file FlowModelProto.java.

◆ isInitialized()

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

Definition at line 646 of file FlowModelProto.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.graph.FlowModelProto.Builder.mergeFrom ( com.google.ortools.graph.FlowModelProto other)

Definition at line 583 of file FlowModelProto.java.

◆ mergeFrom() [2/3]

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

Definition at line 651 of file FlowModelProto.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.graph.FlowModelProto.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 574 of file FlowModelProto.java.

◆ removeArcs()

Builder com.google.ortools.graph.FlowModelProto.Builder.removeArcs ( int index)

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1126 of file FlowModelProto.java.

◆ removeNodes()

Builder com.google.ortools.graph.FlowModelProto.Builder.removeNodes ( int index)

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 886 of file FlowModelProto.java.

◆ setArcs() [1/2]

Builder com.google.ortools.graph.FlowModelProto.Builder.setArcs ( int index,
com.google.ortools.graph.FlowArcProto value )

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1006 of file FlowModelProto.java.

◆ setArcs() [2/2]

Builder com.google.ortools.graph.FlowModelProto.Builder.setArcs ( int index,
com.google.ortools.graph.FlowArcProto.Builder builderForValue )

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1023 of file FlowModelProto.java.

◆ setNodes() [1/2]

Builder com.google.ortools.graph.FlowModelProto.Builder.setNodes ( int index,
com.google.ortools.graph.FlowNodeProto value )

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 766 of file FlowModelProto.java.

◆ setNodes() [2/2]

Builder com.google.ortools.graph.FlowModelProto.Builder.setNodes ( int index,
com.google.ortools.graph.FlowNodeProto.Builder builderForValue )

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 783 of file FlowModelProto.java.

◆ setProblemType()

Builder com.google.ortools.graph.FlowModelProto.Builder.setProblemType ( com.google.ortools.graph.FlowModelProto.ProblemType value)

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

Parameters
valueThe problemType to set.
Returns
This builder for chaining.

Definition at line 1223 of file FlowModelProto.java.


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