Class HintsConstruction

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

@Generated public final class HintsConstruction extends com.google.protobuf.GeneratedMessageLite<HintsConstruction,HintsConstruction.Builder> implements HintsConstructionOrBuilder
 *
 A summary of progress in constructing a hinTS scheme.
 
Protobuf type com.hedera.hapi.node.state.hints.HintsConstruction
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * A summary of progress in constructing a hinTS scheme.
    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
     
    static final int
     
    static final int
     
    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 the construction.
     
    * If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
    * If set, the completed hinTS scheme.
    * If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
     
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.
    boolean
    * If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
    boolean
    * If set, the completed hinTS scheme.
    boolean
    * If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
     
     
     
    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<HintsConstruction>
     

    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

    • CONSTRUCTION_ID_FIELD_NUMBER

      public static final int CONSTRUCTION_ID_FIELD_NUMBER
      See Also:
    • SOURCE_ROSTER_HASH_FIELD_NUMBER

      public static final int SOURCE_ROSTER_HASH_FIELD_NUMBER
      See Also:
    • TARGET_ROSTER_HASH_FIELD_NUMBER

      public static final int TARGET_ROSTER_HASH_FIELD_NUMBER
      See Also:
    • GRACE_PERIOD_END_TIME_FIELD_NUMBER

      public static final int GRACE_PERIOD_END_TIME_FIELD_NUMBER
      See Also:
    • PREPROCESSING_START_TIME_FIELD_NUMBER

      public static final int PREPROCESSING_START_TIME_FIELD_NUMBER
      See Also:
    • HINTS_SCHEME_FIELD_NUMBER

      public static final int HINTS_SCHEME_FIELD_NUMBER
      See Also:
  • Method Details

    • getPreprocessingStateCase

      public HintsConstruction.PreprocessingStateCase getPreprocessingStateCase()
      Specified by:
      getPreprocessingStateCase in interface HintsConstructionOrBuilder
    • getConstructionId

      public long getConstructionId()
       *
       The id of the construction.
       
      uint64 construction_id = 1;
      Specified by:
      getConstructionId in interface HintsConstructionOrBuilder
      Returns:
      The constructionId.
    • getSourceRosterHash

      public com.google.protobuf.ByteString getSourceRosterHash()
       *
       The hash of the roster whose weights are used to determine when
       the >=1/3 weight signing threshold is reached.
       
      bytes source_roster_hash = 2;
      Specified by:
      getSourceRosterHash in interface HintsConstructionOrBuilder
      Returns:
      The sourceRosterHash.
    • getTargetRosterHash

      public com.google.protobuf.ByteString getTargetRosterHash()
       *
       The hash of the roster whose weights are used to determine when
       the >2/3 weight availability threshold is reached.
       
      bytes target_roster_hash = 3;
      Specified by:
      getTargetRosterHash in interface HintsConstructionOrBuilder
      Returns:
      The targetRosterHash.
    • hasGracePeriodEndTime

      public boolean hasGracePeriodEndTime()
       *
       If the network is still gathering hinTS keys for this construction,
       the time at which honest nodes should stop waiting for tardy
       publications and begin preprocessing as soon as there are valid
       hinTS keys for nodes with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 4;
      Specified by:
      hasGracePeriodEndTime in interface HintsConstructionOrBuilder
      Returns:
      Whether the gracePeriodEndTime field is set.
    • getGracePeriodEndTime

      public Timestamp getGracePeriodEndTime()
       *
       If the network is still gathering hinTS keys for this construction,
       the time at which honest nodes should stop waiting for tardy
       publications and begin preprocessing as soon as there are valid
       hinTS keys for nodes with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 4;
      Specified by:
      getGracePeriodEndTime in interface HintsConstructionOrBuilder
      Returns:
      The gracePeriodEndTime.
    • hasPreprocessingStartTime

      public boolean hasPreprocessingStartTime()
       *
       If the network has gathered enough hinTS keys for this construction
       to begin preprocessing, the cutoff time by which keys must have been
       adopted to be included as input to the preprocessing algorithm.
       
      .proto.Timestamp preprocessing_start_time = 5;
      Specified by:
      hasPreprocessingStartTime in interface HintsConstructionOrBuilder
      Returns:
      Whether the preprocessingStartTime field is set.
    • getPreprocessingStartTime

      public Timestamp getPreprocessingStartTime()
       *
       If the network has gathered enough hinTS keys for this construction
       to begin preprocessing, the cutoff time by which keys must have been
       adopted to be included as input to the preprocessing algorithm.
       
      .proto.Timestamp preprocessing_start_time = 5;
      Specified by:
      getPreprocessingStartTime in interface HintsConstructionOrBuilder
      Returns:
      The preprocessingStartTime.
    • hasHintsScheme

      public boolean hasHintsScheme()
       *
       If set, the completed hinTS scheme.
       
      .com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6;
      Specified by:
      hasHintsScheme in interface HintsConstructionOrBuilder
      Returns:
      Whether the hintsScheme field is set.
    • getHintsScheme

      public HintsScheme getHintsScheme()
       *
       If set, the completed hinTS scheme.
       
      .com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6;
      Specified by:
      getHintsScheme in interface HintsConstructionOrBuilder
      Returns:
      The hintsScheme.
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static HintsConstruction.Builder newBuilder()
    • newBuilder

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

      public static HintsConstruction getDefaultInstance()
    • parser

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