Class ProtoSerialization
- java.lang.Object
-
- org.projectnessie.versioned.persist.adapter.serialize.ProtoSerialization
-
public final class ProtoSerialization extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProtoSerialization.Parser<T>Functional interface for the variousprotoToABC()methods above.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeykeyToProto(org.projectnessie.model.ContentKey key)static org.projectnessie.versioned.persist.adapter.CommitLogEntryprotoToCommitLogEntry(byte[] bytes)static org.projectnessie.versioned.persist.adapter.CommitLogEntryprotoToCommitLogEntry(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)static org.projectnessie.versioned.persist.adapter.ContentIdAndBytesprotoToContentIdAndBytes(org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytes proto)static org.projectnessie.model.ContentKeyprotoToKey(org.projectnessie.versioned.persist.serialize.AdapterTypes.Key key)static org.projectnessie.versioned.persist.adapter.KeyListprotoToKeyList(byte[] bytes)static org.projectnessie.versioned.persist.adapter.KeyListprotoToKeyList(org.projectnessie.nessie.relocated.protobuf.ByteString serialized)static org.projectnessie.versioned.persist.adapter.KeyListEntryprotoToKeyListEntry(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntry proto)static org.projectnessie.versioned.persist.adapter.KeyWithBytesprotoToKeyWithBytes(org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytes proto)static org.projectnessie.versioned.persist.adapter.RepoDescriptionprotoToRepoDescription(byte[] bytes)static org.projectnessie.versioned.persist.adapter.RepoDescriptionprotoToRepoDescription(org.projectnessie.nessie.relocated.protobuf.ByteString bytes)static org.projectnessie.versioned.persist.adapter.RepoDescriptionprotoToRepoDescription(org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoProps proto)static org.projectnessie.versioned.persist.serialize.AdapterTypes.CommitLogEntrytoProto(org.projectnessie.versioned.persist.adapter.CommitLogEntry entry)static org.projectnessie.versioned.persist.serialize.AdapterTypes.ContentIdWithBytestoProto(org.projectnessie.versioned.persist.adapter.ContentIdAndBytes x)static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListtoProto(org.projectnessie.versioned.persist.adapter.KeyList x)static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyListEntrytoProto(org.projectnessie.versioned.persist.adapter.KeyListEntry x)static org.projectnessie.versioned.persist.serialize.AdapterTypes.KeyWithBytestoProto(org.projectnessie.versioned.persist.adapter.KeyWithBytes x)static org.projectnessie.versioned.persist.serialize.AdapterTypes.RepoPropstoProto(org.projectnessie.versioned.persist.adapter.RepoDescription repoDescription)
-
-
-
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)
-
-