java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HintsKeySet,HintsKeySet.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HintsKeySet,HintsKeySet.Builder>
com.hedera.hashgraph.sdk.proto.HintsKeySet.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HintsKeySetOrBuilder,Cloneable
- Enclosing class:
HintsKeySet
public static final class HintsKeySet.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HintsKeySet,HintsKeySet.Builder>
implements HintsKeySetOrBuilder
* A set of hinTS keys submitted by a node.Protobuf type
com.hedera.hapi.node.state.hints.HintsKeySet-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The consensus time at which the network adopted the active hinTS key in this set.clearKey()* The party's active hinTS key.* If set, the new hinTS key the node wants to use when the next construction begins.* The id of the node submitting these keys.* The consensus time at which the network adopted the active hinTS key in this set.com.google.protobuf.ByteStringgetKey()* The party's active hinTS key.com.google.protobuf.ByteString* If set, the new hinTS key the node wants to use when the next construction begins.long* The id of the node submitting these keys.boolean* The consensus time at which the network adopted the active hinTS key in this set.mergeAdoptionTime(Timestamp value) * The consensus time at which the network adopted the active hinTS key in this set.setAdoptionTime(Timestamp value) * The consensus time at which the network adopted the active hinTS key in this set.setAdoptionTime(Timestamp.Builder builderForValue) * The consensus time at which the network adopted the active hinTS key in this set.setKey(com.google.protobuf.ByteString value) * The party's active hinTS key.setNextKey(com.google.protobuf.ByteString value) * If set, the new hinTS key the node wants to use when the next construction begins.setNodeId(long value) * The id of the node submitting these keys.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getNodeId
public long getNodeId()* The id of the node submitting these keys.
uint64 node_id = 1;- Specified by:
getNodeIdin interfaceHintsKeySetOrBuilder- Returns:
- The nodeId.
-
setNodeId
* The id of the node submitting these keys.
uint64 node_id = 1;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
* The id of the node submitting these keys.
uint64 node_id = 1;- Returns:
- This builder for chaining.
-
hasAdoptionTime
public boolean hasAdoptionTime()* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2;- Specified by:
hasAdoptionTimein interfaceHintsKeySetOrBuilder- Returns:
- Whether the adoptionTime field is set.
-
getAdoptionTime
* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2;- Specified by:
getAdoptionTimein interfaceHintsKeySetOrBuilder- Returns:
- The adoptionTime.
-
setAdoptionTime
* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2; -
setAdoptionTime
* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2; -
mergeAdoptionTime
* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2; -
clearAdoptionTime
* The consensus time at which the network adopted the active hinTS key in this set.
.proto.Timestamp adoption_time = 2; -
getKey
public com.google.protobuf.ByteString getKey()* The party's active hinTS key.
bytes key = 3;- Specified by:
getKeyin interfaceHintsKeySetOrBuilder- Returns:
- The key.
-
setKey
* The party's active hinTS key.
bytes key = 3;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
* The party's active hinTS key.
bytes key = 3;- Returns:
- This builder for chaining.
-
getNextKey
public com.google.protobuf.ByteString getNextKey()* If set, the new hinTS key the node wants to use when the next construction begins.
bytes next_key = 4;- Specified by:
getNextKeyin interfaceHintsKeySetOrBuilder- Returns:
- The nextKey.
-
setNextKey
* If set, the new hinTS key the node wants to use when the next construction begins.
bytes next_key = 4;- Parameters:
value- The nextKey to set.- Returns:
- This builder for chaining.
-
clearNextKey
* If set, the new hinTS key the node wants to use when the next construction begins.
bytes next_key = 4;- Returns:
- This builder for chaining.
-