public final class SetCoverSolutionResponse extends com.google.protobuf.GeneratedMessage implements SetCoverSolutionResponseOrBuilder
operations_research.SetCoverSolutionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
SetCoverSolutionResponse.Builder
Protobuf type
operations_research.SetCoverSolutionResponse |
static class |
SetCoverSolutionResponse.Status
Result of the optimization.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COST_FIELD_NUMBER |
static int |
COST_LOWER_BOUND_FIELD_NUMBER |
static int |
FINGERPRINT_FIELD_NUMBER |
static int |
MODEL_FINGERPRINT_FIELD_NUMBER |
static int |
NUM_SUBSETS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
SUBSET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
static SetCoverSolutionResponse |
getDefaultInstance() |
SetCoverSolutionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Int128 |
getFingerprint()
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.
|
Int128OrBuilder |
getModelFingerprintOrBuilder()
A reference to the model the solution applies to.
|
int |
getNumSubsets()
The number of subsets that are selected in the solution.
|
com.google.protobuf.Parser<SetCoverSolutionResponse> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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() |
static SetCoverSolutionResponse.Builder |
newBuilder() |
static SetCoverSolutionResponse.Builder |
newBuilder(SetCoverSolutionResponse prototype) |
SetCoverSolutionResponse.Builder |
newBuilderForType() |
protected SetCoverSolutionResponse.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static SetCoverSolutionResponse |
parseDelimitedFrom(java.io.InputStream input) |
static SetCoverSolutionResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetCoverSolutionResponse |
parseFrom(byte[] data) |
static SetCoverSolutionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetCoverSolutionResponse |
parseFrom(java.nio.ByteBuffer data) |
static SetCoverSolutionResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetCoverSolutionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static SetCoverSolutionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetCoverSolutionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SetCoverSolutionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetCoverSolutionResponse |
parseFrom(java.io.InputStream input) |
static SetCoverSolutionResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SetCoverSolutionResponse> |
parser() |
SetCoverSolutionResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATUS_FIELD_NUMBER
public static final int NUM_SUBSETS_FIELD_NUMBER
public static final int SUBSET_FIELD_NUMBER
public static final int COST_FIELD_NUMBER
public static final int COST_LOWER_BOUND_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
public static final int MODEL_FINGERPRINT_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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.Status getStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;getStatus in interface SetCoverSolutionResponseOrBuilderpublic 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 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 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 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 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 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 Int128OrBuilder getModelFingerprintOrBuilder()
A reference to the model the solution applies to. TODO(user): Implement.
optional .operations_research.Int128 model_fingerprint = 7;getModelFingerprintOrBuilder in interface SetCoverSolutionResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SetCoverSolutionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetCoverSolutionResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SetCoverSolutionResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SetCoverSolutionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SetCoverSolutionResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SetCoverSolutionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SetCoverSolutionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic SetCoverSolutionResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SetCoverSolutionResponse.Builder newBuilder()
public static SetCoverSolutionResponse.Builder newBuilder(SetCoverSolutionResponse prototype)
public SetCoverSolutionResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SetCoverSolutionResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static SetCoverSolutionResponse getDefaultInstance()
public static com.google.protobuf.Parser<SetCoverSolutionResponse> parser()
public com.google.protobuf.Parser<SetCoverSolutionResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic SetCoverSolutionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.