java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<RunningHashes,RunningHashes.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<RunningHashes,RunningHashes.Builder>
com.hedera.hashgraph.sdk.proto.RunningHashes.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,RunningHashesOrBuilder,Cloneable
- Enclosing class:
RunningHashes
public static final class RunningHashes.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<RunningHashes,RunningHashes.Builder>
implements RunningHashesOrBuilder
* The running hash of transaction records and the previous `3` running hashes. All hashes are 48 byte SHA384 hash values. If the running hashes do not exist yet (for example, at genesis) then each not-yet-available value SHALL be empty (zero-length) bytes.Protobuf type
proto.RunningHashes-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The previous running hash of all record stream items.* The previous, previous running hash of all record stream items.* The previous, previous, previous running hash of all record stream items.* A running hash of all record stream items.com.google.protobuf.ByteString* The previous running hash of all record stream items.com.google.protobuf.ByteString* The previous, previous running hash of all record stream items.com.google.protobuf.ByteString* The previous, previous, previous running hash of all record stream items.com.google.protobuf.ByteString* A running hash of all record stream items.setNMinus1RunningHash(com.google.protobuf.ByteString value) * The previous running hash of all record stream items.setNMinus2RunningHash(com.google.protobuf.ByteString value) * The previous, previous running hash of all record stream items.setNMinus3RunningHash(com.google.protobuf.ByteString value) * The previous, previous, previous running hash of all record stream items.setRunningHash(com.google.protobuf.ByteString value) * A running hash of all record stream items.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
-
getRunningHash
public com.google.protobuf.ByteString getRunningHash()* A running hash of all record stream items.
bytes running_hash = 1;- Specified by:
getRunningHashin interfaceRunningHashesOrBuilder- Returns:
- The runningHash.
-
setRunningHash
* A running hash of all record stream items.
bytes running_hash = 1;- Parameters:
value- The runningHash to set.- Returns:
- This builder for chaining.
-
clearRunningHash
* A running hash of all record stream items.
bytes running_hash = 1;- Returns:
- This builder for chaining.
-
getNMinus1RunningHash
public com.google.protobuf.ByteString getNMinus1RunningHash()* The previous running hash of all record stream items.
bytes n_minus_1_running_hash = 2;- Specified by:
getNMinus1RunningHashin interfaceRunningHashesOrBuilder- Returns:
- The nMinus1RunningHash.
-
setNMinus1RunningHash
* The previous running hash of all record stream items.
bytes n_minus_1_running_hash = 2;- Parameters:
value- The nMinus1RunningHash to set.- Returns:
- This builder for chaining.
-
clearNMinus1RunningHash
* The previous running hash of all record stream items.
bytes n_minus_1_running_hash = 2;- Returns:
- This builder for chaining.
-
getNMinus2RunningHash
public com.google.protobuf.ByteString getNMinus2RunningHash()* The previous, previous running hash of all record stream items.
bytes n_minus_2_running_hash = 3;- Specified by:
getNMinus2RunningHashin interfaceRunningHashesOrBuilder- Returns:
- The nMinus2RunningHash.
-
setNMinus2RunningHash
* The previous, previous running hash of all record stream items.
bytes n_minus_2_running_hash = 3;- Parameters:
value- The nMinus2RunningHash to set.- Returns:
- This builder for chaining.
-
clearNMinus2RunningHash
* The previous, previous running hash of all record stream items.
bytes n_minus_2_running_hash = 3;- Returns:
- This builder for chaining.
-
getNMinus3RunningHash
public com.google.protobuf.ByteString getNMinus3RunningHash()* The previous, previous, previous running hash of all record stream items.
bytes n_minus_3_running_hash = 4;- Specified by:
getNMinus3RunningHashin interfaceRunningHashesOrBuilder- Returns:
- The nMinus3RunningHash.
-
setNMinus3RunningHash
* The previous, previous, previous running hash of all record stream items.
bytes n_minus_3_running_hash = 4;- Parameters:
value- The nMinus3RunningHash to set.- Returns:
- This builder for chaining.
-
clearNMinus3RunningHash
* The previous, previous, previous running hash of all record stream items.
bytes n_minus_3_running_hash = 4;- Returns:
- This builder for chaining.
-