Interface NodeAddressOrBuilder

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

@Generated public interface NodeAddressOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * A short description of the node.
    com.google.protobuf.ByteString
    * A short description of the node.
    com.google.protobuf.ByteString
    Deprecated.
    proto.NodeAddress.ipAddress is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    proto.NodeAddress.memo is deprecated.
    * An account to be paid the "node" portion of transaction fees.<br/> The "node" fees are paid to the node that submitted the transaction.
    com.google.protobuf.ByteString
    * A hash of the node's TLS certificate.
    long
    * A numeric identifier for the node.
    int
    Deprecated.
    proto.NodeAddress.portno is deprecated.
    * A hexadecimal String encoding of an X509 public key.
    com.google.protobuf.ByteString
    * A hexadecimal String encoding of an X509 public key.
    getServiceEndpoint(int index)
    * A node's service IP addresses and TCP ports.<br/> Nodes require multiple endpoints to ensure that inter-node communication (e.g.
    int
    * A node's service IP addresses and TCP ports.<br/> Nodes require multiple endpoints to ensure that inter-node communication (e.g.
    * A node's service IP addresses and TCP ports.<br/> Nodes require multiple endpoints to ensure that inter-node communication (e.g.
    long
    Deprecated.
    proto.NodeAddress.stake is deprecated.
    boolean
    * An account to be paid the "node" portion of transaction fees.<br/> The "node" fees are paid to the node that submitted the transaction.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getIpAddress

      @Deprecated com.google.protobuf.ByteString getIpAddress()
      Deprecated.
      proto.NodeAddress.ipAddress is deprecated. See basic_types.proto;l=2152
       *
       ServiceEndpoint is now used to retrieve a node's list of IP
       addresses and ports.<br/>
       The IP address of the Node, as a string, encoded in UTF-8.<br/>
       This value SHALL NOT be populated.
       
      bytes ipAddress = 1 [deprecated = true];
      Returns:
      The ipAddress.
    • getPortno

      @Deprecated int getPortno()
      Deprecated.
      proto.NodeAddress.portno is deprecated. See basic_types.proto;l=2160
       *
       ServiceEndpoint is now used to retrieve a node's list of IP
       addresses and ports.<br/>
       The port number of the grpc server for the node.<br/>
       This value SHALL NOT be populated.
       
      int32 portno = 2 [deprecated = true];
      Returns:
      The portno.
    • getMemo

      @Deprecated com.google.protobuf.ByteString getMemo()
      Deprecated.
      proto.NodeAddress.memo is deprecated. See basic_types.proto;l=2168
       *
       Description provides short text functionality.<br/>
       A short description of the node.
       <p>
       This field SHALL NOT be populated.
       
      bytes memo = 3 [deprecated = true];
      Returns:
      The memo.
    • getRSAPubKey

      String getRSAPubKey()
       *
       A hexadecimal String encoding of an X509 public key.
       <p>
       This X509 RSA _public_ key SHALL be used to verify record stream files
       (e.g., record stream files).<br/>
       This field SHALL be a string of hexadecimal characters, encoded UTF-8,
       which, translated to binary, form the public key DER encoding.
       
      string RSA_PubKey = 4;
      Returns:
      The rSAPubKey.
    • getRSAPubKeyBytes

      com.google.protobuf.ByteString getRSAPubKeyBytes()
       *
       A hexadecimal String encoding of an X509 public key.
       <p>
       This X509 RSA _public_ key SHALL be used to verify record stream files
       (e.g., record stream files).<br/>
       This field SHALL be a string of hexadecimal characters, encoded UTF-8,
       which, translated to binary, form the public key DER encoding.
       
      string RSA_PubKey = 4;
      Returns:
      The bytes for rSAPubKey.
    • getNodeId

      long getNodeId()
       *
       A numeric identifier for the node.
       <p>
       This value SHALL NOT be sequential.
       <p>
       A `0.0.101` field
       
      int64 nodeId = 5;
      Returns:
      The nodeId.
    • hasNodeAccountId

      boolean hasNodeAccountId()
       *
       An account to be paid the "node" portion of transaction fees.<br/>
       The "node" fees are paid to the node that submitted the transaction.
       <p>
       A `0.0.101` field
       
      .proto.AccountID nodeAccountId = 6;
      Returns:
      Whether the nodeAccountId field is set.
    • getNodeAccountId

      AccountID getNodeAccountId()
       *
       An account to be paid the "node" portion of transaction fees.<br/>
       The "node" fees are paid to the node that submitted the transaction.
       <p>
       A `0.0.101` field
       
      .proto.AccountID nodeAccountId = 6;
      Returns:
      The nodeAccountId.
    • getNodeCertHash

      com.google.protobuf.ByteString getNodeCertHash()
       *
       A hash of the node's TLS certificate.
       <p>
       This field SHALL be a string of hexadecimal characters, encoded UTF-8,
       which, translated to binary, form a SHA-384 hash of the node's TLS
       certificate in PEM format.
       This TLS certificate MUST be encoded UTF-8 and normalized according to
       the NFKD form prior to computing the hash value.<br/>
       The value of this field SHALL be used to verify the node TLS
       certificate when presented during protocol negotiation.
       <p>
       A `0.0.101` field
       
      bytes nodeCertHash = 7;
      Returns:
      The nodeCertHash.
    • getServiceEndpointList

      List<ServiceEndpoint> getServiceEndpointList()
       *
       A node's service IP addresses and TCP ports.<br/>
       Nodes require multiple endpoints to ensure that inter-node communication
       (e.g. gossip) is properly separated from client communication to
       API endpoints.
       <p>
       A `0.0.101` field
       
      repeated .proto.ServiceEndpoint serviceEndpoint = 8;
    • getServiceEndpoint

      ServiceEndpoint getServiceEndpoint(int index)
       *
       A node's service IP addresses and TCP ports.<br/>
       Nodes require multiple endpoints to ensure that inter-node communication
       (e.g. gossip) is properly separated from client communication to
       API endpoints.
       <p>
       A `0.0.101` field
       
      repeated .proto.ServiceEndpoint serviceEndpoint = 8;
    • getServiceEndpointCount

      int getServiceEndpointCount()
       *
       A node's service IP addresses and TCP ports.<br/>
       Nodes require multiple endpoints to ensure that inter-node communication
       (e.g. gossip) is properly separated from client communication to
       API endpoints.
       <p>
       A `0.0.101` field
       
      repeated .proto.ServiceEndpoint serviceEndpoint = 8;
    • getDescription

      String getDescription()
       *
       A short description of the node.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string description = 9;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       *
       A short description of the node.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string description = 9;
      Returns:
      The bytes for description.
    • getStake

      @Deprecated long getStake()
      Deprecated.
      proto.NodeAddress.stake is deprecated. See basic_types.proto;l=2236
       *
       This is replaced by per-account stake tracking and dynamic
       calculation.<br/>
       The amount of tinybar staked to the node.<br/>
       This value SHOULD NOT be populated, and SHALL be ignored.
       
      int64 stake = 10 [deprecated = true];
      Returns:
      The stake.