com.hederahashgraph.api.proto.java.RosterStateOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: state/roster/roster_state.proto
package com.hederahashgraph.api.proto.java;
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.hederahashgraph.api.proto.java.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 extends com.hederahashgraph.api.proto.java.RoundRosterPairOrBuilder>
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.hederahashgraph.api.proto.java.RoundRosterPairOrBuilder getRoundRosterPairsOrBuilder(
int index);
}