com.hedera.hashgraph.sdk.proto.RosterStateOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
// 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 extends com.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.RoundRosterPairOrBuilder getRoundRosterPairsOrBuilder(
int index);
}