Interface EventCoreOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    * The birth round of the event.<br/> The birth round SHALL be the pending consensus round at the time the event is created.<br/> The pending consensus round SHALL be **one greater** than the latest round to reach consensus.
    long
    * The creator node identifier.<br/> This SHALL be the unique identifier for the node that created the event.<br/> This SHALL match the ID of the node as it appears in the address book.
    getParents(int index)
    * A list of EventDescriptors representing the parents of this event.<br/> The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/> The first element of the list SHALL be the self parent, if one exists.<br/> The list of parents SHALL NOT include more than one parent from the same creator.
    int
    * A list of EventDescriptors representing the parents of this event.<br/> The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/> The first element of the list SHALL be the self parent, if one exists.<br/> The list of parents SHALL NOT include more than one parent from the same creator.
    * A list of EventDescriptors representing the parents of this event.<br/> The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/> The first element of the list SHALL be the self parent, if one exists.<br/> The list of parents SHALL NOT include more than one parent from the same creator.
    * The wall clock time at which the event was created, according to the node creating the event.<br/> If the event has a self parent, this timestamp MUST be strictly greater than the `time_created` of the self parent.
    * The event specification version.<br/> The specification described by this version SHALL encompass the format of the `GossipEvent` message, and also the format of all contained messages.<br/> This SHALL exactly match the specification version passed into the platform at construction.
    boolean
    * The wall clock time at which the event was created, according to the node creating the event.<br/> If the event has a self parent, this timestamp MUST be strictly greater than the `time_created` of the self parent.
    boolean
    * The event specification version.<br/> The specification described by this version SHALL encompass the format of the `GossipEvent` message, and also the format of all contained messages.<br/> This SHALL exactly match the specification version passed into the platform at construction.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getCreatorNodeId

      long getCreatorNodeId()
       *
       The creator node identifier.<br/>
       This SHALL be the unique identifier for the node that created the event.<br/>
       This SHALL match the ID of the node as it appears in the address book.
       
      int64 creator_node_id = 1;
      Returns:
      The creatorNodeId.
    • getBirthRound

      long getBirthRound()
       *
       The birth round of the event.<br/>
       The birth round SHALL be the pending consensus round at the time the event is created.<br/>
       The pending consensus round SHALL be **one greater** than the latest round to reach consensus.
       
      int64 birth_round = 2;
      Returns:
      The birthRound.
    • hasTimeCreated

      boolean hasTimeCreated()
       *
       The wall clock time at which the event was created, according to the node creating the event.<br/>
       If the event has a self parent, this timestamp MUST be strictly greater than the `time_created` of the self parent.
       
      .proto.Timestamp time_created = 3;
      Returns:
      Whether the timeCreated field is set.
    • getTimeCreated

      Timestamp getTimeCreated()
       *
       The wall clock time at which the event was created, according to the node creating the event.<br/>
       If the event has a self parent, this timestamp MUST be strictly greater than the `time_created` of the self parent.
       
      .proto.Timestamp time_created = 3;
      Returns:
      The timeCreated.
    • getParentsList

      List<EventDescriptor> getParentsList()
       *
       A list of EventDescriptors representing the parents of this event.<br/>
       The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/>
       The first element of the list SHALL be the self parent, if one exists.<br/>
       The list of parents SHALL NOT include more than one parent from the same creator.
       
      repeated .com.hedera.hapi.platform.event.EventDescriptor parents = 4;
    • getParents

      EventDescriptor getParents(int index)
       *
       A list of EventDescriptors representing the parents of this event.<br/>
       The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/>
       The first element of the list SHALL be the self parent, if one exists.<br/>
       The list of parents SHALL NOT include more than one parent from the same creator.
       
      repeated .com.hedera.hapi.platform.event.EventDescriptor parents = 4;
    • getParentsCount

      int getParentsCount()
       *
       A list of EventDescriptors representing the parents of this event.<br/>
       The list of parents SHALL include zero or one self parents, and zero or more other parents.<br/>
       The first element of the list SHALL be the self parent, if one exists.<br/>
       The list of parents SHALL NOT include more than one parent from the same creator.
       
      repeated .com.hedera.hapi.platform.event.EventDescriptor parents = 4;
    • hasVersion

      boolean hasVersion()
       *
       The event specification version.<br/>
       The specification described by this version SHALL encompass the format of the `GossipEvent` message, and also the
       format of all contained messages.<br/>
       This SHALL exactly match the specification version passed into the platform at construction.
       
      .proto.SemanticVersion version = 17;
      Returns:
      Whether the version field is set.
    • getVersion

      SemanticVersion getVersion()
       *
       The event specification version.<br/>
       The specification described by this version SHALL encompass the format of the `GossipEvent` message, and also the
       format of all contained messages.<br/>
       This SHALL exactly match the specification version passed into the platform at construction.
       
      .proto.SemanticVersion version = 17;
      Returns:
      The version.