public static final class TrezorType.TxRequestSerializedType.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder> implements TrezorType.TxRequestSerializedTypeOrBuilder
TxRequestSerializedType
Structure representing serialized data @used_in TxRequest
Modifier and Type | Method and Description |
---|---|
TrezorType.TxRequestSerializedType |
build() |
TrezorType.TxRequestSerializedType |
buildPartial() |
TrezorType.TxRequestSerializedType.Builder |
clear() |
TrezorType.TxRequestSerializedType.Builder |
clearSerializedTx()
optional bytes serialized_tx = 3; |
TrezorType.TxRequestSerializedType.Builder |
clearSignature()
optional bytes signature = 2; |
TrezorType.TxRequestSerializedType.Builder |
clearSignatureIndex()
optional uint32 signature_index = 1; |
TrezorType.TxRequestSerializedType.Builder |
clone() |
TrezorType.TxRequestSerializedType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getSerializedTx()
optional bytes serialized_tx = 3; |
com.google.protobuf.ByteString |
getSignature()
optional bytes signature = 2; |
int |
getSignatureIndex()
optional uint32 signature_index = 1; |
boolean |
hasSerializedTx()
optional bytes serialized_tx = 3; |
boolean |
hasSignature()
optional bytes signature = 2; |
boolean |
hasSignatureIndex()
optional uint32 signature_index = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TrezorType.TxRequestSerializedType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.TxRequestSerializedType.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorType.TxRequestSerializedType.Builder |
mergeFrom(TrezorType.TxRequestSerializedType other) |
TrezorType.TxRequestSerializedType.Builder |
setSerializedTx(com.google.protobuf.ByteString value)
optional bytes serialized_tx = 3; |
TrezorType.TxRequestSerializedType.Builder |
setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 2; |
TrezorType.TxRequestSerializedType.Builder |
setSignatureIndex(int value)
optional uint32 signature_index = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public TrezorType.TxRequestSerializedType.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public TrezorType.TxRequestSerializedType.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public TrezorType.TxRequestSerializedType getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorType.TxRequestSerializedType build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxRequestSerializedType buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorType.TxRequestSerializedType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public TrezorType.TxRequestSerializedType.Builder mergeFrom(TrezorType.TxRequestSerializedType other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
public TrezorType.TxRequestSerializedType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorType.TxRequestSerializedType.Builder>
IOException
public boolean hasSignatureIndex()
optional uint32 signature_index = 1;
'signature' field contains signed input of this index
hasSignatureIndex
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public int getSignatureIndex()
optional uint32 signature_index = 1;
'signature' field contains signed input of this index
getSignatureIndex
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public TrezorType.TxRequestSerializedType.Builder setSignatureIndex(int value)
optional uint32 signature_index = 1;
'signature' field contains signed input of this index
public TrezorType.TxRequestSerializedType.Builder clearSignatureIndex()
optional uint32 signature_index = 1;
'signature' field contains signed input of this index
public boolean hasSignature()
optional bytes signature = 2;
signature of the signature_index input
hasSignature
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public com.google.protobuf.ByteString getSignature()
optional bytes signature = 2;
signature of the signature_index input
getSignature
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public TrezorType.TxRequestSerializedType.Builder setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 2;
signature of the signature_index input
public TrezorType.TxRequestSerializedType.Builder clearSignature()
optional bytes signature = 2;
signature of the signature_index input
public boolean hasSerializedTx()
optional bytes serialized_tx = 3;
part of serialized and signed transaction
hasSerializedTx
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public com.google.protobuf.ByteString getSerializedTx()
optional bytes serialized_tx = 3;
part of serialized and signed transaction
getSerializedTx
in interface TrezorType.TxRequestSerializedTypeOrBuilder
public TrezorType.TxRequestSerializedType.Builder setSerializedTx(com.google.protobuf.ByteString value)
optional bytes serialized_tx = 3;
part of serialized and signed transaction
public TrezorType.TxRequestSerializedType.Builder clearSerializedTx()
optional bytes serialized_tx = 3;
part of serialized and signed transaction
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.