com.hederahashgraph.api.proto.java.TokenBurnTransactionBodyOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_burn.proto
package com.hederahashgraph.api.proto.java;
public interface TokenBurnTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenBurnTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token for which to burn tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
* @return Whether the token field is set.
*/
boolean hasToken();
/**
*
**
* The token for which to burn tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
* @return The token.
*/
com.hederahashgraph.api.proto.java.TokenID getToken();
/**
*
**
* The token for which to burn tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenOrBuilder();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. The amount to burn from the Treasury Account.
* Amount must be a positive non-zero number, not bigger than the token balance of the treasury
* account (0; balance], represented in the lowest denomination.
*
*
* uint64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @return A list containing the serialNumbers.
*/
java.util.List getSerialNumbersList();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @return The count of serialNumbers.
*/
int getSerialNumbersCount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
long getSerialNumbers(int index);
}