Class NodePayment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<NodePayment,NodePayment.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<NodePayment,NodePayment.Builder>
com.hedera.hapi.node.state.token.legacy.NodePayment.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, NodePaymentOrBuilder, Cloneable
Enclosing class:
NodePayment

public static final class NodePayment.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<NodePayment,NodePayment.Builder> implements NodePaymentOrBuilder
 *
 A record of the total amount of fees due to a node
 
Protobuf type com.hedera.hapi.node.state.token.NodePayment
  • Method Details

    • hasNodeAccountId

      public boolean hasNodeAccountId()
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
      Specified by:
      hasNodeAccountId in interface NodePaymentOrBuilder
      Returns:
      Whether the nodeAccountId field is set.
    • getNodeAccountId

      public AccountID getNodeAccountId()
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
      Specified by:
      getNodeAccountId in interface NodePaymentOrBuilder
      Returns:
      The nodeAccountId.
    • setNodeAccountId

      public NodePayment.Builder setNodeAccountId(AccountID value)
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
    • setNodeAccountId

      public NodePayment.Builder setNodeAccountId(AccountID.Builder builderForValue)
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
    • mergeNodeAccountId

      public NodePayment.Builder mergeNodeAccountId(AccountID value)
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
    • clearNodeAccountId

      public NodePayment.Builder clearNodeAccountId()
       *
       The node account id
       
      .proto.AccountID node_account_id = 1;
    • getFees

      public long getFees()
       *
       The total amount of fees due to the node in tinybars
       
      uint64 fees = 2;
      Specified by:
      getFees in interface NodePaymentOrBuilder
      Returns:
      The fees.
    • setFees

      public NodePayment.Builder setFees(long value)
       *
       The total amount of fees due to the node in tinybars
       
      uint64 fees = 2;
      Parameters:
      value - The fees to set.
      Returns:
      This builder for chaining.
    • clearFees

      public NodePayment.Builder clearFees()
       *
       The total amount of fees due to the node in tinybars
       
      uint64 fees = 2;
      Returns:
      This builder for chaining.