com.hedera.hashgraph.sdk.proto.TokenWipeAccountTransactionBodyOrBuilder 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
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_wipe_account.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenWipeAccountTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenWipeAccountTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token for which the account will be wiped. 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 the account will be wiped. If token does not exist, transaction results
* in INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
* @return The token.
*/
com.hedera.hashgraph.sdk.proto.TokenID getToken();
/**
*
**
* The token for which the account will be wiped. If token does not exist, transaction results
* in INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenOrBuilder();
/**
*
**
* The account to be wiped
*
*
* .proto.AccountID account = 2;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
*
**
* The account to be wiped
*
*
* .proto.AccountID account = 2;
* @return The account.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccount();
/**
*
**
* The account to be wiped
*
*
* .proto.AccountID account = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAccountOrBuilder();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. The amount of tokens to wipe from the specified
* account. Amount must be a positive non-zero number in the lowest denomination possible, not
* bigger than the token balance of the account (0; balance]
*
*
* uint64 amount = 3;
* @return The amount.
*/
long getAmount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be wiped.
*
*
* repeated int64 serialNumbers = 4;
* @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 wiped.
*
*
* repeated int64 serialNumbers = 4;
* @return The count of serialNumbers.
*/
int getSerialNumbersCount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be wiped.
*
*
* repeated int64 serialNumbers = 4;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
long getSerialNumbers(int index);
}