java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenBalances,TokenBalances.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenBalances,TokenBalances.Builder>
com.hedera.hashgraph.sdk.proto.TokenBalances.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TokenBalancesOrBuilder,Cloneable
- Enclosing class:
TokenBalances
public static final class TokenBalances.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TokenBalances,TokenBalances.Builder>
implements TokenBalancesOrBuilder
* A set of token balance values. Each entry describes the balance the enclosing account holds for a specific token. The balance is an amount for a fungible/common token or a count for a non-fungible/unique token.Protobuf type
proto.TokenBalances-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTokenBalances(Iterable<? extends TokenBalance> values) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.addTokenBalances(int index, TokenBalance value) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.addTokenBalances(int index, TokenBalance.Builder builderForValue) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.addTokenBalances(TokenBalance value) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.addTokenBalances(TokenBalance.Builder builderForValue) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.* A list of token balance values.<br/> Each entry represents a single account balance for a single token.getTokenBalances(int index) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.int* A list of token balance values.<br/> Each entry represents a single account balance for a single token.* A list of token balance values.<br/> Each entry represents a single account balance for a single token.removeTokenBalances(int index) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.setTokenBalances(int index, TokenBalance value) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.setTokenBalances(int index, TokenBalance.Builder builderForValue) * A list of token balance values.<br/> Each entry represents a single account balance for a single token.Methods 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
-
getTokenBalancesList
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1;- Specified by:
getTokenBalancesListin interfaceTokenBalancesOrBuilder
-
getTokenBalancesCount
public int getTokenBalancesCount()* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1;- Specified by:
getTokenBalancesCountin interfaceTokenBalancesOrBuilder
-
getTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1;- Specified by:
getTokenBalancesin interfaceTokenBalancesOrBuilder
-
setTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
setTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
addTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
addTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
addTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
addTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
addAllTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
clearTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1; -
removeTokenBalances
* A list of token balance values.<br/> Each entry represents a single account balance for a single token.
repeated .proto.TokenBalance tokenBalances = 1;
-