Interface RegisteredNodeCreateTransactionBodyOrBuilder

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

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

    • hasAdminKey

      boolean hasAdminKey()
       *
       An administrative key controlled by the node operator.
       <p>
       This key MUST sign this transaction.<br/>
       This key MUST sign each transaction to update this node.<br/>
       This field MUST contain a valid `Key` value.<br/>
       This field is REQUIRED and MUST 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 = 1;
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      Key getAdminKey()
       *
       An administrative key controlled by the node operator.
       <p>
       This key MUST sign this transaction.<br/>
       This key MUST sign each transaction to update this node.<br/>
       This field MUST contain a valid `Key` value.<br/>
       This field is REQUIRED and MUST 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 = 1;
      Returns:
      The adminKey.
    • getDescription

      String getDescription()
       *
       A short description of the node.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       *
       A short description of the node.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 2;
      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/>
       Endpoints in this list MAY supply either IP address or FQDN, but MUST
       NOT supply both values for the same endpoint.<br/>
       Multiple endpoints in this list MAY resolve to the same interface.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list MUST NOT be empty.<br/>
       This list MUST NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;
    • 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/>
       Endpoints in this list MAY supply either IP address or FQDN, but MUST
       NOT supply both values for the same endpoint.<br/>
       Multiple endpoints in this list MAY resolve to the same interface.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list MUST NOT be empty.<br/>
       This list MUST NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;
    • 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/>
       Endpoints in this list MAY supply either IP address or FQDN, but MUST
       NOT supply both values for the same endpoint.<br/>
       Multiple endpoints in this list MAY resolve to the same interface.<br/>
       One Registered Node MAY expose endpoints for multiple service types.<br/>
       This list MUST NOT be empty.<br/>
       This list MUST NOT contain more than `50` entries.
       
      repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;