Class GetByKeyResponse.Builder

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

public static final class GetByKeyResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetByKeyResponse,GetByKeyResponse.Builder> implements GetByKeyResponseOrBuilder
 *
 Response when the client sends the node GetByKeyQuery

 > This query is no longer supported.
 
Protobuf type proto.GetByKeyResponse
  • 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 GetByKeyResponseOrBuilder
      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 GetByKeyResponseOrBuilder
      Returns:
      The header.
    • setHeader

      public GetByKeyResponse.Builder setHeader(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;
    • setHeader

      public GetByKeyResponse.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 GetByKeyResponse.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 GetByKeyResponse.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;
    • getEntitiesList

      public List<EntityID> getEntitiesList()
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
      Specified by:
      getEntitiesList in interface GetByKeyResponseOrBuilder
    • getEntitiesCount

      public int getEntitiesCount()
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
      Specified by:
      getEntitiesCount in interface GetByKeyResponseOrBuilder
    • getEntities

      public EntityID getEntities(int index)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
      Specified by:
      getEntities in interface GetByKeyResponseOrBuilder
    • setEntities

      public GetByKeyResponse.Builder setEntities(int index, EntityID value)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • setEntities

      public GetByKeyResponse.Builder setEntities(int index, EntityID.Builder builderForValue)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • addEntities

      public GetByKeyResponse.Builder addEntities(EntityID value)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • addEntities

      public GetByKeyResponse.Builder addEntities(int index, EntityID value)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • addEntities

      public GetByKeyResponse.Builder addEntities(EntityID.Builder builderForValue)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • addEntities

      public GetByKeyResponse.Builder addEntities(int index, EntityID.Builder builderForValue)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • addAllEntities

      public GetByKeyResponse.Builder addAllEntities(Iterable<? extends EntityID> values)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • clearEntities

      public GetByKeyResponse.Builder clearEntities()
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;
    • removeEntities

      public GetByKeyResponse.Builder removeEntities(int index)
       *
       The list of entities that include this public key in their
       associated Key list
       
      repeated .proto.EntityID entities = 2;