Class PreprocessingVoteId.Builder

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

public static final class PreprocessingVoteId.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PreprocessingVoteId,PreprocessingVoteId.Builder> implements PreprocessingVoteIdOrBuilder
 *
 The id for a node's vote for the output of the
 preprocessing output of a hinTS construction.
 
Protobuf type com.hedera.hapi.node.state.hints.PreprocessingVoteId
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The construction this vote is connected to.
    * The id of the node submitting the vote.
    long
    * The construction this vote is connected to.
    long
    * The id of the node submitting the vote.
    setConstructionId(long value)
    * The construction this vote is connected to.
    setNodeId(long value)
    * The id of the node submitting the vote.

    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 construction this vote is connected to.
       
      uint64 construction_id = 1;
      Specified by:
      getConstructionId in interface PreprocessingVoteIdOrBuilder
      Returns:
      The constructionId.
    • setConstructionId

      public PreprocessingVoteId.Builder setConstructionId(long value)
       *
       The construction this vote is connected to.
       
      uint64 construction_id = 1;
      Parameters:
      value - The constructionId to set.
      Returns:
      This builder for chaining.
    • clearConstructionId

      public PreprocessingVoteId.Builder clearConstructionId()
       *
       The construction this vote is connected to.
       
      uint64 construction_id = 1;
      Returns:
      This builder for chaining.
    • getNodeId

      public long getNodeId()
       *
       The id of the node submitting the vote.
       
      uint64 node_id = 2;
      Specified by:
      getNodeId in interface PreprocessingVoteIdOrBuilder
      Returns:
      The nodeId.
    • setNodeId

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

      public PreprocessingVoteId.Builder clearNodeId()
       *
       The id of the node submitting the vote.
       
      uint64 node_id = 2;
      Returns:
      This builder for chaining.