java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EntityCounts,EntityCounts.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EntityCounts,EntityCounts.Builder>
com.hedera.hashgraph.sdk.proto.EntityCounts.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EntityCountsOrBuilder,Cloneable
- Enclosing class:
EntityCounts
public static final class EntityCounts.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EntityCounts,EntityCounts.Builder>
implements EntityCountsOrBuilder
* Representation of a Hedera Entity Service entity counts in the network Merkle tree. This message is used to store the counts of various entities in the network.Protobuf type
com.hedera.hapi.node.state.entity.EntityCounts-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The number of accounts in the network.* The number of airdrops in the network.* The number of aliases in the network.* The number of contract bytecodes in the network.* The number of contract storage slots in the network.* The number of EVM hook storage slots in the network.* The number of files in the network.* The number of hooks in the network.* The number of NFTs in the network.* The number of nodes in the network.* The number of registered nodes in the network.* The number of schedules in the network.* The number of staking infos in the network.* The number of token relationships in the network.* The number of tokens in the network.* The number of topics in the network.long* The number of accounts in the network.long* The number of airdrops in the network.long* The number of aliases in the network.long* The number of contract bytecodes in the network.long* The number of contract storage slots in the network.long* The number of EVM hook storage slots in the network.long* The number of files in the network.long* The number of hooks in the network.long* The number of NFTs in the network.long* The number of nodes in the network.long* The number of registered nodes in the network.long* The number of schedules in the network.long* The number of staking infos in the network.long* The number of token relationships in the network.long* The number of tokens in the network.long* The number of topics in the network.setNumAccounts(long value) * The number of accounts in the network.setNumAirdrops(long value) * The number of airdrops in the network.setNumAliases(long value) * The number of aliases in the network.setNumContractBytecodes(long value) * The number of contract bytecodes in the network.setNumContractStorageSlots(long value) * The number of contract storage slots in the network.setNumEvmHookStorageSlots(long value) * The number of EVM hook storage slots in the network.setNumFiles(long value) * The number of files in the network.setNumHooks(long value) * The number of hooks in the network.setNumNfts(long value) * The number of NFTs in the network.setNumNodes(long value) * The number of nodes in the network.setNumRegisteredNodes(long value) * The number of registered nodes in the network.setNumSchedules(long value) * The number of schedules in the network.setNumStakingInfos(long value) * The number of staking infos in the network.setNumTokenRelations(long value) * The number of token relationships in the network.setNumTokens(long value) * The number of tokens in the network.setNumTopics(long value) * The number of topics in the network.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getNumAccounts
public long getNumAccounts()* The number of accounts in the network.
uint64 num_accounts = 1;- Specified by:
getNumAccountsin interfaceEntityCountsOrBuilder- Returns:
- The numAccounts.
-
setNumAccounts
* The number of accounts in the network.
uint64 num_accounts = 1;- Parameters:
value- The numAccounts to set.- Returns:
- This builder for chaining.
-
clearNumAccounts
* The number of accounts in the network.
uint64 num_accounts = 1;- Returns:
- This builder for chaining.
-
getNumAliases
public long getNumAliases()* The number of aliases in the network.
uint64 num_aliases = 2;- Specified by:
getNumAliasesin interfaceEntityCountsOrBuilder- Returns:
- The numAliases.
-
setNumAliases
* The number of aliases in the network.
uint64 num_aliases = 2;- Parameters:
value- The numAliases to set.- Returns:
- This builder for chaining.
-
clearNumAliases
* The number of aliases in the network.
uint64 num_aliases = 2;- Returns:
- This builder for chaining.
-
getNumTokens
public long getNumTokens()* The number of tokens in the network.
uint64 num_tokens = 3;- Specified by:
getNumTokensin interfaceEntityCountsOrBuilder- Returns:
- The numTokens.
-
setNumTokens
* The number of tokens in the network.
uint64 num_tokens = 3;- Parameters:
value- The numTokens to set.- Returns:
- This builder for chaining.
-
clearNumTokens
* The number of tokens in the network.
uint64 num_tokens = 3;- Returns:
- This builder for chaining.
-
getNumTokenRelations
public long getNumTokenRelations()* The number of token relationships in the network.
uint64 num_token_relations = 4;- Specified by:
getNumTokenRelationsin interfaceEntityCountsOrBuilder- Returns:
- The numTokenRelations.
-
setNumTokenRelations
* The number of token relationships in the network.
uint64 num_token_relations = 4;- Parameters:
value- The numTokenRelations to set.- Returns:
- This builder for chaining.
-
clearNumTokenRelations
* The number of token relationships in the network.
uint64 num_token_relations = 4;- Returns:
- This builder for chaining.
-
getNumNfts
public long getNumNfts()* The number of NFTs in the network.
uint64 num_nfts = 5;- Specified by:
getNumNftsin interfaceEntityCountsOrBuilder- Returns:
- The numNfts.
-
setNumNfts
* The number of NFTs in the network.
uint64 num_nfts = 5;- Parameters:
value- The numNfts to set.- Returns:
- This builder for chaining.
-
clearNumNfts
* The number of NFTs in the network.
uint64 num_nfts = 5;- Returns:
- This builder for chaining.
-
getNumAirdrops
public long getNumAirdrops()* The number of airdrops in the network.
uint64 num_airdrops = 6;- Specified by:
getNumAirdropsin interfaceEntityCountsOrBuilder- Returns:
- The numAirdrops.
-
setNumAirdrops
* The number of airdrops in the network.
uint64 num_airdrops = 6;- Parameters:
value- The numAirdrops to set.- Returns:
- This builder for chaining.
-
clearNumAirdrops
* The number of airdrops in the network.
uint64 num_airdrops = 6;- Returns:
- This builder for chaining.
-
getNumStakingInfos
public long getNumStakingInfos()* The number of staking infos in the network.
uint64 num_staking_infos = 7;- Specified by:
getNumStakingInfosin interfaceEntityCountsOrBuilder- Returns:
- The numStakingInfos.
-
setNumStakingInfos
* The number of staking infos in the network.
uint64 num_staking_infos = 7;- Parameters:
value- The numStakingInfos to set.- Returns:
- This builder for chaining.
-
clearNumStakingInfos
* The number of staking infos in the network.
uint64 num_staking_infos = 7;- Returns:
- This builder for chaining.
-
getNumTopics
public long getNumTopics()* The number of topics in the network.
uint64 num_topics = 8;- Specified by:
getNumTopicsin interfaceEntityCountsOrBuilder- Returns:
- The numTopics.
-
setNumTopics
* The number of topics in the network.
uint64 num_topics = 8;- Parameters:
value- The numTopics to set.- Returns:
- This builder for chaining.
-
clearNumTopics
* The number of topics in the network.
uint64 num_topics = 8;- Returns:
- This builder for chaining.
-
getNumFiles
public long getNumFiles()* The number of files in the network.
uint64 num_files = 9;- Specified by:
getNumFilesin interfaceEntityCountsOrBuilder- Returns:
- The numFiles.
-
setNumFiles
* The number of files in the network.
uint64 num_files = 9;- Parameters:
value- The numFiles to set.- Returns:
- This builder for chaining.
-
clearNumFiles
* The number of files in the network.
uint64 num_files = 9;- Returns:
- This builder for chaining.
-
getNumNodes
public long getNumNodes()* The number of nodes in the network.
uint64 num_nodes = 10;- Specified by:
getNumNodesin interfaceEntityCountsOrBuilder- Returns:
- The numNodes.
-
setNumNodes
* The number of nodes in the network.
uint64 num_nodes = 10;- Parameters:
value- The numNodes to set.- Returns:
- This builder for chaining.
-
clearNumNodes
* The number of nodes in the network.
uint64 num_nodes = 10;- Returns:
- This builder for chaining.
-
getNumSchedules
public long getNumSchedules()* The number of schedules in the network.
uint64 num_schedules = 11;- Specified by:
getNumSchedulesin interfaceEntityCountsOrBuilder- Returns:
- The numSchedules.
-
setNumSchedules
* The number of schedules in the network.
uint64 num_schedules = 11;- Parameters:
value- The numSchedules to set.- Returns:
- This builder for chaining.
-
clearNumSchedules
* The number of schedules in the network.
uint64 num_schedules = 11;- Returns:
- This builder for chaining.
-
getNumContractStorageSlots
public long getNumContractStorageSlots()* The number of contract storage slots in the network.
uint64 num_contract_storage_slots = 12;- Specified by:
getNumContractStorageSlotsin interfaceEntityCountsOrBuilder- Returns:
- The numContractStorageSlots.
-
setNumContractStorageSlots
* The number of contract storage slots in the network.
uint64 num_contract_storage_slots = 12;- Parameters:
value- The numContractStorageSlots to set.- Returns:
- This builder for chaining.
-
clearNumContractStorageSlots
* The number of contract storage slots in the network.
uint64 num_contract_storage_slots = 12;- Returns:
- This builder for chaining.
-
getNumContractBytecodes
public long getNumContractBytecodes()* The number of contract bytecodes in the network.
uint64 num_contract_bytecodes = 13;- Specified by:
getNumContractBytecodesin interfaceEntityCountsOrBuilder- Returns:
- The numContractBytecodes.
-
setNumContractBytecodes
* The number of contract bytecodes in the network.
uint64 num_contract_bytecodes = 13;- Parameters:
value- The numContractBytecodes to set.- Returns:
- This builder for chaining.
-
clearNumContractBytecodes
* The number of contract bytecodes in the network.
uint64 num_contract_bytecodes = 13;- Returns:
- This builder for chaining.
-
getNumHooks
public long getNumHooks()* The number of hooks in the network.
uint64 num_hooks = 14;- Specified by:
getNumHooksin interfaceEntityCountsOrBuilder- Returns:
- The numHooks.
-
setNumHooks
* The number of hooks in the network.
uint64 num_hooks = 14;- Parameters:
value- The numHooks to set.- Returns:
- This builder for chaining.
-
clearNumHooks
* The number of hooks in the network.
uint64 num_hooks = 14;- Returns:
- This builder for chaining.
-
getNumEvmHookStorageSlots
public long getNumEvmHookStorageSlots()* The number of EVM hook storage slots in the network.
uint64 num_evm_hook_storage_slots = 15;- Specified by:
getNumEvmHookStorageSlotsin interfaceEntityCountsOrBuilder- Returns:
- The numEvmHookStorageSlots.
-
setNumEvmHookStorageSlots
* The number of EVM hook storage slots in the network.
uint64 num_evm_hook_storage_slots = 15;- Parameters:
value- The numEvmHookStorageSlots to set.- Returns:
- This builder for chaining.
-
clearNumEvmHookStorageSlots
* The number of EVM hook storage slots in the network.
uint64 num_evm_hook_storage_slots = 15;- Returns:
- This builder for chaining.
-
getNumRegisteredNodes
public long getNumRegisteredNodes()* The number of registered nodes in the network.
uint64 num_registered_nodes = 16;- Specified by:
getNumRegisteredNodesin interfaceEntityCountsOrBuilder- Returns:
- The numRegisteredNodes.
-
setNumRegisteredNodes
* The number of registered nodes in the network.
uint64 num_registered_nodes = 16;- Parameters:
value- The numRegisteredNodes to set.- Returns:
- This builder for chaining.
-
clearNumRegisteredNodes
* The number of registered nodes in the network.
uint64 num_registered_nodes = 16;- Returns:
- This builder for chaining.
-