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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessage
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.Status getStatus()
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
getStatus
in interface SetCoverSolutionResponseOrBuilder
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 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 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 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 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 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 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
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static SetCoverSolutionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SetCoverSolutionResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static SetCoverSolutionResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SetCoverSolutionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static SetCoverSolutionResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SetCoverSolutionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static SetCoverSolutionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public SetCoverSolutionResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SetCoverSolutionResponse.Builder newBuilder()
public static SetCoverSolutionResponse.Builder newBuilder(SetCoverSolutionResponse prototype)
public SetCoverSolutionResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected SetCoverSolutionResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static SetCoverSolutionResponse getDefaultInstance()
public static com.google.protobuf.Parser<SetCoverSolutionResponse> parser()
public com.google.protobuf.Parser<SetCoverSolutionResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public SetCoverSolutionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2025. All rights reserved.