for (int i = 0; i < serviceProtos.size(); i++) { String childPath = buildPath(null, FileDescriptorProto.SERVICE_FIELD_NUMBER, i); interfacesBuilder.add(Interface.create(this, serviceProtos.get(i), childPath));
for (int i = 0; i < serviceProtos.size(); i++) { String childPath = buildPath(null, FileDescriptorProto.SERVICE_FIELD_NUMBER, i); interfacesBuilder.add(Interface.create(this, serviceProtos.get(i), childPath));
ProtoFile.create( model, FileDescriptorProto.getDefaultInstance(), true, ExtensionPool.EMPTY); Interface iface = Interface.create(file, ServiceDescriptorProto.getDefaultInstance(), ""); Method method = Method.create(iface, MethodDescriptorProto.newBuilder().setName(simpleName).build(), "");