Module com.hedera.hashgraph.sdk
Package com.hedera.hapi.node.tss.legacy
Class LedgerIdPublicationTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<LedgerIdPublicationTransactionBody,LedgerIdPublicationTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<LedgerIdPublicationTransactionBody,LedgerIdPublicationTransactionBody.Builder>
com.hedera.hapi.node.tss.legacy.LedgerIdPublicationTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,LedgerIdPublicationTransactionBodyOrBuilder
@Generated
public final class LedgerIdPublicationTransactionBody
extends com.google.protobuf.GeneratedMessageLite<LedgerIdPublicationTransactionBody,LedgerIdPublicationTransactionBody.Builder>
implements LedgerIdPublicationTransactionBodyOrBuilder
* A system initiated transaction to externalize the ledger id and verification key for recursive chain-of-trust proofs extending from the new ledger id. This transaction SHALL be issued whenever the ledger id changes.<br/> This transaction MUST NOT be sent by a client and SHALL be rejected if received by any node.<br/> This transaction SHALL be present in the record stream or block stream. ### Block Stream Effects NoneProtobuf type
com.hedera.hapi.node.tss.LedgerIdPublicationTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A system initiated transaction to externalize the ledger id and verification key for recursive chain-of-trust proofs extending from the new ledger id.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.ByteString* The key to use when verifying recursive chain-of-trust proofs that extend from this ledger id.com.google.protobuf.ByteString* The new ledger id.getNodeContributions(int index) * The node-specific contributions made to the new ledger id.int* The node-specific contributions made to the new ledger id.* The node-specific contributions made to the new ledger id.getNodeContributionsOrBuilder(int index) * The node-specific contributions made to the new ledger id.List<? extends LedgerIdNodeContributionOrBuilder> * The node-specific contributions made to the new ledger id.newBuilder(LedgerIdPublicationTransactionBody prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LedgerIdPublicationTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
LEDGER_ID_FIELD_NUMBER
public static final int LEDGER_ID_FIELD_NUMBER- See Also:
-
HISTORY_PROOF_VERIFICATION_KEY_FIELD_NUMBER
public static final int HISTORY_PROOF_VERIFICATION_KEY_FIELD_NUMBER- See Also:
-
NODE_CONTRIBUTIONS_FIELD_NUMBER
public static final int NODE_CONTRIBUTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getLedgerId
public com.google.protobuf.ByteString getLedgerId()* The new ledger id.
bytes ledger_id = 1;- Specified by:
getLedgerIdin interfaceLedgerIdPublicationTransactionBodyOrBuilder- Returns:
- The ledgerId.
-
getHistoryProofVerificationKey
public com.google.protobuf.ByteString getHistoryProofVerificationKey()* The key to use when verifying recursive chain-of-trust proofs that extend from this ledger id.
bytes history_proof_verification_key = 2;- Specified by:
getHistoryProofVerificationKeyin interfaceLedgerIdPublicationTransactionBodyOrBuilder- Returns:
- The historyProofVerificationKey.
-
getNodeContributionsList
* The node-specific contributions made to the new ledger id.
repeated .com.hedera.hapi.node.tss.LedgerIdNodeContribution node_contributions = 3;- Specified by:
getNodeContributionsListin interfaceLedgerIdPublicationTransactionBodyOrBuilder
-
getNodeContributionsOrBuilderList
* The node-specific contributions made to the new ledger id.
repeated .com.hedera.hapi.node.tss.LedgerIdNodeContribution node_contributions = 3; -
getNodeContributionsCount
public int getNodeContributionsCount()* The node-specific contributions made to the new ledger id.
repeated .com.hedera.hapi.node.tss.LedgerIdNodeContribution node_contributions = 3;- Specified by:
getNodeContributionsCountin interfaceLedgerIdPublicationTransactionBodyOrBuilder
-
getNodeContributions
* The node-specific contributions made to the new ledger id.
repeated .com.hedera.hapi.node.tss.LedgerIdNodeContribution node_contributions = 3;- Specified by:
getNodeContributionsin interfaceLedgerIdPublicationTransactionBodyOrBuilder
-
getNodeContributionsOrBuilder
* The node-specific contributions made to the new ledger id.
repeated .com.hedera.hapi.node.tss.LedgerIdNodeContribution node_contributions = 3; -
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static LedgerIdPublicationTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static LedgerIdPublicationTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LedgerIdPublicationTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static LedgerIdPublicationTransactionBody.Builder newBuilder(LedgerIdPublicationTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<LedgerIdPublicationTransactionBody,LedgerIdPublicationTransactionBody.Builder>
-
getDefaultInstance
-
parser
-