Module com.hedera.hashgraph.sdk
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 nodeProtobuf type
com.hedera.hapi.node.state.token.NodePayment-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The total amount of fees due to the node in tinybars* The node account idlonggetFees()* The total amount of fees due to the node in tinybars* The node account idboolean* The node account idmergeNodeAccountId(AccountID value) * The node account idsetFees(long value) * The total amount of fees due to the node in tinybarssetNodeAccountId(AccountID value) * The node account idsetNodeAccountId(AccountID.Builder builderForValue) * The node account idMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasNodeAccountId
public boolean hasNodeAccountId()* The node account id
.proto.AccountID node_account_id = 1;- Specified by:
hasNodeAccountIdin interfaceNodePaymentOrBuilder- Returns:
- Whether the nodeAccountId field is set.
-
getNodeAccountId
* The node account id
.proto.AccountID node_account_id = 1;- Specified by:
getNodeAccountIdin interfaceNodePaymentOrBuilder- Returns:
- The nodeAccountId.
-
setNodeAccountId
* The node account id
.proto.AccountID node_account_id = 1; -
setNodeAccountId
* The node account id
.proto.AccountID node_account_id = 1; -
mergeNodeAccountId
* The node account id
.proto.AccountID node_account_id = 1; -
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:
getFeesin interfaceNodePaymentOrBuilder- Returns:
- The fees.
-
setFees
* 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
* The total amount of fees due to the node in tinybars
uint64 fees = 2;- Returns:
- This builder for chaining.
-