com.hederahashgraph.api.proto.java.TokenAllowanceOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_approve_allowance.proto
package com.hederahashgraph.api.proto.java;
public interface TokenAllowanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenAllowance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
* @return The tokenId.
*/
com.hederahashgraph.api.proto.java.TokenID getTokenId();
/**
*
**
* The token that the allowance pertains to.
*
*
* .proto.TokenID tokenId = 1;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
* @return The owner.
*/
com.hederahashgraph.api.proto.java.AccountID getOwner();
/**
*
**
* The account ID of the token owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 2;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getOwnerOrBuilder();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
* @return Whether the spender field is set.
*/
boolean hasSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
* @return The spender.
*/
com.hederahashgraph.api.proto.java.AccountID getSpender();
/**
*
**
* The account ID of the token allowance spender.
*
*
* .proto.AccountID spender = 3;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getSpenderOrBuilder();
/**
*
**
* The amount of the spender's token allowance.
*
*
* int64 amount = 4;
* @return The amount.
*/
long getAmount();
}