Class GetBySolidityIDResponse.Builder

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

public static final class GetBySolidityIDResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetBySolidityIDResponse,GetBySolidityIDResponse.Builder> implements GetBySolidityIDResponseOrBuilder
 *
 Response to a getBySolidityId query.

 This message returns the account, contract, and file identifiers for
 a smart contract.
 
Protobuf type proto.GetBySolidityIDResponse
  • Method Details

    • hasHeader

      public boolean hasHeader()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
      Specified by:
      hasHeader in interface GetBySolidityIDResponseOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public ResponseHeader getHeader()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
      Specified by:
      getHeader in interface GetBySolidityIDResponseOrBuilder
      Returns:
      The header.
    • setHeader

       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • setHeader

      public GetBySolidityIDResponse.Builder setHeader(ResponseHeader.Builder builderForValue)
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • mergeHeader

      public GetBySolidityIDResponse.Builder mergeHeader(ResponseHeader value)
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • clearHeader

      public GetBySolidityIDResponse.Builder clearHeader()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • hasAccountID

      public boolean hasAccountID()
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public GetBySolidityIDResponse.Builder setAccountID(AccountID value)
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public GetBySolidityIDResponse.Builder setAccountID(AccountID.Builder builderForValue)
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public GetBySolidityIDResponse.Builder mergeAccountID(AccountID value)
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public GetBySolidityIDResponse.Builder clearAccountID()
       *
       An account identifier.
       <p>
       This SHALL identify an account that backs the requested smart contract.
       
      .proto.AccountID accountID = 2;
    • hasFileID

      public boolean hasFileID()
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
      Specified by:
      hasFileID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      Whether the fileID field is set.
    • getFileID

      public FileID getFileID()
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
      Specified by:
      getFileID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      The fileID.
    • setFileID

      public GetBySolidityIDResponse.Builder setFileID(FileID value)
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
    • setFileID

      public GetBySolidityIDResponse.Builder setFileID(FileID.Builder builderForValue)
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
    • mergeFileID

      public GetBySolidityIDResponse.Builder mergeFileID(FileID value)
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
    • clearFileID

      public GetBySolidityIDResponse.Builder clearFileID()
       *
       A file identifier.
       <p>
       This SHALL identify a file, the contents of which are the EVM
       bytecode for the requested smart contract.
       
      .proto.FileID fileID = 3;
    • hasContractID

      public boolean hasContractID()
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;
      Specified by:
      hasContractID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      Whether the contractID field is set.
    • getContractID

      public ContractID getContractID()
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;
      Specified by:
      getContractID in interface GetBySolidityIDResponseOrBuilder
      Returns:
      The contractID.
    • setContractID

      public GetBySolidityIDResponse.Builder setContractID(ContractID value)
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;
    • setContractID

      public GetBySolidityIDResponse.Builder setContractID(ContractID.Builder builderForValue)
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;
    • mergeContractID

      public GetBySolidityIDResponse.Builder mergeContractID(ContractID value)
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;
    • clearContractID

      public GetBySolidityIDResponse.Builder clearContractID()
       *
       A contract identifier.
       <p>
       This SHALL identify the requested smart contract.
       
      .proto.ContractID contractID = 4;