Interface RegisteredNodeOrBuilder

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

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

    • getRegisteredNodeId

      long getRegisteredNodeId()
       *
       A registered node identifier.
       <p>
       This value SHALL be set.<br/>
       This value SHALL be unique within a given network.<br/>
       This value SHALL NOT match any consensus node ID in the same network.
       <p>
       A given value for `registered_node_id` MUST be unique within a given
       shard or realm.<br/>
       A given value for `registered_node_id` MUST NOT be reused, even if the
       corresponding entry is later deleted.
       
      uint64 registered_node_id = 1;
      Returns:
      The registeredNodeId.
    • hasAdminKey

      boolean hasAdminKey()
       *
       An administrative key controlled by the node operator.
       <p>
       This key MUST sign each transaction to update this node.<br/>
       This field SHALL contain a valid `Key` value.<br/>
       This field SHALL NOT be set to an empty `KeyList`.<br/>
       It is RECOMMENDED that this key be composed of one or more unique public
       keys that are not associated with any network account.<br/>
       This key MAY be a complex key containing `KeyList` or `ThresholdKey`
       elements, but SHOULD NOT be a contract ID key.
       
      .proto.Key admin_key = 2;
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      Key getAdminKey()
       *
       An administrative key controlled by the node operator.
       <p>
       This key MUST sign each transaction to update this node.<br/>
       This field SHALL contain a valid `Key` value.<br/>
       This field SHALL NOT be set to an empty `KeyList`.<br/>
       It is RECOMMENDED that this key be composed of one or more unique public
       keys that are not associated with any network account.<br/>
       This key MAY be a complex key containing `KeyList` or `ThresholdKey`
       elements, but SHOULD NOT be a contract ID key.
       
      .proto.Key admin_key = 2;
      Returns:
      The adminKey.
    • getDescription

      String getDescription()
       *
       A short description of the node.
       <p>
       This value SHALL NOT exceed 100 bytes when encoded as UTF-8.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       *
       A short description of the node.
       <p>
       This value SHALL NOT exceed 100 bytes when encoded as UTF-8.
       
      string description = 3;
      Returns:
      The bytes for description.
    • getServiceEndpointList

      List<RegisteredServiceEndpoint> getServiceEndpointList()
       *
       A list of service endpoints for client calls.
       <p>
       These endpoints SHALL represent the published endpoints to which
       clients may submit requests.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list SHALL NOT be empty.<br/>
       This list SHALL NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4;
    • getServiceEndpoint

      RegisteredServiceEndpoint getServiceEndpoint(int index)
       *
       A list of service endpoints for client calls.
       <p>
       These endpoints SHALL represent the published endpoints to which
       clients may submit requests.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list SHALL NOT be empty.<br/>
       This list SHALL NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4;
    • getServiceEndpointCount

      int getServiceEndpointCount()
       *
       A list of service endpoints for client calls.
       <p>
       These endpoints SHALL represent the published endpoints to which
       clients may submit requests.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list SHALL NOT be empty.<br/>
       This list SHALL NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4;