Class Protos.EncryptedData.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance, isBuilt
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Protos.EncryptedData.Builder clearEncryptedPrivateKey()
      The encrypted private key
      Protos.EncryptedData.Builder clearInitialisationVector()
      The initialisation vector for the AES encryption (16 bytes)
      com.google.protobuf.ByteString getEncryptedPrivateKey()
      The encrypted private key
      com.google.protobuf.ByteString getInitialisationVector()
      The initialisation vector for the AES encryption (16 bytes)
      boolean hasEncryptedPrivateKey()
      The encrypted private key
      boolean hasInitialisationVector()
      The initialisation vector for the AES encryption (16 bytes)
      Protos.EncryptedData.Builder setEncryptedPrivateKey​(com.google.protobuf.ByteString value)
      The encrypted private key
      Protos.EncryptedData.Builder setInitialisationVector​(com.google.protobuf.ByteString value)
      The initialisation vector for the AES encryption (16 bytes)
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, 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.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasInitialisationVector

        public boolean hasInitialisationVector()
         The initialisation vector for the AES encryption (16 bytes)
         
        required bytes initialisation_vector = 1;
        Specified by:
        hasInitialisationVector in interface Protos.EncryptedDataOrBuilder
        Returns:
        Whether the initialisationVector field is set.
      • getInitialisationVector

        public com.google.protobuf.ByteString getInitialisationVector()
         The initialisation vector for the AES encryption (16 bytes)
         
        required bytes initialisation_vector = 1;
        Specified by:
        getInitialisationVector in interface Protos.EncryptedDataOrBuilder
        Returns:
        The initialisationVector.
      • setInitialisationVector

        public Protos.EncryptedData.Builder setInitialisationVector​(com.google.protobuf.ByteString value)
         The initialisation vector for the AES encryption (16 bytes)
         
        required bytes initialisation_vector = 1;
        Parameters:
        value - The initialisationVector to set.
        Returns:
        This builder for chaining.
      • clearInitialisationVector

        public Protos.EncryptedData.Builder clearInitialisationVector()
         The initialisation vector for the AES encryption (16 bytes)
         
        required bytes initialisation_vector = 1;
        Returns:
        This builder for chaining.
      • hasEncryptedPrivateKey

        public boolean hasEncryptedPrivateKey()
         The encrypted private key
         
        required bytes encrypted_private_key = 2;
        Specified by:
        hasEncryptedPrivateKey in interface Protos.EncryptedDataOrBuilder
        Returns:
        Whether the encryptedPrivateKey field is set.
      • getEncryptedPrivateKey

        public com.google.protobuf.ByteString getEncryptedPrivateKey()
         The encrypted private key
         
        required bytes encrypted_private_key = 2;
        Specified by:
        getEncryptedPrivateKey in interface Protos.EncryptedDataOrBuilder
        Returns:
        The encryptedPrivateKey.
      • setEncryptedPrivateKey

        public Protos.EncryptedData.Builder setEncryptedPrivateKey​(com.google.protobuf.ByteString value)
         The encrypted private key
         
        required bytes encrypted_private_key = 2;
        Parameters:
        value - The encryptedPrivateKey to set.
        Returns:
        This builder for chaining.
      • clearEncryptedPrivateKey

        public Protos.EncryptedData.Builder clearEncryptedPrivateKey()
         The encrypted private key
         
        required bytes encrypted_private_key = 2;
        Returns:
        This builder for chaining.