com.hedera.hashgraph.sdk.proto.TokenTransferListOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenTransferListOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenTransferList)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The ID of the token
*
*
* .proto.TokenID token = 1;
* @return Whether the token field is set.
*/
boolean hasToken();
/**
*
**
* The ID of the token
*
*
* .proto.TokenID token = 1;
* @return The token.
*/
com.hedera.hashgraph.sdk.proto.TokenID getToken();
/**
*
**
* The ID of the token
*
*
* .proto.TokenID token = 1;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenOrBuilder();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
* has an account and amount
*
*
* repeated .proto.AccountAmount transfers = 2;
*/
java.util.List
getTransfersList();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
* has an account and amount
*
*
* repeated .proto.AccountAmount transfers = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountAmount getTransfers(int index);
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
* has an account and amount
*
*
* repeated .proto.AccountAmount transfers = 2;
*/
int getTransfersCount();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
* has an account and amount
*
*
* repeated .proto.AccountAmount transfers = 2;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.AccountAmountOrBuilder>
getTransfersOrBuilderList();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
* has an account and amount
*
*
* repeated .proto.AccountAmount transfers = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountAmountOrBuilder getTransfersOrBuilder(
int index);
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
* which has a sender and receiver account, including the serial number of the NFT
*
*
* repeated .proto.NftTransfer nftTransfers = 3;
*/
java.util.List
getNftTransfersList();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
* which has a sender and receiver account, including the serial number of the NFT
*
*
* repeated .proto.NftTransfer nftTransfers = 3;
*/
com.hedera.hashgraph.sdk.proto.NftTransfer getNftTransfers(int index);
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
* which has a sender and receiver account, including the serial number of the NFT
*
*
* repeated .proto.NftTransfer nftTransfers = 3;
*/
int getNftTransfersCount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
* which has a sender and receiver account, including the serial number of the NFT
*
*
* repeated .proto.NftTransfer nftTransfers = 3;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.NftTransferOrBuilder>
getNftTransfersOrBuilderList();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
* which has a sender and receiver account, including the serial number of the NFT
*
*
* repeated .proto.NftTransfer nftTransfers = 3;
*/
com.hedera.hashgraph.sdk.proto.NftTransferOrBuilder getNftTransfersOrBuilder(
int index);
/**
*
**
* If present, the number of decimals this fungible token type is expected to have. The transfer
* will fail with UNEXPECTED_TOKEN_DECIMALS if the actual decimals differ.
*
*
* .google.protobuf.UInt32Value expected_decimals = 4;
* @return Whether the expectedDecimals field is set.
*/
boolean hasExpectedDecimals();
/**
*
**
* If present, the number of decimals this fungible token type is expected to have. The transfer
* will fail with UNEXPECTED_TOKEN_DECIMALS if the actual decimals differ.
*
*
* .google.protobuf.UInt32Value expected_decimals = 4;
* @return The expectedDecimals.
*/
com.google.protobuf.UInt32Value getExpectedDecimals();
/**
*
**
* If present, the number of decimals this fungible token type is expected to have. The transfer
* will fail with UNEXPECTED_TOKEN_DECIMALS if the actual decimals differ.
*
*
* .google.protobuf.UInt32Value expected_decimals = 4;
*/
com.google.protobuf.UInt32ValueOrBuilder getExpectedDecimalsOrBuilder();
}