Class HintsKeySet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HintsKeySet,HintsKeySet.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HintsKeySet,HintsKeySet.Builder>
com.hedera.hashgraph.sdk.proto.HintsKeySet.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, HintsKeySetOrBuilder, Cloneable
Enclosing class:
HintsKeySet

public static final class HintsKeySet.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<HintsKeySet,HintsKeySet.Builder> implements HintsKeySetOrBuilder
 *
 A set of hinTS keys submitted by a node.
 
Protobuf type com.hedera.hapi.node.state.hints.HintsKeySet
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The consensus time at which the network adopted the active hinTS key in this set.
    * The party's active hinTS key.
    * If set, the new hinTS key the node wants to use when the next construction begins.
    * The id of the node submitting these keys.
    * The consensus time at which the network adopted the active hinTS key in this set.
    com.google.protobuf.ByteString
    * The party's active hinTS key.
    com.google.protobuf.ByteString
    * If set, the new hinTS key the node wants to use when the next construction begins.
    long
    * The id of the node submitting these keys.
    boolean
    * The consensus time at which the network adopted the active hinTS key in this set.
    * The consensus time at which the network adopted the active hinTS key in this set.
    * The consensus time at which the network adopted the active hinTS key in this set.
    * The consensus time at which the network adopted the active hinTS key in this set.
    setKey(com.google.protobuf.ByteString value)
    * The party's active hinTS key.
    setNextKey(com.google.protobuf.ByteString value)
    * If set, the new hinTS key the node wants to use when the next construction begins.
    setNodeId(long value)
    * The id of the node submitting these keys.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getNodeId

      public long getNodeId()
       *
       The id of the node submitting these keys.
       
      uint64 node_id = 1;
      Specified by:
      getNodeId in interface HintsKeySetOrBuilder
      Returns:
      The nodeId.
    • setNodeId

      public HintsKeySet.Builder setNodeId(long value)
       *
       The id of the node submitting these keys.
       
      uint64 node_id = 1;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public HintsKeySet.Builder clearNodeId()
       *
       The id of the node submitting these keys.
       
      uint64 node_id = 1;
      Returns:
      This builder for chaining.
    • hasAdoptionTime

      public boolean hasAdoptionTime()
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
      Specified by:
      hasAdoptionTime in interface HintsKeySetOrBuilder
      Returns:
      Whether the adoptionTime field is set.
    • getAdoptionTime

      public Timestamp getAdoptionTime()
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
      Specified by:
      getAdoptionTime in interface HintsKeySetOrBuilder
      Returns:
      The adoptionTime.
    • setAdoptionTime

      public HintsKeySet.Builder setAdoptionTime(Timestamp value)
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
    • setAdoptionTime

      public HintsKeySet.Builder setAdoptionTime(Timestamp.Builder builderForValue)
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
    • mergeAdoptionTime

      public HintsKeySet.Builder mergeAdoptionTime(Timestamp value)
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
    • clearAdoptionTime

      public HintsKeySet.Builder clearAdoptionTime()
       *
       The consensus time at which the network adopted the active
       hinTS key in this set.
       
      .proto.Timestamp adoption_time = 2;
    • getKey

      public com.google.protobuf.ByteString getKey()
       *
       The party's active hinTS key.
       
      bytes key = 3;
      Specified by:
      getKey in interface HintsKeySetOrBuilder
      Returns:
      The key.
    • setKey

      public HintsKeySet.Builder setKey(com.google.protobuf.ByteString value)
       *
       The party's active hinTS key.
       
      bytes key = 3;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public HintsKeySet.Builder clearKey()
       *
       The party's active hinTS key.
       
      bytes key = 3;
      Returns:
      This builder for chaining.
    • getNextKey

      public com.google.protobuf.ByteString getNextKey()
       *
       If set, the new hinTS key the node wants to use when
       the next construction begins.
       
      bytes next_key = 4;
      Specified by:
      getNextKey in interface HintsKeySetOrBuilder
      Returns:
      The nextKey.
    • setNextKey

      public HintsKeySet.Builder setNextKey(com.google.protobuf.ByteString value)
       *
       If set, the new hinTS key the node wants to use when
       the next construction begins.
       
      bytes next_key = 4;
      Parameters:
      value - The nextKey to set.
      Returns:
      This builder for chaining.
    • clearNextKey

      public HintsKeySet.Builder clearNextKey()
       *
       If set, the new hinTS key the node wants to use when
       the next construction begins.
       
      bytes next_key = 4;
      Returns:
      This builder for chaining.