java.lang.Object
com.google.protobuf.AbstractMessageLite<EventCore,EventCore.Builder>
com.google.protobuf.GeneratedMessageLite<EventCore,EventCore.Builder>
com.hedera.hapi.platform.event.legacy.EventCore
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, EventCoreOrBuilder

@Generated public final class EventCore extends com.google.protobuf.GeneratedMessageLite<EventCore,EventCore.Builder> implements EventCoreOrBuilder
 *
 Contains information about an event and its parents.
 
Protobuf type com.hedera.hapi.platform.event.EventCore
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Contains information about an event and its parents.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    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.
    static EventCore
     
    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.
    * 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.
     
    newBuilder(EventCore prototype)
     
    static EventCore
     
    static EventCore
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static EventCore
    parseFrom(byte[] data)
     
    static EventCore
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static EventCore
    parseFrom(com.google.protobuf.ByteString data)
     
    static EventCore
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static EventCore
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static EventCore
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static EventCore
     
    static EventCore
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static EventCore
     
    static EventCore
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<EventCore>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • CREATOR_NODE_ID_FIELD_NUMBER

      public static final int CREATOR_NODE_ID_FIELD_NUMBER
      See Also:
    • BIRTH_ROUND_FIELD_NUMBER

      public static final int BIRTH_ROUND_FIELD_NUMBER
      See Also:
    • TIME_CREATED_FIELD_NUMBER

      public static final int TIME_CREATED_FIELD_NUMBER
      See Also:
    • PARENTS_FIELD_NUMBER

      public static final int PARENTS_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
  • Method Details

    • getCreatorNodeId

      public 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;
      Specified by:
      getCreatorNodeId in interface EventCoreOrBuilder
      Returns:
      The creatorNodeId.
    • getBirthRound

      public 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;
      Specified by:
      getBirthRound in interface EventCoreOrBuilder
      Returns:
      The birthRound.
    • hasTimeCreated

      public 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;
      Specified by:
      hasTimeCreated in interface EventCoreOrBuilder
      Returns:
      Whether the timeCreated field is set.
    • getTimeCreated

      public 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;
      Specified by:
      getTimeCreated in interface EventCoreOrBuilder
      Returns:
      The timeCreated.
    • getParentsList

      public 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;
      Specified by:
      getParentsList in interface EventCoreOrBuilder
    • getParentsOrBuilderList

      public List<? extends EventDescriptorOrBuilder> getParentsOrBuilderList()
       *
       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

      public 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;
      Specified by:
      getParentsCount in interface EventCoreOrBuilder
    • getParents

      public 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;
      Specified by:
      getParents in interface EventCoreOrBuilder
    • getParentsOrBuilder

      public EventDescriptorOrBuilder getParentsOrBuilder(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;
    • hasVersion

      public 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;
      Specified by:
      hasVersion in interface EventCoreOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public 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;
      Specified by:
      getVersion in interface EventCoreOrBuilder
      Returns:
      The version.
    • parseFrom

      public static EventCore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventCore parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventCore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventCore parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventCore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventCore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventCore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static EventCore.Builder newBuilder()
    • newBuilder

      public static EventCore.Builder newBuilder(EventCore prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EventCore,EventCore.Builder>
    • getDefaultInstance

      public static EventCore getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EventCore> parser()