Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.algorithms.SetCoverProto Class Reference
Inheritance diagram for com.google.ortools.algorithms.SetCoverProto:
com.google.ortools.algorithms.SetCoverProtoOrBuilder

Classes

class  Builder
 
class  Subset
 
interface  SubsetOrBuilder
 

Public Member Functions

java.util.List< com.google.ortools.algorithms.SetCoverProto.SubsetgetSubsetList ()
 
java.util.List<? extends com.google.ortools.algorithms.SetCoverProto.SubsetOrBuildergetSubsetOrBuilderList ()
 
int getSubsetCount ()
 
com.google.ortools.algorithms.SetCoverProto.Subset getSubset (int index)
 
com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder getSubsetOrBuilder (int index)
 
boolean hasName ()
 
java.lang.String getName ()
 
com.google.protobuf.ByteString getNameBytes ()
 
boolean hasFingerprint ()
 
com.google.ortools.util.Int128 getFingerprint ()
 
com.google.ortools.util.Int128OrBuilder getFingerprintOrBuilder ()
 
final boolean isInitialized ()
 
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
int getSerializedSize ()
 
boolean equals (final java.lang.Object obj)
 
int hashCode ()
 
Builder newBuilderForType ()
 
Builder toBuilder ()
 
com.google.protobuf.Parser< SetCoverProtogetParserForType ()
 
com.google.ortools.algorithms.SetCoverProto getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.algorithms.SetCoverProto prototype)
 
static com.google.ortools.algorithms.SetCoverProto getDefaultInstance ()
 
static com.google.protobuf.Parser< SetCoverProtoparser ()
 

Static Public Attributes

static final int SUBSET_FIELD_NUMBER = 1
 
static final int NAME_FIELD_NUMBER = 2
 
static final int FINGERPRINT_FIELD_NUMBER = 3
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

TODO(user): use uint64 instead of int32 for indices, as the solver
supports it.

Protobuf type operations_research.SetCoverProto

Definition at line 16 of file SetCoverProto.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.algorithms.SetCoverProto.equals ( final java.lang.Object obj)

Definition at line 1002 of file SetCoverProto.java.

◆ getDefaultInstance()

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.getDefaultInstance ( )
static

Definition at line 1957 of file SetCoverProto.java.

◆ getDefaultInstanceForType()

com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.getDefaultInstanceForType ( )

Definition at line 1993 of file SetCoverProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.algorithms.SetCoverProto.getDescriptor ( )
static

Definition at line 40 of file SetCoverProto.java.

◆ getFingerprint()

com.google.ortools.util.Int128 com.google.ortools.algorithms.SetCoverProto.getFingerprint ( )
An automatically fingerprint for the model. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 3;

Returns
The fingerprint.

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 938 of file SetCoverProto.java.

◆ getFingerprintOrBuilder()

com.google.ortools.util.Int128OrBuilder com.google.ortools.algorithms.SetCoverProto.getFingerprintOrBuilder ( )
An automatically fingerprint for the model. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 3;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 949 of file SetCoverProto.java.

◆ getName()

java.lang.String com.google.ortools.algorithms.SetCoverProto.getName ( )
A user-defined name for the model.

optional string name = 2;

Returns
The name.

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 880 of file SetCoverProto.java.

◆ getNameBytes()

com.google.protobuf.ByteString com.google.ortools.algorithms.SetCoverProto.getNameBytes ( )
A user-defined name for the model.

optional string name = 2;

Returns
The bytes for name.

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 902 of file SetCoverProto.java.

◆ getParserForType()

com.google.protobuf.Parser< SetCoverProto > com.google.ortools.algorithms.SetCoverProto.getParserForType ( )

Definition at line 1988 of file SetCoverProto.java.

◆ getSerializedSize()

int com.google.ortools.algorithms.SetCoverProto.getSerializedSize ( )

Definition at line 980 of file SetCoverProto.java.

◆ getSubset()

com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.getSubset ( int index)
The list of subsets in the model.

repeated .operations_research.SetCoverProto.Subset subset = 1;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 840 of file SetCoverProto.java.

◆ getSubsetCount()

int com.google.ortools.algorithms.SetCoverProto.getSubsetCount ( )
The list of subsets in the model.

repeated .operations_research.SetCoverProto.Subset subset = 1;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 829 of file SetCoverProto.java.

