Home
last modified time | relevance | path

Searched refs:toProto (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java178 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileByFilename()
205 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileByFilenameConsistentForMutableServices()
246 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
247 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
248 ReflectionTestDepthTwoAlternateProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
249 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()); in fileContainingSymbol()
282 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileContainingNestedSymbol()
308 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileContainingSymbolForMutableServices()
353 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
354 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DParseExceptionsTest.java69 serializedProto = DescriptorProto.getDescriptor().toProto().toByteArray(); in setup()
75 DescriptorProto.getDescriptor().toProto().writeDelimitedTo(bos); in setupDelimited()
226 assertEquals(DescriptorProto.getDescriptor().toProto(), in verifyExceptions()
DDescriptorsTest.java85 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()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java78 public FileDescriptorProto toProto() { in toProto() method in Descriptors.FileDescriptor
514 .setPackage(packageName).addMessageType(message.toProto()).build(); in FileDescriptor()
598 public DescriptorProto toProto() { in toProto() method in Descriptors.Descriptor
903 public FieldDescriptorProto toProto() { in toProto() method in Descriptors.FieldDescriptor
1170 public FieldDescriptorProto.Type toProto() { in toProto() method in Descriptors.FieldDescriptor.Type
1294 proto.getOneofIndex() >= parent.toProto().getOneofDeclCount()) { in FieldDescriptor()
1536 public EnumDescriptorProto toProto() { in toProto() method in Descriptors.EnumDescriptor
1721 public EnumValueDescriptorProto toProto() { in toProto() method in Descriptors.EnumValueDescriptor
1822 public ServiceDescriptorProto toProto() { in toProto() method in Descriptors.ServiceDescriptor
1924 public MethodDescriptorProto toProto() { in toProto() method in Descriptors.MethodDescriptor
[all …]
DDynamicMessage.java80 int oneofDeclCount = type.toProto().getOneofDeclCount(); in getDefaultInstance()
340 this.oneofCases = new FieldDescriptor[type.toProto().getOneofDeclCount()];
/external/syzkaller/vendor/google.golang.org/appengine/datastore/
Dquery.go267 func (q *Query) toProto(dst *pb.Query, appID string) error { func
364 if err := newQ.toProto(req, internal.FullyQualifiedAppID(c)); err != nil {
530 if err := q.toProto(&req, internal.FullyQualifiedAppID(c)); err != nil {
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java308 fdRBuilder.addFileDescriptorProto(nextFd.toProto().toByteString()); in createServerReflectionResponse()