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

com.hedera.hashgraph.sdk.proto.RosterStateOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: roster_state.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

public interface RosterStateOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.node.state.roster.RosterState)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * The SHA-384 hash of a candidate roster.
   * <p>
   * This is the hash of the roster that is currently being considered
   * for adoption.<br/>
   * A Node SHALL NOT, ever, have more than one candidate roster
   * at the same time.
   * 
* * bytes candidate_roster_hash = 1; * @return The candidateRosterHash. */ com.google.protobuf.ByteString getCandidateRosterHash(); /** *
   **
   * A list of round numbers and roster hashes.<br/>
   * The round number indicates the round in which the corresponding roster became active
   * <p>
   * This list SHALL be ordered by round numbers in descending order.
   * 
* * repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; */ java.util.List getRoundRosterPairsList(); /** *
   **
   * A list of round numbers and roster hashes.<br/>
   * The round number indicates the round in which the corresponding roster became active
   * <p>
   * This list SHALL be ordered by round numbers in descending order.
   * 
* * repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; */ com.hedera.hashgraph.sdk.proto.RoundRosterPair getRoundRosterPairs(int index); /** *
   **
   * A list of round numbers and roster hashes.<br/>
   * The round number indicates the round in which the corresponding roster became active
   * <p>
   * This list SHALL be ordered by round numbers in descending order.
   * 
* * repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; */ int getRoundRosterPairsCount(); /** *
   **
   * A list of round numbers and roster hashes.<br/>
   * The round number indicates the round in which the corresponding roster became active
   * <p>
   * This list SHALL be ordered by round numbers in descending order.
   * 
* * repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; */ java.util.List getRoundRosterPairsOrBuilderList(); /** *
   **
   * A list of round numbers and roster hashes.<br/>
   * The round number indicates the round in which the corresponding roster became active
   * <p>
   * This list SHALL be ordered by round numbers in descending order.
   * 
* * repeated .com.hedera.hapi.node.state.roster.RoundRosterPair round_roster_pairs = 2; */ com.hedera.hashgraph.sdk.proto.RoundRosterPairOrBuilder getRoundRosterPairsOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy