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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<SetCoverSolutionResponse.Builder>
public SetCoverSolutionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SetCoverSolutionResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SetCoverSolutionResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SetCoverSolutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SetCoverSolutionResponse.Builder>
java.io.IOException
public boolean hasStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
hasStatus
in interface SetCoverSolutionResponseOrBuilder
public int getStatusValue()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
getStatusValue
in interface SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public int getSubsetCount()
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];
getSubsetCount
in interface SetCoverSolutionResponseOrBuilder
public int getSubset(int index)
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];
getSubset
in interface SetCoverSolutionResponseOrBuilder
index
- 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 SetCoverSolutionResponseOrBuilder
public double getCost()
The cost of the solution, as computed by the algorithm.
optional double cost = 4;
getCost
in interface SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public double getCostLowerBound()
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;
getCostLowerBound
in interface SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public Int128 getFingerprint()
An automatically fingerprint for the solution. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 6;
getFingerprint
in interface SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
public boolean hasModelFingerprint()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;
hasModelFingerprint
in interface SetCoverSolutionResponseOrBuilder
public Int128 getModelFingerprint()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;
getModelFingerprint
in interface SetCoverSolutionResponseOrBuilder
public 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 SetCoverSolutionResponseOrBuilder
Copyright © 2025. All rights reserved.