Class ConstructionNodeId.Builder

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

public static final class ConstructionNodeId.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ConstructionNodeId,ConstructionNodeId.Builder> implements ConstructionNodeIdOrBuilder
 *
 A construction-scoped node id.
 
Protobuf type com.hedera.hapi.node.state.history.ConstructionNodeId
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The unique id of a history proof construction.
    * The unique id of a node.
    long
    * The unique id of a history proof construction.
    long
    * The unique id of a node.
    setConstructionId(long value)
    * The unique id of a history proof construction.
    setNodeId(long value)
    * The unique id of a node.

    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

    • getConstructionId

      public long getConstructionId()
       *
       The unique id of a history proof construction.
       
      uint64 construction_id = 1;
      Specified by:
      getConstructionId in interface ConstructionNodeIdOrBuilder
      Returns:
      The constructionId.
    • setConstructionId

      public ConstructionNodeId.Builder setConstructionId(long value)
       *
       The unique id of a history proof construction.
       
      uint64 construction_id = 1;
      Parameters:
      value - The constructionId to set.
      Returns:
      This builder for chaining.
    • clearConstructionId

      public ConstructionNodeId.Builder clearConstructionId()
       *
       The unique id of a history proof construction.
       
      uint64 construction_id = 1;
      Returns:
      This builder for chaining.
    • getNodeId

      public long getNodeId()
       *
       The unique id of a node.
       
      uint64 node_id = 2;
      Specified by:
      getNodeId in interface ConstructionNodeIdOrBuilder
      Returns:
      The nodeId.
    • setNodeId

      public ConstructionNodeId.Builder setNodeId(long value)
       *
       The unique id of a node.
       
      uint64 node_id = 2;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public ConstructionNodeId.Builder clearNodeId()
       *
       The unique id of a node.
       
      uint64 node_id = 2;
      Returns:
      This builder for chaining.