public static enum WalletKitOuterClass.WitnessType extends java.lang.Enum<WalletKitOuterClass.WitnessType> implements com.google.protobuf.ProtocolMessageEnum
walletrpc.WitnessType
Enum Constant and Description |
---|
COMMITMENT_ANCHOR
A witness type that allows us to spend our anchor on the commitment
transaction.
|
COMMITMENT_NO_DELAY
A witness that allows us to spend a settled no-delay output immediately on a
counterparty's commitment transaction.
|
COMMITMENT_NO_DELAY_TWEAKLESS
A witness type that is similar to the COMMITMENT_NO_DELAY type,
but it omits the tweak that randomizes the key we need to
spend with a channel peer supplied set of randomness.
|
COMMITMENT_REVOKE
A witness that allows us to sweep the settled output of a malicious
counterparty's who broadcasts a revoked commitment transaction.
|
COMMITMENT_TIME_LOCK
A witness that allows us to spend the output of a commitment transaction
after a relative lock-time lockout.
|
COMMITMENT_TO_REMOTE_CONFIRMED
A witness type that allows us to spend our output on the counterparty's
commitment transaction after a confirmation.
|
HTLC_ACCEPTED_REMOTE_SUCCESS
A witness that allows us to sweep an HTLC that was offered to us by the
remote party.
|
HTLC_ACCEPTED_REVOKE
A witness that allows us to sweep an HTLC output sent to us in the case that
the remote party broadcasts a revoked commitment state.
|
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL
A witness that allows us to sweep an HTLC output that was offered to us, and
for which we have a payment preimage.
|
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED
A witness type that allows us to sweep an HTLC output that was offered
to us, and for which we have a payment preimage.
|
HTLC_OFFERED_REMOTE_TIMEOUT
A witness that allows us to sweep an HTLC that we offered to the remote
party which lies in the commitment transaction of the remote party.
|
HTLC_OFFERED_REVOKE
A witness that allows us to sweep an HTLC which we offered to the remote
party in the case that they broadcast a revoked commitment state.
|
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL
A witness that allows us to sweep an HTLC output that we extended to a
party, but was never fulfilled.
|
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED
A witness type that allows us to sweep an HTLC output that we extended
to a party, but was never fulfilled.
|
HTLC_SECOND_LEVEL_REVOKE
A witness that allows us to sweep an HTLC from the remote party's commitment
transaction in the case that the broadcast a revoked commitment, but then
also immediately attempt to go to the second level to claim the HTLC.
|
LEASE_COMMITMENT_TIME_LOCK
A witness type that allows us to spend our output on our local
commitment transaction after a relative and absolute lock-time lockout as
part of the script enforced lease commitment type.
|
LEASE_COMMITMENT_TO_REMOTE_CONFIRMED
A witness type that allows us to spend our output on the counterparty's
commitment transaction after a confirmation and absolute locktime as part
of the script enforced lease commitment type.
|
LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL
A witness type that allows us to sweep an HTLC output that was offered
to us, and for which we have a payment preimage.
|
LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL
A witness type that allows us to sweep an HTLC output that we extended
to a party, but was never fulfilled.
|
NESTED_WITNESS_KEY_HASH
A witness type that allows us to sweep an output that sends to a nested P2SH
script that pays to a key solely under our control.
|
TAPROOT_PUB_KEY_SPEND
A witness type that allows us to spend a regular p2tr output that's sent
to an output which is under complete control of the backing wallet.
|
UNKNOWN_WITNESS
UNKNOWN_WITNESS = 0; |
UNRECOGNIZED |
WITNESS_KEY_HASH
A witness type that allows us to spend a regular p2wkh output that's sent to
an output which is under complete control of the backing wallet.
|
Modifier and Type | Field and Description |
---|---|
static int |
COMMITMENT_ANCHOR_VALUE
A witness type that allows us to spend our anchor on the commitment
transaction.
|
static int |
COMMITMENT_NO_DELAY_TWEAKLESS_VALUE
A witness type that is similar to the COMMITMENT_NO_DELAY type,
but it omits the tweak that randomizes the key we need to
spend with a channel peer supplied set of randomness.
|
static int |
COMMITMENT_NO_DELAY_VALUE
A witness that allows us to spend a settled no-delay output immediately on a
counterparty's commitment transaction.
|
static int |
COMMITMENT_REVOKE_VALUE
A witness that allows us to sweep the settled output of a malicious
counterparty's who broadcasts a revoked commitment transaction.
|
static int |
COMMITMENT_TIME_LOCK_VALUE
A witness that allows us to spend the output of a commitment transaction
after a relative lock-time lockout.
|
static int |
COMMITMENT_TO_REMOTE_CONFIRMED_VALUE
A witness type that allows us to spend our output on the counterparty's
commitment transaction after a confirmation.
|
static int |
HTLC_ACCEPTED_REMOTE_SUCCESS_VALUE
A witness that allows us to sweep an HTLC that was offered to us by the
remote party.
|
static int |
HTLC_ACCEPTED_REVOKE_VALUE
A witness that allows us to sweep an HTLC output sent to us in the case that
the remote party broadcasts a revoked commitment state.
|
static int |
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED_VALUE
A witness type that allows us to sweep an HTLC output that was offered
to us, and for which we have a payment preimage.
|
static int |
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_VALUE
A witness that allows us to sweep an HTLC output that was offered to us, and
for which we have a payment preimage.
|
static int |
HTLC_OFFERED_REMOTE_TIMEOUT_VALUE
A witness that allows us to sweep an HTLC that we offered to the remote
party which lies in the commitment transaction of the remote party.
|
static int |
HTLC_OFFERED_REVOKE_VALUE
A witness that allows us to sweep an HTLC which we offered to the remote
party in the case that they broadcast a revoked commitment state.
|
static int |
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED_VALUE
A witness type that allows us to sweep an HTLC output that we extended
to a party, but was never fulfilled.
|
static int |
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_VALUE
A witness that allows us to sweep an HTLC output that we extended to a
party, but was never fulfilled.
|
static int |
HTLC_SECOND_LEVEL_REVOKE_VALUE
A witness that allows us to sweep an HTLC from the remote party's commitment
transaction in the case that the broadcast a revoked commitment, but then
also immediately attempt to go to the second level to claim the HTLC.
|
static int |
LEASE_COMMITMENT_TIME_LOCK_VALUE
A witness type that allows us to spend our output on our local
commitment transaction after a relative and absolute lock-time lockout as
part of the script enforced lease commitment type.
|
static int |
LEASE_COMMITMENT_TO_REMOTE_CONFIRMED_VALUE
A witness type that allows us to spend our output on the counterparty's
commitment transaction after a confirmation and absolute locktime as part
of the script enforced lease commitment type.
|
static int |
LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_VALUE
A witness type that allows us to sweep an HTLC output that was offered
to us, and for which we have a payment preimage.
|
static int |
LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_VALUE
A witness type that allows us to sweep an HTLC output that we extended
to a party, but was never fulfilled.
|
static int |
NESTED_WITNESS_KEY_HASH_VALUE
A witness type that allows us to sweep an output that sends to a nested P2SH
script that pays to a key solely under our control.
|
static int |
TAPROOT_PUB_KEY_SPEND_VALUE
A witness type that allows us to spend a regular p2tr output that's sent
to an output which is under complete control of the backing wallet.
|
static int |
UNKNOWN_WITNESS_VALUE
UNKNOWN_WITNESS = 0; |
static int |
WITNESS_KEY_HASH_VALUE
A witness type that allows us to spend a regular p2wkh output that's sent to
an output which is under complete control of the backing wallet.
|
Modifier and Type | Method and Description |
---|---|
static WalletKitOuterClass.WitnessType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<WalletKitOuterClass.WitnessType> |
internalGetValueMap() |
static WalletKitOuterClass.WitnessType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WalletKitOuterClass.WitnessType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WalletKitOuterClass.WitnessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WalletKitOuterClass.WitnessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WalletKitOuterClass.WitnessType UNKNOWN_WITNESS
UNKNOWN_WITNESS = 0;
public static final WalletKitOuterClass.WitnessType COMMITMENT_TIME_LOCK
A witness that allows us to spend the output of a commitment transaction after a relative lock-time lockout.
COMMITMENT_TIME_LOCK = 1;
public static final WalletKitOuterClass.WitnessType COMMITMENT_NO_DELAY
A witness that allows us to spend a settled no-delay output immediately on a counterparty's commitment transaction.
COMMITMENT_NO_DELAY = 2;
public static final WalletKitOuterClass.WitnessType COMMITMENT_REVOKE
A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked commitment transaction.
COMMITMENT_REVOKE = 3;
public static final WalletKitOuterClass.WitnessType HTLC_OFFERED_REVOKE
A witness that allows us to sweep an HTLC which we offered to the remote party in the case that they broadcast a revoked commitment state.
HTLC_OFFERED_REVOKE = 4;
public static final WalletKitOuterClass.WitnessType HTLC_ACCEPTED_REVOKE
A witness that allows us to sweep an HTLC output sent to us in the case that the remote party broadcasts a revoked commitment state.
HTLC_ACCEPTED_REVOKE = 5;
public static final WalletKitOuterClass.WitnessType HTLC_OFFERED_TIMEOUT_SECOND_LEVEL
A witness that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = 6;
public static final WalletKitOuterClass.WitnessType HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL
A witness that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = 7;
public static final WalletKitOuterClass.WitnessType HTLC_OFFERED_REMOTE_TIMEOUT
A witness that allows us to sweep an HTLC that we offered to the remote party which lies in the commitment transaction of the remote party. We can spend this output after the absolute CLTV timeout of the HTLC as passed.
HTLC_OFFERED_REMOTE_TIMEOUT = 8;
public static final WalletKitOuterClass.WitnessType HTLC_ACCEPTED_REMOTE_SUCCESS
A witness that allows us to sweep an HTLC that was offered to us by the remote party. We use this witness in the case that the remote party goes to chain, and we know the pre-image to the HTLC. We can sweep this without any additional timeout.
HTLC_ACCEPTED_REMOTE_SUCCESS = 9;
public static final WalletKitOuterClass.WitnessType HTLC_SECOND_LEVEL_REVOKE
A witness that allows us to sweep an HTLC from the remote party's commitment transaction in the case that the broadcast a revoked commitment, but then also immediately attempt to go to the second level to claim the HTLC.
HTLC_SECOND_LEVEL_REVOKE = 10;
public static final WalletKitOuterClass.WitnessType WITNESS_KEY_HASH
A witness type that allows us to spend a regular p2wkh output that's sent to an output which is under complete control of the backing wallet.
WITNESS_KEY_HASH = 11;
public static final WalletKitOuterClass.WitnessType NESTED_WITNESS_KEY_HASH
A witness type that allows us to sweep an output that sends to a nested P2SH script that pays to a key solely under our control.
NESTED_WITNESS_KEY_HASH = 12;
public static final WalletKitOuterClass.WitnessType COMMITMENT_ANCHOR
A witness type that allows us to spend our anchor on the commitment transaction.
COMMITMENT_ANCHOR = 13;
public static final WalletKitOuterClass.WitnessType COMMITMENT_NO_DELAY_TWEAKLESS
A witness type that is similar to the COMMITMENT_NO_DELAY type, but it omits the tweak that randomizes the key we need to spend with a channel peer supplied set of randomness.
COMMITMENT_NO_DELAY_TWEAKLESS = 14;
public static final WalletKitOuterClass.WitnessType COMMITMENT_TO_REMOTE_CONFIRMED
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation.
COMMITMENT_TO_REMOTE_CONFIRMED = 15;
public static final WalletKitOuterClass.WitnessType HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC timeout transaction. It can only be spent after CLTV expiry, and commitment confirmation.
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED = 16;
public static final WalletKitOuterClass.WitnessType HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC success transaction. It can only be spent after the commitment has confirmed.
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED = 17;
public static final WalletKitOuterClass.WitnessType LEASE_COMMITMENT_TIME_LOCK
A witness type that allows us to spend our output on our local commitment transaction after a relative and absolute lock-time lockout as part of the script enforced lease commitment type.
LEASE_COMMITMENT_TIME_LOCK = 18;
public static final WalletKitOuterClass.WitnessType LEASE_COMMITMENT_TO_REMOTE_CONFIRMED
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation and absolute locktime as part of the script enforced lease commitment type.
LEASE_COMMITMENT_TO_REMOTE_CONFIRMED = 19;
public static final WalletKitOuterClass.WitnessType LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.
LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = 20;
public static final WalletKitOuterClass.WitnessType LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.
LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = 21;
public static final WalletKitOuterClass.WitnessType TAPROOT_PUB_KEY_SPEND
A witness type that allows us to spend a regular p2tr output that's sent to an output which is under complete control of the backing wallet.
TAPROOT_PUB_KEY_SPEND = 22;
public static final WalletKitOuterClass.WitnessType UNRECOGNIZED
public static final int UNKNOWN_WITNESS_VALUE
UNKNOWN_WITNESS = 0;
public static final int COMMITMENT_TIME_LOCK_VALUE
A witness that allows us to spend the output of a commitment transaction after a relative lock-time lockout.
COMMITMENT_TIME_LOCK = 1;
public static final int COMMITMENT_NO_DELAY_VALUE
A witness that allows us to spend a settled no-delay output immediately on a counterparty's commitment transaction.
COMMITMENT_NO_DELAY = 2;
public static final int COMMITMENT_REVOKE_VALUE
A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked commitment transaction.
COMMITMENT_REVOKE = 3;
public static final int HTLC_OFFERED_REVOKE_VALUE
A witness that allows us to sweep an HTLC which we offered to the remote party in the case that they broadcast a revoked commitment state.
HTLC_OFFERED_REVOKE = 4;
public static final int HTLC_ACCEPTED_REVOKE_VALUE
A witness that allows us to sweep an HTLC output sent to us in the case that the remote party broadcasts a revoked commitment state.
HTLC_ACCEPTED_REVOKE = 5;
public static final int HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_VALUE
A witness that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = 6;
public static final int HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_VALUE
A witness that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = 7;
public static final int HTLC_OFFERED_REMOTE_TIMEOUT_VALUE
A witness that allows us to sweep an HTLC that we offered to the remote party which lies in the commitment transaction of the remote party. We can spend this output after the absolute CLTV timeout of the HTLC as passed.
HTLC_OFFERED_REMOTE_TIMEOUT = 8;
public static final int HTLC_ACCEPTED_REMOTE_SUCCESS_VALUE
A witness that allows us to sweep an HTLC that was offered to us by the remote party. We use this witness in the case that the remote party goes to chain, and we know the pre-image to the HTLC. We can sweep this without any additional timeout.
HTLC_ACCEPTED_REMOTE_SUCCESS = 9;
public static final int HTLC_SECOND_LEVEL_REVOKE_VALUE
A witness that allows us to sweep an HTLC from the remote party's commitment transaction in the case that the broadcast a revoked commitment, but then also immediately attempt to go to the second level to claim the HTLC.
HTLC_SECOND_LEVEL_REVOKE = 10;
public static final int WITNESS_KEY_HASH_VALUE
A witness type that allows us to spend a regular p2wkh output that's sent to an output which is under complete control of the backing wallet.
WITNESS_KEY_HASH = 11;
public static final int NESTED_WITNESS_KEY_HASH_VALUE
A witness type that allows us to sweep an output that sends to a nested P2SH script that pays to a key solely under our control.
NESTED_WITNESS_KEY_HASH = 12;
public static final int COMMITMENT_ANCHOR_VALUE
A witness type that allows us to spend our anchor on the commitment transaction.
COMMITMENT_ANCHOR = 13;
public static final int COMMITMENT_NO_DELAY_TWEAKLESS_VALUE
A witness type that is similar to the COMMITMENT_NO_DELAY type, but it omits the tweak that randomizes the key we need to spend with a channel peer supplied set of randomness.
COMMITMENT_NO_DELAY_TWEAKLESS = 14;
public static final int COMMITMENT_TO_REMOTE_CONFIRMED_VALUE
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation.
COMMITMENT_TO_REMOTE_CONFIRMED = 15;
public static final int HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED_VALUE
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC timeout transaction. It can only be spent after CLTV expiry, and commitment confirmation.
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED = 16;
public static final int HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED_VALUE
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC success transaction. It can only be spent after the commitment has confirmed.
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED = 17;
public static final int LEASE_COMMITMENT_TIME_LOCK_VALUE
A witness type that allows us to spend our output on our local commitment transaction after a relative and absolute lock-time lockout as part of the script enforced lease commitment type.
LEASE_COMMITMENT_TIME_LOCK = 18;
public static final int LEASE_COMMITMENT_TO_REMOTE_CONFIRMED_VALUE
A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation and absolute locktime as part of the script enforced lease commitment type.
LEASE_COMMITMENT_TO_REMOTE_CONFIRMED = 19;
public static final int LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_VALUE
A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.
LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = 20;
public static final int LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_VALUE
A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.
LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = 21;
public static final int TAPROOT_PUB_KEY_SPEND_VALUE
A witness type that allows us to spend a regular p2tr output that's sent to an output which is under complete control of the backing wallet.
TAPROOT_PUB_KEY_SPEND = 22;
public static WalletKitOuterClass.WitnessType[] values()
for (WalletKitOuterClass.WitnessType c : WalletKitOuterClass.WitnessType.values()) System.out.println(c);
public static WalletKitOuterClass.WitnessType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static WalletKitOuterClass.WitnessType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WalletKitOuterClass.WitnessType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WalletKitOuterClass.WitnessType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WalletKitOuterClass.WitnessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)