com.hedera.services.stream.proto.TokenUnitBalanceOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: account_balance_file.proto
package com.hedera.services.stream.proto;
public interface TokenUnitBalanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenUnitBalance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
* @return The tokenId.
*/
com.hederahashgraph.api.proto.java.TokenID getTokenId();
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* Number of transferable units of the identified token. For token of type FUNGIBLE_COMMON -
* balance in the smallest denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of
* NFTs held by the account
*
*
* uint64 balance = 2;
* @return The balance.
*/
long getBalance();
}