Class ProtoSerialization


  • public final class ProtoSerialization
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ProtoSerialization.Parser<T>
      Functional interface for the various protoToABC() methods above.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.Key keyToProto​(org.projectnessie.model.ContentKey key)  
      static org.projectnessie.versioned.persist.adapter.CommitLogEntry protoToCommitLogEntry​(byte[] bytes)  
      static org.projectnessie.versioned.persist.adapter.CommitLogEntry protoToCommitLogEntry​(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)  
      static org.projectnessie.versioned.persist.adapter.ContentIdAndBytes protoToContentIdAndBytes​(org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytes proto)  
      static org.projectnessie.model.ContentKey protoToKey​(org.projectnessie.versioned.persist.serialize.AdapterTypes.Key key)  
      static org.projectnessie.versioned.persist.adapter.KeyList protoToKeyList​(byte[] bytes)  
      static org.projectnessie.versioned.persist.adapter.KeyList protoToKeyList​(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)  
      static org.projectnessie.versioned.persist.adapter.KeyListEntry protoToKeyListEntry​(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntry proto)  
      static org.projectnessie.versioned.persist.adapter.KeyWithBytes protoToKeyWithBytes​(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytes proto)  
      static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(byte[] bytes)  
      static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(org.projectnessie.nessie.relocated.protobuf.ByteString bytes)  
      static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoProps proto)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.CommitLogEntry toProto​(org.projectnessie.versioned.persist.adapter.CommitLogEntry entry)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytes toProto​(org.projectnessie.versioned.persist.adapter.ContentIdAndBytes x)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyList toProto​(org.projectnessie.versioned.persist.adapter.KeyList x)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntry toProto​(org.projectnessie.versioned.persist.adapter.KeyListEntry x)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytes toProto​(org.projectnessie.versioned.persist.adapter.KeyWithBytes x)  
      static org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoProps toProto​(org.projectnessie.versioned.persist.adapter.RepoDescription repoDescription)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoProps toProto​(org.projectnessie.versioned.persist.adapter.RepoDescription repoDescription)
      • protoToRepoDescription

        public static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(org.projectnessie.nessie.relocated.protobuf.ByteString bytes)
      • protoToRepoDescription

        public static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(byte[] bytes)
      • protoToRepoDescription

        public static org.projectnessie.versioned.persist.adapter.RepoDescription protoToRepoDescription​(org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoProps proto)
      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.CommitLogEntry toProto​(org.projectnessie.versioned.persist.adapter.CommitLogEntry entry)
      • protoToCommitLogEntry

        public static org.projectnessie.versioned.persist.adapter.CommitLogEntry protoToCommitLogEntry​(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)
      • protoToCommitLogEntry

        public static org.projectnessie.versioned.persist.adapter.CommitLogEntry protoToCommitLogEntry​(byte[] bytes)
      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytes toProto​(org.projectnessie.versioned.persist.adapter.ContentIdAndBytes x)
      • protoToContentIdAndBytes

        public static org.projectnessie.versioned.persist.adapter.ContentIdAndBytes protoToContentIdAndBytes​(org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytes proto)
      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyList toProto​(org.projectnessie.versioned.persist.adapter.KeyList x)
      • protoToKeyList

        public static org.projectnessie.versioned.persist.adapter.KeyList protoToKeyList​(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)
      • protoToKeyList

        public static org.projectnessie.versioned.persist.adapter.KeyList protoToKeyList​(byte[] bytes)
      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytes toProto​(org.projectnessie.versioned.persist.adapter.KeyWithBytes x)
      • protoToKeyWithBytes

        public static org.projectnessie.versioned.persist.adapter.KeyWithBytes protoToKeyWithBytes​(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytes proto)
      • toProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntry toProto​(org.projectnessie.versioned.persist.adapter.KeyListEntry x)
      • protoToKeyListEntry

        public static org.projectnessie.versioned.persist.adapter.KeyListEntry protoToKeyListEntry​(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntry proto)
      • keyToProto

        public static org.projectnessie.versioned.persist.serialize.AdapterTypes.Key keyToProto​(org.projectnessie.model.ContentKey key)
      • protoToKey

        public static org.projectnessie.model.ContentKey protoToKey​(org.projectnessie.versioned.persist.serialize.AdapterTypes.Key key)