public static final class FlowNodeProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlowNodeProto.Builder> implements FlowNodeProtoOrBuilder
operations_research.FlowNodeProto| Modifier and Type | Method and Description |
|---|---|
FlowNodeProto |
build() |
FlowNodeProto |
buildPartial() |
FlowNodeProto.Builder |
clear() |
FlowNodeProto.Builder |
clearId()
The ids must be non-negative (>= 0).
|
FlowNodeProto.Builder |
clearSupply()
The supply can be positive or negative in which case it means demand.
|
FlowNodeProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
The ids must be non-negative (>= 0).
|
long |
getSupply()
The supply can be positive or negative in which case it means demand.
|
boolean |
hasId()
The ids must be non-negative (>= 0).
|
boolean |
hasSupply()
The supply can be positive or negative in which case it means demand.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlowNodeProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlowNodeProto.Builder |
mergeFrom(FlowNodeProto other) |
FlowNodeProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlowNodeProto.Builder |
setId(long value)
The ids must be non-negative (>= 0).
|
FlowNodeProto.Builder |
setSupply(long value)
The supply can be positive or negative in which case it means demand.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FlowNodeProto.Builder>public FlowNodeProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FlowNodeProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FlowNodeProto.Builder>public FlowNodeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlowNodeProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlowNodeProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlowNodeProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowNodeProto.Builder>public FlowNodeProto.Builder mergeFrom(FlowNodeProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FlowNodeProto.Builder>public FlowNodeProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlowNodeProto.Builder>java.io.IOExceptionpublic boolean hasId()
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;hasId in interface FlowNodeProtoOrBuilderpublic long getId()
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;getId in interface FlowNodeProtoOrBuilderpublic FlowNodeProto.Builder setId(long value)
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;value - The id to set.public FlowNodeProto.Builder clearId()
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;public boolean hasSupply()
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];hasSupply in interface FlowNodeProtoOrBuilderpublic long getSupply()
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];getSupply in interface FlowNodeProtoOrBuilderpublic FlowNodeProto.Builder setSupply(long value)
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];value - The supply to set.public FlowNodeProto.Builder clearSupply()
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];Copyright © 2024. All rights reserved.