All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hapi.platform.event.legacy.EventDescriptorOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.57.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: event/event_descriptor.proto

package com.hedera.hapi.platform.event.legacy;

public interface EventDescriptorOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.platform.event.EventDescriptor)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * The hash of the event.<br/>
   * The hash SHALL be a SHA-384 hash.<br/>
   * The hash SHALL have the following inputs, in the specified order:<br/>
   * 1. The bytes of the `EventCore` protobuf<br/>
   * 2. The SHA-384 hash of each individual `EventTransaction`, in the order the transactions appear in the `event_transactions` field of the `GossipEvent` protobuf
   * 
* * bytes hash = 1; * @return The hash. */ com.google.protobuf.ByteString getHash(); /** *
   **
   * 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 = 2; * @return The creatorNodeId. */ long getCreatorNodeId(); /** *
   **
   * 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 = 3; * @return The birthRound. */ long getBirthRound(); /** *
   **
   * The generation of the event.<br/>
   * This value SHALL be **one greater** than the _maximum_ generation of all parents.<br/>
   * 
* * int64 generation = 17; * @return The generation. */ long getGeneration(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy