java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Signature,Signature.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Signature,Signature.Builder>
com.hedera.hashgraph.sdk.proto.Signature.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SignatureOrBuilder,Cloneable
- Enclosing class:
Signature
public static final class Signature.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Signature,Signature.Builder>
implements SignatureOrBuilder
* This message is deprecated and MUST NOT be used to communicate with network nodes. It is retained here only for historical reasons. Client software MUST NOT include this message in any request. <br/> Compliant nodes SHALL NOT accept any request containing this message. Please use the `SignaturePair` and `SignatureMap` messages instead of this message.Protobuf type
proto.Signature-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* Smart contract virtual signature (always length zero).* ECDSA p-384 signature bytes.* Ed25519 signature bytes.* RSA-3072 signature bytes.* A list of M signatures, each corresponding to a Key in a KeyList of the same length.* A list of signatures for a single N-of-M threshold Key.com.google.protobuf.ByteString* Smart contract virtual signature (always length zero).com.google.protobuf.ByteString* ECDSA p-384 signature bytes.com.google.protobuf.ByteString* Ed25519 signature bytes.com.google.protobuf.ByteString* RSA-3072 signature bytes.* A list of M signatures, each corresponding to a Key in a KeyList of the same length.* A list of signatures for a single N-of-M threshold Key.boolean* Smart contract virtual signature (always length zero).boolean* ECDSA p-384 signature bytes.boolean* Ed25519 signature bytes.boolean* RSA-3072 signature bytes.boolean* A list of M signatures, each corresponding to a Key in a KeyList of the same length.boolean* A list of signatures for a single N-of-M threshold Key.mergeSignatureList(SignatureList value) * A list of M signatures, each corresponding to a Key in a KeyList of the same length.* A list of signatures for a single N-of-M threshold Key.setContract(com.google.protobuf.ByteString value) * Smart contract virtual signature (always length zero).setECDSA384(com.google.protobuf.ByteString value) * ECDSA p-384 signature bytes.setEd25519(com.google.protobuf.ByteString value) * Ed25519 signature bytes.setRSA3072(com.google.protobuf.ByteString value) * RSA-3072 signature bytes.setSignatureList(SignatureList value) * A list of M signatures, each corresponding to a Key in a KeyList of the same length.setSignatureList(SignatureList.Builder builderForValue) * A list of M signatures, each corresponding to a Key in a KeyList of the same length.* A list of signatures for a single N-of-M threshold Key.setThresholdSignature(ThresholdSignature.Builder builderForValue) * A list of signatures for a single N-of-M threshold 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
-
getSignatureCase
- Specified by:
getSignatureCasein interfaceSignatureOrBuilder
-
clearSignature
-
hasContract
public boolean hasContract()* Smart contract virtual signature (always length zero).
bytes contract = 1;- Specified by:
hasContractin interfaceSignatureOrBuilder- Returns:
- Whether the contract field is set.
-
getContract
public com.google.protobuf.ByteString getContract()* Smart contract virtual signature (always length zero).
bytes contract = 1;- Specified by:
getContractin interfaceSignatureOrBuilder- Returns:
- The contract.
-
setContract
* Smart contract virtual signature (always length zero).
bytes contract = 1;- Parameters:
value- The contract to set.- Returns:
- This builder for chaining.
-
clearContract
* Smart contract virtual signature (always length zero).
bytes contract = 1;- Returns:
- This builder for chaining.
-
hasEd25519
public boolean hasEd25519()* Ed25519 signature bytes.
bytes ed25519 = 2;- Specified by:
hasEd25519in interfaceSignatureOrBuilder- Returns:
- Whether the ed25519 field is set.
-
getEd25519
public com.google.protobuf.ByteString getEd25519()* Ed25519 signature bytes.
bytes ed25519 = 2;- Specified by:
getEd25519in interfaceSignatureOrBuilder- Returns:
- The ed25519.
-
setEd25519
* Ed25519 signature bytes.
bytes ed25519 = 2;- Parameters:
value- The ed25519 to set.- Returns:
- This builder for chaining.
-
clearEd25519
* Ed25519 signature bytes.
bytes ed25519 = 2;- Returns:
- This builder for chaining.
-
hasRSA3072
public boolean hasRSA3072()* RSA-3072 signature bytes.
bytes RSA_3072 = 3;- Specified by:
hasRSA3072in interfaceSignatureOrBuilder- Returns:
- Whether the rSA3072 field is set.
-
getRSA3072
public com.google.protobuf.ByteString getRSA3072()* RSA-3072 signature bytes.
bytes RSA_3072 = 3;- Specified by:
getRSA3072in interfaceSignatureOrBuilder- Returns:
- The rSA3072.
-
setRSA3072
* RSA-3072 signature bytes.
bytes RSA_3072 = 3;- Parameters:
value- The rSA3072 to set.- Returns:
- This builder for chaining.
-
clearRSA3072
* RSA-3072 signature bytes.
bytes RSA_3072 = 3;- Returns:
- This builder for chaining.
-
hasECDSA384
public boolean hasECDSA384()* ECDSA p-384 signature bytes.
bytes ECDSA_384 = 4;- Specified by:
hasECDSA384in interfaceSignatureOrBuilder- Returns:
- Whether the eCDSA384 field is set.
-
getECDSA384
public com.google.protobuf.ByteString getECDSA384()* ECDSA p-384 signature bytes.
bytes ECDSA_384 = 4;- Specified by:
getECDSA384in interfaceSignatureOrBuilder- Returns:
- The eCDSA384.
-
setECDSA384
* ECDSA p-384 signature bytes.
bytes ECDSA_384 = 4;- Parameters:
value- The eCDSA384 to set.- Returns:
- This builder for chaining.
-
clearECDSA384
* ECDSA p-384 signature bytes.
bytes ECDSA_384 = 4;- Returns:
- This builder for chaining.
-
hasThresholdSignature
public boolean hasThresholdSignature()* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5;- Specified by:
hasThresholdSignaturein interfaceSignatureOrBuilder- Returns:
- Whether the thresholdSignature field is set.
-
getThresholdSignature
* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5;- Specified by:
getThresholdSignaturein interfaceSignatureOrBuilder- Returns:
- The thresholdSignature.
-
setThresholdSignature
* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5; -
setThresholdSignature
* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5; -
mergeThresholdSignature
* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5; -
clearThresholdSignature
* A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null.
.proto.ThresholdSignature thresholdSignature = 5; -
hasSignatureList
public boolean hasSignatureList()* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6;- Specified by:
hasSignatureListin interfaceSignatureOrBuilder- Returns:
- Whether the signatureList field is set.
-
getSignatureList
* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6;- Specified by:
getSignatureListin interfaceSignatureOrBuilder- Returns:
- The signatureList.
-
setSignatureList
* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6; -
setSignatureList
* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6; -
mergeSignatureList
* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6; -
clearSignatureList
* A list of M signatures, each corresponding to a Key in a KeyList of the same length.
.proto.SignatureList signatureList = 6;
-