Interface AccountIDOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
AccountID, AccountID.Builder

@Generated public interface AccountIDOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    * A whole number account number, unique within its realm and shard.
    com.google.protobuf.ByteString
    * An alias value.<br/> Alias is a value used in some contexts to refer to an account when account number is not available, and may be an alias public key, or an EVM address.
    long
    * A whole number realm identifier.
    long
    * A whole number shard identifier.
    boolean
    * A whole number account number, unique within its realm and shard.
    boolean
    * An alias value.<br/> Alias is a value used in some contexts to refer to an account when account number is not available, and may be an alias public key, or an EVM address.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getShardNum

      long getShardNum()
       *
       A whole number shard identifier.
       
      int64 shardNum = 1;
      Returns:
      The shardNum.
    • getRealmNum

      long getRealmNum()
       *
       A whole number realm identifier.
       
      int64 realmNum = 2;
      Returns:
      The realmNum.
    • hasAccountNum

      boolean hasAccountNum()
       *
       A whole number account number, unique within its realm and shard.
       <p>
       For any AccountID fields in the query response, transaction records,
       transaction receipts, or block stream `accountNum` MUST be used.
       
      int64 accountNum = 3;
      Returns:
      Whether the accountNum field is set.
    • getAccountNum

      long getAccountNum()
       *
       A whole number account number, unique within its realm and shard.
       <p>
       For any AccountID fields in the query response, transaction records,
       transaction receipts, or block stream `accountNum` MUST be used.
       
      int64 accountNum = 3;
      Returns:
      The accountNum.
    • hasAlias

      boolean hasAlias()
       *
       An alias value.<br/>
       Alias is a value used in some contexts to refer to an account when
       account number is not available, and may be an alias public key, or
       an EVM address.
       
      bytes alias = 4;
      Returns:
      Whether the alias field is set.
    • getAlias

      com.google.protobuf.ByteString getAlias()
       *
       An alias value.<br/>
       Alias is a value used in some contexts to refer to an account when
       account number is not available, and may be an alias public key, or
       an EVM address.
       
      bytes alias = 4;
      Returns:
      The alias.
    • getAccountCase

      AccountID.AccountCase getAccountCase()