Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NodeAddressBook.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<NodeAddressBook,NodeAddressBook.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<NodeAddressBook,NodeAddressBook.Builder>
com.hedera.hashgraph.sdk.proto.NodeAddressBook.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,NodeAddressBookOrBuilder,Cloneable
- Enclosing class:
NodeAddressBook
public static final class NodeAddressBook.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<NodeAddressBook,NodeAddressBook.Builder>
implements NodeAddressBookOrBuilder
* A list of nodes and their metadata that contains details of the nodes running the network. Used to parse the contents of system files `0.0.101` and `0.0.102`.Protobuf type
proto.NodeAddressBook-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllNodeAddress(Iterable<? extends NodeAddress> values) * Published data for all nodes in the networkaddNodeAddress(int index, NodeAddress value) * Published data for all nodes in the networkaddNodeAddress(int index, NodeAddress.Builder builderForValue) * Published data for all nodes in the networkaddNodeAddress(NodeAddress value) * Published data for all nodes in the networkaddNodeAddress(NodeAddress.Builder builderForValue) * Published data for all nodes in the network* Published data for all nodes in the networkgetNodeAddress(int index) * Published data for all nodes in the networkint* Published data for all nodes in the network* Published data for all nodes in the networkremoveNodeAddress(int index) * Published data for all nodes in the networksetNodeAddress(int index, NodeAddress value) * Published data for all nodes in the networksetNodeAddress(int index, NodeAddress.Builder builderForValue) * Published data for all nodes in the networkMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getNodeAddressList
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1;- Specified by:
getNodeAddressListin interfaceNodeAddressBookOrBuilder
-
getNodeAddressCount
public int getNodeAddressCount()* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1;- Specified by:
getNodeAddressCountin interfaceNodeAddressBookOrBuilder
-
getNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1;- Specified by:
getNodeAddressin interfaceNodeAddressBookOrBuilder
-
setNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
setNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
addNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
addNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
addNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
addNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
addAllNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
clearNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1; -
removeNodeAddress
* Published data for all nodes in the network
repeated .proto.NodeAddress nodeAddress = 1;
-