com.hedera.hashgraph.sdk.proto.GrantedTokenAllowanceOrBuilder 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: get_account_details.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface GrantedTokenAllowanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.GrantedTokenAllowance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID token_id = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID token_id = 1;
* @return The tokenId.
*/
com.hedera.hashgraph.sdk.proto.TokenID getTokenId();
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID token_id = 1;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 2;
* @return Whether the spender field is set.
*/
boolean hasSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 2;
* @return The spender.
*/
com.hedera.hashgraph.sdk.proto.AccountID getSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getSpenderOrBuilder();
/**
*
**
* The amount of the spender's token allowance.
*
*
* int64 amount = 3;
* @return The amount.
*/
long getAmount();
}