java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ProxyStaker,ProxyStaker.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ProxyStaker,ProxyStaker.Builder>
com.hedera.hashgraph.sdk.proto.ProxyStaker.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ProxyStakerOrBuilder,Cloneable
- Enclosing class:
ProxyStaker
public static final class ProxyStaker.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ProxyStaker,ProxyStaker.Builder>
implements ProxyStakerOrBuilder
* information about a single account that is proxy stakingProtobuf type
proto.ProxyStaker-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The Account ID that is proxy staking* The number of hbars that are currently proxy staked* The Account ID that is proxy stakinglong* The number of hbars that are currently proxy stakedboolean* The Account ID that is proxy stakingmergeAccountID(AccountID value) * The Account ID that is proxy stakingsetAccountID(AccountID value) * The Account ID that is proxy stakingsetAccountID(AccountID.Builder builderForValue) * The Account ID that is proxy stakingsetAmount(long value) * The number of hbars that are currently proxy stakedMethods 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
-
hasAccountID
public boolean hasAccountID()* The Account ID that is proxy staking
.proto.AccountID accountID = 1;- Specified by:
hasAccountIDin interfaceProxyStakerOrBuilder- Returns:
- Whether the accountID field is set.
-
getAccountID
* The Account ID that is proxy staking
.proto.AccountID accountID = 1;- Specified by:
getAccountIDin interfaceProxyStakerOrBuilder- Returns:
- The accountID.
-
setAccountID
* The Account ID that is proxy staking
.proto.AccountID accountID = 1; -
setAccountID
* The Account ID that is proxy staking
.proto.AccountID accountID = 1; -
mergeAccountID
* The Account ID that is proxy staking
.proto.AccountID accountID = 1; -
clearAccountID
* The Account ID that is proxy staking
.proto.AccountID accountID = 1; -
getAmount
public long getAmount()* The number of hbars that are currently proxy staked
int64 amount = 2;- Specified by:
getAmountin interfaceProxyStakerOrBuilder- Returns:
- The amount.
-
setAmount
* The number of hbars that are currently proxy staked
int64 amount = 2;- Parameters:
value- The amount to set.- Returns:
- This builder for chaining.
-
clearAmount
* The number of hbars that are currently proxy staked
int64 amount = 2;- Returns:
- This builder for chaining.
-