public static final class SetCoverSolutionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder> implements SetCoverSolutionResponseOrBuilder
operations_research.SetCoverSolutionResponse| Modifier and Type | Method and Description |
|---|---|
SetCoverSolutionResponse.Builder |
addAllSubset(java.lang.Iterable<? extends java.lang.Integer> values)
The list of the subsets selected in the solution.
|
SetCoverSolutionResponse.Builder |
addSubset(int value)
The list of the subsets selected in the solution.
|
SetCoverSolutionResponse |
build() |
SetCoverSolutionResponse |
buildPartial() |
SetCoverSolutionResponse.Builder |
clear() |
SetCoverSolutionResponse.Builder |
clearCost()
The cost of the solution, as computed by the algorithm.
|
SetCoverSolutionResponse.Builder |
clearCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
|
SetCoverSolutionResponse.Builder |
clearFingerprint()
An automatically fingerprint for the solution.
|
SetCoverSolutionResponse.Builder |
clearModelFingerprint()
A reference to the model the solution applies to.
|
SetCoverSolutionResponse.Builder |
clearNumSubsets()
The number of subsets that are selected in the solution.
|
SetCoverSolutionResponse.Builder |
clearStatus()
For future use.
|
SetCoverSolutionResponse.Builder |
clearSubset()
The list of the subsets selected in the solution.
|
double |
getCost()
The cost of the solution, as computed by the algorithm.
|
double |
getCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
|
SetCoverSolutionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Int128 |
getFingerprint()
An automatically fingerprint for the solution.
|
Int128.Builder |
getFingerprintBuilder()
An automatically fingerprint for the solution.
|
Int128OrBuilder |
getFingerprintOrBuilder()
An automatically fingerprint for the solution.
|
Int128 |
getModelFingerprint()
A reference to the model the solution applies to.
|
Int128.Builder |
getModelFingerprintBuilder()
A reference to the model the solution applies to.
|
Int128OrBuilder |
getModelFingerprintOrBuilder()
A reference to the model the solution applies to.
|
int |
getNumSubsets()
The number of subsets that are selected in the solution.
|
SetCoverSolutionResponse.Status |
getStatus()
For future use.
|
int |
getStatusValue()
For future use.
|
int |
getSubset(int index)
The list of the subsets selected in the solution.
|
int |
getSubsetCount()
The list of the subsets selected in the solution.
|
java.util.List<java.lang.Integer> |
getSubsetList()
The list of the subsets selected in the solution.
|
boolean |
hasCost()
The cost of the solution, as computed by the algorithm.
|
boolean |
hasCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
|
boolean |
hasFingerprint()
An automatically fingerprint for the solution.
|
boolean |
hasModelFingerprint()
A reference to the model the solution applies to.
|
boolean |
hasNumSubsets()
The number of subsets that are selected in the solution.
|
boolean |
hasStatus()
For future use.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SetCoverSolutionResponse.Builder |
mergeFingerprint(Int128 value)
An automatically fingerprint for the solution.
|
SetCoverSolutionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SetCoverSolutionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
SetCoverSolutionResponse.Builder |
mergeFrom(SetCoverSolutionResponse other) |
SetCoverSolutionResponse.Builder |
mergeModelFingerprint(Int128 value)
A reference to the model the solution applies to.
|
SetCoverSolutionResponse.Builder |
setCost(double value)
The cost of the solution, as computed by the algorithm.
|
SetCoverSolutionResponse.Builder |
setCostLowerBound(double value)
A lower bound of the solution, as computed by the algorithm.
|
SetCoverSolutionResponse.Builder |
setFingerprint(Int128.Builder builderForValue)
An automatically fingerprint for the solution.
|
SetCoverSolutionResponse.Builder |
setFingerprint(Int128 value)
An automatically fingerprint for the solution.
|
SetCoverSolutionResponse.Builder |
setModelFingerprint(Int128.Builder builderForValue)
A reference to the model the solution applies to.
|
SetCoverSolutionResponse.Builder |
setModelFingerprint(Int128 value)
A reference to the model the solution applies to.
|
SetCoverSolutionResponse.Builder |
setNumSubsets(int value)
The number of subsets that are selected in the solution.
|
SetCoverSolutionResponse.Builder |
setStatus(SetCoverSolutionResponse.Status value)
For future use.
|
SetCoverSolutionResponse.Builder |
setStatusValue(int value)
For future use.
|
SetCoverSolutionResponse.Builder |
setSubset(int index,
int value)
The list of the subsets selected in the solution.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>public SetCoverSolutionResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>public SetCoverSolutionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SetCoverSolutionResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SetCoverSolutionResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SetCoverSolutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetCoverSolutionResponse.Builder>public SetCoverSolutionResponse.Builder mergeFrom(SetCoverSolutionResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>public SetCoverSolutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetCoverSolutionResponse.Builder>java.io.IOExceptionpublic boolean hasStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;hasStatus in interface SetCoverSolutionResponseOrBuilderpublic int getStatusValue()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;getStatusValue in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setStatusValue(int value)
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;value - The enum numeric value on the wire for status to set.public SetCoverSolutionResponse.Status getStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;getStatus in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setStatus(SetCoverSolutionResponse.Status value)
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;value - The status to set.public SetCoverSolutionResponse.Builder clearStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;public boolean hasNumSubsets()
The number of subsets that are selected in the solution. This is used to decompress their indices below.
optional int32 num_subsets = 2;hasNumSubsets in interface SetCoverSolutionResponseOrBuilderpublic int getNumSubsets()
The number of subsets that are selected in the solution. This is used to decompress their indices below.
optional int32 num_subsets = 2;getNumSubsets in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setNumSubsets(int value)
The number of subsets that are selected in the solution. This is used to decompress their indices below.
optional int32 num_subsets = 2;value - The numSubsets to set.public SetCoverSolutionResponse.Builder clearNumSubsets()
The number of subsets that are selected in the solution. This is used to decompress their indices below.
optional int32 num_subsets = 2;public java.util.List<java.lang.Integer> getSubsetList()
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];getSubsetList in interface SetCoverSolutionResponseOrBuilderpublic int getSubsetCount()
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];getSubsetCount in interface SetCoverSolutionResponseOrBuilderpublic int getSubset(int index)
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];getSubset in interface SetCoverSolutionResponseOrBuilderindex - The index of the element to return.public SetCoverSolutionResponse.Builder setSubset(int index, int value)
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];index - The index to set the value at.value - The subset to set.public SetCoverSolutionResponse.Builder addSubset(int value)
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];value - The subset to add.public SetCoverSolutionResponse.Builder addAllSubset(java.lang.Iterable<? extends java.lang.Integer> values)
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];values - The subset to add.public SetCoverSolutionResponse.Builder clearSubset()
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];public boolean hasCost()
The cost of the solution, as computed by the algorithm.
optional double cost = 4;hasCost in interface SetCoverSolutionResponseOrBuilderpublic double getCost()
The cost of the solution, as computed by the algorithm.
optional double cost = 4;getCost in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setCost(double value)
The cost of the solution, as computed by the algorithm.
optional double cost = 4;value - The cost to set.public SetCoverSolutionResponse.Builder clearCost()
The cost of the solution, as computed by the algorithm.
optional double cost = 4;public boolean hasCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;hasCostLowerBound in interface SetCoverSolutionResponseOrBuilderpublic double getCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;getCostLowerBound in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setCostLowerBound(double value)
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;value - The costLowerBound to set.public SetCoverSolutionResponse.Builder clearCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;public boolean hasFingerprint()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;hasFingerprint in interface SetCoverSolutionResponseOrBuilderpublic Int128 getFingerprint()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;getFingerprint in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setFingerprint(Int128 value)
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;public SetCoverSolutionResponse.Builder setFingerprint(Int128.Builder builderForValue)
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;public SetCoverSolutionResponse.Builder mergeFingerprint(Int128 value)
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;public SetCoverSolutionResponse.Builder clearFingerprint()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;public Int128.Builder getFingerprintBuilder()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;public Int128OrBuilder getFingerprintOrBuilder()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;getFingerprintOrBuilder in interface SetCoverSolutionResponseOrBuilderpublic boolean hasModelFingerprint()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;hasModelFingerprint in interface SetCoverSolutionResponseOrBuilderpublic Int128 getModelFingerprint()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;getModelFingerprint in interface SetCoverSolutionResponseOrBuilderpublic SetCoverSolutionResponse.Builder setModelFingerprint(Int128 value)
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;public SetCoverSolutionResponse.Builder setModelFingerprint(Int128.Builder builderForValue)
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;public SetCoverSolutionResponse.Builder mergeModelFingerprint(Int128 value)
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;public SetCoverSolutionResponse.Builder clearModelFingerprint()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;public Int128.Builder getModelFingerprintBuilder()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;public Int128OrBuilder getModelFingerprintOrBuilder()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;getModelFingerprintOrBuilder in interface SetCoverSolutionResponseOrBuilderCopyright © 2024. All rights reserved.