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, parseUnknownField
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.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.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>
public TrezorMessage.CipherKeyValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TrezorMessage.CipherKeyValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.CipherKeyValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TrezorMessage.CipherKeyValue.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.CipherKeyValue.Builder>
IOException
public List<Integer> getAddressNList()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressNList
in interface TrezorMessage.CipherKeyValueOrBuilder
public int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressNCount
in interface TrezorMessage.CipherKeyValueOrBuilder
public int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressN
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public String getKey()
key component of key:value
optional string key = 2;
getKey
in interface TrezorMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
key component of key:value
optional string key = 2;
getKeyBytes
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getValue()
value component of key:value
optional bytes value = 3;
getValue
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public boolean getEncrypt()
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;
getEncrypt
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public boolean getAskOnEncrypt()
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;
getAskOnEncrypt
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public boolean getAskOnDecrypt()
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;
getAskOnDecrypt
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;
getIv
in interface TrezorMessage.CipherKeyValueOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TrezorMessage.CipherKeyValue.Builder>
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.