Google OR-Tools v9.9
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 clone ()
 
Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
 
Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
 
Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
 
Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
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 ()
 
final Builder setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 
final Builder mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

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

Protobuf type operations_research.FlowModelProto

Definition at line 453 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 1119 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 879 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 1058 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 1091 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 1074 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 1105 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 1188 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 1195 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 818 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 851 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 834 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 865 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 948 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 955 of file FlowModelProto.java.

◆ addRepeatedField()

Builder com.google.ortools.graph.FlowModelProto.Builder.addRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value )

Definition at line 589 of file FlowModelProto.java.

◆ build()

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

Definition at line 514 of file FlowModelProto.java.

◆ buildPartial()

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

Definition at line 523 of file FlowModelProto.java.

◆ clear()

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

Definition at line 481 of file FlowModelProto.java.

◆ clearArcs()

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

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1134 of file FlowModelProto.java.

◆ clearField()

Builder com.google.ortools.graph.FlowModelProto.Builder.clearField ( com.google.protobuf.Descriptors.FieldDescriptor field)

Definition at line 573 of file FlowModelProto.java.

◆ clearNodes()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 894 of file FlowModelProto.java.

◆ clearOneof()

Builder com.google.ortools.graph.FlowModelProto.Builder.clearOneof ( com.google.protobuf.Descriptors.OneofDescriptor oneof)

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

◆ clone()

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

Definition at line 563 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 1017 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 1160 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 1204 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 1007 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 997 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 1167 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 1178 of file FlowModelProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 509 of file FlowModelProto.java.

◆ getDescriptor()

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

Definition at line 458 of file FlowModelProto.java.

◆ getDescriptorForType()

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

Definition at line 504 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 777 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 920 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 964 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 767 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 757 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 927 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 938 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 1235 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 1227 of file FlowModelProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 464 of file FlowModelProto.java.

◆ isInitialized()

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

Definition at line 667 of file FlowModelProto.java.

◆ mergeFrom() [1/3]

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

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

◆ mergeFrom() [3/3]

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

Definition at line 595 of file FlowModelProto.java.

◆ mergeUnknownFields()

final Builder com.google.ortools.graph.FlowModelProto.Builder.mergeUnknownFields ( final com.google.protobuf.UnknownFieldSet unknownFields)

Definition at line 1270 of file FlowModelProto.java.

◆ removeArcs()

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

repeated .operations_research.FlowArcProto arcs = 2;

Definition at line 1147 of file FlowModelProto.java.

◆ removeNodes()

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

repeated .operations_research.FlowNodeProto nodes = 1;

Definition at line 907 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 1027 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 1044 of file FlowModelProto.java.

◆ setField()

Builder com.google.ortools.graph.FlowModelProto.Builder.setField ( com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value )

Definition at line 567 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 787 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 804 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 1244 of file FlowModelProto.java.

◆ setRepeatedField()

Builder com.google.ortools.graph.FlowModelProto.Builder.setRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value )

Definition at line 583 of file FlowModelProto.java.

◆ setUnknownFields()

final Builder com.google.ortools.graph.FlowModelProto.Builder.setUnknownFields ( final com.google.protobuf.UnknownFieldSet unknownFields)

Definition at line 1264 of file FlowModelProto.java.


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