public final class FlowModelProto extends com.google.protobuf.GeneratedMessage implements FlowModelProtoOrBuilder
Holds a flow problem, see NodeProto and ArcProto for more details.Protobuf type
operations_research.FlowModelProto
Modifier and Type | Class and Description |
---|---|
static class |
FlowModelProto.Builder
Holds a flow problem, see NodeProto and ArcProto for more details.
|
static class |
FlowModelProto.ProblemType
The type of problem to solve.
|
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 |
ARCS_FIELD_NUMBER |
static int |
NODES_FIELD_NUMBER |
static int |
PROBLEM_TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FlowArcProto |
getArcs(int index)
repeated .operations_research.FlowArcProto arcs = 2; |
int |
getArcsCount()
repeated .operations_research.FlowArcProto arcs = 2; |
java.util.List<FlowArcProto> |
getArcsList()
repeated .operations_research.FlowArcProto arcs = 2; |
FlowArcProtoOrBuilder |
getArcsOrBuilder(int index)
repeated .operations_research.FlowArcProto arcs = 2; |
java.util.List<? extends FlowArcProtoOrBuilder> |
getArcsOrBuilderList()
repeated .operations_research.FlowArcProto arcs = 2; |
static FlowModelProto |
getDefaultInstance() |
FlowModelProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FlowNodeProto |
getNodes(int index)
repeated .operations_research.FlowNodeProto nodes = 1; |
int |
getNodesCount()
repeated .operations_research.FlowNodeProto nodes = 1; |
java.util.List<FlowNodeProto> |
getNodesList()
repeated .operations_research.FlowNodeProto nodes = 1; |
FlowNodeProtoOrBuilder |
getNodesOrBuilder(int index)
repeated .operations_research.FlowNodeProto nodes = 1; |
java.util.List<? extends FlowNodeProtoOrBuilder> |
getNodesOrBuilderList()
repeated .operations_research.FlowNodeProto nodes = 1; |
com.google.protobuf.Parser<FlowModelProto> |
getParserForType() |
FlowModelProto.ProblemType |
getProblemType()
optional .operations_research.FlowModelProto.ProblemType problem_type = 3; |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasProblemType()
optional .operations_research.FlowModelProto.ProblemType problem_type = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlowModelProto.Builder |
newBuilder() |
static FlowModelProto.Builder |
newBuilder(FlowModelProto prototype) |
FlowModelProto.Builder |
newBuilderForType() |
protected FlowModelProto.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static FlowModelProto |
parseDelimitedFrom(java.io.InputStream input) |
static FlowModelProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlowModelProto |
parseFrom(byte[] data) |
static FlowModelProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlowModelProto |
parseFrom(java.nio.ByteBuffer data) |
static FlowModelProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlowModelProto |
parseFrom(com.google.protobuf.ByteString data) |
static FlowModelProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlowModelProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlowModelProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlowModelProto |
parseFrom(java.io.InputStream input) |
static FlowModelProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlowModelProto> |
parser() |
FlowModelProto.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 NODES_FIELD_NUMBER
public static final int ARCS_FIELD_NUMBER
public static final int PROBLEM_TYPE_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 java.util.List<FlowNodeProto> getNodesList()
repeated .operations_research.FlowNodeProto nodes = 1;
getNodesList
in interface FlowModelProtoOrBuilder
public java.util.List<? extends FlowNodeProtoOrBuilder> getNodesOrBuilderList()
repeated .operations_research.FlowNodeProto nodes = 1;
getNodesOrBuilderList
in interface FlowModelProtoOrBuilder
public int getNodesCount()
repeated .operations_research.FlowNodeProto nodes = 1;
getNodesCount
in interface FlowModelProtoOrBuilder
public FlowNodeProto getNodes(int index)
repeated .operations_research.FlowNodeProto nodes = 1;
getNodes
in interface FlowModelProtoOrBuilder
public FlowNodeProtoOrBuilder getNodesOrBuilder(int index)
repeated .operations_research.FlowNodeProto nodes = 1;
getNodesOrBuilder
in interface FlowModelProtoOrBuilder
public java.util.List<FlowArcProto> getArcsList()
repeated .operations_research.FlowArcProto arcs = 2;
getArcsList
in interface FlowModelProtoOrBuilder
public java.util.List<? extends FlowArcProtoOrBuilder> getArcsOrBuilderList()
repeated .operations_research.FlowArcProto arcs = 2;
getArcsOrBuilderList
in interface FlowModelProtoOrBuilder
public int getArcsCount()
repeated .operations_research.FlowArcProto arcs = 2;
getArcsCount
in interface FlowModelProtoOrBuilder
public FlowArcProto getArcs(int index)
repeated .operations_research.FlowArcProto arcs = 2;
getArcs
in interface FlowModelProtoOrBuilder
public FlowArcProtoOrBuilder getArcsOrBuilder(int index)
repeated .operations_research.FlowArcProto arcs = 2;
getArcsOrBuilder
in interface FlowModelProtoOrBuilder
public boolean hasProblemType()
optional .operations_research.FlowModelProto.ProblemType problem_type = 3;
hasProblemType
in interface FlowModelProtoOrBuilder
public FlowModelProto.ProblemType getProblemType()
optional .operations_research.FlowModelProto.ProblemType problem_type = 3;
getProblemType
in interface FlowModelProtoOrBuilder
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 FlowModelProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlowModelProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FlowModelProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FlowModelProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FlowModelProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FlowModelProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static FlowModelProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public FlowModelProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FlowModelProto.Builder newBuilder()
public static FlowModelProto.Builder newBuilder(FlowModelProto prototype)
public FlowModelProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FlowModelProto.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static FlowModelProto getDefaultInstance()
public static com.google.protobuf.Parser<FlowModelProto> parser()
public com.google.protobuf.Parser<FlowModelProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public FlowModelProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2025. All rights reserved.