com.hedera.hashgraph.sdk.proto.CryptoAllowanceOrBuilder 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: crypto_approve_allowance.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface CryptoAllowanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CryptoAllowance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The account ID of the hbar owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 1;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
*
**
* The account ID of the hbar owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 1;
* @return The owner.
*/
com.hedera.hashgraph.sdk.proto.AccountID getOwner();
/**
*
**
* The account ID of the hbar owner (ie. the grantor of the allowance).
*
*
* .proto.AccountID owner = 1;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getOwnerOrBuilder();
/**
*
**
* The account ID of the spender of the hbar allowance.
*
*
* .proto.AccountID spender = 2;
* @return Whether the spender field is set.
*/
boolean hasSpender();
/**
*
**
* The account ID of the spender of the hbar allowance.
*
*
* .proto.AccountID spender = 2;
* @return The spender.
*/
com.hedera.hashgraph.sdk.proto.AccountID getSpender();
/**
*
**
* The account ID of the spender of the hbar allowance.
*
*
* .proto.AccountID spender = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getSpenderOrBuilder();
/**
*
**
* The amount of the spender's allowance in tinybars.
*
*
* int64 amount = 3;
* @return The amount.
*/
long getAmount();
}