◆ getSubsetList()

java.util.List< com.google.ortools.algorithms.SetCoverProto.Subset > com.google.ortools.algorithms.SetCoverProto.getSubsetList ( )
The list of subsets in the model.

repeated .operations_research.SetCoverProto.Subset subset = 1;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 806 of file SetCoverProto.java.

◆ getSubsetOrBuilder()

com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder com.google.ortools.algorithms.SetCoverProto.getSubsetOrBuilder ( int index)
The list of subsets in the model.

repeated .operations_research.SetCoverProto.Subset subset = 1;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 851 of file SetCoverProto.java.

◆ getSubsetOrBuilderList()

java.util.List<? extends com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder > com.google.ortools.algorithms.SetCoverProto.getSubsetOrBuilderList ( )
The list of subsets in the model.

repeated .operations_research.SetCoverProto.Subset subset = 1;

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 818 of file SetCoverProto.java.

◆ hasFingerprint()

boolean com.google.ortools.algorithms.SetCoverProto.hasFingerprint ( )
An automatically fingerprint for the model. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 3;

Returns
Whether the fingerprint field is set.

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 926 of file SetCoverProto.java.

◆ hashCode()

int com.google.ortools.algorithms.SetCoverProto.hashCode ( )

Definition at line 1028 of file SetCoverProto.java.

◆ hasName()

boolean com.google.ortools.algorithms.SetCoverProto.hasName ( )
A user-defined name for the model.

optional string name = 2;

Returns
Whether the name field is set.

Implements com.google.ortools.algorithms.SetCoverProtoOrBuilder.

Definition at line 868 of file SetCoverProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.algorithms.SetCoverProto.internalGetFieldAccessorTable ( )
protected

Definition at line 46 of file SetCoverProto.java.

◆ isInitialized()

final boolean com.google.ortools.algorithms.SetCoverProto.isInitialized ( )

Definition at line 955 of file SetCoverProto.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.algorithms.SetCoverProto.newBuilder ( )
static

Definition at line 1125 of file SetCoverProto.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.algorithms.SetCoverProto.newBuilder ( com.google.ortools.algorithms.SetCoverProto prototype)
static

Definition at line 1128 of file SetCoverProto.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.algorithms.SetCoverProto.newBuilderForType ( )

Definition at line 1124 of file SetCoverProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.algorithms.SetCoverProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 1138 of file SetCoverProto.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 1096 of file SetCoverProto.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 1102 of file SetCoverProto.java.

◆ parseFrom() [1/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1073 of file SetCoverProto.java.

◆ parseFrom() [2/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1077 of file SetCoverProto.java.

◆ parseFrom() [3/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1062 of file SetCoverProto.java.

◆ parseFrom() [4/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1067 of file SetCoverProto.java.

◆ parseFrom() [5/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 1109 of file SetCoverProto.java.

◆ parseFrom() [6/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 1115 of file SetCoverProto.java.

◆ parseFrom() [7/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 1083 of file SetCoverProto.java.

◆ parseFrom() [8/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 1088 of file SetCoverProto.java.

◆ parseFrom() [9/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1051 of file SetCoverProto.java.

◆ parseFrom() [10/10]

static com.google.ortools.algorithms.SetCoverProto com.google.ortools.algorithms.SetCoverProto.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 1056 of file SetCoverProto.java.

◆ parser()

static com.google.protobuf.Parser< SetCoverProto > com.google.ortools.algorithms.SetCoverProto.parser ( )
static

Definition at line 1983 of file SetCoverProto.java.

◆ toBuilder()

Builder com.google.ortools.algorithms.SetCoverProto.toBuilder ( )

Definition at line 1132 of file SetCoverProto.java.

◆ writeTo()

void com.google.ortools.algorithms.SetCoverProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 965 of file SetCoverProto.java.

Member Data Documentation

◆ FINGERPRINT_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverProto.FINGERPRINT_FIELD_NUMBER = 3
static

Definition at line 915 of file SetCoverProto.java.

◆ NAME_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverProto.NAME_FIELD_NUMBER = 2
static

Definition at line 856 of file SetCoverProto.java.

◆ SUBSET_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverProto.SUBSET_FIELD_NUMBER = 1
static

Definition at line 795 of file SetCoverProto.java.


The documentation for this class was generated from the following file: