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 Type
    Method
    Description
    * 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.
    * 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 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.
    * 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, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getRosterHash in interface RosterSignaturesOrBuilder
      Returns:
      The rosterHash.
    • setRosterHash

      public RosterSignatures.Builder setRosterHash(com.google.protobuf.ByteString value)
       *
       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

      public RosterSignatures.Builder clearRosterHash()
       *
       A roster hash for the roster that the node signatures are from.
       
      bytes roster_hash = 1;
      Returns:
      This builder for chaining.
    • getNodeSignaturesList

      public List<NodeSignature> 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:
      getNodeSignaturesList in interface RosterSignaturesOrBuilder
    • 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:
      getNodeSignaturesCount in interface RosterSignaturesOrBuilder
    • getNodeSignatures

      public NodeSignature 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
      Specified by:
      getNodeSignatures in interface RosterSignaturesOrBuilder
    • setNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • setNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • addNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • addNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • addNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • addNodeSignatures

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • addAllNodeSignatures

      public RosterSignatures.Builder addAllNodeSignatures(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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;
    • clearNodeSignatures

      public RosterSignatures.Builder 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

      public RosterSignatures.Builder 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.
       
      repeated .com.hedera.hapi.node.state.roster.NodeSignature node_signatures = 2;