Class HistorySignature.Builder

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

public static final class HistorySignature.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<HistorySignature,HistorySignature.Builder> implements HistorySignatureOrBuilder
 *
 A node's signature blessing some new history.
 
Protobuf type com.hedera.hapi.node.state.history.HistorySignature
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The new history the node is signing.
    * The node's signature on the canonical serialization of the new history.
    * The new history the node is signing.
    com.google.protobuf.ByteString
    * The node's signature on the canonical serialization of the new history.
    boolean
    * The new history the node is signing.
    * The new history the node is signing.
    * The new history the node is signing.
    setHistory(History.Builder builderForValue)
    * The new history the node is signing.
    setSignature(com.google.protobuf.ByteString value)
    * The node's signature on the canonical serialization of the new history.

    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

    • hasHistory

      public boolean hasHistory()
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
      Specified by:
      hasHistory in interface HistorySignatureOrBuilder
      Returns:
      Whether the history field is set.
    • getHistory

      public History getHistory()
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
      Specified by:
      getHistory in interface HistorySignatureOrBuilder
      Returns:
      The history.
    • setHistory

      public HistorySignature.Builder setHistory(History value)
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
    • setHistory

      public HistorySignature.Builder setHistory(History.Builder builderForValue)
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
    • mergeHistory

      public HistorySignature.Builder mergeHistory(History value)
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
    • clearHistory

      public HistorySignature.Builder clearHistory()
       *
       The new history the node is signing.
       
      .com.hedera.hapi.node.state.history.History history = 1;
    • getSignature

      public com.google.protobuf.ByteString getSignature()
       *
       The node's signature on the canonical serialization of
       the new history.
       
      bytes signature = 2;
      Specified by:
      getSignature in interface HistorySignatureOrBuilder
      Returns:
      The signature.
    • setSignature

      public HistorySignature.Builder setSignature(com.google.protobuf.ByteString value)
       *
       The node's signature on the canonical serialization of
       the new history.
       
      bytes signature = 2;
      Parameters:
      value - The signature to set.
      Returns:
      This builder for chaining.
    • clearSignature

      public HistorySignature.Builder clearSignature()
       *
       The node's signature on the canonical serialization of
       the new history.
       
      bytes signature = 2;
      Returns:
      This builder for chaining.