Class HistoryProofVote

java.lang.Object
com.google.protobuf.AbstractMessageLite<HistoryProofVote,HistoryProofVote.Builder>
com.google.protobuf.GeneratedMessageLite<HistoryProofVote,HistoryProofVote.Builder>
com.hedera.hashgraph.sdk.proto.HistoryProofVote
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, HistoryProofVoteOrBuilder

@Generated public final class HistoryProofVote extends com.google.protobuf.GeneratedMessageLite<HistoryProofVote,HistoryProofVote.Builder> implements HistoryProofVoteOrBuilder
 *
 A node's vote for a particular history proof; either by explicitly
 giving the proof, or by identifying a node that already voted for it.
 
Protobuf type com.hedera.hapi.node.state.history.HistoryProofVote
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * A node's vote for a particular history proof; either by explicitly giving the proof, or by identifying a node that already voted for it.
    static enum 
     

    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
     

    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)
     
    long
    * The id of another node that already voted for the exact proof the submitting node is voting for.
     
    * The history proof the submitting node is voting for.
     
    boolean
    * The id of another node that already voted for the exact proof the submitting node is voting for.
    boolean
    * The history proof the submitting node is voting for.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HistoryProofVote>
     

    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

    • PROOF_FIELD_NUMBER

      public static final int PROOF_FIELD_NUMBER
      See Also:
    • CONGRUENT_NODE_ID_FIELD_NUMBER

      public static final int CONGRUENT_NODE_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • getVoteCase

      public HistoryProofVote.VoteCase getVoteCase()
      Specified by:
      getVoteCase in interface HistoryProofVoteOrBuilder
    • hasProof

      public boolean hasProof()
       *
       The history proof the submitting node is voting for.
       
      .com.hedera.hapi.node.state.history.HistoryProof proof = 1;
      Specified by:
      hasProof in interface HistoryProofVoteOrBuilder
      Returns:
      Whether the proof field is set.
    • getProof

      public HistoryProof getProof()
       *
       The history proof the submitting node is voting for.
       
      .com.hedera.hapi.node.state.history.HistoryProof proof = 1;
      Specified by:
      getProof in interface HistoryProofVoteOrBuilder
      Returns:
      The proof.
    • hasCongruentNodeId

      public boolean hasCongruentNodeId()
       *
       The id of another node that already voted for the exact proof
       the submitting node is voting for.
       
      uint64 congruent_node_id = 2;
      Specified by:
      hasCongruentNodeId in interface HistoryProofVoteOrBuilder
      Returns:
      Whether the congruentNodeId field is set.
    • getCongruentNodeId

      public long getCongruentNodeId()
       *
       The id of another node that already voted for the exact proof
       the submitting node is voting for.
       
      uint64 congruent_node_id = 2;
      Specified by:
      getCongruentNodeId in interface HistoryProofVoteOrBuilder
      Returns:
      The congruentNodeId.
    • parseFrom

      public static HistoryProofVote parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofVote parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofVote parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofVote parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofVote parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofVote parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

      public static HistoryProofVote.Builder newBuilder()
    • newBuilder

      public static HistoryProofVote.Builder newBuilder(HistoryProofVote 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<HistoryProofVote,HistoryProofVote.Builder>
    • getDefaultInstance

      public static HistoryProofVote getDefaultInstance()
    • parser

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