Module com.hedera.hashgraph.sdk
Class TssEncryptionKeys.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TssEncryptionKeys,TssEncryptionKeys.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TssEncryptionKeys,TssEncryptionKeys.Builder>
com.hedera.hapi.node.state.tss.legacy.TssEncryptionKeys.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TssEncryptionKeysOrBuilder,Cloneable
- Enclosing class:
TssEncryptionKeys
public static final class TssEncryptionKeys.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TssEncryptionKeys,TssEncryptionKeys.Builder>
implements TssEncryptionKeysOrBuilder
* A message containing a node's current and next TSS encryption keys, where the next key (if present) will be switched to the node's current key during the first transaction at the beginning of a staking period.<br/>Protobuf type
com.hedera.hapi.node.state.tss.TssEncryptionKeys-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* If non-empty, a node's current TSS encryption key.* If non-empty, the same node's next TSS encryption key.com.google.protobuf.ByteString* If non-empty, a node's current TSS encryption key.com.google.protobuf.ByteString* If non-empty, the same node's next TSS encryption key.setCurrentEncryptionKey(com.google.protobuf.ByteString value) * If non-empty, a node's current TSS encryption key.setNextEncryptionKey(com.google.protobuf.ByteString value) * If non-empty, the same node's next TSS encryption key.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
-
getCurrentEncryptionKey
public com.google.protobuf.ByteString getCurrentEncryptionKey()* If non-empty, a node's current TSS encryption key.
bytes current_encryption_key = 1;- Specified by:
getCurrentEncryptionKeyin interfaceTssEncryptionKeysOrBuilder- Returns:
- The currentEncryptionKey.
-
setCurrentEncryptionKey
* If non-empty, a node's current TSS encryption key.
bytes current_encryption_key = 1;- Parameters:
value- The currentEncryptionKey to set.- Returns:
- This builder for chaining.
-
clearCurrentEncryptionKey
* If non-empty, a node's current TSS encryption key.
bytes current_encryption_key = 1;- Returns:
- This builder for chaining.
-
getNextEncryptionKey
public com.google.protobuf.ByteString getNextEncryptionKey()* If non-empty, the same node's next TSS encryption key.
bytes next_encryption_key = 2;- Specified by:
getNextEncryptionKeyin interfaceTssEncryptionKeysOrBuilder- Returns:
- The nextEncryptionKey.
-
setNextEncryptionKey
* If non-empty, the same node's next TSS encryption key.
bytes next_encryption_key = 2;- Parameters:
value- The nextEncryptionKey to set.- Returns:
- This builder for chaining.
-
clearNextEncryptionKey
* If non-empty, the same node's next TSS encryption key.
bytes next_encryption_key = 2;- Returns:
- This builder for chaining.
-