public static final class TrezorType.CoinType extends com.google.protobuf.GeneratedMessageV3 implements TrezorType.CoinTypeOrBuilder
Structure representing Coin @used_in FeaturesProtobuf type
CoinType
Modifier and Type | Class and Description |
---|---|
static class |
TrezorType.CoinType.Builder
Structure representing Coin
@used_in Features
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_TYPE_FIELD_NUMBER |
static int |
ADDRESS_TYPE_P2SH_FIELD_NUMBER |
static int |
ADDRESS_TYPE_P2WPKH_FIELD_NUMBER |
static int |
ADDRESS_TYPE_P2WSH_FIELD_NUMBER |
static int |
COIN_NAME_FIELD_NUMBER |
static int |
COIN_SHORTCUT_FIELD_NUMBER |
static int |
MAXFEE_KB_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorType.CoinType> |
PARSER
Deprecated.
|
static int |
SIGNED_MESSAGE_HEADER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAddressType()
optional uint32 address_type = 3 [default = 0]; |
int |
getAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5]; |
int |
getAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6]; |
int |
getAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10]; |
String |
getCoinName()
optional string coin_name = 1; |
com.google.protobuf.ByteString |
getCoinNameBytes()
optional string coin_name = 1; |
String |
getCoinShortcut()
optional string coin_shortcut = 2; |
com.google.protobuf.ByteString |
getCoinShortcutBytes()
optional string coin_shortcut = 2; |
static TrezorType.CoinType |
getDefaultInstance() |
TrezorType.CoinType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMaxfeeKb()
optional uint64 maxfee_kb = 4; |
com.google.protobuf.Parser<TrezorType.CoinType> |
getParserForType() |
int |
getSerializedSize() |
String |
getSignedMessageHeader()
optional string signed_message_header = 8; |
com.google.protobuf.ByteString |
getSignedMessageHeaderBytes()
optional string signed_message_header = 8; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAddressType()
optional uint32 address_type = 3 [default = 0]; |
boolean |
hasAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5]; |
boolean |
hasAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6]; |
boolean |
hasAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10]; |
boolean |
hasCoinName()
optional string coin_name = 1; |
boolean |
hasCoinShortcut()
optional string coin_shortcut = 2; |
int |
hashCode() |
boolean |
hasMaxfeeKb()
optional uint64 maxfee_kb = 4; |
boolean |
hasSignedMessageHeader()
optional string signed_message_header = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorType.CoinType.Builder |
newBuilder() |
static TrezorType.CoinType.Builder |
newBuilder(TrezorType.CoinType prototype) |
TrezorType.CoinType.Builder |
newBuilderForType() |
protected TrezorType.CoinType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorType.CoinType |
parseDelimitedFrom(InputStream input) |
static TrezorType.CoinType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.CoinType |
parseFrom(byte[] data) |
static TrezorType.CoinType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.CoinType |
parseFrom(ByteBuffer data) |
static TrezorType.CoinType |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.CoinType |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorType.CoinType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.CoinType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorType.CoinType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.CoinType |
parseFrom(InputStream input) |
static TrezorType.CoinType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorType.CoinType> |
parser() |
TrezorType.CoinType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int COIN_NAME_FIELD_NUMBER
public static final int COIN_SHORTCUT_FIELD_NUMBER
public static final int ADDRESS_TYPE_FIELD_NUMBER
public static final int MAXFEE_KB_FIELD_NUMBER
public static final int ADDRESS_TYPE_P2SH_FIELD_NUMBER
public static final int ADDRESS_TYPE_P2WPKH_FIELD_NUMBER
public static final int ADDRESS_TYPE_P2WSH_FIELD_NUMBER
public static final int SIGNED_MESSAGE_HEADER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TrezorType.CoinType> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasCoinName()
optional string coin_name = 1;
hasCoinName
in interface TrezorType.CoinTypeOrBuilder
public String getCoinName()
optional string coin_name = 1;
getCoinName
in interface TrezorType.CoinTypeOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 1;
getCoinNameBytes
in interface TrezorType.CoinTypeOrBuilder
public boolean hasCoinShortcut()
optional string coin_shortcut = 2;
hasCoinShortcut
in interface TrezorType.CoinTypeOrBuilder
public String getCoinShortcut()
optional string coin_shortcut = 2;
getCoinShortcut
in interface TrezorType.CoinTypeOrBuilder
public com.google.protobuf.ByteString getCoinShortcutBytes()
optional string coin_shortcut = 2;
getCoinShortcutBytes
in interface TrezorType.CoinTypeOrBuilder
public boolean hasAddressType()
optional uint32 address_type = 3 [default = 0];
hasAddressType
in interface TrezorType.CoinTypeOrBuilder
public int getAddressType()
optional uint32 address_type = 3 [default = 0];
getAddressType
in interface TrezorType.CoinTypeOrBuilder
public boolean hasMaxfeeKb()
optional uint64 maxfee_kb = 4;
hasMaxfeeKb
in interface TrezorType.CoinTypeOrBuilder
public long getMaxfeeKb()
optional uint64 maxfee_kb = 4;
getMaxfeeKb
in interface TrezorType.CoinTypeOrBuilder
public boolean hasAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5];
hasAddressTypeP2Sh
in interface TrezorType.CoinTypeOrBuilder
public int getAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5];
getAddressTypeP2Sh
in interface TrezorType.CoinTypeOrBuilder
public boolean hasAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6];
hasAddressTypeP2Wpkh
in interface TrezorType.CoinTypeOrBuilder
public int getAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6];
getAddressTypeP2Wpkh
in interface TrezorType.CoinTypeOrBuilder
public boolean hasAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10];
hasAddressTypeP2Wsh
in interface TrezorType.CoinTypeOrBuilder
public int getAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10];
getAddressTypeP2Wsh
in interface TrezorType.CoinTypeOrBuilder
public boolean hasSignedMessageHeader()
optional string signed_message_header = 8;
hasSignedMessageHeader
in interface TrezorType.CoinTypeOrBuilder
public String getSignedMessageHeader()
optional string signed_message_header = 8;
getSignedMessageHeader
in interface TrezorType.CoinTypeOrBuilder
public com.google.protobuf.ByteString getSignedMessageHeaderBytes()
optional string signed_message_header = 8;
getSignedMessageHeaderBytes
in interface TrezorType.CoinTypeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TrezorType.CoinType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorType.CoinType parseFrom(InputStream input) throws IOException
IOException
public static TrezorType.CoinType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorType.CoinType parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorType.CoinType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorType.CoinType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorType.CoinType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorType.CoinType.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorType.CoinType.Builder newBuilder()
public static TrezorType.CoinType.Builder newBuilder(TrezorType.CoinType prototype)
public TrezorType.CoinType.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorType.CoinType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TrezorType.CoinType getDefaultInstance()
public static com.google.protobuf.Parser<TrezorType.CoinType> parser()
public com.google.protobuf.Parser<TrezorType.CoinType> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorType.CoinType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.