Searched refs:metadataMarshaller (Results 1 – 5 of 5) sorted by relevance
68 metadataMarshaller(instance)); in keyForProto()77 public static <T extends Message> Metadata.BinaryMarshaller<T> metadataMarshaller(T instance) { in metadataMarshaller() method in ProtoUtils78 return ProtoLiteUtils.metadataMarshaller(instance); in metadataMarshaller()
38 ProtoLiteUtils.metadataMarshaller(com.google.rpc.Status.getDefaultInstance()));
195 Metadata.BinaryMarshaller<Type> metadataMarshaller = in metadataMarshaller_roundtrip() local196 ProtoLiteUtils.metadataMarshaller(Type.getDefaultInstance()); in metadataMarshaller_roundtrip()197 assertEquals(proto, metadataMarshaller.parseBytes(metadataMarshaller.toBytes(proto))); in metadataMarshaller_roundtrip()202 Metadata.BinaryMarshaller<Type> metadataMarshaller = in metadataMarshaller_invalid() local203 ProtoLiteUtils.metadataMarshaller(Type.getDefaultInstance()); in metadataMarshaller_invalid()205 metadataMarshaller.parseBytes(new byte[] {-127}); in metadataMarshaller_invalid()
33 ProtoLiteUtils.metadataMarshaller(Messages.SimpleContext.getDefaultInstance()));
92 public static <T extends MessageLite> Metadata.BinaryMarshaller<T> metadataMarshaller( in metadataMarshaller() method in ProtoLiteUtils