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, 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<FlowNodeProto.Builder>
public FlowNodeProto.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<FlowNodeProto.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<FlowNodeProto.Builder>
public FlowNodeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlowNodeProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlowNodeProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlowNodeProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlowNodeProto.Builder>
java.io.IOException
public 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 FlowNodeProtoOrBuilder
public 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 FlowNodeProtoOrBuilder
public 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 FlowNodeProtoOrBuilder
public 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 FlowNodeProtoOrBuilder
public 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 © 2025. All rights reserved.