All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: auxiliary/tss/tss_share_signature.proto

// Protobuf Java Version: 3.25.4
package com.hedera.hapi.services.auxiliary.tss.legacy;

/**
 * 
 **
 * A TSS Share Signature transaction Body.<br/>
 * This transaction body communicates a node's signature of a block hash
 * using its private share within the TSS process.
 * This transaction MUST be prioritized for low latency gossip transmission.
 *
 * ### Block Stream Effects
 * This transaction body will be present in the block stream. This will not have
 * any state changes or transaction output or transaction result.
 * 
* * Protobuf type {@code com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody} */ public final class TssShareSignatureTransactionBody extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody) TssShareSignatureTransactionBodyOrBuilder { private static final long serialVersionUID = 0L; // Use TssShareSignatureTransactionBody.newBuilder() to construct. private TssShareSignatureTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TssShareSignatureTransactionBody() { rosterHash_ = com.google.protobuf.ByteString.EMPTY; messageHash_ = com.google.protobuf.ByteString.EMPTY; shareSignature_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TssShareSignatureTransactionBody(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignature.internal_static_com_hedera_hapi_services_auxiliary_tss_TssShareSignatureTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignature.internal_static_com_hedera_hapi_services_auxiliary_tss_TssShareSignatureTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.class, com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.Builder.class); } public static final int ROSTER_HASH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rosterHash_ = com.google.protobuf.ByteString.EMPTY; /** *
   **
   * A SHA2-384 Hash.<br/>
   * This is the hash of the roster that includes the node whose
   * share produced this share signature.
   * <p>
   * This value is REQUIRED.<br/>
   * This value MUST identify the network roster active at the time this
   * share signature was produced.<br/>
   * This share signature MUST be produced from a share distributed during
   * the re-keying process for the identified roster.
   * 
* * bytes roster_hash = 1; * @return The rosterHash. */ @java.lang.Override public com.google.protobuf.ByteString getRosterHash() { return rosterHash_; } public static final int SHARE_INDEX_FIELD_NUMBER = 2; private long shareIndex_ = 0L; /** *
   **
   * An index of the share from the node private shares.<br/>
   * This is the index of the share that produced this share signature.
   * <p>
   * This value is REQUIRED.<br/>
   * The share referred to by this index MUST exist.<br/>
   * The share index MUST be greater than or equal to 0.
   * 
* * uint64 share_index = 2; * @return The shareIndex. */ @java.lang.Override public long getShareIndex() { return shareIndex_; } public static final int MESSAGE_HASH_FIELD_NUMBER = 3; private com.google.protobuf.ByteString messageHash_ = com.google.protobuf.ByteString.EMPTY; /** *
   **
   * A SHA2-384 hash.<br/>
   * This is the hash of the message that was signed.
   * <p>
   * This value is REQUIRED.<br/>
   * The message signed MUST be a block hash.
   * 
* * bytes message_hash = 3; * @return The messageHash. */ @java.lang.Override public com.google.protobuf.ByteString getMessageHash() { return messageHash_; } public static final int SHARE_SIGNATURE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString shareSignature_ = com.google.protobuf.ByteString.EMPTY; /** *
   **
   * The signature bytes.<br/>
   * This is the signature generated by signing the block hash with the node's private share.
   * <p>
   * This value is REQUIRED.<br/>
   * This value MUST be a valid signature of the message hash with the node's private share.
   * 
* * bytes share_signature = 4; * @return The shareSignature. */ @java.lang.Override public com.google.protobuf.ByteString getShareSignature() { return shareSignature_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!rosterHash_.isEmpty()) { output.writeBytes(1, rosterHash_); } if (shareIndex_ != 0L) { output.writeUInt64(2, shareIndex_); } if (!messageHash_.isEmpty()) { output.writeBytes(3, messageHash_); } if (!shareSignature_.isEmpty()) { output.writeBytes(4, shareSignature_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!rosterHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, rosterHash_); } if (shareIndex_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, shareIndex_); } if (!messageHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, messageHash_); } if (!shareSignature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, shareSignature_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody)) { return super.equals(obj); } com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody other = (com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody) obj; if (!getRosterHash() .equals(other.getRosterHash())) return false; if (getShareIndex() != other.getShareIndex()) return false; if (!getMessageHash() .equals(other.getMessageHash())) return false; if (!getShareSignature() .equals(other.getShareSignature())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROSTER_HASH_FIELD_NUMBER; hash = (53 * hash) + getRosterHash().hashCode(); hash = (37 * hash) + SHARE_INDEX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getShareIndex()); hash = (37 * hash) + MESSAGE_HASH_FIELD_NUMBER; hash = (53 * hash) + getMessageHash().hashCode(); hash = (37 * hash) + SHARE_SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getShareSignature().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * A TSS Share Signature transaction Body.<br/>
   * This transaction body communicates a node's signature of a block hash
   * using its private share within the TSS process.
   * This transaction MUST be prioritized for low latency gossip transmission.
   *
   * ### Block Stream Effects
   * This transaction body will be present in the block stream. This will not have
   * any state changes or transaction output or transaction result.
   * 
* * Protobuf type {@code com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody) com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBodyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignature.internal_static_com_hedera_hapi_services_auxiliary_tss_TssShareSignatureTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignature.internal_static_com_hedera_hapi_services_auxiliary_tss_TssShareSignatureTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.class, com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.Builder.class); } // Construct using com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rosterHash_ = com.google.protobuf.ByteString.EMPTY; shareIndex_ = 0L; messageHash_ = com.google.protobuf.ByteString.EMPTY; shareSignature_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignature.internal_static_com_hedera_hapi_services_auxiliary_tss_TssShareSignatureTransactionBody_descriptor; } @java.lang.Override public com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody getDefaultInstanceForType() { return com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.getDefaultInstance(); } @java.lang.Override public com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody build() { com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody buildPartial() { com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody result = new com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rosterHash_ = rosterHash_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.shareIndex_ = shareIndex_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.messageHash_ = messageHash_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.shareSignature_ = shareSignature_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody) { return mergeFrom((com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody other) { if (other == com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody.getDefaultInstance()) return this; if (other.getRosterHash() != com.google.protobuf.ByteString.EMPTY) { setRosterHash(other.getRosterHash()); } if (other.getShareIndex() != 0L) { setShareIndex(other.getShareIndex()); } if (other.getMessageHash() != com.google.protobuf.ByteString.EMPTY) { setMessageHash(other.getMessageHash()); } if (other.getShareSignature() != com.google.protobuf.ByteString.EMPTY) { setShareSignature(other.getShareSignature()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { rosterHash_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { shareIndex_ = input.readUInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { messageHash_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { shareSignature_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString rosterHash_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * A SHA2-384 Hash.<br/>
     * This is the hash of the roster that includes the node whose
     * share produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST identify the network roster active at the time this
     * share signature was produced.<br/>
     * This share signature MUST be produced from a share distributed during
     * the re-keying process for the identified roster.
     * 
* * bytes roster_hash = 1; * @return The rosterHash. */ @java.lang.Override public com.google.protobuf.ByteString getRosterHash() { return rosterHash_; } /** *
     **
     * A SHA2-384 Hash.<br/>
     * This is the hash of the roster that includes the node whose
     * share produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST identify the network roster active at the time this
     * share signature was produced.<br/>
     * This share signature MUST be produced from a share distributed during
     * the re-keying process for the identified roster.
     * 
* * bytes roster_hash = 1; * @param value The rosterHash to set. * @return This builder for chaining. */ public Builder setRosterHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } rosterHash_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * A SHA2-384 Hash.<br/>
     * This is the hash of the roster that includes the node whose
     * share produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST identify the network roster active at the time this
     * share signature was produced.<br/>
     * This share signature MUST be produced from a share distributed during
     * the re-keying process for the identified roster.
     * 
* * bytes roster_hash = 1; * @return This builder for chaining. */ public Builder clearRosterHash() { bitField0_ = (bitField0_ & ~0x00000001); rosterHash_ = getDefaultInstance().getRosterHash(); onChanged(); return this; } private long shareIndex_ ; /** *
     **
     * An index of the share from the node private shares.<br/>
     * This is the index of the share that produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * The share referred to by this index MUST exist.<br/>
     * The share index MUST be greater than or equal to 0.
     * 
* * uint64 share_index = 2; * @return The shareIndex. */ @java.lang.Override public long getShareIndex() { return shareIndex_; } /** *
     **
     * An index of the share from the node private shares.<br/>
     * This is the index of the share that produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * The share referred to by this index MUST exist.<br/>
     * The share index MUST be greater than or equal to 0.
     * 
* * uint64 share_index = 2; * @param value The shareIndex to set. * @return This builder for chaining. */ public Builder setShareIndex(long value) { shareIndex_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * An index of the share from the node private shares.<br/>
     * This is the index of the share that produced this share signature.
     * <p>
     * This value is REQUIRED.<br/>
     * The share referred to by this index MUST exist.<br/>
     * The share index MUST be greater than or equal to 0.
     * 
* * uint64 share_index = 2; * @return This builder for chaining. */ public Builder clearShareIndex() { bitField0_ = (bitField0_ & ~0x00000002); shareIndex_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString messageHash_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * A SHA2-384 hash.<br/>
     * This is the hash of the message that was signed.
     * <p>
     * This value is REQUIRED.<br/>
     * The message signed MUST be a block hash.
     * 
* * bytes message_hash = 3; * @return The messageHash. */ @java.lang.Override public com.google.protobuf.ByteString getMessageHash() { return messageHash_; } /** *
     **
     * A SHA2-384 hash.<br/>
     * This is the hash of the message that was signed.
     * <p>
     * This value is REQUIRED.<br/>
     * The message signed MUST be a block hash.
     * 
* * bytes message_hash = 3; * @param value The messageHash to set. * @return This builder for chaining. */ public Builder setMessageHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } messageHash_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * A SHA2-384 hash.<br/>
     * This is the hash of the message that was signed.
     * <p>
     * This value is REQUIRED.<br/>
     * The message signed MUST be a block hash.
     * 
* * bytes message_hash = 3; * @return This builder for chaining. */ public Builder clearMessageHash() { bitField0_ = (bitField0_ & ~0x00000004); messageHash_ = getDefaultInstance().getMessageHash(); onChanged(); return this; } private com.google.protobuf.ByteString shareSignature_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The signature bytes.<br/>
     * This is the signature generated by signing the block hash with the node's private share.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST be a valid signature of the message hash with the node's private share.
     * 
* * bytes share_signature = 4; * @return The shareSignature. */ @java.lang.Override public com.google.protobuf.ByteString getShareSignature() { return shareSignature_; } /** *
     **
     * The signature bytes.<br/>
     * This is the signature generated by signing the block hash with the node's private share.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST be a valid signature of the message hash with the node's private share.
     * 
* * bytes share_signature = 4; * @param value The shareSignature to set. * @return This builder for chaining. */ public Builder setShareSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } shareSignature_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * The signature bytes.<br/>
     * This is the signature generated by signing the block hash with the node's private share.
     * <p>
     * This value is REQUIRED.<br/>
     * This value MUST be a valid signature of the message hash with the node's private share.
     * 
* * bytes share_signature = 4; * @return This builder for chaining. */ public Builder clearShareSignature() { bitField0_ = (bitField0_ & ~0x00000008); shareSignature_ = getDefaultInstance().getShareSignature(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody) } // @@protoc_insertion_point(class_scope:com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody) private static final com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody(); } public static com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TssShareSignatureTransactionBody parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hedera.hapi.services.auxiliary.tss.legacy.TssShareSignatureTransactionBody getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy