java.lang.Object
com.google.protobuf.AbstractMessageLite<LiveHash,LiveHash.Builder>
com.google.protobuf.GeneratedMessageLite<LiveHash,LiveHash.Builder>
com.hedera.hashgraph.sdk.proto.LiveHash
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,LiveHashOrBuilder
@Generated
public final class LiveHash
extends com.google.protobuf.GeneratedMessageLite<LiveHash,LiveHash.Builder>
implements LiveHashOrBuilder
* A Live Hash value associating some item of content to an account. This message represents a desired entry in the ledger for a SHA-384 hash of some content, an associated specific account, a list of authorized keys, and a duration the live hash is "valid".Protobuf type
proto.LiveHash-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A Live Hash value associating some item of content to an account.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 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) * An account associated via this live hash to the hashed content.static LiveHash* A duration describing how long this Live Hash SHALL remain valid.<br/> A Live Hash SHOULD NOT be relied upon after this duration has elapsed.com.google.protobuf.ByteStringgetHash()* A SHA-384 hash of some content that is associated to the account or account holder.getKeys()* A list of keys, all of which MUST sign the transaction to add the live hash.<br/> Any one of these keys may, however, remove the live hash to revoke the association.boolean* An account associated via this live hash to the hashed content.boolean* A duration describing how long this Live Hash SHALL remain valid.<br/> A Live Hash SHOULD NOT be relied upon after this duration has elapsed.booleanhasKeys()* A list of keys, all of which MUST sign the transaction to add the live hash.<br/> Any one of these keys may, however, remove the live hash to revoke the association.static LiveHash.Builderstatic LiveHash.BuildernewBuilder(LiveHash prototype) static LiveHashparseDelimitedFrom(InputStream input) static LiveHashparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveHashparseFrom(byte[] data) static LiveHashparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveHashparseFrom(com.google.protobuf.ByteString data) static LiveHashparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveHashparseFrom(com.google.protobuf.CodedInputStream input) static LiveHashparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveHashparseFrom(InputStream input) static LiveHashparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveHashparseFrom(ByteBuffer data) static LiveHashparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LiveHash> 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
-
ACCOUNTID_FIELD_NUMBER
public static final int ACCOUNTID_FIELD_NUMBER- See Also:
-
HASH_FIELD_NUMBER
public static final int HASH_FIELD_NUMBER- See Also:
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasAccountId
public boolean hasAccountId()* An account associated via this live hash to the hashed content.
.proto.AccountID accountId = 1;- Specified by:
hasAccountIdin interfaceLiveHashOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* An account associated via this live hash to the hashed content.
.proto.AccountID accountId = 1;- Specified by:
getAccountIdin interfaceLiveHashOrBuilder- Returns:
- The accountId.
-
getHash
public com.google.protobuf.ByteString getHash()* A SHA-384 hash of some content that is associated to the account or account holder.
bytes hash = 2;- Specified by:
getHashin interfaceLiveHashOrBuilder- Returns:
- The hash.
-
hasKeys
public boolean hasKeys()* A list of keys, all of which MUST sign the transaction to add the live hash.<br/> Any one of these keys may, however, remove the live hash to revoke the association.
.proto.KeyList keys = 3;- Specified by:
hasKeysin interfaceLiveHashOrBuilder- Returns:
- Whether the keys field is set.
-
getKeys
* A list of keys, all of which MUST sign the transaction to add the live hash.<br/> Any one of these keys may, however, remove the live hash to revoke the association.
.proto.KeyList keys = 3;- Specified by:
getKeysin interfaceLiveHashOrBuilder- Returns:
- The keys.
-
hasDuration
public boolean hasDuration()* A duration describing how long this Live Hash SHALL remain valid.<br/> A Live Hash SHOULD NOT be relied upon after this duration has elapsed.
.proto.Duration duration = 5;- Specified by:
hasDurationin interfaceLiveHashOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
* A duration describing how long this Live Hash SHALL remain valid.<br/> A Live Hash SHOULD NOT be relied upon after this duration has elapsed.
.proto.Duration duration = 5;- Specified by:
getDurationin interfaceLiveHashOrBuilder- Returns:
- The duration.
-
parseFrom
public static LiveHash parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveHash parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveHash parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveHash parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveHash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveHash parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LiveHash parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LiveHash parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LiveHash 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<LiveHash,LiveHash.Builder>
-
getDefaultInstance
-
parser
-