Interface RosterEntryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
RosterEntry, RosterEntry.Builder

@Generated public interface RosterEntryOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getNodeId

      long getNodeId()
       *
       A consensus node identifier.
       <p>
       Node identifiers SHALL be unique _within_ a ledger,
       and MUST NOT be repeated _between_ shards and realms.
       
      uint64 node_id = 1;
      Returns:
      The nodeId.
    • getWeight

      long getWeight()
       *
       A consensus weight.
       <p>
       Each node SHALL have a weight of zero or more in consensus calculations.<br/>
       The sum of the weights of all nodes in the roster SHALL form the total weight of the system,
       and each node's individual weight SHALL be proportional to that sum.<br/>
       
      uint64 weight = 2;
      Returns:
      The weight.
    • getGossipCaCertificate

      com.google.protobuf.ByteString getGossipCaCertificate()
       *
       An RSA public certificate used for signing gossip events.
       <p>
       This value SHALL be a certificate of a type permitted for gossip
       signatures.<br/>
       This value SHALL be the DER encoding of the certificate presented.<br/>
       This field is REQUIRED and MUST NOT be empty.
       
      bytes gossip_ca_certificate = 3;
      Returns:
      The gossipCaCertificate.
    • getGossipEndpointList

      List<ServiceEndpoint> getGossipEndpointList()
       *
       A list of service endpoints for gossip.
       <p>
       These endpoints SHALL represent the published endpoints to which other
       consensus nodes may _gossip_ transactions.<br/>
       If the network configuration value `gossipFqdnRestricted` is set, then
       all endpoints in this list SHALL supply only IP address.<br/>
       If the network configuration value `gossipFqdnRestricted` is _not_ set,
       then endpoints in this list MAY supply either IP address or FQDN, but
       SHALL NOT supply both values for the same endpoint.<br/>
       This list SHALL NOT be empty.<br/>
       
      repeated .proto.ServiceEndpoint gossip_endpoint = 5;
    • getGossipEndpoint

      ServiceEndpoint getGossipEndpoint(int index)
       *
       A list of service endpoints for gossip.
       <p>
       These endpoints SHALL represent the published endpoints to which other
       consensus nodes may _gossip_ transactions.<br/>
       If the network configuration value `gossipFqdnRestricted` is set, then
       all endpoints in this list SHALL supply only IP address.<br/>
       If the network configuration value `gossipFqdnRestricted` is _not_ set,
       then endpoints in this list MAY supply either IP address or FQDN, but
       SHALL NOT supply both values for the same endpoint.<br/>
       This list SHALL NOT be empty.<br/>
       
      repeated .proto.ServiceEndpoint gossip_endpoint = 5;
    • getGossipEndpointCount

      int getGossipEndpointCount()
       *
       A list of service endpoints for gossip.
       <p>
       These endpoints SHALL represent the published endpoints to which other
       consensus nodes may _gossip_ transactions.<br/>
       If the network configuration value `gossipFqdnRestricted` is set, then
       all endpoints in this list SHALL supply only IP address.<br/>
       If the network configuration value `gossipFqdnRestricted` is _not_ set,
       then endpoints in this list MAY supply either IP address or FQDN, but
       SHALL NOT supply both values for the same endpoint.<br/>
       This list SHALL NOT be empty.<br/>
       
      repeated .proto.ServiceEndpoint gossip_endpoint = 5;