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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(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.ByteString
    * A SHA-384 hash of some content that is associated to the account or account holder.
    * 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.
    boolean
    * 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.
     
    newBuilder(LiveHash prototype)
     
    static LiveHash
     
    static LiveHash
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LiveHash
    parseFrom(byte[] data)
     
    static LiveHash
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LiveHash
    parseFrom(com.google.protobuf.ByteString data)
     
    static LiveHash
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LiveHash
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static LiveHash
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LiveHash
     
    static LiveHash
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LiveHash
     
    static LiveHash
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LiveHash>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • hasAccountId

      public boolean hasAccountId()
       *
       An account associated via this live hash to the hashed content.
       
      .proto.AccountID accountId = 1;
      Specified by:
      hasAccountId in interface LiveHashOrBuilder
      Returns:
      Whether the accountId field is set.
    • getAccountId

      public AccountID getAccountId()
       *
       An account associated via this live hash to the hashed content.
       
      .proto.AccountID accountId = 1;
      Specified by:
      getAccountId in interface LiveHashOrBuilder
      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:
      getHash in interface LiveHashOrBuilder
      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:
      hasKeys in interface LiveHashOrBuilder
      Returns:
      Whether the keys field is set.
    • getKeys

      public KeyList 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:
      getKeys in interface LiveHashOrBuilder
      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:
      hasDuration in interface LiveHashOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public Duration 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:
      getDuration in interface LiveHashOrBuilder
      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

      public static LiveHash parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LiveHash parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LiveHash parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LiveHash parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LiveHash parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LiveHash parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static LiveHash.Builder newBuilder()
    • newBuilder

      public static LiveHash.Builder newBuilder(LiveHash prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<LiveHash,LiveHash.Builder>
    • getDefaultInstance

      public static LiveHash getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LiveHash> parser()