org.bitcoinj.wallet
Class Protos.EncryptedPrivateKey.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>
              extended by org.bitcoinj.wallet.Protos.EncryptedPrivateKey.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Protos.EncryptedPrivateKeyOrBuilder
Enclosing class:
Protos.EncryptedPrivateKey

public static final class Protos.EncryptedPrivateKey.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>
implements Protos.EncryptedPrivateKeyOrBuilder

Protobuf type wallet.EncryptedPrivateKey


 The data to store a private key encrypted with Scrypt and AES
 


Method Summary
 Protos.EncryptedPrivateKey build()
           
 Protos.EncryptedPrivateKey buildPartial()
           
 Protos.EncryptedPrivateKey.Builder clear()
           
 Protos.EncryptedPrivateKey.Builder clearEncryptedPrivateKey()
          required bytes encrypted_private_key = 2;
 Protos.EncryptedPrivateKey.Builder clearInitialisationVector()
          required bytes initialisation_vector = 1;
 Protos.EncryptedPrivateKey.Builder clone()
           
 Protos.EncryptedPrivateKey getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getEncryptedPrivateKey()
          required bytes encrypted_private_key = 2;
 com.google.protobuf.ByteString getInitialisationVector()
          required bytes initialisation_vector = 1;
 boolean hasEncryptedPrivateKey()
          required bytes encrypted_private_key = 2;
 boolean hasInitialisationVector()
          required bytes initialisation_vector = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.EncryptedPrivateKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.EncryptedPrivateKey.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.EncryptedPrivateKey.Builder mergeFrom(Protos.EncryptedPrivateKey other)
           
 Protos.EncryptedPrivateKey.Builder setEncryptedPrivateKey(com.google.protobuf.ByteString value)
          required bytes encrypted_private_key = 2;
 Protos.EncryptedPrivateKey.Builder setInitialisationVector(com.google.protobuf.ByteString value)
          required bytes initialisation_vector = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>

clear

public Protos.EncryptedPrivateKey.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>

clone

public Protos.EncryptedPrivateKey.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>

getDefaultInstanceForType

public Protos.EncryptedPrivateKey getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public Protos.EncryptedPrivateKey build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public Protos.EncryptedPrivateKey buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public Protos.EncryptedPrivateKey.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.EncryptedPrivateKey.Builder>

mergeFrom

public Protos.EncryptedPrivateKey.Builder mergeFrom(Protos.EncryptedPrivateKey other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protos.EncryptedPrivateKey.Builder>

mergeFrom

public Protos.EncryptedPrivateKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.EncryptedPrivateKey.Builder>
Throws:
IOException

hasInitialisationVector

public boolean hasInitialisationVector()
required bytes initialisation_vector = 1;
 The initialisation vector for the AES encryption (16 bytes)
 

Specified by:
hasInitialisationVector in interface Protos.EncryptedPrivateKeyOrBuilder

getInitialisationVector

public com.google.protobuf.ByteString getInitialisationVector()
required bytes initialisation_vector = 1;
 The initialisation vector for the AES encryption (16 bytes)
 

Specified by:
getInitialisationVector in interface Protos.EncryptedPrivateKeyOrBuilder

setInitialisationVector

public Protos.EncryptedPrivateKey.Builder setInitialisationVector(com.google.protobuf.ByteString value)
required bytes initialisation_vector = 1;
 The initialisation vector for the AES encryption (16 bytes)
 


clearInitialisationVector

public Protos.EncryptedPrivateKey.Builder clearInitialisationVector()
required bytes initialisation_vector = 1;
 The initialisation vector for the AES encryption (16 bytes)
 


hasEncryptedPrivateKey

public boolean hasEncryptedPrivateKey()
required bytes encrypted_private_key = 2;
 The encrypted private key
 

Specified by:
hasEncryptedPrivateKey in interface Protos.EncryptedPrivateKeyOrBuilder

getEncryptedPrivateKey

public com.google.protobuf.ByteString getEncryptedPrivateKey()
required bytes encrypted_private_key = 2;
 The encrypted private key
 

Specified by:
getEncryptedPrivateKey in interface Protos.EncryptedPrivateKeyOrBuilder

setEncryptedPrivateKey

public Protos.EncryptedPrivateKey.Builder setEncryptedPrivateKey(com.google.protobuf.ByteString value)
required bytes encrypted_private_key = 2;
 The encrypted private key
 


clearEncryptedPrivateKey

public Protos.EncryptedPrivateKey.Builder clearEncryptedPrivateKey()
required bytes encrypted_private_key = 2;
 The encrypted private key
 



Copyright © 2014. All rights reserved.