public static final class TrezorMessage.CipherKeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder> implements TrezorMessage.CipherKeyValueOrBuilder
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next FailureProtobuf type
CipherKeyValue| Modifier and Type | Method and Description |
|---|---|
TrezorMessage.CipherKeyValue.Builder |
addAddressN(int value)
BIP-32 path to derive the key from master node
|
TrezorMessage.CipherKeyValue.Builder |
addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node
|
TrezorMessage.CipherKeyValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TrezorMessage.CipherKeyValue |
build() |
TrezorMessage.CipherKeyValue |
buildPartial() |
TrezorMessage.CipherKeyValue.Builder |
clear() |
TrezorMessage.CipherKeyValue.Builder |
clearAddressN()
BIP-32 path to derive the key from master node
|
TrezorMessage.CipherKeyValue.Builder |
clearAskOnDecrypt()
should we ask on decrypt operation?
|
TrezorMessage.CipherKeyValue.Builder |
clearAskOnEncrypt()
should we ask on encrypt operation?
|
TrezorMessage.CipherKeyValue.Builder |
clearEncrypt()
are we encrypting (True) or decrypting (False)?
|
TrezorMessage.CipherKeyValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TrezorMessage.CipherKeyValue.Builder |
clearIv()
initialization vector (will be computed if not set)
|
TrezorMessage.CipherKeyValue.Builder |
clearKey()
key component of key:value
|
TrezorMessage.CipherKeyValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TrezorMessage.CipherKeyValue.Builder |
clearValue()
value component of key:value
|
TrezorMessage.CipherKeyValue.Builder |
clone() |
int |
getAddressN(int index)
BIP-32 path to derive the key from master node
|
int |
getAddressNCount()
BIP-32 path to derive the key from master node
|
List<Integer> |
getAddressNList()
BIP-32 path to derive the key from master node
|
boolean |
getAskOnDecrypt()
should we ask on decrypt operation?
|
boolean |
getAskOnEncrypt()
should we ask on encrypt operation?
|
TrezorMessage.CipherKeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEncrypt()
are we encrypting (True) or decrypting (False)?
|
com.google.protobuf.ByteString |
getIv()
initialization vector (will be computed if not set)
|
String |
getKey()
key component of key:value
|
com.google.protobuf.ByteString |
getKeyBytes()
key component of key:value
|
com.google.protobuf.ByteString |
getValue()
value component of key:value
|
boolean |
hasAskOnDecrypt()
should we ask on decrypt operation?
|
boolean |
hasAskOnEncrypt()
should we ask on encrypt operation?
|
boolean |
hasEncrypt()
are we encrypting (True) or decrypting (False)?
|
boolean |
hasIv()
initialization vector (will be computed if not set)
|
boolean |
hasKey()
key component of key:value
|
boolean |
hasValue()
value component of key:value
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(TrezorMessage.CipherKeyValue other) |
TrezorMessage.CipherKeyValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TrezorMessage.CipherKeyValue.Builder |
setAddressN(int index,
int value)
BIP-32 path to derive the key from master node
|
TrezorMessage.CipherKeyValue.Builder |
setAskOnDecrypt(boolean value)
should we ask on decrypt operation?
|
TrezorMessage.CipherKeyValue.Builder |
setAskOnEncrypt(boolean value)
should we ask on encrypt operation?
|
TrezorMessage.CipherKeyValue.Builder |
setEncrypt(boolean value)
are we encrypting (True) or decrypting (False)?
|
TrezorMessage.CipherKeyValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TrezorMessage.CipherKeyValue.Builder |
setIv(com.google.protobuf.ByteString value)
initialization vector (will be computed if not set)
|
TrezorMessage.CipherKeyValue.Builder |
setKey(String value)
key component of key:value
|
TrezorMessage.CipherKeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
key component of key:value
|
TrezorMessage.CipherKeyValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TrezorMessage.CipherKeyValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TrezorMessage.CipherKeyValue.Builder |
setValue(com.google.protobuf.ByteString value)
value component of key:value
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorMessage.CipherKeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.CipherKeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.CipherKeyValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder mergeFrom(TrezorMessage.CipherKeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.CipherKeyValue.Builder>IOExceptionpublic List<Integer> getAddressNList()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressNList in interface TrezorMessage.CipherKeyValueOrBuilderpublic int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressNCount in interface TrezorMessage.CipherKeyValueOrBuilderpublic int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressN in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAddressN(int index, int value)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;public TrezorMessage.CipherKeyValue.Builder addAddressN(int value)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;public TrezorMessage.CipherKeyValue.Builder addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;public TrezorMessage.CipherKeyValue.Builder clearAddressN()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;public boolean hasKey()
key component of key:value
optional string key = 2;hasKey in interface TrezorMessage.CipherKeyValueOrBuilderpublic String getKey()
key component of key:value
optional string key = 2;getKey in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
key component of key:value
optional string key = 2;getKeyBytes in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setKey(String value)
key component of key:value
optional string key = 2;public TrezorMessage.CipherKeyValue.Builder clearKey()
key component of key:value
optional string key = 2;public TrezorMessage.CipherKeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
key component of key:value
optional string key = 2;public boolean hasValue()
value component of key:value
optional bytes value = 3;hasValue in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getValue()
value component of key:value
optional bytes value = 3;getValue in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setValue(com.google.protobuf.ByteString value)
value component of key:value
optional bytes value = 3;public TrezorMessage.CipherKeyValue.Builder clearValue()
value component of key:value
optional bytes value = 3;public boolean hasEncrypt()
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;hasEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getEncrypt()
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;getEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setEncrypt(boolean value)
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;public TrezorMessage.CipherKeyValue.Builder clearEncrypt()
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;public boolean hasAskOnEncrypt()
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;hasAskOnEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getAskOnEncrypt()
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;getAskOnEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAskOnEncrypt(boolean value)
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;public TrezorMessage.CipherKeyValue.Builder clearAskOnEncrypt()
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;public boolean hasAskOnDecrypt()
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;hasAskOnDecrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getAskOnDecrypt()
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;getAskOnDecrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAskOnDecrypt(boolean value)
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;public TrezorMessage.CipherKeyValue.Builder clearAskOnDecrypt()
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;public boolean hasIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;hasIv in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;getIv in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setIv(com.google.protobuf.ByteString value)
initialization vector (will be computed if not set)
optional bytes iv = 7;public TrezorMessage.CipherKeyValue.Builder clearIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;public final TrezorMessage.CipherKeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>public final TrezorMessage.CipherKeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.