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.algorithms.SetCoverProto.Subset | getDefaultInstanceForType () |
com.google.ortools.algorithms.SetCoverProto.Subset | build () |
com.google.ortools.algorithms.SetCoverProto.Subset | 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.algorithms.SetCoverProto.Subset other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasCost () |
double | getCost () |
Builder | setCost (double value) |
Builder | clearCost () |
java.util.List< java.lang.Integer > | getElementList () |
int | getElementCount () |
int | getElement (int index) |
Builder | setElement (int index, int value) |
Builder | addElement (int value) |
Builder | addAllElement (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearElement () |
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.SetCoverProto.Subset
Definition at line 397 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.addAllElement | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
values | The element to add. |
Definition at line 741 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.addElement | ( | int | value | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
value | The element to add. |
Definition at line 724 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 502 of file SetCoverProto.java.
com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.Subset.Builder.build | ( | ) |
Definition at line 445 of file SetCoverProto.java.
com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.Subset.Builder.buildPartial | ( | ) |
Definition at line 454 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clear | ( | ) |
Definition at line 425 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clearCost | ( | ) |
The cost for using the given subset.
optional double cost = 1;
Definition at line 646 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clearElement | ( | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
Definition at line 758 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 486 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 491 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.clone | ( | ) |
Definition at line 476 of file SetCoverProto.java.
double com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getCost | ( | ) |
The cost for using the given subset.
optional double cost = 1;
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 619 of file SetCoverProto.java.
com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 440 of file SetCoverProto.java.
|
static |
Definition at line 402 of file SetCoverProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getDescriptorForType | ( | ) |
Definition at line 435 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getElement | ( | int | index | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
index | The index of the element to return. |
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 693 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getElementCount | ( | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 681 of file SetCoverProto.java.
java.util.List< java.lang.Integer > com.google.ortools.algorithms.SetCoverProto.Subset.Builder.getElementList | ( | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 669 of file SetCoverProto.java.
boolean com.google.ortools.algorithms.SetCoverProto.Subset.Builder.hasCost | ( | ) |
The cost for using the given subset.
optional double cost = 1;
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 607 of file SetCoverProto.java.
|
protected |
Definition at line 408 of file SetCoverProto.java.
final boolean com.google.ortools.algorithms.SetCoverProto.Subset.Builder.isInitialized | ( | ) |
Definition at line 539 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.mergeFrom | ( | com.google.ortools.algorithms.SetCoverProto.Subset | other | ) |
Definition at line 517 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 544 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 508 of file SetCoverProto.java.
final Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 771 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.setCost | ( | double | value | ) |
The cost for using the given subset.
optional double cost = 1;
value | The cost to set. |
Definition at line 631 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.setElement | ( | int | index, |
int | value ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
index | The index to set the value at. |
value | The element to set. |
Definition at line 706 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 480 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 496 of file SetCoverProto.java.
final Builder com.google.ortools.algorithms.SetCoverProto.Subset.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 765 of file SetCoverProto.java.