Class EntityID.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EntityID,EntityID.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EntityID,EntityID.Builder>
com.hedera.hashgraph.sdk.proto.EntityID.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, EntityIDOrBuilder, Cloneable
Enclosing class:
EntityID

public static final class EntityID.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EntityID,EntityID.Builder> implements EntityIDOrBuilder
 *
 The ID for a single entity (account, livehash, file, or smart contract)

 > The query that defines this message is no longer supported.
 
Protobuf type proto.EntityID
  • Method Details

    • getEntityCase

      public EntityID.EntityCase getEntityCase()
      Specified by:
      getEntityCase in interface EntityIDOrBuilder
    • clearEntity

      public EntityID.Builder clearEntity()
    • hasAccountID

      public boolean hasAccountID()
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
      Specified by:
      hasAccountID in interface EntityIDOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
      Specified by:
      getAccountID in interface EntityIDOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public EntityID.Builder setAccountID(AccountID value)
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
    • setAccountID

      public EntityID.Builder setAccountID(AccountID.Builder builderForValue)
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
    • mergeAccountID

      public EntityID.Builder mergeAccountID(AccountID value)
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
    • clearAccountID

      public EntityID.Builder clearAccountID()
       *
       The Account ID for the cryptocurrency account
       
      .proto.AccountID accountID = 1;
    • hasLiveHash

      public boolean hasLiveHash()
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
      Specified by:
      hasLiveHash in interface EntityIDOrBuilder
      Returns:
      Whether the liveHash field is set.
    • getLiveHash

      public LiveHash getLiveHash()
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
      Specified by:
      getLiveHash in interface EntityIDOrBuilder
      Returns:
      The liveHash.
    • setLiveHash

      public EntityID.Builder setLiveHash(LiveHash value)
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
    • setLiveHash

      public EntityID.Builder setLiveHash(LiveHash.Builder builderForValue)
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
    • mergeLiveHash

      public EntityID.Builder mergeLiveHash(LiveHash value)
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
    • clearLiveHash

      public EntityID.Builder clearLiveHash()
       *
       A uniquely identifying livehash of an account
       
      .proto.LiveHash liveHash = 2;
    • hasFileID

      public boolean hasFileID()
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
      Specified by:
      hasFileID in interface EntityIDOrBuilder
      Returns:
      Whether the fileID field is set.
    • getFileID

      public FileID getFileID()
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
      Specified by:
      getFileID in interface EntityIDOrBuilder
      Returns:
      The fileID.
    • setFileID

      public EntityID.Builder setFileID(FileID value)
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
    • setFileID

      public EntityID.Builder setFileID(FileID.Builder builderForValue)
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
    • mergeFileID

      public EntityID.Builder mergeFileID(FileID value)
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
    • clearFileID

      public EntityID.Builder clearFileID()
       *
       The file ID of the file
       
      .proto.FileID fileID = 3;
    • hasContractID

      public boolean hasContractID()
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;
      Specified by:
      hasContractID in interface EntityIDOrBuilder
      Returns:
      Whether the contractID field is set.
    • getContractID

      public ContractID getContractID()
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;
      Specified by:
      getContractID in interface EntityIDOrBuilder
      Returns:
      The contractID.
    • setContractID

      public EntityID.Builder setContractID(ContractID value)
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;
    • setContractID

      public EntityID.Builder setContractID(ContractID.Builder builderForValue)
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;
    • mergeContractID

      public EntityID.Builder mergeContractID(ContractID value)
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;
    • clearContractID

      public EntityID.Builder clearContractID()
       *
       The smart contract ID that identifies instance
       
      .proto.ContractID contractID = 4;