Class EntityCounts

java.lang.Object
com.google.protobuf.AbstractMessageLite<EntityCounts,EntityCounts.Builder>
com.google.protobuf.GeneratedMessageLite<EntityCounts,EntityCounts.Builder>
com.hedera.hashgraph.sdk.proto.EntityCounts
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, EntityCountsOrBuilder

@Generated public final class EntityCounts extends com.google.protobuf.GeneratedMessageLite<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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Representation of a Hedera Entity Service entity counts in the network Merkle tree.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    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.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<EntityCounts>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • NUM_ACCOUNTS_FIELD_NUMBER

      public static final int NUM_ACCOUNTS_FIELD_NUMBER
      See Also:
    • NUM_ALIASES_FIELD_NUMBER

      public static final int NUM_ALIASES_FIELD_NUMBER
      See Also:
    • NUM_TOKENS_FIELD_NUMBER

      public static final int NUM_TOKENS_FIELD_NUMBER
      See Also:
    • NUM_TOKEN_RELATIONS_FIELD_NUMBER

      public static final int NUM_TOKEN_RELATIONS_FIELD_NUMBER
      See Also:
    • NUM_NFTS_FIELD_NUMBER

      public static final int NUM_NFTS_FIELD_NUMBER
      See Also:
    • NUM_AIRDROPS_FIELD_NUMBER

      public static final int NUM_AIRDROPS_FIELD_NUMBER
      See Also:
    • NUM_STAKING_INFOS_FIELD_NUMBER

      public static final int NUM_STAKING_INFOS_FIELD_NUMBER
      See Also:
    • NUM_TOPICS_FIELD_NUMBER

      public static final int NUM_TOPICS_FIELD_NUMBER
      See Also:
    • NUM_FILES_FIELD_NUMBER

      public static final int NUM_FILES_FIELD_NUMBER
      See Also:
    • NUM_NODES_FIELD_NUMBER

      public static final int NUM_NODES_FIELD_NUMBER
      See Also:
    • NUM_SCHEDULES_FIELD_NUMBER

      public static final int NUM_SCHEDULES_FIELD_NUMBER
      See Also:
    • NUM_CONTRACT_STORAGE_SLOTS_FIELD_NUMBER

      public static final int NUM_CONTRACT_STORAGE_SLOTS_FIELD_NUMBER
      See Also:
    • NUM_CONTRACT_BYTECODES_FIELD_NUMBER

      public static final int NUM_CONTRACT_BYTECODES_FIELD_NUMBER
      See Also:
    • NUM_HOOKS_FIELD_NUMBER

      public static final int NUM_HOOKS_FIELD_NUMBER
      See Also:
    • NUM_EVM_HOOK_STORAGE_SLOTS_FIELD_NUMBER

      public static final int NUM_EVM_HOOK_STORAGE_SLOTS_FIELD_NUMBER
      See Also:
    • NUM_REGISTERED_NODES_FIELD_NUMBER

      public static final int NUM_REGISTERED_NODES_FIELD_NUMBER
      See Also:
  • Method Details

    • getNumAccounts

      public long getNumAccounts()
       *
       The number of accounts in the network.
       
      uint64 num_accounts = 1;
      Specified by:
      getNumAccounts in interface EntityCountsOrBuilder
      Returns:
      The numAccounts.
    • getNumAliases

      public long getNumAliases()
       *
       The number of aliases in the network.
       
      uint64 num_aliases = 2;
      Specified by:
      getNumAliases in interface EntityCountsOrBuilder
      Returns:
      The numAliases.
    • getNumTokens

      public long getNumTokens()
       *
       The number of tokens in the network.
       
      uint64 num_tokens = 3;
      Specified by:
      getNumTokens in interface EntityCountsOrBuilder
      Returns:
      The numTokens.
    • getNumTokenRelations

      public long getNumTokenRelations()
       *
       The number of token relationships in the network.
       
      uint64 num_token_relations = 4;
      Specified by:
      getNumTokenRelations in interface EntityCountsOrBuilder
      Returns:
      The numTokenRelations.
    • getNumNfts

      public long getNumNfts()
       *
       The number of NFTs in the network.
       
      uint64 num_nfts = 5;
      Specified by:
      getNumNfts in interface EntityCountsOrBuilder
      Returns:
      The numNfts.
    • getNumAirdrops

      public long getNumAirdrops()
       *
       The number of airdrops in the network.
       
      uint64 num_airdrops = 6;
      Specified by:
      getNumAirdrops in interface EntityCountsOrBuilder
      Returns:
      The numAirdrops.
    • getNumStakingInfos

      public long getNumStakingInfos()
       *
       The number of staking infos in the network.
       
      uint64 num_staking_infos = 7;
      Specified by:
      getNumStakingInfos in interface EntityCountsOrBuilder
      Returns:
      The numStakingInfos.
    • getNumTopics

      public long getNumTopics()
       *
       The number of topics in the network.
       
      uint64 num_topics = 8;
      Specified by:
      getNumTopics in interface EntityCountsOrBuilder
      Returns:
      The numTopics.
    • getNumFiles

      public long getNumFiles()
       *
       The number of files in the network.
       
      uint64 num_files = 9;
      Specified by:
      getNumFiles in interface EntityCountsOrBuilder
      Returns:
      The numFiles.
    • getNumNodes

      public long getNumNodes()
       *
       The number of nodes in the network.
       
      uint64 num_nodes = 10;
      Specified by:
      getNumNodes in interface EntityCountsOrBuilder
      Returns:
      The numNodes.
    • getNumSchedules

      public long getNumSchedules()
       *
       The number of schedules in the network.
       
      uint64 num_schedules = 11;
      Specified by:
      getNumSchedules in interface EntityCountsOrBuilder
      Returns:
      The numSchedules.
    • getNumContractStorageSlots

      public long getNumContractStorageSlots()
       *
       The number of contract storage slots in the network.
       
      uint64 num_contract_storage_slots = 12;
      Specified by:
      getNumContractStorageSlots in interface EntityCountsOrBuilder
      Returns:
      The numContractStorageSlots.
    • getNumContractBytecodes

      public long getNumContractBytecodes()
       *
       The number of contract bytecodes in the network.
       
      uint64 num_contract_bytecodes = 13;
      Specified by:
      getNumContractBytecodes in interface EntityCountsOrBuilder
      Returns:
      The numContractBytecodes.
    • getNumHooks

      public long getNumHooks()
       *
       The number of hooks in the network.
       
      uint64 num_hooks = 14;
      Specified by:
      getNumHooks in interface EntityCountsOrBuilder
      Returns:
      The numHooks.
    • getNumEvmHookStorageSlots

      public long getNumEvmHookStorageSlots()
       *
       The number of EVM hook storage slots in the network.
       
      uint64 num_evm_hook_storage_slots = 15;
      Specified by:
      getNumEvmHookStorageSlots in interface EntityCountsOrBuilder
      Returns:
      The numEvmHookStorageSlots.
    • getNumRegisteredNodes

      public long getNumRegisteredNodes()
       *
       The number of registered nodes in the network.
       
      uint64 num_registered_nodes = 16;
      Specified by:
      getNumRegisteredNodes in interface EntityCountsOrBuilder
      Returns:
      The numRegisteredNodes.
    • parseFrom

      public static EntityCounts parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntityCounts parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntityCounts parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EntityCounts parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EntityCounts parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntityCounts parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntityCounts parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static EntityCounts.Builder newBuilder()
    • newBuilder

      public static EntityCounts.Builder newBuilder(EntityCounts prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EntityCounts,EntityCounts.Builder>
    • getDefaultInstance

      public static EntityCounts getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EntityCounts> parser()