Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.graph.FlowNodeProto | getDefaultInstanceForType () |
com.google.ortools.graph.FlowNodeProto | build () |
com.google.ortools.graph.FlowNodeProto | 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.FlowNodeProto other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasId () |
long | getId () |
Builder | setId (long value) |
Builder | clearId () |
boolean | hasSupply () |
long | getSupply () |
Builder | setSupply (long value) |
Builder | clearSupply () |
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 () |
Protobuf type operations_research.FlowNodeProto
Definition at line 286 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 391 of file FlowNodeProto.java.
com.google.ortools.graph.FlowNodeProto com.google.ortools.graph.FlowNodeProto.Builder.build | ( | ) |
Definition at line 334 of file FlowNodeProto.java.
com.google.ortools.graph.FlowNodeProto com.google.ortools.graph.FlowNodeProto.Builder.buildPartial | ( | ) |
Definition at line 343 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clear | ( | ) |
Definition at line 314 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 375 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clearId | ( | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
Definition at line 524 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 380 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clearSupply | ( | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Definition at line 584 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.clone | ( | ) |
Definition at line 365 of file FlowNodeProto.java.
com.google.ortools.graph.FlowNodeProto com.google.ortools.graph.FlowNodeProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 329 of file FlowNodeProto.java.
|
static |
Definition at line 291 of file FlowNodeProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.graph.FlowNodeProto.Builder.getDescriptorForType | ( | ) |
Definition at line 324 of file FlowNodeProto.java.
long com.google.ortools.graph.FlowNodeProto.Builder.getId | ( | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 493 of file FlowNodeProto.java.
long com.google.ortools.graph.FlowNodeProto.Builder.getSupply | ( | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 555 of file FlowNodeProto.java.
boolean com.google.ortools.graph.FlowNodeProto.Builder.hasId | ( | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 479 of file FlowNodeProto.java.
boolean com.google.ortools.graph.FlowNodeProto.Builder.hasSupply | ( | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 542 of file FlowNodeProto.java.
|
protected |
Definition at line 297 of file FlowNodeProto.java.
final boolean com.google.ortools.graph.FlowNodeProto.Builder.isInitialized | ( | ) |
Definition at line 420 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.mergeFrom | ( | com.google.ortools.graph.FlowNodeProto | other | ) |
Definition at line 406 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 425 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 397 of file FlowNodeProto.java.
final Builder com.google.ortools.graph.FlowNodeProto.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 597 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 369 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.setId | ( | long | value | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
value | The id to set. |
Definition at line 507 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 385 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.Builder.setSupply | ( | long | value | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
value | The supply to set. |
Definition at line 568 of file FlowNodeProto.java.
final Builder com.google.ortools.graph.FlowNodeProto.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 591 of file FlowNodeProto.java.