public Pb.ByteArrayComparable ConvertToPB() { var pbVersion = new Pb.ByteArrayComparable(); if (Value != null) { pbVersion.Value = ByteString.CopyFrom(Value); } return(pbVersion); }
public BinaryComparator(Pb.ByteArrayComparable comparable) { Comparable = comparable; Name = ConstString.ComparatorPath + nameof(BinaryComparator); }
public BitComparator(Pb.BitComparator.Types.BitwiseOp bitwiseOp, Pb.ByteArrayComparable comparable) { BitwiseOp = bitwiseOp; Comparable = comparable; Name = ConstString.ComparatorPath + nameof(BitComparator); }