Module com.hedera.hashgraph.sdk
Package com.hedera.hapi.node.tss.legacy
Class LedgerIdNodeContribution
java.lang.Object
com.google.protobuf.AbstractMessageLite<LedgerIdNodeContribution,LedgerIdNodeContribution.Builder>
com.google.protobuf.GeneratedMessageLite<LedgerIdNodeContribution,LedgerIdNodeContribution.Builder>
com.hedera.hapi.node.tss.legacy.LedgerIdNodeContribution
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,LedgerIdNodeContributionOrBuilder
@Generated
public final class LedgerIdNodeContribution
extends com.google.protobuf.GeneratedMessageLite<LedgerIdNodeContribution,LedgerIdNodeContribution.Builder>
implements LedgerIdNodeContributionOrBuilder
* A record of the proof key a node had in a particular address book. Necessary to keep at each point history so that nodes can verify the correct key was used to sign in transitions starting from the current address book; no matter how keys have been rotated from the time the address book was created.Protobuf type
com.hedera.hapi.node.tss.LedgerIdNodeContribution-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A record of the proof key a node had in a particular address book.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) static LedgerIdNodeContributioncom.google.protobuf.ByteString* The public key the node used to contribute to history proofs when the ledger id was published.long* The node id.long* The node's consensus weight when the ledger id was published.newBuilder(LedgerIdNodeContribution prototype) static LedgerIdNodeContributionparseDelimitedFrom(InputStream input) static LedgerIdNodeContributionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LedgerIdNodeContributionparseFrom(byte[] data) static LedgerIdNodeContributionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LedgerIdNodeContributionparseFrom(com.google.protobuf.ByteString data) static LedgerIdNodeContributionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LedgerIdNodeContributionparseFrom(com.google.protobuf.CodedInputStream input) static LedgerIdNodeContributionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LedgerIdNodeContributionparseFrom(InputStream input) static LedgerIdNodeContributionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LedgerIdNodeContributionparseFrom(ByteBuffer data) static LedgerIdNodeContributionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LedgerIdNodeContribution> 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
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER- See Also:
-
WEIGHT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER- See Also:
-
HISTORY_PROOF_KEY_FIELD_NUMBER
public static final int HISTORY_PROOF_KEY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getNodeId
public long getNodeId()* The node id.
uint64 node_id = 1;- Specified by:
getNodeIdin interfaceLedgerIdNodeContributionOrBuilder- Returns:
- The nodeId.
-
getWeight
public long getWeight()* The node's consensus weight when the ledger id was published.
uint64 weight = 2;- Specified by:
getWeightin interfaceLedgerIdNodeContributionOrBuilder- Returns:
- The weight.
-
getHistoryProofKey
public com.google.protobuf.ByteString getHistoryProofKey()* The public key the node used to contribute to history proofs when the ledger id was published.
bytes history_proof_key = 3;- Specified by:
getHistoryProofKeyin interfaceLedgerIdNodeContributionOrBuilder- Returns:
- The historyProofKey.
-
parseFrom
public static LedgerIdNodeContribution parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LedgerIdNodeContribution parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LedgerIdNodeContribution parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<LedgerIdNodeContribution,LedgerIdNodeContribution.Builder>
-
getDefaultInstance
-
parser
-