Module com.hedera.hashgraph.sdk
Class HistoryProofKeyPublicationTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<HistoryProofKeyPublicationTransactionBody,HistoryProofKeyPublicationTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<HistoryProofKeyPublicationTransactionBody,HistoryProofKeyPublicationTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.history.legacy.HistoryProofKeyPublicationTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,HistoryProofKeyPublicationTransactionBodyOrBuilder
@Generated
public final class HistoryProofKeyPublicationTransactionBody
extends com.google.protobuf.GeneratedMessageLite<HistoryProofKeyPublicationTransactionBody,HistoryProofKeyPublicationTransactionBody.Builder>
implements HistoryProofKeyPublicationTransactionBodyOrBuilder
* A transaction body to publish a node's history proof key and WRAPS messages.Protobuf type
com.hedera.hapi.services.auxiliary.history.HistoryProofKeyPublicationTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A transaction body to publish a node's history proof key and WRAPS messages.static enumNested 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 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) long* The id of the proof construction this publication is for.getPhase()* The phase of the proof construction this key is being published for.int* The phase of the proof construction this key is being published for.com.google.protobuf.ByteString* The proof key the submitting node intends to use when contributing WRAPS messages for use in proving history belongs to the chain of trust for the ledger id.com.google.protobuf.ByteString* A WRAPS message from the submitting node.boolean* The proof key the submitting node intends to use when contributing WRAPS messages for use in proving history belongs to the chain of trust for the ledger id.boolean* A WRAPS message from the submitting node.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<HistoryProofKeyPublicationTransactionBody> 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
-
PROOF_KEY_FIELD_NUMBER
public static final int PROOF_KEY_FIELD_NUMBER- See Also:
-
WRAPS_MESSAGE_FIELD_NUMBER
public static final int WRAPS_MESSAGE_FIELD_NUMBER- See Also:
-
CONSTRUCTION_ID_FIELD_NUMBER
public static final int CONSTRUCTION_ID_FIELD_NUMBER- See Also:
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDataCase
- Specified by:
getDataCasein interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder
-
hasProofKey
public boolean hasProofKey()* The proof key the submitting node intends to use when contributing WRAPS messages for use in proving history belongs to the chain of trust for the ledger id.
bytes proof_key = 1;- Specified by:
hasProofKeyin interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- Whether the proofKey field is set.
-
getProofKey
public com.google.protobuf.ByteString getProofKey()* The proof key the submitting node intends to use when contributing WRAPS messages for use in proving history belongs to the chain of trust for the ledger id.
bytes proof_key = 1;- Specified by:
getProofKeyin interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- The proofKey.
-
hasWrapsMessage
public boolean hasWrapsMessage()* A WRAPS message from the submitting node.
bytes wraps_message = 2;- Specified by:
hasWrapsMessagein interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- Whether the wrapsMessage field is set.
-
getWrapsMessage
public com.google.protobuf.ByteString getWrapsMessage()* A WRAPS message from the submitting node.
bytes wraps_message = 2;- Specified by:
getWrapsMessagein interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- The wrapsMessage.
-
getConstructionId
public long getConstructionId()* The id of the proof construction this publication is for.
uint64 construction_id = 3;- Specified by:
getConstructionIdin interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- The constructionId.
-
getPhaseValue
public int getPhaseValue()* The phase of the proof construction this key is being published for.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 4;- Specified by:
getPhaseValuein interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
* The phase of the proof construction this key is being published for.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 4;- Specified by:
getPhasein interfaceHistoryProofKeyPublicationTransactionBodyOrBuilder- Returns:
- The phase.
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HistoryProofKeyPublicationTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HistoryProofKeyPublicationTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HistoryProofKeyPublicationTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static HistoryProofKeyPublicationTransactionBody.Builder newBuilder(HistoryProofKeyPublicationTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HistoryProofKeyPublicationTransactionBody,HistoryProofKeyPublicationTransactionBody.Builder>
-
getDefaultInstance
-
parser
-