public static final class KeepKeyMessage.CipherKeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeepKeyMessage.CipherKeyValue.Builder> implements KeepKeyMessage.CipherKeyValueOrBuilder
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next FailureProtobuf type
CipherKeyValue
Modifier and Type | Method and Description |
---|---|
KeepKeyMessage.CipherKeyValue.Builder |
addAddressN(int value)
BIP-32 path to derive the key from master node
|
KeepKeyMessage.CipherKeyValue.Builder |
addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node
|
KeepKeyMessage.CipherKeyValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KeepKeyMessage.CipherKeyValue |
build() |
KeepKeyMessage.CipherKeyValue |
buildPartial() |
KeepKeyMessage.CipherKeyValue.Builder |
clear() |
KeepKeyMessage.CipherKeyValue.Builder |
clearAddressN()
BIP-32 path to derive the key from master node
|
KeepKeyMessage.CipherKeyValue.Builder |
clearAskOnDecrypt()
should we ask on decrypt operation?
|
KeepKeyMessage.CipherKeyValue.Builder |
clearAskOnEncrypt()
should we ask on encrypt operation?
|
KeepKeyMessage.CipherKeyValue.Builder |
clearEncrypt()
are we encrypting (True) or decrypting (False)?
|
KeepKeyMessage.CipherKeyValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
KeepKeyMessage.CipherKeyValue.Builder |
clearIv()
initialization vector (will be computed if not set)
|
KeepKeyMessage.CipherKeyValue.Builder |
clearKey()
key component of key:value
|
KeepKeyMessage.CipherKeyValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
KeepKeyMessage.CipherKeyValue.Builder |
clearValue()
value component of key:value
|
KeepKeyMessage.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?
|
KeepKeyMessage.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() |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(KeepKeyMessage.CipherKeyValue other) |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeepKeyMessage.CipherKeyValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
KeepKeyMessage.CipherKeyValue.Builder |
setAddressN(int index,
int value)
BIP-32 path to derive the key from master node
|
KeepKeyMessage.CipherKeyValue.Builder |
setAskOnDecrypt(boolean value)
should we ask on decrypt operation?
|
KeepKeyMessage.CipherKeyValue.Builder |
setAskOnEncrypt(boolean value)
should we ask on encrypt operation?
|
KeepKeyMessage.CipherKeyValue.Builder |
setEncrypt(boolean value)
are we encrypting (True) or decrypting (False)?
|
KeepKeyMessage.CipherKeyValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KeepKeyMessage.CipherKeyValue.Builder |
setIv(com.google.protobuf.ByteString value)
initialization vector (will be computed if not set)
|
KeepKeyMessage.CipherKeyValue.Builder |
setKey(String value)
key component of key:value
|
KeepKeyMessage.CipherKeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
key component of key:value
|
KeepKeyMessage.CipherKeyValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
KeepKeyMessage.CipherKeyValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
KeepKeyMessage.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, 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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.CipherKeyValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public KeepKeyMessage.CipherKeyValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyMessage.CipherKeyValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.CipherKeyValue.Builder mergeFrom(KeepKeyMessage.CipherKeyValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<KeepKeyMessage.CipherKeyValue.Builder>
public KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressNCount
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressN
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setAddressN(int index, int value)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
public KeepKeyMessage.CipherKeyValue.Builder addAddressN(int value)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
public KeepKeyMessage.CipherKeyValue.Builder addAllAddressN(Iterable<? extends Integer> values)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public String getKey()
key component of key:value
optional string key = 2;
getKey
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
key component of key:value
optional string key = 2;
getKeyBytes
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setKey(String value)
key component of key:value
optional string key = 2;
public KeepKeyMessage.CipherKeyValue.Builder clearKey()
key component of key:value
optional string key = 2;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getValue()
value component of key:value
optional bytes value = 3;
getValue
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setValue(com.google.protobuf.ByteString value)
value component of key:value
optional bytes value = 3;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getEncrypt()
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;
getEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setEncrypt(boolean value)
are we encrypting (True) or decrypting (False)?
optional bool encrypt = 4;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getAskOnEncrypt()
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;
getAskOnEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setAskOnEncrypt(boolean value)
should we ask on encrypt operation?
optional bool ask_on_encrypt = 5;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getAskOnDecrypt()
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;
getAskOnDecrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setAskOnDecrypt(boolean value)
should we ask on decrypt operation?
optional bool ask_on_decrypt = 6;
public KeepKeyMessage.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 KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;
getIv
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public KeepKeyMessage.CipherKeyValue.Builder setIv(com.google.protobuf.ByteString value)
initialization vector (will be computed if not set)
optional bytes iv = 7;
public KeepKeyMessage.CipherKeyValue.Builder clearIv()
initialization vector (will be computed if not set)
optional bytes iv = 7;
public final KeepKeyMessage.CipherKeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<KeepKeyMessage.CipherKeyValue.Builder>
public final KeepKeyMessage.CipherKeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<KeepKeyMessage.CipherKeyValue.Builder>
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.