public static final class SetCoverProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<SetCoverProto.Builder> implements SetCoverProtoOrBuilder
TODO(user): use uint64 instead of int32 for indices, as the solver supports it.Protobuf type
operations_research.SetCoverProto
Modifier and Type | Method and Description |
---|---|
SetCoverProto.Builder |
addAllSubset(java.lang.Iterable<? extends SetCoverProto.Subset> values)
The list of subsets in the model.
|
SetCoverProto.Builder |
addSubset(int index,
SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
|
SetCoverProto.Builder |
addSubset(int index,
SetCoverProto.Subset value)
The list of subsets in the model.
|
SetCoverProto.Builder |
addSubset(SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
|
SetCoverProto.Builder |
addSubset(SetCoverProto.Subset value)
The list of subsets in the model.
|
SetCoverProto.Subset.Builder |
addSubsetBuilder()
The list of subsets in the model.
|
SetCoverProto.Subset.Builder |
addSubsetBuilder(int index)
The list of subsets in the model.
|
SetCoverProto |
build() |
SetCoverProto |
buildPartial() |
SetCoverProto.Builder |
clear() |
SetCoverProto.Builder |
clearFingerprint()
An automatically fingerprint for the model.
|
SetCoverProto.Builder |
clearName()
A user-defined name for the model.
|
SetCoverProto.Builder |
clearSubset()
The list of subsets in the model.
|
SetCoverProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Int128 |
getFingerprint()
An automatically fingerprint for the model.
|
Int128.Builder |
getFingerprintBuilder()
An automatically fingerprint for the model.
|
Int128OrBuilder |
getFingerprintOrBuilder()
An automatically fingerprint for the model.
|
java.lang.String |
getName()
A user-defined name for the model.
|
com.google.protobuf.ByteString |
getNameBytes()
A user-defined name for the model.
|
SetCoverProto.Subset |
getSubset(int index)
The list of subsets in the model.
|
SetCoverProto.Subset.Builder |
getSubsetBuilder(int index)
The list of subsets in the model.
|
java.util.List<SetCoverProto.Subset.Builder> |
getSubsetBuilderList()
The list of subsets in the model.
|
int |
getSubsetCount()
The list of subsets in the model.
|
java.util.List<SetCoverProto.Subset> |
getSubsetList()
The list of subsets in the model.
|
SetCoverProto.SubsetOrBuilder |
getSubsetOrBuilder(int index)
The list of subsets in the model.
|
java.util.List<? extends SetCoverProto.SubsetOrBuilder> |
getSubsetOrBuilderList()
The list of subsets in the model.
|
boolean |
hasFingerprint()
An automatically fingerprint for the model.
|
boolean |
hasName()
A user-defined name for the model.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SetCoverProto.Builder |
mergeFingerprint(Int128 value)
An automatically fingerprint for the model.
|
SetCoverProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SetCoverProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
SetCoverProto.Builder |
mergeFrom(SetCoverProto other) |
SetCoverProto.Builder |
removeSubset(int index)
The list of subsets in the model.
|
SetCoverProto.Builder |
setFingerprint(Int128.Builder builderForValue)
An automatically fingerprint for the model.
|
SetCoverProto.Builder |
setFingerprint(Int128 value)
An automatically fingerprint for the model.
|
SetCoverProto.Builder |
setName(java.lang.String value)
A user-defined name for the model.
|
SetCoverProto.Builder |
setNameBytes(com.google.protobuf.ByteString value)
A user-defined name for the model.
|
SetCoverProto.Builder |
setSubset(int index,
SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
|
SetCoverProto.Builder |
setSubset(int index,
SetCoverProto.Subset value)
The list of subsets in the model.
|
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<SetCoverProto.Builder>
public SetCoverProto.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<SetCoverProto.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<SetCoverProto.Builder>
public SetCoverProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SetCoverProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SetCoverProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SetCoverProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SetCoverProto.Builder>
public SetCoverProto.Builder mergeFrom(SetCoverProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<SetCoverProto.Builder>
public SetCoverProto.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<SetCoverProto.Builder>
java.io.IOException
public java.util.List<SetCoverProto.Subset> getSubsetList()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
getSubsetList
in interface SetCoverProtoOrBuilder
public int getSubsetCount()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
getSubsetCount
in interface SetCoverProtoOrBuilder
public SetCoverProto.Subset getSubset(int index)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
getSubset
in interface SetCoverProtoOrBuilder
public SetCoverProto.Builder setSubset(int index, SetCoverProto.Subset value)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder setSubset(int index, SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder addSubset(SetCoverProto.Subset value)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder addSubset(int index, SetCoverProto.Subset value)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder addSubset(SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder addSubset(int index, SetCoverProto.Subset.Builder builderForValue)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder addAllSubset(java.lang.Iterable<? extends SetCoverProto.Subset> values)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder clearSubset()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Builder removeSubset(int index)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Subset.Builder getSubsetBuilder(int index)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.SubsetOrBuilder getSubsetOrBuilder(int index)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
getSubsetOrBuilder
in interface SetCoverProtoOrBuilder
public java.util.List<? extends SetCoverProto.SubsetOrBuilder> getSubsetOrBuilderList()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
getSubsetOrBuilderList
in interface SetCoverProtoOrBuilder
public SetCoverProto.Subset.Builder addSubsetBuilder()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public SetCoverProto.Subset.Builder addSubsetBuilder(int index)
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public java.util.List<SetCoverProto.Subset.Builder> getSubsetBuilderList()
The list of subsets in the model.
repeated .operations_research.SetCoverProto.Subset subset = 1;
public boolean hasName()
A user-defined name for the model.
optional string name = 2;
hasName
in interface SetCoverProtoOrBuilder
public java.lang.String getName()
A user-defined name for the model.
optional string name = 2;
getName
in interface SetCoverProtoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
A user-defined name for the model.
optional string name = 2;
getNameBytes
in interface SetCoverProtoOrBuilder
public SetCoverProto.Builder setName(java.lang.String value)
A user-defined name for the model.
optional string name = 2;
value
- The name to set.public SetCoverProto.Builder clearName()
A user-defined name for the model.
optional string name = 2;
public SetCoverProto.Builder setNameBytes(com.google.protobuf.ByteString value)
A user-defined name for the model.
optional string name = 2;
value
- The bytes for name to set.public boolean hasFingerprint()
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
hasFingerprint
in interface SetCoverProtoOrBuilder
public Int128 getFingerprint()
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
getFingerprint
in interface SetCoverProtoOrBuilder
public SetCoverProto.Builder setFingerprint(Int128 value)
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
public SetCoverProto.Builder setFingerprint(Int128.Builder builderForValue)
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
public SetCoverProto.Builder mergeFingerprint(Int128 value)
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
public SetCoverProto.Builder clearFingerprint()
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
public Int128.Builder getFingerprintBuilder()
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
public Int128OrBuilder getFingerprintOrBuilder()
An automatically fingerprint for the model. TODO(user): Implement.
optional .operations_research.Int128 fingerprint = 3;
getFingerprintOrBuilder
in interface SetCoverProtoOrBuilder
Copyright © 2025. All rights reserved.