com.hederahashgraph.api.proto.java.HederaFunctionality Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hederahashgraph.api.proto.java;
/**
*
**
* The transactions and queries supported by Hedera Hashgraph.
*
*
* Protobuf enum {@code proto.HederaFunctionality}
*/
public enum HederaFunctionality
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
**
* UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and
* not parsed (0 is ignored by parser)
*
*
* NONE = 0;
*/
NONE(0),
/**
*
**
* crypto transfer
*
*
* CryptoTransfer = 1;
*/
CryptoTransfer(1),
/**
*
**
* crypto update account
*
*
* CryptoUpdate = 2;
*/
CryptoUpdate(2),
/**
*
**
* crypto delete account
*
*
* CryptoDelete = 3;
*/
CryptoDelete(3),
/**
*
**
* Add a livehash to a crypto account
*
*
* CryptoAddLiveHash = 4;
*/
CryptoAddLiveHash(4),
/**
*
**
* Delete a livehash from a crypto account
*
*
* CryptoDeleteLiveHash = 5;
*/
CryptoDeleteLiveHash(5),
/**
*
**
* Smart Contract Call
*
*
* ContractCall = 6;
*/
ContractCall(6),
/**
*
**
* Smart Contract Create Contract
*
*
* ContractCreate = 7;
*/
ContractCreate(7),
/**
*
**
* Smart Contract update contract
*
*
* ContractUpdate = 8;
*/
ContractUpdate(8),
/**
*
**
* File Operation create file
*
*
* FileCreate = 9;
*/
FileCreate(9),
/**
*
**
* File Operation append file
*
*
* FileAppend = 10;
*/
FileAppend(10),
/**
*
**
* File Operation update file
*
*
* FileUpdate = 11;
*/
FileUpdate(11),
/**
*
**
* File Operation delete file
*
*
* FileDelete = 12;
*/
FileDelete(12),
/**
*
**
* crypto get account balance
*
*
* CryptoGetAccountBalance = 13;
*/
CryptoGetAccountBalance(13),
/**
*
**
* crypto get account record
*
*
* CryptoGetAccountRecords = 14;
*/
CryptoGetAccountRecords(14),
/**
*
**
* Crypto get info
*
*
* CryptoGetInfo = 15;
*/
CryptoGetInfo(15),
/**
*
**
* Smart Contract Call
*
*
* ContractCallLocal = 16;
*/
ContractCallLocal(16),
/**
*
**
* Smart Contract get info
*
*
* ContractGetInfo = 17;
*/
ContractGetInfo(17),
/**
*
**
* Smart Contract, get the runtime code
*
*
* ContractGetBytecode = 18;
*/
ContractGetBytecode(18),
/**
*
**
* Smart Contract, get by solidity ID
*
*
* GetBySolidityID = 19;
*/
GetBySolidityID(19),
/**
*
**
* Smart Contract, get by key
*
*
* GetByKey = 20;
*/
GetByKey(20),
/**
*
**
* Get a live hash from a crypto account
*
*
* CryptoGetLiveHash = 21;
*/
CryptoGetLiveHash(21),
/**
*
**
* Crypto, get the stakers for the node
*
*
* CryptoGetStakers = 22;
*/
CryptoGetStakers(22),
/**
*
**
* File Operations get file contents
*
*
* FileGetContents = 23;
*/
FileGetContents(23),
/**
*
**
* File Operations get the info of the file
*
*
* FileGetInfo = 24;
*/
FileGetInfo(24),
/**
*
**
* Crypto get the transaction records
*
*
* TransactionGetRecord = 25;
*/
TransactionGetRecord(25),
/**
*
**
* Contract get the transaction records
*
*
* ContractGetRecords = 26;
*/
ContractGetRecords(26),
/**
*
**
* crypto create account
*
*
* CryptoCreate = 27;
*/
CryptoCreate(27),
/**
*
**
* system delete file
*
*
* SystemDelete = 28;
*/
SystemDelete(28),
/**
*
**
* system undelete file
*
*
* SystemUndelete = 29;
*/
SystemUndelete(29),
/**
*
**
* delete contract
*
*
* ContractDelete = 30;
*/
ContractDelete(30),
/**
*
**
* freeze
*
*
* Freeze = 31;
*/
Freeze(31),
/**
*
**
* Create Tx Record
*
*
* CreateTransactionRecord = 32;
*/
CreateTransactionRecord(32),
/**
*
**
* Crypto Auto Renew
*
*
* CryptoAccountAutoRenew = 33;
*/
CryptoAccountAutoRenew(33),
/**
*
**
* Contract Auto Renew
*
*
* ContractAutoRenew = 34;
*/
ContractAutoRenew(34),
/**
*
**
* Get Version
*
*
* GetVersionInfo = 35;
*/
GetVersionInfo(35),
/**
*
**
* Transaction Get Receipt
*
*
* TransactionGetReceipt = 36;
*/
TransactionGetReceipt(36),
/**
*
**
* Create Topic
*
*
* ConsensusCreateTopic = 50;
*/
ConsensusCreateTopic(50),
/**
*
**
* Update Topic
*
*
* ConsensusUpdateTopic = 51;
*/
ConsensusUpdateTopic(51),
/**
*
**
* Delete Topic
*
*
* ConsensusDeleteTopic = 52;
*/
ConsensusDeleteTopic(52),
/**
*
**
* Get Topic information
*
*
* ConsensusGetTopicInfo = 53;
*/
ConsensusGetTopicInfo(53),
/**
*
**
* Submit message to topic
*
*
* ConsensusSubmitMessage = 54;
*/
ConsensusSubmitMessage(54),
/**
* UncheckedSubmit = 55;
*/
UncheckedSubmit(55),
/**
*
**
* Create Token
*
*
* TokenCreate = 56;
*/
TokenCreate(56),
/**
*
**
* Get Token information
*
*
* TokenGetInfo = 58;
*/
TokenGetInfo(58),
/**
*
**
* Freeze Account
*
*
* TokenFreezeAccount = 59;
*/
TokenFreezeAccount(59),
/**
*
**
* Unfreeze Account
*
*
* TokenUnfreezeAccount = 60;
*/
TokenUnfreezeAccount(60),
/**
*
**
* Grant KYC to Account
*
*
* TokenGrantKycToAccount = 61;
*/
TokenGrantKycToAccount(61),
/**
*
**
* Revoke KYC from Account
*
*
* TokenRevokeKycFromAccount = 62;
*/
TokenRevokeKycFromAccount(62),
/**
*
**
* Delete Token
*
*
* TokenDelete = 63;
*/
TokenDelete(63),
/**
*
**
* Update Token
*
*
* TokenUpdate = 64;
*/
TokenUpdate(64),
/**
*
**
* Mint tokens to treasury
*
*
* TokenMint = 65;
*/
TokenMint(65),
/**
*
**
* Burn tokens from treasury
*
*
* TokenBurn = 66;
*/
TokenBurn(66),
/**
*
**
* Wipe token amount from Account holder
*
*
* TokenAccountWipe = 67;
*/
TokenAccountWipe(67),
/**
*
**
* Associate tokens to an account
*
*
* TokenAssociateToAccount = 68;
*/
TokenAssociateToAccount(68),
/**
*
**
* Dissociate tokens from an account
*
*
* TokenDissociateFromAccount = 69;
*/
TokenDissociateFromAccount(69),
/**
*
**
* Create Scheduled Transaction
*
*
* ScheduleCreate = 70;
*/
ScheduleCreate(70),
/**
*
**
* Delete Scheduled Transaction
*
*
* ScheduleDelete = 71;
*/
ScheduleDelete(71),
/**
*
**
* Sign Scheduled Transaction
*
*
* ScheduleSign = 72;
*/
ScheduleSign(72),
/**
*
**
* Get Scheduled Transaction Information
*
*
* ScheduleGetInfo = 73;
*/
ScheduleGetInfo(73),
/**
*
**
* Get Token Account Nft Information
*
*
* TokenGetAccountNftInfos = 74;
*/
TokenGetAccountNftInfos(74),
/**
*
**
* Get Token Nft Information
*
*
* TokenGetNftInfo = 75;
*/
TokenGetNftInfo(75),
/**
*
**
* Get Token Nft List Information
*
*
* TokenGetNftInfos = 76;
*/
TokenGetNftInfos(76),
/**
*
**
* Update a token's custom fee schedule, if permissible
*
*
* TokenFeeScheduleUpdate = 77;
*/
TokenFeeScheduleUpdate(77),
/**
*
**
* Get execution time(s) by TransactionID, if available
*
*
* NetworkGetExecutionTime = 78;
*/
NetworkGetExecutionTime(78),
/**
*
**
* Pause the Token
*
*
* TokenPause = 79;
*/
TokenPause(79),
/**
*
**
* Unpause the Token
*
*
* TokenUnpause = 80;
*/
TokenUnpause(80),
/**
*
**
* Approve allowance for a spender relative to the owner account
*
*
* CryptoApproveAllowance = 81;
*/
CryptoApproveAllowance(81),
/**
*
**
* Deletes granted allowances on owner account
*
*
* CryptoDeleteAllowance = 82;
*/
CryptoDeleteAllowance(82),
/**
*
**
* Gets all the information about an account, including balance and allowances. This does not get the list of
* account records.
*
*
* GetAccountDetails = 83;
*/
GetAccountDetails(83),
/**
*
**
* Ethereum Transaction
*
*
* EthereumTransaction = 84;
*/
EthereumTransaction(84),
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* NodeStakeUpdate = 85;
*/
NodeStakeUpdate(85),
/**
*
**
* Generates a pseudorandom number.
*
*
* UtilPrng = 86;
*/
UtilPrng(86),
/**
*
**
* Get a record for a transaction.
*
*
* TransactionGetFastRecord = 87;
*/
TransactionGetFastRecord(87),
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* TokenUpdateNfts = 88;
*/
TokenUpdateNfts(88),
/**
*
**
* Create a node
*
*
* NodeCreate = 89;
*/
NodeCreate(89),
/**
*
**
* Update a node
*
*
* NodeUpdate = 90;
*/
NodeUpdate(90),
/**
*
**
* Delete a node
*
*
* NodeDelete = 91;
*/
NodeDelete(91),
/**
*
**
* Transfer one or more token balances held by the requesting account to the treasury for each token type.
*
*
* TokenReject = 92;
*/
TokenReject(92),
/**
*
**
* Airdrop one or more tokens to one or more accounts.
*
*
* TokenAirdrop = 93;
*/
TokenAirdrop(93),
/**
*
**
* Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop.
*
*
* TokenCancelAirdrop = 94;
*/
TokenCancelAirdrop(94),
/**
*
**
* Claim one or more pending airdrops
*
*
* TokenClaimAirdrop = 95;
*/
TokenClaimAirdrop(95),
/**
*
**
* A message produced as part of Threshold Signature Scheme (TSS) processing.
*
*
* TssMessage = 96;
*/
TssMessage(96),
/**
*
**
* Submit a vote as part of the Threshold Signature Scheme (TSS) processing.
*
*
* TssVote = 97;
*/
TssVote(97),
UNRECOGNIZED(-1),
;
/**
*
**
* UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and
* not parsed (0 is ignored by parser)
*
*
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
*
**
* crypto transfer
*
*
* CryptoTransfer = 1;
*/
public static final int CryptoTransfer_VALUE = 1;
/**
*
**
* crypto update account
*
*
* CryptoUpdate = 2;
*/
public static final int CryptoUpdate_VALUE = 2;
/**
*
**
* crypto delete account
*
*
* CryptoDelete = 3;
*/
public static final int CryptoDelete_VALUE = 3;
/**
*
**
* Add a livehash to a crypto account
*
*
* CryptoAddLiveHash = 4;
*/
public static final int CryptoAddLiveHash_VALUE = 4;
/**
*
**
* Delete a livehash from a crypto account
*
*
* CryptoDeleteLiveHash = 5;
*/
public static final int CryptoDeleteLiveHash_VALUE = 5;
/**
*
**
* Smart Contract Call
*
*
* ContractCall = 6;
*/
public static final int ContractCall_VALUE = 6;
/**
*
**
* Smart Contract Create Contract
*
*
* ContractCreate = 7;
*/
public static final int ContractCreate_VALUE = 7;
/**
*
**
* Smart Contract update contract
*
*
* ContractUpdate = 8;
*/
public static final int ContractUpdate_VALUE = 8;
/**
*
**
* File Operation create file
*
*
* FileCreate = 9;
*/
public static final int FileCreate_VALUE = 9;
/**
*
**
* File Operation append file
*
*
* FileAppend = 10;
*/
public static final int FileAppend_VALUE = 10;
/**
*
**
* File Operation update file
*
*
* FileUpdate = 11;
*/
public static final int FileUpdate_VALUE = 11;
/**
*
**
* File Operation delete file
*
*
* FileDelete = 12;
*/
public static final int FileDelete_VALUE = 12;
/**
*
**
* crypto get account balance
*
*
* CryptoGetAccountBalance = 13;
*/
public static final int CryptoGetAccountBalance_VALUE = 13;
/**
*
**
* crypto get account record
*
*
* CryptoGetAccountRecords = 14;
*/
public static final int CryptoGetAccountRecords_VALUE = 14;
/**
*
**
* Crypto get info
*
*
* CryptoGetInfo = 15;
*/
public static final int CryptoGetInfo_VALUE = 15;
/**
*
**
* Smart Contract Call
*
*
* ContractCallLocal = 16;
*/
public static final int ContractCallLocal_VALUE = 16;
/**
*
**
* Smart Contract get info
*
*
* ContractGetInfo = 17;
*/
public static final int ContractGetInfo_VALUE = 17;
/**
*
**
* Smart Contract, get the runtime code
*
*
* ContractGetBytecode = 18;
*/
public static final int ContractGetBytecode_VALUE = 18;
/**
*
**
* Smart Contract, get by solidity ID
*
*
* GetBySolidityID = 19;
*/
public static final int GetBySolidityID_VALUE = 19;
/**
*
**
* Smart Contract, get by key
*
*
* GetByKey = 20;
*/
public static final int GetByKey_VALUE = 20;
/**
*
**
* Get a live hash from a crypto account
*
*
* CryptoGetLiveHash = 21;
*/
public static final int CryptoGetLiveHash_VALUE = 21;
/**
*
**
* Crypto, get the stakers for the node
*
*
* CryptoGetStakers = 22;
*/
public static final int CryptoGetStakers_VALUE = 22;
/**
*
**
* File Operations get file contents
*
*
* FileGetContents = 23;
*/
public static final int FileGetContents_VALUE = 23;
/**
*
**
* File Operations get the info of the file
*
*
* FileGetInfo = 24;
*/
public static final int FileGetInfo_VALUE = 24;
/**
*
**
* Crypto get the transaction records
*
*
* TransactionGetRecord = 25;
*/
public static final int TransactionGetRecord_VALUE = 25;
/**
*
**
* Contract get the transaction records
*
*
* ContractGetRecords = 26;
*/
public static final int ContractGetRecords_VALUE = 26;
/**
*
**
* crypto create account
*
*
* CryptoCreate = 27;
*/
public static final int CryptoCreate_VALUE = 27;
/**
*
**
* system delete file
*
*
* SystemDelete = 28;
*/
public static final int SystemDelete_VALUE = 28;
/**
*
**
* system undelete file
*
*
* SystemUndelete = 29;
*/
public static final int SystemUndelete_VALUE = 29;
/**
*
**
* delete contract
*
*
* ContractDelete = 30;
*/
public static final int ContractDelete_VALUE = 30;
/**
*
**
* freeze
*
*
* Freeze = 31;
*/
public static final int Freeze_VALUE = 31;
/**
*
**
* Create Tx Record
*
*
* CreateTransactionRecord = 32;
*/
public static final int CreateTransactionRecord_VALUE = 32;
/**
*
**
* Crypto Auto Renew
*
*
* CryptoAccountAutoRenew = 33;
*/
public static final int CryptoAccountAutoRenew_VALUE = 33;
/**
*
**
* Contract Auto Renew
*
*
* ContractAutoRenew = 34;
*/
public static final int ContractAutoRenew_VALUE = 34;
/**
*
**
* Get Version
*
*
* GetVersionInfo = 35;
*/
public static final int GetVersionInfo_VALUE = 35;
/**
*
**
* Transaction Get Receipt
*
*
* TransactionGetReceipt = 36;
*/
public static final int TransactionGetReceipt_VALUE = 36;
/**
*
**
* Create Topic
*
*
* ConsensusCreateTopic = 50;
*/
public static final int ConsensusCreateTopic_VALUE = 50;
/**
*
**
* Update Topic
*
*
* ConsensusUpdateTopic = 51;
*/
public static final int ConsensusUpdateTopic_VALUE = 51;
/**
*
**
* Delete Topic
*
*
* ConsensusDeleteTopic = 52;
*/
public static final int ConsensusDeleteTopic_VALUE = 52;
/**
*
**
* Get Topic information
*
*
* ConsensusGetTopicInfo = 53;
*/
public static final int ConsensusGetTopicInfo_VALUE = 53;
/**
*
**
* Submit message to topic
*
*
* ConsensusSubmitMessage = 54;
*/
public static final int ConsensusSubmitMessage_VALUE = 54;
/**
* UncheckedSubmit = 55;
*/
public static final int UncheckedSubmit_VALUE = 55;
/**
*
**
* Create Token
*
*
* TokenCreate = 56;
*/
public static final int TokenCreate_VALUE = 56;
/**
*
**
* Get Token information
*
*
* TokenGetInfo = 58;
*/
public static final int TokenGetInfo_VALUE = 58;
/**
*
**
* Freeze Account
*
*
* TokenFreezeAccount = 59;
*/
public static final int TokenFreezeAccount_VALUE = 59;
/**
*
**
* Unfreeze Account
*
*
* TokenUnfreezeAccount = 60;
*/
public static final int TokenUnfreezeAccount_VALUE = 60;
/**
*
**
* Grant KYC to Account
*
*
* TokenGrantKycToAccount = 61;
*/
public static final int TokenGrantKycToAccount_VALUE = 61;
/**
*
**
* Revoke KYC from Account
*
*
* TokenRevokeKycFromAccount = 62;
*/
public static final int TokenRevokeKycFromAccount_VALUE = 62;
/**
*
**
* Delete Token
*
*
* TokenDelete = 63;
*/
public static final int TokenDelete_VALUE = 63;
/**
*
**
* Update Token
*
*
* TokenUpdate = 64;
*/
public static final int TokenUpdate_VALUE = 64;
/**
*
**
* Mint tokens to treasury
*
*
* TokenMint = 65;
*/
public static final int TokenMint_VALUE = 65;
/**
*
**
* Burn tokens from treasury
*
*
* TokenBurn = 66;
*/
public static final int TokenBurn_VALUE = 66;
/**
*
**
* Wipe token amount from Account holder
*
*
* TokenAccountWipe = 67;
*/
public static final int TokenAccountWipe_VALUE = 67;
/**
*
**
* Associate tokens to an account
*
*
* TokenAssociateToAccount = 68;
*/
public static final int TokenAssociateToAccount_VALUE = 68;
/**
*
**
* Dissociate tokens from an account
*
*
* TokenDissociateFromAccount = 69;
*/
public static final int TokenDissociateFromAccount_VALUE = 69;
/**
*
**
* Create Scheduled Transaction
*
*
* ScheduleCreate = 70;
*/
public static final int ScheduleCreate_VALUE = 70;
/**
*
**
* Delete Scheduled Transaction
*
*
* ScheduleDelete = 71;
*/
public static final int ScheduleDelete_VALUE = 71;
/**
*
**
* Sign Scheduled Transaction
*
*
* ScheduleSign = 72;
*/
public static final int ScheduleSign_VALUE = 72;
/**
*
**
* Get Scheduled Transaction Information
*
*
* ScheduleGetInfo = 73;
*/
public static final int ScheduleGetInfo_VALUE = 73;
/**
*
**
* Get Token Account Nft Information
*
*
* TokenGetAccountNftInfos = 74;
*/
public static final int TokenGetAccountNftInfos_VALUE = 74;
/**
*
**
* Get Token Nft Information
*
*
* TokenGetNftInfo = 75;
*/
public static final int TokenGetNftInfo_VALUE = 75;
/**
*
**
* Get Token Nft List Information
*
*
* TokenGetNftInfos = 76;
*/
public static final int TokenGetNftInfos_VALUE = 76;
/**
*
**
* Update a token's custom fee schedule, if permissible
*
*
* TokenFeeScheduleUpdate = 77;
*/
public static final int TokenFeeScheduleUpdate_VALUE = 77;
/**
*
**
* Get execution time(s) by TransactionID, if available
*
*
* NetworkGetExecutionTime = 78;
*/
public static final int NetworkGetExecutionTime_VALUE = 78;
/**
*
**
* Pause the Token
*
*
* TokenPause = 79;
*/
public static final int TokenPause_VALUE = 79;
/**
*
**
* Unpause the Token
*
*
* TokenUnpause = 80;
*/
public static final int TokenUnpause_VALUE = 80;
/**
*
**
* Approve allowance for a spender relative to the owner account
*
*
* CryptoApproveAllowance = 81;
*/
public static final int CryptoApproveAllowance_VALUE = 81;
/**
*
**
* Deletes granted allowances on owner account
*
*
* CryptoDeleteAllowance = 82;
*/
public static final int CryptoDeleteAllowance_VALUE = 82;
/**
*
**
* Gets all the information about an account, including balance and allowances. This does not get the list of
* account records.
*
*
* GetAccountDetails = 83;
*/
public static final int GetAccountDetails_VALUE = 83;
/**
*
**
* Ethereum Transaction
*
*
* EthereumTransaction = 84;
*/
public static final int EthereumTransaction_VALUE = 84;
/**
*
**
* Updates the staking info at the end of staking period to indicate new staking period has started.
*
*
* NodeStakeUpdate = 85;
*/
public static final int NodeStakeUpdate_VALUE = 85;
/**
*
**
* Generates a pseudorandom number.
*
*
* UtilPrng = 86;
*/
public static final int UtilPrng_VALUE = 86;
/**
*
**
* Get a record for a transaction.
*
*
* TransactionGetFastRecord = 87;
*/
public static final int TransactionGetFastRecord_VALUE = 87;
/**
*
**
* Update the metadata of one or more NFT's of a specific token type.
*
*
* TokenUpdateNfts = 88;
*/
public static final int TokenUpdateNfts_VALUE = 88;
/**
*
**
* Create a node
*
*
* NodeCreate = 89;
*/
public static final int NodeCreate_VALUE = 89;
/**
*
**
* Update a node
*
*
* NodeUpdate = 90;
*/
public static final int NodeUpdate_VALUE = 90;
/**
*
**
* Delete a node
*
*
* NodeDelete = 91;
*/
public static final int NodeDelete_VALUE = 91;
/**
*
**
* Transfer one or more token balances held by the requesting account to the treasury for each token type.
*
*
* TokenReject = 92;
*/
public static final int TokenReject_VALUE = 92;
/**
*
**
* Airdrop one or more tokens to one or more accounts.
*
*
* TokenAirdrop = 93;
*/
public static final int TokenAirdrop_VALUE = 93;
/**
*
**
* Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop.
*
*
* TokenCancelAirdrop = 94;
*/
public static final int TokenCancelAirdrop_VALUE = 94;
/**
*
**
* Claim one or more pending airdrops
*
*
* TokenClaimAirdrop = 95;
*/
public static final int TokenClaimAirdrop_VALUE = 95;
/**
*
**
* A message produced as part of Threshold Signature Scheme (TSS) processing.
*
*
* TssMessage = 96;
*/
public static final int TssMessage_VALUE = 96;
/**
*
**
* Submit a vote as part of the Threshold Signature Scheme (TSS) processing.
*
*
* TssVote = 97;
*/
public static final int TssVote_VALUE = 97;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static HederaFunctionality valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static HederaFunctionality forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return CryptoTransfer;
case 2: return CryptoUpdate;
case 3: return CryptoDelete;
case 4: return CryptoAddLiveHash;
case 5: return CryptoDeleteLiveHash;
case 6: return ContractCall;
case 7: return ContractCreate;
case 8: return ContractUpdate;
case 9: return FileCreate;
case 10: return FileAppend;
case 11: return FileUpdate;
case 12: return FileDelete;
case 13: return CryptoGetAccountBalance;
case 14: return CryptoGetAccountRecords;
case 15: return CryptoGetInfo;
case 16: return ContractCallLocal;
case 17: return ContractGetInfo;
case 18: return ContractGetBytecode;
case 19: return GetBySolidityID;
case 20: return GetByKey;
case 21: return CryptoGetLiveHash;
case 22: return CryptoGetStakers;
case 23: return FileGetContents;
case 24: return FileGetInfo;
case 25: return TransactionGetRecord;
case 26: return ContractGetRecords;
case 27: return CryptoCreate;
case 28: return SystemDelete;
case 29: return SystemUndelete;
case 30: return ContractDelete;
case 31: return Freeze;
case 32: return CreateTransactionRecord;
case 33: return CryptoAccountAutoRenew;
case 34: return ContractAutoRenew;
case 35: return GetVersionInfo;
case 36: return TransactionGetReceipt;
case 50: return ConsensusCreateTopic;
case 51: return ConsensusUpdateTopic;
case 52: return ConsensusDeleteTopic;
case 53: return ConsensusGetTopicInfo;
case 54: return ConsensusSubmitMessage;
case 55: return UncheckedSubmit;
case 56: return TokenCreate;
case 58: return TokenGetInfo;
case 59: return TokenFreezeAccount;
case 60: return TokenUnfreezeAccount;
case 61: return TokenGrantKycToAccount;
case 62: return TokenRevokeKycFromAccount;
case 63: return TokenDelete;
case 64: return TokenUpdate;
case 65: return TokenMint;
case 66: return TokenBurn;
case 67: return TokenAccountWipe;
case 68: return TokenAssociateToAccount;
case 69: return TokenDissociateFromAccount;
case 70: return ScheduleCreate;
case 71: return ScheduleDelete;
case 72: return ScheduleSign;
case 73: return ScheduleGetInfo;
case 74: return TokenGetAccountNftInfos;
case 75: return TokenGetNftInfo;
case 76: return TokenGetNftInfos;
case 77: return TokenFeeScheduleUpdate;
case 78: return NetworkGetExecutionTime;
case 79: return TokenPause;
case 80: return TokenUnpause;
case 81: return CryptoApproveAllowance;
case 82: return CryptoDeleteAllowance;
case 83: return GetAccountDetails;
case 84: return EthereumTransaction;
case 85: return NodeStakeUpdate;
case 86: return UtilPrng;
case 87: return TransactionGetFastRecord;
case 88: return TokenUpdateNfts;
case 89: return NodeCreate;
case 90: return NodeUpdate;
case 91: return NodeDelete;
case 92: return TokenReject;
case 93: return TokenAirdrop;
case 94: return TokenCancelAirdrop;
case 95: return TokenClaimAirdrop;
case 96: return TssMessage;
case 97: return TssVote;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
HederaFunctionality> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public HederaFunctionality findValueByNumber(int number) {
return HederaFunctionality.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.BasicTypes.getDescriptor().getEnumTypes().get(8);
}
private static final HederaFunctionality[] VALUES = values();
public static HederaFunctionality valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private HederaFunctionality(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:proto.HederaFunctionality)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy