com.hederahashgraph.api.proto.java.LedgerIdOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: state/roster/ledger_id.proto
package com.hederahashgraph.api.proto.java;
public interface LedgerIdOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.node.state.roster.LedgerId)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A public key.<br/>
* This key both identifies the ledger and can be used to verify ledger
* signatures.
* <p>
* This value MUST be set.<br/>
* This value MUST NOT be empty.<br/>
* This value MUST contain a valid public key.
*
*
* bytes ledger_id = 1;
* @return The ledgerId.
*/
com.google.protobuf.ByteString getLedgerId();
/**
*
**
* A round number.<br/>
* This identifies when this ledger id becomes active.<br/>
* This value is REQUIRED.
*
*
* uint64 round = 2;
* @return The round.
*/
long getRound();
/**
*
**
* A signature from the prior ledger key.<br/>
* This signature is the _previous_ ledger ID signing _this_ ledger ID.<br/>
* This value MAY be unset, if there is no prior ledger ID.<br/>
* This value SHOULD be set if a prior ledger ID exists
* to generate the signature.
*
*
* bytes ledger_signature = 3;
* @return The ledgerSignature.
*/
com.google.protobuf.ByteString getLedgerSignature();
/**
*
**
* The signatures from nodes in the active roster signing the new
* ledger id.<br/>
* These signatures establish a chain of trust from the network to the new
* ledger id.
* <p>
* This value MUST be present when the ledger signature of a previous ledger
* id is absent.
*
*
* .com.hedera.hapi.node.state.roster.RosterSignatures roster_signatures = 4;
* @return Whether the rosterSignatures field is set.
*/
boolean hasRosterSignatures();
/**
*
**
* The signatures from nodes in the active roster signing the new
* ledger id.<br/>
* These signatures establish a chain of trust from the network to the new
* ledger id.
* <p>
* This value MUST be present when the ledger signature of a previous ledger
* id is absent.
*
*
* .com.hedera.hapi.node.state.roster.RosterSignatures roster_signatures = 4;
* @return The rosterSignatures.
*/
com.hederahashgraph.api.proto.java.RosterSignatures getRosterSignatures();
/**
*
**
* The signatures from nodes in the active roster signing the new
* ledger id.<br/>
* These signatures establish a chain of trust from the network to the new
* ledger id.
* <p>
* This value MUST be present when the ledger signature of a previous ledger
* id is absent.
*
*
* .com.hedera.hapi.node.state.roster.RosterSignatures roster_signatures = 4;
*/
com.hederahashgraph.api.proto.java.RosterSignaturesOrBuilder getRosterSignaturesOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy