Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoAddLiveHashTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CryptoAddLiveHashTransactionBody,CryptoAddLiveHashTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CryptoAddLiveHashTransactionBody,CryptoAddLiveHashTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.CryptoAddLiveHashTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CryptoAddLiveHashTransactionBodyOrBuilder,Cloneable
- Enclosing class:
CryptoAddLiveHashTransactionBody
public static final class CryptoAddLiveHashTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoAddLiveHashTransactionBody,CryptoAddLiveHashTransactionBody.Builder>
implements CryptoAddLiveHashTransactionBodyOrBuilder
* Add a hash value to the ledger and associate it with an account. Create an entry in the ledger for a SHA-384 hash of some content, and associate that with a specific account. This is sometimes used to associate a credential or certificate with an account as a public record.<br/> The entry created is also associated with a list of keys, all of which MUST sign this transaction.<br/> The account key for the associated account MUST sign this transaction.<br/> The live hash, once created, MAY be removed from the ledger with one or more signatures. - The account key of the account associated to the live hash. - Any one key from the key list in the live hash entry. - Any combination of keys from the key list in the live hash entry.Protobuf type
proto.CryptoAddLiveHashTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A Live Hash to be added to the ledger and associated with the identified account.* A Live Hash to be added to the ledger and associated with the identified account.boolean* A Live Hash to be added to the ledger and associated with the identified account.mergeLiveHash(LiveHash value) * A Live Hash to be added to the ledger and associated with the identified account.setLiveHash(LiveHash value) * A Live Hash to be added to the ledger and associated with the identified account.setLiveHash(LiveHash.Builder builderForValue) * A Live Hash to be added to the ledger and associated with the identified account.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
-
hasLiveHash
public boolean hasLiveHash()* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3;- Specified by:
hasLiveHashin interfaceCryptoAddLiveHashTransactionBodyOrBuilder- Returns:
- Whether the liveHash field is set.
-
getLiveHash
* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3;- Specified by:
getLiveHashin interfaceCryptoAddLiveHashTransactionBodyOrBuilder- Returns:
- The liveHash.
-
setLiveHash
* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3; -
setLiveHash
* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3; -
mergeLiveHash
* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3; -
clearLiveHash
* A Live Hash to be added to the ledger and associated with the identified account.
.proto.LiveHash liveHash = 3;
-