Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class HistorySignature.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HistorySignature,HistorySignature.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HistorySignature,HistorySignature.Builder>
com.hedera.hashgraph.sdk.proto.HistorySignature.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HistorySignatureOrBuilder,Cloneable
- Enclosing class:
HistorySignature
public static final class HistorySignature.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HistorySignature,HistorySignature.Builder>
implements HistorySignatureOrBuilder
* A node's signature blessing some new history.Protobuf type
com.hedera.hapi.node.state.history.HistorySignature-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The new history the node is signing.* The node's signature on the canonical serialization of the new history.* The new history the node is signing.com.google.protobuf.ByteString* The node's signature on the canonical serialization of the new history.boolean* The new history the node is signing.mergeHistory(History value) * The new history the node is signing.setHistory(History value) * The new history the node is signing.setHistory(History.Builder builderForValue) * The new history the node is signing.setSignature(com.google.protobuf.ByteString value) * The node's signature on the canonical serialization of the new history.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHistory
public boolean hasHistory()* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1;- Specified by:
hasHistoryin interfaceHistorySignatureOrBuilder- Returns:
- Whether the history field is set.
-
getHistory
* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1;- Specified by:
getHistoryin interfaceHistorySignatureOrBuilder- Returns:
- The history.
-
setHistory
* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1; -
setHistory
* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1; -
mergeHistory
* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1; -
clearHistory
* The new history the node is signing.
.com.hedera.hapi.node.state.history.History history = 1; -
getSignature
public com.google.protobuf.ByteString getSignature()* The node's signature on the canonical serialization of the new history.
bytes signature = 2;- Specified by:
getSignaturein interfaceHistorySignatureOrBuilder- Returns:
- The signature.
-
setSignature
* The node's signature on the canonical serialization of the new history.
bytes signature = 2;- Parameters:
value- The signature to set.- Returns:
- This builder for chaining.
-
clearSignature
* The node's signature on the canonical serialization of the new history.
bytes signature = 2;- Returns:
- This builder for chaining.
-