Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class RosterSignatures.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<RosterSignatures,RosterSignatures.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<RosterSignatures,RosterSignatures.Builder>
com.hedera.hashgraph.sdk.proto.RosterSignatures.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,RosterSignaturesOrBuilder,Cloneable
- Enclosing class:
RosterSignatures
public static final class RosterSignatures.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<RosterSignatures,RosterSignatures.Builder>
implements RosterSignaturesOrBuilder
* A collection of signatures from nodes in a roster.Protobuf type
com.hedera.hapi.node.state.roster.RosterSignatures-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllNodeSignatures(Iterable<? extends NodeSignature> values) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.addNodeSignatures(int index, NodeSignature value) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.addNodeSignatures(int index, NodeSignature.Builder builderForValue) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.addNodeSignatures(NodeSignature value) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.addNodeSignatures(NodeSignature.Builder builderForValue) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.* A roster hash for the roster that the node signatures are from.getNodeSignatures(int index) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.int* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.com.google.protobuf.ByteString* A roster hash for the roster that the node signatures are from.removeNodeSignatures(int index) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.setNodeSignatures(int index, NodeSignature value) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.setNodeSignatures(int index, NodeSignature.Builder builderForValue) * A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.setRosterHash(com.google.protobuf.ByteString value) * A roster hash for the roster that the node signatures are from.Methods 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
-
getRosterHash
public com.google.protobuf.ByteString getRosterHash()* A roster hash for the roster that the node signatures are from.
bytes roster_hash = 1;- Specified by:
getRosterHashin interfaceRosterSignaturesOrBuilder- Returns:
- The rosterHash.
-
setRosterHash
* A roster hash for the roster that the node signatures are from.
bytes roster_hash = 1;- Parameters:
value- The rosterHash to set.- Returns:
- This builder for chaining.
-
clearRosterHash
* A roster hash for the roster that the node signatures are from.
bytes roster_hash = 1;- Returns:
- This builder for chaining.
-
getNodeSignaturesList
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;- Specified by:
getNodeSignaturesListin interfaceRosterSignaturesOrBuilder
-
getNodeSignaturesCount
public int getNodeSignaturesCount()* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;- Specified by:
getNodeSignaturesCountin interfaceRosterSignaturesOrBuilder
-
getNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;- Specified by:
getNodeSignaturesin interfaceRosterSignaturesOrBuilder
-
setNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
setNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
addNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
addNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
addNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
addNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
addAllNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
clearNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2; -
removeNodeSignatures
* A list of node signatures on the same message where all node ids in the NodeSignature objects are from the roster that the roster_hash represents.
repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
-