public static final class TrezorType.CoinType extends com.google.protobuf.GeneratedMessage implements TrezorType.CoinTypeOrBuilder
CoinType
Structure representing Coin @used_in Features
| Modifier and Type | Class and Description |
|---|---|
static class |
TrezorType.CoinType.Builder
Protobuf type
CoinType |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
static int |
SIGNED_MESSAGE_HEADER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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; |
boolean |
hasMaxfeeKb()
optional uint64 maxfee_kb = 4; |
boolean |
hasSignedMessageHeader()
optional string signed_message_header = 8; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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(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) |
TrezorType.CoinType.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<TrezorType.CoinType> PARSER
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
public static TrezorType.CoinType getDefaultInstance()
public TrezorType.CoinType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<TrezorType.CoinType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCoinName()
optional string coin_name = 1;hasCoinName in interface TrezorType.CoinTypeOrBuilderpublic String getCoinName()
optional string coin_name = 1;getCoinName in interface TrezorType.CoinTypeOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 1;getCoinNameBytes in interface TrezorType.CoinTypeOrBuilderpublic boolean hasCoinShortcut()
optional string coin_shortcut = 2;hasCoinShortcut in interface TrezorType.CoinTypeOrBuilderpublic String getCoinShortcut()
optional string coin_shortcut = 2;getCoinShortcut in interface TrezorType.CoinTypeOrBuilderpublic com.google.protobuf.ByteString getCoinShortcutBytes()
optional string coin_shortcut = 2;getCoinShortcutBytes in interface TrezorType.CoinTypeOrBuilderpublic boolean hasAddressType()
optional uint32 address_type = 3 [default = 0];hasAddressType in interface TrezorType.CoinTypeOrBuilderpublic int getAddressType()
optional uint32 address_type = 3 [default = 0];getAddressType in interface TrezorType.CoinTypeOrBuilderpublic boolean hasMaxfeeKb()
optional uint64 maxfee_kb = 4;hasMaxfeeKb in interface TrezorType.CoinTypeOrBuilderpublic long getMaxfeeKb()
optional uint64 maxfee_kb = 4;getMaxfeeKb in interface TrezorType.CoinTypeOrBuilderpublic boolean hasAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5];hasAddressTypeP2Sh in interface TrezorType.CoinTypeOrBuilderpublic int getAddressTypeP2Sh()
optional uint32 address_type_p2sh = 5 [default = 5];getAddressTypeP2Sh in interface TrezorType.CoinTypeOrBuilderpublic boolean hasAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6];hasAddressTypeP2Wpkh in interface TrezorType.CoinTypeOrBuilderpublic int getAddressTypeP2Wpkh()
optional uint32 address_type_p2wpkh = 6 [default = 6];getAddressTypeP2Wpkh in interface TrezorType.CoinTypeOrBuilderpublic boolean hasAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10];hasAddressTypeP2Wsh in interface TrezorType.CoinTypeOrBuilderpublic int getAddressTypeP2Wsh()
optional uint32 address_type_p2wsh = 7 [default = 10];getAddressTypeP2Wsh in interface TrezorType.CoinTypeOrBuilderpublic boolean hasSignedMessageHeader()
optional string signed_message_header = 8;hasSignedMessageHeader in interface TrezorType.CoinTypeOrBuilderpublic String getSignedMessageHeader()
optional string signed_message_header = 8;getSignedMessageHeader in interface TrezorType.CoinTypeOrBuilderpublic com.google.protobuf.ByteString getSignedMessageHeaderBytes()
optional string signed_message_header = 8;getSignedMessageHeaderBytes in interface TrezorType.CoinTypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static TrezorType.CoinType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.CoinType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.CoinType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.CoinType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.CoinType parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorType.CoinType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.CoinType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorType.CoinType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.CoinType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrezorType.CoinType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.CoinType.Builder newBuilder()
public TrezorType.CoinType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrezorType.CoinType.Builder newBuilder(TrezorType.CoinType prototype)
public TrezorType.CoinType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrezorType.CoinType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.