Interface ConsensusTopicQueryOrBuilder

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

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

    Modifier and Type
    Method
    Description
    * Include messages which reached consensus before this time.
    * Include messages which reached consensus on or after this time.
    long
    * The maximum number of messages to receive before stopping.
    * A required topic ID to retrieve messages for.
    boolean
    * Include messages which reached consensus before this time.
    boolean
    * Include messages which reached consensus on or after this time.
    boolean
    * A required topic ID to retrieve messages for.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasTopicID

      boolean hasTopicID()
       *
       A required topic ID to retrieve messages for.
       
      .proto.TopicID topicID = 1;
      Returns:
      Whether the topicID field is set.
    • getTopicID

      TopicID getTopicID()
       *
       A required topic ID to retrieve messages for.
       
      .proto.TopicID topicID = 1;
      Returns:
      The topicID.
    • hasConsensusStartTime

      boolean hasConsensusStartTime()
       *
       Include messages which reached consensus on or after this time. Defaults to current time if
       not set.
       
      .proto.Timestamp consensusStartTime = 2;
      Returns:
      Whether the consensusStartTime field is set.
    • getConsensusStartTime

      Timestamp getConsensusStartTime()
       *
       Include messages which reached consensus on or after this time. Defaults to current time if
       not set.
       
      .proto.Timestamp consensusStartTime = 2;
      Returns:
      The consensusStartTime.
    • hasConsensusEndTime

      boolean hasConsensusEndTime()
       *
       Include messages which reached consensus before this time. If not set it will receive
       indefinitely.
       
      .proto.Timestamp consensusEndTime = 3;
      Returns:
      Whether the consensusEndTime field is set.
    • getConsensusEndTime

      Timestamp getConsensusEndTime()
       *
       Include messages which reached consensus before this time. If not set it will receive
       indefinitely.
       
      .proto.Timestamp consensusEndTime = 3;
      Returns:
      The consensusEndTime.
    • getLimit

      long getLimit()
       *
       The maximum number of messages to receive before stopping. If not set or set to zero it will
       return messages indefinitely.
       
      uint64 limit = 4;
      Returns:
      The limit.