Searched refs:toProto (Results 1 – 5 of 5) sorted by relevance
284 return toProto((PairingRequestMessage) poloMessage); in poloMessageToProto()286 return toProto((PairingRequestAckMessage) poloMessage); in poloMessageToProto()288 return toProto((OptionsMessage) poloMessage); in poloMessageToProto()290 return toProto((ConfigurationMessage) poloMessage); in poloMessageToProto()292 return toProto((ConfigurationAckMessage) poloMessage); in poloMessageToProto()294 return toProto((SecretMessage) poloMessage); in poloMessageToProto()296 return toProto((SecretAckMessage) poloMessage); in poloMessageToProto()305 private PoloProto.PairingRequest toProto(PairingRequestMessage poloMessage) { in toProto() method in ProtobufWireAdapter319 private PoloProto.PairingRequestAck toProto(PairingRequestAckMessage poloMessage) { in toProto() method in ProtobufWireAdapter330 private PoloProto.Options toProto(OptionsMessage poloMessage) { in toProto() method in ProtobufWireAdapter[all …]
69 serializedProto = DescriptorProto.getDescriptor().toProto().toByteArray(); in setup()75 DescriptorProto.getDescriptor().toProto().writeDelimitedTo(bos); in setupDelimited()226 assertEquals(DescriptorProto.getDescriptor().toProto(), in verifyExceptions()
85 FieldDescriptorProto.Type protoType = type.toProto(); in testFieldTypeEnumMapping()99 file.toProto().getName()); in testFileDescriptor()161 assertEquals("TestAllTypes", messageType.toProto().getName()); in testDescriptor()220 assertEquals("optional_int32", primitiveField.toProto().getName()); in testFieldDescriptor()252 assertEquals("optional_int32_extension", extension.toProto().getName()); in testFieldDescriptor()445 .toProto().getSerializedSize() > 65536); in testEnormousDescriptor()
78 public FileDescriptorProto toProto() { in toProto() method in Descriptors.FileDescriptor514 .setPackage(packageName).addMessageType(message.toProto()).build(); in FileDescriptor()598 public DescriptorProto toProto() { in toProto() method in Descriptors.Descriptor903 public FieldDescriptorProto toProto() { in toProto() method in Descriptors.FieldDescriptor1170 public FieldDescriptorProto.Type toProto() { in toProto() method in Descriptors.FieldDescriptor.Type1294 proto.getOneofIndex() >= parent.toProto().getOneofDeclCount()) { in FieldDescriptor()1536 public EnumDescriptorProto toProto() { in toProto() method in Descriptors.EnumDescriptor1721 public EnumValueDescriptorProto toProto() { in toProto() method in Descriptors.EnumValueDescriptor1822 public ServiceDescriptorProto toProto() { in toProto() method in Descriptors.ServiceDescriptor1924 public MethodDescriptorProto toProto() { in toProto() method in Descriptors.MethodDescriptor[all …]
80 int oneofDeclCount = type.toProto().getOneofDeclCount(); in getDefaultInstance()340 this.oneofCases = new FieldDescriptor[type.toProto().getOneofDeclCount()];